Professional Documents
Culture Documents
Advanced PLC Presentation
Advanced PLC Presentation
Advanced PLC Presentation
●Introduce trainer
Unity Pro, the unique and high performance multitask software offer for
the Modicon M340, Premium, Quantum and Safety family range:
● "All-in-one" software
● 5 IEC61131-3 languages
● Customizable Function Block Library (DFB) integrated
● PLC simulator on PC to validate your programm before installation
● Built-in test and diagnostic
● Full range of on-line services
● Determine via simple graphs the amount of data and program memory used
by an application.
● Embed Hyperlinks in user comments to give direct access to the tools and
documents required by the maintenance technician.
Note: Only LD and FBD languages are available on Quantum Safety PLCs.
1. Mono-task execution
– Cyclic
– Periodic
● Cyclic
● Periodic
2. Multi-tasking execution
● The data instances phase, which defines its storage location and
property
● The data references phase, which defines its means of access (i.e.
defining a reference for it, name, address, etc.) allowing it to be
accessed in the memory
Data Types
● EDT: Elementary Data Types, such as: Boolean, Integer, Byte, Word, D-
word, etc.
● Byte Type:
The Byte type is coded in 8 bit format.
● Word Type:
The Word type is coded in 16 bit format.
● DWord Type:
The Dword type is coded in 32 bit format.
A) Arrays
● It is a data item that contains a set of data of the same type, such as:
● Elementary data (EDT), for example: a group of BOOL words, a group of
UINT integer words, etc.
● Derived data (DDT), for example: a group of WORD tables, a group of
structures, etc.
B) Structure
● It is a data item containing a set of data of a different type, such as:
● A group of BOOL, WORD, UNINT, etc. , (EDT structure),
● A group of tables (DDT structure),
● A group of REAL, DWORD, tables, etc., (EDT and DDT structures).
● NOTE: You can create nested structures (nested DDTs) over 8 levels.
Recurring structures (DDT) are not allowed.
● A name (symbol), in which case we say the data is unlocated because its
memory allocation is not defined but is carried out automatically by the system,
It defines how the user can access the data. It can be:
1. Value-based references: it is an instance which does not have a
name (symbol) or topological address. This corresponds to an
immediate value which can be assigned to a data type instance
belonging to the EDT family.
● Textual: IL and ST
● View different
programming
languages in the
demounitypro_M
340 project
These objects, combined under the name FFBs, can be linked with each
other by:
● Links
● Actual Parameters
● Context Menu
● They have internal states. If the input values are the same, the value on
the output can be different each time the function is called (e.g. for a
counter, the value on the output is incremented).
● Unity Pro software enables you to create DFB (user function blocks),
using automation languages. A DFB is a program block that you write
to meet the specific requirements of your application.
● It includes:
● one or more sections written in Ladder (LD), Instruction List (IL), Structured
Text (ST) or Functional Block Diagram (FBD) language
● input/output parameters
● public or private internal variables
● Representation of ST
●Operands
● An operand can be: an address, a literal, a variable, a multi-element
variable, an element of a multi-element variable, a function call or a
FFB output
●Operators
● Operators are generic, i.e. they adapt automatically to the data type of
the operands.
● Unity Pro let you create the documentation for your project.
● Functional view
The documentation functional view displays the project structure in
the form of functional units.
Each functional unit contains the program, the animation table and
the operator screens assigned to them. The objects that belong to a
unit remain assigned to the appropriate headers in the structural
view.
● Title page
● Contents
● General information
● Configuration
● Derived Data Types
● Derived FB Types
● EFB types
● EF types
● FB variables and instances
● Application structure
● Functional station
● Communication
● Program
● Animation table
● Operator screen
● Cross-References
● Footer
Schneider 3D Simulator