Software - Schneider Electric

Transcription

Software - Schneider Electric
Presentation,
functions
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Presentation
Unity Pro is the common programming, debugging and runtime software for the
Modicon M340, Atrium, Premium and Quantum PLC ranges.
1
Unity Pro
2
3
Unity Pro is multitasking software offering the following features:
b All in one software
b Five IEC 61131-3 programming languages
b Integrated, customizable DFB library
b PLC simulator on PC for program validation prior to installation
b Built-in tests and diagnostics
b Wide range of online services
FDT/DTM function
Unity Pro facilitates integration of fieldbus architectures into engineering control
systems using FDT/DTM technology:
b FDT (Field Device Tool) is the container which supports the device DTMs.
b DTM (Device Type Manager) is the configuration tool for devices with integrated
graphic interfaces. It contains all the properties specific to each device.
4
5
In addition to the FDT/DTM standard, Unity Pro uses specific information from the
Master DTM created for the Profibus Remote Master (PRM) module and the
Modbus/TCP and EtherNet/IP network module BMX NOC 0401.
DTM editor (Modicon STB island)
Use of the Master DTM allows Unity Pro to perform the following actions:
b Manage the PLC I/O scan
b Create the application variables based on the description of the process objects
available from the connected DTM devices
b Manage synchronization with the PLC configuration
b Create a generic DTM from the description files (GSD or EDS)
The DTM configuration is stored in the PLC memory so that the application can be
downloaded in its entirety. It is also saved in the PLC project file (STU) and the
archive file (STA).
6
A third-party DTM can be installed in the DTM hardware catalogue.
The DTM hardware catalogue can be used to sort or filter the DTMs according to
various criteria such as Device, Vendor, Groups or Protocols.
DTM hardware catalogue
7
The DTM Browser in Unity Pro:
b Displays the fieldbus topologies in a tree structure
b Allows the user to configure the DTM devices:
v Add and delete DTMs
v Connect and disconnect DTMs to/from their physical devices
v Display and print the properties of a DTM
v Transfer DTM configuration data to and from the physical device
v Functions specific to the DTM, via the Device menu
8
DTM browser and DTM context menu
9
10
Selection guide:
page 0516Q/2
2
43458-EN
version: 4.1
Functions (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
FDT/DTM function (continued)
The fieldbus lookup function scans the physical devices in a fieldbus network and
adds the selected devices to the DTM Browser.
1
2
3
Fieldbus lookup screen
The five IEC languages
The five graphical or textual languages available in Unity Pro are used for
programming Modicon M340, Atrium, Premium and Quantum automation platforms.
4
The three graphical languages are:
b Ladder (LD)
b Function Block Diagram (FBD)
b Sequential Function Chart (SFC) or Grafcet
FBD language editor
The two textual languages are:
b Structured Text (ST)
b Instruction List (IL)
5
For these five languages, you can use the standard set of instructions compliant with
IEC standard 61131-3 to create applications which can be transferred from one
platform to another. Unity Pro software also provides extensions to this standard set
of instructions. As they are specific to Modicon M340, Atrium/Premium and Quantum
PLCs, these extensions support the development of more complex applications in
order to maximize the potential of the specific features of each of these platforms.
6
7
8
9
10
Selection guide:
page 0516Q/2
43458-EN
version: 4.1
3
Functions (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Data editor
The data editor, which can be accessed from the structural view of the project,
provides a single tool for performing the following editing tasks:
b Declaration of data including variables and function blocks (declaration of their
type, instances and attributes)
b Use and archiving of function block data types in different libraries
b Hierarchical view of data structures
b Searching, sorting and filtering of data
b Creation of a hyperlink to access a description from any variable comment
1
2
Data Editor
3
The data is displayed under four tabs:
b “Variables” tab for the creation and management of the following data instances:
bits, words, double words, inputs/outputs, tables and structures
b “DDT Types” tab for the creation of derived data types (tables and structures)
b “Function Blocks” tab for the declaration of EFBs and DFBs
b “DFB Types” tab for the creation of DFB user function block data types
Each data element has several attributes, of which:
b The variable name and type are mandatory
b The comment, physical address in the memory and initial values are optional
The data editor columns can be configured (number of columns, order). All the
attributes associated with a variable can be displayed in a properties window.
4
This editor can be accessed at any time during programming by selecting variables
for data modification or creation.
Data properties
5
6
7
8
9
10
Selection guide:
page 0516Q/2
4
43458-EN
version: 4.1
Functions (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
DFB user function blocks
Using Unity Pro software, users can create their own function blocks for specific
application requirements on Modicon M340, Atrium, Premium and Quantum
platforms.
1
Once created and saved in the library, these user function blocks can be reused as
easily as EFBs (Elementary Function Blocks).
Design
These user function blocks can be used to structure an application. They are used
when a program sequence is repeated several times in the application or for freezing
a standard programming routine. They can be read-only or read/write. They can be
exported to all other Unity Pro applications.
Using a DFB in one or more applications:
b Simplifies program design and entry
b Improves program readability and understanding
b Facilitates program debugging (all variables handled by the DFB are identified in
the data editor)
b Enables the use of private variables specific to the DFBs, which are independent
of the application
Creating the code
A DFB is set up in several stages:
b The DFB is designed by assigning a name, a set of parameters (inputs, outputs,
public and private internal variables) and a comment to it via the data editor.
b The code is created in one or more sections of the program, with the following
languages selected according to requirements: Structured Text, Instruction List,
Ladder or Function Block Diagram (ST, IL, LD or FBD).
b The DFB may be stored in a library with an associated version number.
b A DFB instance is created in the data editor or when the function is called in the
program editor.
b This instance is used in the program in the same way as an EFB (the instance can
be created from within the program).
2
3
4
5
6
Use within the program
7
8
9
10
Selection guide:
page 0516Q/2
43458-EN
version: 4.1
5
Functions (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Function block libraries
1
2
3
Standard function block libraries
The function and function block libraries manager contains all the elements provided
with Unity Pro software. Functions and function blocks are organized into libraries,
which themselves consist of families. Depending on the type of PLC selected and
the processor model, users will have a subset of these libraries available to write
their applications. However, the "Base Lib" library contains a set of functions and
function blocks, for the majority of which compatibility is independent of the
platforms. In particular, it contains the blocks compliant with IEC 61131-3.
The "Base Lib" library is structured into families:
b Timers and counters
b Process control on integers
b Table management
b Comparison
b Date and time management
b Logic processing
b Mathematical processing
b Statistical processing
b Character string processing
b Type-to-type data conversion
The "Base Lib" library, which covers standard automation functions, is supplemented
by other, more application-specific libraries and platform-specific functions:
b Communication library, providing an easy means of integrating programs for
communication between PLCs and HMIs, using the PLC application program. Like
other function blocks, these EFBs can be used in all languages to exchange data
between PLCs or to deliver data to be displayed on an HMI.
b Process control library. The CONT_CTL library can be used to set up processspecific control loops. It offers controller, derivative and integral control functions
plus additional algorithms, such as EFBs for calculating mean values, selecting a
maximum value, detecting edges or assigning a hysteresis to process values, etc.
b Diagnostics library, which can be used to monitor actuators and contains EFBs
for active diagnostics, reactive diagnostics, interlocking diagnostics, permanent
process condition diagnostics, dynamic diagnostics, monitoring of signal groups, etc.
b I/O management library, providing services to handle information exchanged
with hardware modules (data formatting, scaling, etc)
b Motion Function Blocks library, containing a set of predefined functions and
structures to manage motion controlled by drives and servo drives connected on
CANopen.
b Motion library , for motion control and fast counting
b System library, which provides EFBs for the execution of system functions,
including evaluation of scan time, availability of several different system clocks, SFC
section monitoring, display of system state, management of files on the memory
cartridge of the Modicon M340 processor, etc.
b Finally, a library named "obsolete", containing all function blocks used by legacy
programming software needed to perform application conversions.
4
5
6
7
Management of user standards
Users can create libraries and families in order to store their own DFBs and DDTs.
This enhancement allows users to take advantage of programming standards
adapted to their needs, along with version management. This means that it is
possible to:
b Check the version of elements used in an application program against those
stored in the library
b Perform an upgrade, if necessary
8
User libraries
9
10
Selection guide:
page 0516Q/2
6
43458-EN
version: 4.1
Functions (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Debugging tools
Dynamic animation/adjustment
Unity Pro software offers a complete set of tools for debugging Modicon M340,
Atrium, Premium or Quantum applications. A tool palette provides direct access to
the main functions:
b Dynamic program animation
b Setting of watchpoints or breakpoints (not authorized in event-triggered tasks)
b Step-by-step program execution. A function in this mode enables section-bysection execution. Instruction-by-instruction execution can be launched from the
previous breakpoint. Three execution commands are therefore possible when the
element to be processed is a subroutine (SR) or DFB user block instance:
v Step Into: This command is used to move to the first element of the SR or DFB.
v Step Over: This command is used to execute the entire SR or DFB.
v Step Out: This command is used to move to the next instruction after the SR or
DFB element.
b Independent execution of the master (MAST), fast (FAST), auxiliary (AUX) and
event-triggered (EVTi) tasks
Animation of program elements
Watchpoint
Dynamic animation is managed section by section. A button on the toolbar is used to
activate or deactivate animation for each section.
When the PLC is in RUN, this mode can be used to view, simultaneously:
b The animation of a program section, regardless of the language used
b The variables window containing the application objects created automatically
from the section viewed
1
2
3
4
Animation table
Tables containing the variables of the application to be monitored or modified
can be created by data entry or initialized automatically from the selected program.
These tables can be stored in the application and retrieved from there at a later date.
5
Debugging DFB user function blocks
Breakpoint/step-by-step
The parameters and public variables of these blocks are displayed and animated in
real time using animation tables, with the possibility of modifying and forcing the
required objects.
In exactly the same way as with other program elements, the watchpoint, breakpoint,
step-by-step execution and program code diagnostics functions can be used to
analyze the behavior of DFBs. Setting a breakpoint in a DFB instance stops
execution of the task containing this block.
Debugging in Sequential Function Chart (SFC) language
The various debugging tools are also available in SFC language. However, unlike
other sections (IL, ST, LD or FBD) an SFC section executed step-by-step does not
stop execution of the task but instead freezes the SFC chart. Several breakpoints
can be declared simultaneously within a single SFC section.
6
7
8
9
10
Selection guide:
page 0516Q/2
43458-EN
version: 4.1
7
Functions (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
PLC simulator
1
Simulator control panel
2
Unity Pro's integrated simulator can be used to test the application program for
Modicon M340, Atrium, Premium or Quantum PLCs from the PC terminal without
having to connect to the PLC processor. The functions provided by the debugging
tools are available for debugging the master, fast and auxiliary tasks.
Because the simulator does not manage the PLC I/O, animation tables can be used
to simulate the state of inputs by forcing them to 0 or 1.
The simulator can be connected to third-party applications via an OPC server with
OFS (OPC Factory Server) software.
3
Documentation editor
4
5
Accessing the documentation editor
6
The documentation editor is based on the Documentation Browser, which shows the
file structure in tree form.
It allows all or part of the application file to be printed on any graphics printer
accessible under Windows and using True Type technology, in A4 or US letter print
format.
The documentation editor supports the creation of user-specific files using the
following headings:
b Title page
b Contents
b General information
b Footer
b Configuration
b EF, EFB and DFB type function blocks
b User variables
b Communication
b Project structure
b Program
b Animation tables and cross-references
b Runtime screens
7
8
9
10
Selection guide:
page 0516Q/2
8
43458-EN
version: 4.1
Software
Functions (continued)
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Integrated diagnostics
Diagnostics integrated in Modicon M340, Atrium, Premium and Quantum automation platforms
Presentation
System diagnostics
1
Diagnostics viewers
Vijeo Citect
Thin client Magelis iPC
Processor
for system
bits and
words
In-rack I/O
modules
Higher-level
MES
2
Remote I/O
modules on
Fipio or
CANopen
Ethernet TCP/IP
Cell level
3
Vijeo Designer
Application diagnostics
Magelis XBT
Quantum,
Premium,
Modicon M340
4
Machine level
Unity Pro
PC
The diagnostics offer for Modicon M340, Atrium, Premium and Quantum platforms is
based on the following three components:
b System diagnostics
b DFB and EFB diagnostic function blocks (for system and application diagnostics)
b Error message display system, called viewers, supplied as a standard component
of Magelis XBT terminals, Vijeo Citect supervisory software and Unity Pro setup
software
System diagnostics
The system diagnostics for Modicon M340, Atrium, Premium and Quantum platforms
support the monitoring of system bits/words, I/O modules and SFC minimum and
maximum step activity times. By simply choosing the relevant option during
application configuration, any event will generate time-stamped messages logged in
the diagnostic buffer of the PLC.
These events are displayed automatically in a diagnostics viewer (1) without requiring
any additional programming.
5
6
7
With Unity Pro integrated diagnostics, this function can be used to perform first level
diagnostics of the elements in the configuration, up to and including each I/O module
channel.
8
9
Configuration level
Module level
Viewer window (example with Unity Pro software)
10
Channel level
(1) Diagnostics viewers are tools for displaying and acknowledging diagnostic error messages.
They are supplied as a standard component of Unity Pro and Vijeo Designer software, with
Magelis terminals and with the PLC Web server that can be accessed via a thin client Magelis
iPC.
43458-EN
version: 4.1
9
Functions (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Modifying the program with the PLC in RUN mode
With Unity Pro, changes can be made to the program when the PLC connected to
the programming terminal is in RUN mode. These modifications are performed with
the following operations:
b The application contained in the PLC is transferred to the PC terminal running
Unity Pro, if necessary.
b Program changes are prepared. These program modifications can be of any type
and in any language (IL, ST, LD, FBD and SFC), for example, addition or deletion of
SFC steps or actions. The code of a DFB user function block can also be modified
(however, modification of its interface is not permitted).
b These program changes are updated in the PLC (in RUN mode).
1
2
This function makes it possible to add or modify program code and data in different
parts of the application in one single modification session (thus resulting in a unified,
consistent modification with respect to the controlled process). This increased
flexibility comes at a cost in terms of the amount of program memory required.
3
Cross-references function
4
Cross-references table
Unity Pro's cross-references function, which is available in standalone mode (offline)
and when connected to the PLC in Run (online), allows users to view all the
elements of a PLC application when searching for any type of variable. This view
indicates where the declared variable is used, as well as how it is used (for writing,
reading, etc).
This function also provides access to the Search/Replace function for variable
names.
The variable search can be initialized from any editor (language, data, runtime
screen, animation table, etc).
5
Import/export function
The import/export function available in Unity Pro supports the following operations
from the structural and functional project views:
b Via the import function, reuse in the current project of all or part of a project
created previously
b Via the export function, copying of all or part of the current project to a file for
subsequent reuse
6
Data export shortcut menu
7
The files generated during export are generally in XML format (1). However, in
addition to XML, variables can be exported and imported in the following formats:
b .xvm format compatible with OFS data server software
b Source format, in an .scy file compatible with PL7 development software
b Text format with separator (TAB) in a .txt file for compatibility with any other system
During an import, a wizard can be used to reassign data to new instances of:
b DFBs
b DDTs
b Simple data
In addition, when a functional module is imported, the data associated with
animation tables and runtime screens is also reassigned.
8
Data import wizard
9
The XML import function also supports the transfer of a Modicon M340, Atrium,
Premium or Quantum PLC configuration prepared in the SIS Pro costing and
configuration tool, for use when creating a project in Unity Pro. This import function
spares the user from having to redefine the PLC configuration when the PLC has
already been configured with the SIS Pro tool.
(1) XML language is an open, text-based language which provides structural and semantic
information.
10
Selection guide:
page 0516Q/2
10
43458-EN
version: 4.1
Functions (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Application converters
Unity Pro integrated conversion tools can be used to convert PLC applications
created with Concept and PL7 programming software to Unity Pro applications.
1
Concept/Unity Pro converter (Quantum PLC)
This conversion is performed with a Concept application V2.5 or later (it can also be
performed in V2.11 or later, but only after an update to V2.5). In order to perform the
conversion, the application must be exported to an ASCII file in Concept.
The export file is converted to a Unity Pro source file automatically. This source file is
then analyzed by Unity Pro. At the end of the procedure, a conversion report is
generated and an output window displays any conversion errors and provides direct
access to the part of the program to be modified.
The Concept application converter converts the application to Unity Pro, but does
not guarantee that it will operate correctly in real time. It is therefore essential to test
or debug all converted applications.
2
3
PL7/Unity Pro converter (Premium PLC and Atrium slot-PLC)
This conversion is performed with a PL7 application V4 or later (Premium PLC or
Atrium slot-PLC). In order to perform the conversion, the source file (complete
application or user function block) must be exported in PL7.
The conversion procedure is similar to that of the Concept conversion described
above.
Note: Applications created with Concept, Modsoft and ProWorx can be converted to LL984.
Consult your Customer Care Centre.
4
Operating system update utilities
The OS-Loader software is designed for updating operating systems on Premium
and Quantum platforms. It is supplied with Unity Pro software.
It is used to upgrade Unity processors and modules as well as to upgrade PL7 or
Concept processors and modules to make them compatible with Unity Pro.
OS-Loader software supports:
b Premium processors
b Quantum processors
b Ethernet communication modules
b EtherNet/IP communication modules
5
6
The operating system updates are performed as follows:
b Uni-Telway RS 485 terminal link for Premium processors
b Modbus or Modbus Plus terminal link for Quantum processors
b Ethernet TCP/IP network for integrated Ethernet port on Premium processors and
Premium and Quantum Ethernet modules
Note: For Modicon M340, this service is provided by Unity Loader (see page 43459/6).
7
Online modification of the Quantum configuration
This function, also called Change Configuration On The Fly (CCOTF), is used to modify
the Quantum configuration online (application in RUN mode):
b Addition or removal of discrete or analog I/O modules
b Modification of configuration parameters of discrete or analog I/O modules
(already present or newly installed)
The CCOTF function is supported by standalone CPUs for all three types of I/O
architecture (local, RIO, DIO) using version 5 of Unity Pro, and for Hot Standby
CPUs using version 4.1 of Unity Pro
8
9
The CCOTF function must first be validated in the Unity Pro configuration screen. A
confirmation screen appears when the configuration has been modified online.
10
Configuration screen
43458-EN
version: 4.1
11
Software
Presentation,
Functions
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Programmable process control
Process control in machines
Unity Pro contains CONT_CTL, a library of 36 function blocks used to create control
loops for machine control.
1
All requirements for closed loop control functions in machines are adequately met by
Modicon M340, Premium and Quantum platforms thanks to the wealth of functions in
the library and the flexibility with which function blocks can be linked together
through programming. This solution therefore eliminates the need for external
controllers and simplifies the overall control architecture of the machine, as well as
its design, roll-out and operation.
2
The EFs or EFBs can be used in all Unity Pro languages (LD, ST, IL and FBD). FBD
is particularly suitable for accessing control processing operations in Unity Pro
through its wizard for entering and viewing parameters and function block variables.
3
CONT_CTL, programmable process control integrated in
Unity Pro
CONT_CTL library functions
The library consists of five function families:
b Input data conditioning
b Controllers
b Mathematical functions
b Process value processing
b Output value processing
4
Input data conditioning
Pure delay time
DTIME
Integrator with limiting
INTEGRATOR
First order time lag
LAG_FILTER
Lead/lag function with smoothing
LDLG
Lead function with smoothing
LEAD
Mass flow calculation based on the measurement of differential
MFLOW
5
pressure or flow speed with pressure and temperature
compensation
QDTIME
SCALING
TOTALIZER
6
7
TT18_PV
TT18_SP
TC18_OUT
TC18_START
TC18_PREV
TC_PARA
PV
SP
RCPY
START
PREV
PARA
TR_I
TR_S
PV_O
SP_O
PARA_C
TRI
TRS
INFO
STATUS
VEL_LIM
Controllers
PIDFF
AUTOTUNE
TC18_PARA
TC18_OUT
1
TC2_OUT
OUTD
PV
SP
FF
RCPY
MAN_AUTO MA_O
PARA
INFO
TR_I
STATUT
TR_S
OUT
OUT
PI_B
PIDFF
TC2_OUT
AUTOTUNE
TC18_OUT
IMC
MS
TC2_OUT
8
TC18_OUT
IN
FORC
MA_FORC
MAN_AUTO OUTD
PARA
MA_O
TR_I
STATUT
TR_S
OUT
OUT
Example: PID controller with MS manual control
SAMPLETM
STEP2
STEP3
9
Dead time term
Scaling
Integrator (typically of flow) until a limit (typically a volume) is
reached, with automatic reset
Velocity limiter, with manipulated variable limiting
Basic PI controller: PI algorithm with a mixed structure
(series/parallel)
Complete PID controller: PID algorithm with a parallel or mixed
structure (series/parallel)
Automatic tuner setting for the PIDFF (complete PID) controller or
the PI_B (basic PI) controller
v Identification using Ziegler Nichols type method
v Modelling based on first order process
v Building of control parameters with criterion for prioritizing
either the reaction time to disturbance (dynamic) or the stability of
the process
Model-based controller. The model is a first order model with
delay. This controller is useful:
v When there are serious delays compared with the main time
constant of the process; this scenario cannot be satisfactorily
resolved by standard PID process control
v For regulating a non-linear process
IMC can handle any stable and aperiodic process of any order
Control of controller startup and sampling
Simple two-position controller
Three-position controller for temperature regulation
Mathematical functions
COMP_DB
K_SQRT
MULDIV_W
SUM_W
10
12
Comparison of two values, with dead zone and hysteresis
Square root, with weighting and threshold, useful for linearization
of flow measurements
Weighted multiplication/division of 3 numerical values
Weighted summing of 3 numerical values
43458-EN
version: 4.1
Functions (continued)
Setup
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Programmable process control
Process value processing
AVGMV
AVGMV_K
DEAD_ZONE
LOOKUP_TABLE1
Moving average with fixed number of samples (50 max.)
Moving average with constant correction factor,
10,000 samples max.
Dead zone
Linearization of characteristic curves using first-order interpolation
SAH
HYST_XXX
INDLIM_XXX
Detection of a rising edge
Detection of high threshold with hysteresis (1)
Detection of high and low thresholds with hysteresis (1)
2
Output value processing
Programming in Unity Pro in offline mode
MS
MS_DB
PWM1
SERVO
SPLRG
Manual control of an output
Manual control of an output with dead zone
Control via pulse width modulation
Control for servo motors
Control of two split range actuators
Setpoint management
RAMP
RATIO
SP_SEL
1
Ramp generator, with separate ascending and descending ramps
Ratio controller
Selection of setpoint value: local (operator) or remote (processing)
Setting up process control function blocks
Based on the sequencing of function blocks, the FBD language integrated in
Unity Pro is a programming language particularly suitable for building control loops.
Designers can use FBD to easily associate blocks from the CONT_CTL library with
their own DFB blocks written in Unity Pro’s ST, IL or LD language, or in C language.
Debugging, operation
All Unity Pro’s standard debugging services (see page 43458/7) are available. In
particular, the Modicon M340 processor simulator can be used to check correct
execution of processing offline.
Compatibility
The CONT_CTL control function block library is available in all versions of Unity Pro.
It is compatible with all processors in the Modicon M340, Premium, Quantum and
Atrium ranges.
3
4
5
6
Optional specialized libraries
Programming in online mode
The CONT_CTL control function block library can be supplemented with optional
specialized libraries, to meet specific needs such as predictive control, fuzzy logic
controller, HVAC and mass flow calculation (see page 43459/8).
7
Resources
The technical documentation provides many examples of how to set up
programmable process control function blocks in FBD, LD, IL and ST languages.
8
The techniques for adjusting process control loops are described in the document
“Process control, Unity V3.0” available online at www.schneider-electric.com
9
(1) XXX according to the type of variable: DINT, INT, UINT, UDINT, REAL
10
43458-EN
version: 4.1
13
Functions (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Communication drivers
The most commonly used communication drivers for M340, Atrium, Premium and
Quantum platforms are installed at the same time as the Unity Pro software.
1
Unity Pro also includes the following drivers, which can be installed as required (1):
Protocol - Hardware
Windows XP
Professional
Windows Vista Business
32-bit edition
Windows 7
32-bit and 64-bit editions
2
Ethway - Ethernet
Fip - FPC10 ISA card
Fip - FPC20 PCMCIA card
Fip adaptor - CUSBFIP
ISAway - PCX57 ISA card
Modbus Serial - COM port
PCIway - Atrium TPCI57 PCI card
3
Uni-Telway - COM port
Uni-Telway - SCP114 PCMCIA card
USB for high end PLC
XIP - XWay on TCP/IP
4
Driver available
Driver not available
Unity Developer's Edition, advanced open access
Advanced open access, intended for experienced IT engineers, supports the
development of interfaces between Unity and expert tools, as well as specific
user-defined functions.
This type of development requires experience in the following IT areas:
b C++ or Visual Basic languages
b Client/server architectures
b XML and COM/DCOM technologies
b Database synchronization
5
6
As a supplement to the Unity Pro Extra Large software (2), the UDE (Unity
Developer’s Edition) development kit UNY UDE VFU CD21E enables the
development of customized solutions. In addition to the development kit, the Unity
servers and accompanying documentation are also provided.
Unity Developer's Edition is compatible with:
b Unity Pro Extra Large
b All Modicon M340 processors
b All Atrium slot-PLCs
b All Premium Unity processors
b All Quantum Unity processors
7
(1) Also available separately under reference TLX CD DRV 20M.
(2) Only the Unity Pro Extra Large version enables dynamic database management for data to
be exchanged with the OFS data server or a third-party tool.
8
9
10
Selection guide:
page 0516Q/2
14
43458-EN
version: 4.1
Functions (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Upgrade kits for Concept, PL7 Pro and ProWORX software
The Concept, PL7 Pro and ProWORX upgrade kits allow users who already have
one of these programs from the installed base and who have a current subscription
to obtain Unity Pro version V4.1 software at a reduced price.
1
These upgrades are only available for licences of the same type (e.g. from Concept
XL group licence to Unity Pro Extra Large group licence).
2
Composition and Windows OS compatibility
Unity Pro multilingual software packages are compatible with Windows XP (32-bit),
Windows Vista (32-bit) and Windows 7 (32-bit and 64-bit) operating systems.
They include:
b Documentation in electronic format in six languages (English, French, German,
Italian, Spanish and Chinese)
b Converters for converting applications created with Concept and PL7 Pro
programming software
b PLC simulator
Cables for connecting the processor to the programming PC must be ordered
separately.
3
4
Unity Pro update
Customers are notified automatically when a new Unity Pro update becomes
available.
They can then access the software updates manager directly, download the update
and install it locally on their workstation.
5
6
7
8
Nota : The latest firmware versions are available for download from our website
www.schneider-electric.com.
9
10
Selection guide:
page 0516Q/2
43458-EN
version: 4.1
15
Functions (continued)
Software
Unity Pro software
XL Safety
Unity Pro XL Safety
1
Unity Pro
2
In addition to the functions of Unity Pro Extra Large, Unity Pro XL Safety provides
a set of specific verification and protection function blocks to facilitate the creation
and debugging of Quantum safety projects.
For a description of these characteristics and their setup, as well as the functional
limitations provided for within the framework of SIL 3 certifiable safety projects
according to IEC 61508, refer to the document entitled “Quantum Safety PLC,
Safety Reference Manual” 01/2010, No. 3303879.03 approved by TÜV Rheinland
and available at www.schneider-electric.com.
The Unity Pro XLS programming tool is certified compliant with the requirements of
IEC 61508 for managing safety applications with Quantum 140 CPU 651 60S/
671 60S PLCs.
It offers the complete range of functions required to program a safety project:
b In-depth error diagnostics
b Project protection
During project creation, it is the selection of the Quantum processor which
determines whether or not the project created will be a safety project.
3
Unity Pro XLS is capable of processing all Unity Pro application types. No other
programming tool is needed on the computer.
4
To program a safety project, Unity Pro XLS provides two IEC 61131-3 programming
languages:
b Function Block Diagram (FBD)
b Ladder language (LD)
5
6
7
8
Safety program structure
A safety project must be programmed entirely in a master task (MAST).
It is not possible to:
b Program FAST, TIMER, INTERRUPT or AUX tasks
b Use subroutines (SR sections)
9
10
Selection guide:
page 0516Q/2
16
43458-EN
version: 4.1
Functions (continued)
Software
Unity Pro software
XL Safety
Unity Pro XL Safety (continued)
Language elements
1
Unity Pro XLS provides a set of specific, certified functions and function blocks.
These are available in the “Unity Pro safety function block library”.
Moreover, most of the language elements are available:
b Elementary data types (EDTs): BOOL, EBOOL, BYTE, WORD, DWORD, INT,
UINT, DINT, UDINT and TIME
b Simple tables used exclusively for Ethernet Global Data communication
b Direct addressing, for example, writing to %MW memory via a coil in Ladder
language (LD)
b Located variables
Floating point instructions:
With Unity Pro XLS version 4.1 or later, numerical floating point instructions can
be used.
2
3
Project verification options
Unity Pro XLS provides the following different options for the checks performed by
the language analyzer:
b Unused variables
b Variables written multiple times
b Unassigned parameters
b FB instances used multiple times
b Address overlapping
4
It is advisable to enable all verification options for a safety project.
5
6
7
8
9
10
Selection guide:
page 0516Q/2
43458-EN
version: 4.1
17
Functions (continued)
Software
Unity Pro software
XL Safety
Unity Pro XL Safety (continued)
Protecting the project
1
Unity Pro XLS provides protective functions against unauthorized access to safety
projects, to the Quantum safety PLC and to Unity Pro XLS itself.
b The application password, defined when the safety project was created,
is requested:
v When the safety application file is opened
v Upon connection to the safety PLC
2
3
b The safety editor integrated in Unity Pro XLS is used to define the access rights
and the list of authorized functions for each user, in particular:
v Creation and modification of the application password
v Activation of maintenance mode
b Adjustment of the auto-lock period
4
Functions and function blocks for safety applications
Unity Pro XLS provides a set of elementary functions (EFs) and elementary function
blocks (EFBs) certified for use in safety applications:
b Standard functions certified for safety applications:
v Mathematical functions and functions for manipulating data from the unrestricted
memory area in the safety logic
v Comparison functions
v Logic functions, rotations, shift operations
v Statistical functions
v Timer and counter setup
v Type conversions
b Specific functions for safety architectures:
v High availability setup: choice of two inputs from a redundant discrete I/O module
or a redundant analog input module
v Hot Standby PLC redundancy setup: to cause the two processors involved in a
hot standby configuration to change roles from primary to standby and standby to
primary respectively. The objective is to verify the capacity of each processor to take
over in case the other processor fails. With Unity Pro XLS, this function can very
easily be programmed in the application by setting up the S_HSBY_SWAP
elementary function from the library.
5
6
7
8
9
10
Selection guide:
page 0516Q/2
18
43458-EN
version: 4.1
Functions (continued)
Software
Unity Pro software
XL Safety
Unity Pro XL Safety (continued)
Special features and procedures
1
Software tool self-test
Unity Pro XLS provides the option of running a self-test to verify that the software
components installed have not been corrupted, for example, due to a hard disk
failure. This self-test is based on a CRC calculation.
Unity Pro XLS checks the version and CRC of:
b Its DLLs
b The safety FFB library database
b The hardware catalogue database
2
Unity Pro XLS self-tests are performed on a user request, for example:
After installing or uninstalling any program on the computer
b Before loading the final application program onto the safety PLC
b Before modifying the application program executed on the safety PLC
3
Time-stamping binary files
With Unity Pro XLS, every binary file generated for a safety project features a version
management field that provides the date and time at which it was generated.
This information is useful for verifying the project.
Downloading a project to Unity Pro XLS
It is possible to download a safety project from the PLC to Unity Pro XLS under the
following conditions:
b This must have been defined as an option for the safety project.
b The user must know the application password to establish a connection to the
safety PLC.
b The safety PLC must be placed in maintenance mode to perform the download.
4
5
Unrestricted memory
The unrestricted memory area contains bits and words which are not protected
against write operations from external equipment such as HMI terminals and PLCs.
b It is located at the beginning of the memory.
b Its size can be configured with Unity Pro XLS.
b Values cannot be used directly in the unrestricted memory area and can only be
used in conjunction with specific function blocks S_MOVE_BIT and S_MOVE_
WORD.
Unity Pro XLS checks in both the application edit and generation phases that only
data from the unrestricted memory area is used at the input of the function blocks
S_MOVE_BIT and S_MOVE_WORD.
Furthermore, Unity Pro XLS provides a useful list of cross-references, allowing easy
identification of the way in which variables are used and verification of the application
of this rule.
6
7
Nota : For safety applications, it is common practice to verify the correct transfer of data by
writing the data twice (to two different variables) and then comparing it.
8
9
10
Selection guide:
page 0516Q/2
43458-EN
version: 4.1
19
References
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
References
Unity Pro Small, Medium, Large, Extra Large and XL Safety software
packages
1
Unity Pro
2
These software packages are for programming and setting up Unity automation
platforms. The software is available in five versions:
b Unity Pro Small (see page 48338/2)
b Unity Pro Medium (see page 48338/3)
b Unity Pro Large (see page 48338/3)
b Unity Pro Extra Large (see page 48338/4)
b Unity Pro XL Safety (see page 48338/4)
Upgrade kits for Concept, PL7 Pro and ProWORX software
These upgrade kits allow users who already have these software programs from the
installed base and who have a current subscription to obtain Unity Pro version
V4.1 software at a reduced price. These upgrades are only available for licences of
the same type (e.g. from Concept XL group licence to Unity Pro Extra Large group
licence).
See pages 48338/3 and 48338/4.
3
Composition and Windows OS compatibility
Unity Pro multilingual software packages are compatible with Windows XP (32-bit),
Windows Vista (32-bit) and Windows 7 (32-bit and 64-bit) operating systems.
4
They include:
b A Unity Pro V5.0 DVD in six languages (English, French, German, Italian,
Spanish and Chinese)
b A Unity Loader V2.2 CD
b An Ethernet/IP Configuration V1.1 CD (not included with Unity Pro Small)
b An Advantys V5.5 configuration software CD
b A DVD containing the documentation in electronic format in six languages
(English, French, German, Italian, Spanish and Chinese)
b A one-year services subscription
5
6
Unity Pro Small version 6.0 software
For Modicon M340: All models
For distributed I/O: Modicon ETB, FTB, FTM, OTB, STB, Momentum
Unity Pro Small version 6.0 software packages (1)
Description
7
Unity Pro Small
software packages
Software upgrades from:
- Concept S
- PL7 Micro
- ProWORX NxT/32 Lite
8
Licence type
Reference
Weight
kg
Single (1 station)
UNY SPU SFU CD 60
–
Group (3 stations)
UNY SPU SFG CD 60
–
Team (10 stations)
UNY SPU SFT CD 60
–
Single (1 station)
UNY SPU SZU CD 60
–
Group (3 stations)
UNY SPU SZG CD 60
–
Team (10 stations)
UNY SPU SZT CD 60
–
Licence type extensions for Unity Pro Small version 6.0
From
Single (1 station)
Group (3 stations)
9
To
Group (3 stations)
Team (10 stations)
Reference
Weight
kg
UNY SPU SZUG CD 60
–
UNY SPU SZGT CD 60
–
(1) For compatibility of Unity software/automation platforms and distributed I/O, refer to the
selection guide on page 0516Q/2.
10
Selection guide:
page 0516Q/2
2
48338-EN
version: 4.0
References (continued)
Software
Unity Pro software
Medium / Large
Unity Pro Medium version 6.0 software
For Modicon M340: All models
For Modicon Premium, Atrium: TSX 57 0p...2p, TSX PCI 57 204
For distributed I/O: Modicon ETB, FTB, FTM, OTB, STB, Momentum
Unity Pro
1
Unity Pro Medium version 6.0 software packages (1)
Description
Unity Pro Medium
software packages
Software upgrades from:
- Concept S, M
- PL7 Micro, Junior
- ProWORX NxT/32 Lite
Licence type
Reference
Weight
kg
Single (1 station)
UNY SPU MFU CD 60
–
Group (3 stations)
UNY SPU MFG CD 60
–
Team (10 stations)
UNY SPU MFT CD 60
–
Single (1 station)
UNY SPU MZU CD 60
–
Group (3 stations)
UNY SPU MZG CD 60
–
Team (10 stations)
UNY SPU MZT CD 60
–
3
Licence type extensions for Unity Pro Medium version 6.0
From
To
Reference
Single (1 station)
Group (3 stations)
UNY SPU MZUG CD 60
–
Group (3 stations)
Team (10 stations)
UNY SPU MZGT CD 60
–
Weight
kg
Upgrade to Unity Pro Medium from Unity Pro Small
Type of upgrade
The number of stations is unchanged
Reference
2
Weight
kg
Small to Medium Single (1 station)
UNY SPU MZSU CD 60
–
Small to Medium Group (3 stations)
UNY SPU MZSG CD 60
–
Small to Medium Team (10 stations)
UNY SPU MZST CD 60
–
4
5
Unity Pro Large version 6.0 software
For Modicon M340: All models
For Modicon Premium, Atrium: TSX 57 0p…4p, TSX PCI 57 204/304
For Modicon Quantum: 140 CPU 311 10/434 12U/534 14U
For distributed I/O: Modicon ETB, FTB, FTM, OTB, STB, Momentum
6
Unity Pro Large version 6.0 software packages (1)
Description
Unity Pro Large
software packages
Software upgrades from:
- Concept S, M
- PL7 Micro, Junior, Pro
- ProWORX NxT/32 Lite
Licence type
Reference
Weight
kg
Single (1 station)
UNY SPU LFU CD 60
–
Group (3 stations)
UNY SPU LFG CD 60
–
Team (10 stations)
UNY SPU LFT CD 60
–
Site (y 100 users)
UNY SPU LFF CD 60
–
Single (1 station)
UNY SPU LZU CD 60
–
Group (3 stations)
UNY SPU LZG CD 60
–
Team (10 stations)
UNY SPU LZT CD 60
–
Site (y 100 users)
UNY SPU LZF CD 60
–
8
Licence type extensions for Unity Pro Large version 6.0
From
To
Reference
Single (1 station)
Group (3 stations)
UNY SPU LZUG CD 60
–
Group (3 stations)
Team (10 stations)
UNY SPU LZGT CD 60
–
Weight
kg
Upgrade to Unity Pro Large from Unity Pro Medium
Type of upgrade
The number of stations is unchanged
Reference
Weight
kg
Medium to Large Single (1 station)
UNY SPU LZMU CD 60
–
Medium to Large Group (3 stations)
UNY SPU LZMG CD 60
–
Medium to Large Team (10 stations)
UNY SPU LZMT CD 60
–
9
10
(1) For compatibility of Unity software/automation platforms and distributed I/O, refer to the
selection guide on page 0516Q/2.
Selection guide:
page 0516Q/2
48338-EN
version: 4.0
7
3
References (continued)
Software
Unity Pro software
Extra Large / XL Safety
Unity Pro Extra Large version 6.0 software
For Modicon M340: All models
For Modicon Premium, Atrium: TSX 57 0p...6p, TSX PCI 57 2p…3p
For Modicon Quantum: 140 CPU 311 10/434 12U/534 14U/651 50/651 60/652 60/671 60/
672 61
For distributed I/O: Modicon ETB, FTB, FTM, OTB, STB, Momentum
1
Unity Pro
Unity Pro Extra Large version 6.0 software packages (1)
Description
2
Unity Pro Extra Large
software packages
Software upgrades from:
- Concept S, M, XL
- PL7 Micro, Junior, Pro
- ProWORX NxT Lite, Full
- ProWORX 32 Lite, Full
3
Licence type
Reference
Weight
kg
Single (1 station)
UNY SPU EFU CD 60
–
Group (3 stations)
UNY SPU EFG CD 60
–
Team (10 stations)
UNY SPU EFT CD 60
–
Site (y 100 users)
UNY SPU EFF CD 60
–
Single (1 station)
UNY SPU EZU CD 60
–
Group (3 stations)
UNY SPU EZG CD 60
–
Team (10 stations)
UNY SPU EZT CD 60
–
Site (y 100 users)
UNY SPU EZF CD 60
–
Licence type extensions for Unity Pro Extra Large
From
4
To
Reference
Weight
kg
Single (1 station)
Group (3 stations)
UNY SPU EZUG CD 60
–
Group (3 stations)
Team (10 stations)
UNY SPU EZGT CD 60
–
Upgrade to Unity Pro Extra Large from Unity Pro Large
Type of upgrade
The number of stations is unchanged
5
Reference
Weight
kg
Large to Extra Large Single (1 station)
UNY SPU EZLU CD 60
–
Large to Extra Large Group (3 stations)
UNY SPU EZLG CD 60
–
Large to Extra Large Team (10 stations)
UNY SPU EZLT CD 60
–
Unity Pro XL Safety version 4.1 software
6
For Modicon M340: All models
For Modicon Premium, Atrium: TSX 57 0p...6p, TSX PCI 57 2p…3p
For Modicon Quantum: 140 CPU 311 10/434 12U/534 14U/651 50/651 60/652 60/671 60/
651 60S/671 60S
For distributed I/O: Modicon ETB, FTB, FTM, OTB, STB, Momentum
Unity Pro XL Safety version 4.1 software packages (1)
7
Description
Unity Pro XL Safety
software packages
Software upgrades from:
- Concept S, M, XL
- PL7 Micro, Junior, Pro
- ProWORX NxT Lite, Full
- ProWORX 32 Lite, Full
8
Licence type
Reference
Weight
kg
Single (1 station)
UNY SPU XFU CD 41
–
Group (3 stations)
UNY SPU XFG CD 41
–
Team (10 stations)
UNY SPU XFT CD 41
–
Site (y 100 users)
UNY SPU XFF CD 41
–
Single (1 station)
UNY SPU XZU CD 41
–
Group (3 stations)
UNY SPU XZG CD 41
–
Team (10 stations)
UNY SPU XZT CD 41
–
Site (y 100 users)
UNY SPU XZF CD 41
–
(1) For compatibility of Unity software/automation platforms and distributed I/O, refer to the
selection guide on page 0516Q/2.
9
10
Selection guide:
page 0516Q/2
4
48338-EN
version: 4.0
References (continued)
Software
Unity Pro software
Small / Medium / Large / Extra Large / XL Safety
Unity Pro software
Description
Licence type
Reference
Single (1 station)
UNY UDE VFU CD21E
Weight
kg
Unity Developer’s Edition
Unity Pro
UDE Unity Developer’s Edition
For automating repetitive tasks or generating source code
automatically from third-party applications
Available for Unity Pro Small, Medium, Large, Extra Large
and XL Safety
1
–
2
Unity Pro documentation, separate parts
Documentation for Unity Pro version 6.0
Description
Hardware and software manuals (on DVD)
Platform setup for:
- Modicon M340
- Atrium/Premium
- Quantum
- Momentum
Electromagnetic compatibility of networks and
fieldbuses
Software setup for:
- Unity Pro
- Function block libraries
Licence type
Reference
Multilingual (English, French,
German, Italian, Spanish,
Chinese)
UNY USE 909 CD M
Weight
kg
–
3
4
Separate parts
Description
PC connection cables
(PC to PLC)
From CPU
To PC port
Length
Reference
USB mini B port
BMX P34 1000/20p0/20p02
USB port
1.8 m
BMX XCA USB H018
0.065
4.5 m
BMX XCA USB H045
0.110
TSX PCX 1031
0.170
TSX CUSB 485
0.144
Mini-DIN port
RS 232D
2.5 m
Premium TSX 57 1p/2p/3p/4p (9-way SUB-D
Atrium TSX PCI 57
connector)
USB port
(USB/RS 485
converter)
BMX XCA USB H0pp
TSX PCX 1031
TSX CUSB 485
0.4 m
Weight
kg
5
(2)
USB port
2.5 m
(mini-DIN/RJ45
cordset)
TSX CRJMD 25
(2)
0.150
Modbus port,
15-way SUB-D Quantum
140 CPU 311 10
140 CPU 434 12A
140 CPU 534 14A
RS 232D
3.7 m
(9-way SUB-D 15 m
connector)
990 NAA 263 20
0.300
990 NAA 263 50
0.180
USB port
Premium TSX 57 5p/6p
Quantum 140 CPU 6p1
USB port
3.3 m
UNY XCA USB 033
–
Modbus RJ45 connector port
Quantum 140 CPU 6p1
RJ45
connector
1m
110 XCA 282 01
–
3m
110 XCA 282 02
–
6m
110 XCA 282 03
–
PC connection cables
(PC SUB-D to
Modicon STB I/O)
HE13 connector Modicon STB RS 232D (3)
2m
I/O network interface module (9-way SUB-D
(NIM)
connector)
STB XCA 4002
0.210
USB/SUB-D adaptor
(PC USB to Modicon STB
I/O)
HE13 connector Modicon STB USB port (4)
I/O network interface module
(NIM) with STB XCA 4002
cable (4)
SR2 CBL 06
0.185
–
6
7
8
9
(1) For compatibility of Unity software/automation platforms and distributed I/O, refer to the selection guide on page 0516Q/2.
(2) The TSX CUSB 485 converter requires use of the TSX CRJMD 25 mini-DIN/RJ45 cordset.
(3) For connection on a USB port, the SR2 CBL 06 cable must also be used (4).
(4) Adaptor equipped with a USB connector (PC end) and a 9-way SUB-D connector (STB XCA 4002 cable end); requires the
STB XCA 4002 cable (9-way SUB-D/HE 13) for connection to the HE13 connector on the Modicon STB NIM.
10
Selection guide:
page 0516Q/2
48338-EN
version: 4.0
5