Installation manual

5/12
5
Functions
Modicon TSX Micro
automation platform 0
PL7 Micro/Junior/Pro programming software
PL7 Pro software offers the user the possibility (for Premium PLCs) of creating their
own function blocks which meet the particular needs of their applications. Once they
have been created in the library, these function blocks can be used with PL7
Junior/Pro software.
These user function blocks enable an application to be structured. They are used as
soon as a program sequence is repeated several times in the application or to freeze
a standard type of programming. They can be exported to all other PL7 applications.
Using a DFB function block in one or more applications enables:
b Simplification of program entry and design.
b Improved program readability.
b Easier debugging (all variables handled by the DFB function block are identified
on its interface).
b Use of DFB-specific internal variables (independent of the application).
A DFB derived function block is set up in three phases:
b Design of the DFB which has a name, parameters (I/O), variables and code in
Structured Text or ladder language.
b Creation of a DFB instance in the variables editor or when calling the function in
the program editor.
b Using this instance in the program in the same way as a standard function block.
The variables editor is used to:
b Symbolize the various application objects (bits, words, function blocks, I/O, …).
b Define the parameters of the predefined function blocks (timers, counters,
registers etc.).
b Enter the values of the constants and select the display base (decimal, binary,
hexadecimal, floating point, message).
b Define the DFB user function block parameters.
Each symbol (32 characters max, accented characters are permitted) can be
accompanied by a comment (508 characters max).
Editing services are available in the editor:
b Find/replace an object in a part of the program or in a set of function modules
(PL7 Pro).
b Find a character string in a list of symbols or comments.
Version u V4.0 of PL7 offers enhanced functions due to:
b Copy/paste function for one or more symbol(s) and comments.
b Display in plain language of the overlap of different types of variable on a single
memory address (for example, single and double format internal words,
%MW0/%MD0).
b Highlighting of objects used by the application program.
b Opening the application variable database to third-party tools by
importing/exporting text files (.txt). This new function makes it possible to
create/modify application databases using a third-party software (for example
TSX Microsoft Excel) that has extended edit functions.
Tables containing the application variables to be monitored or modified can be
created by entering them or automatically initialized from the selected phrase or
rung.
Variables can then be:
b Modified.
b Forced to 0 or 1 for bit objects.
For each numerical variable, it is possible to select the display base (decimal, binary,
hexadecimal, floating point, ASCII message).
Version u V4.0 of PL7 offers new options for animation tables:
b Display of the comment associated with variables.
b Assignment of a single value to a number of variables.
b Change of display format for a number of variables.
b Display of the list of forced bits.
Functions
User DFB function blocks
Variables editor
Animation table
resentation:
age 5/5
Setup, language:
pages 5/12 to 5/15
Characteristics:
pages 5/16 to 5/18
Reference:
pages 5/18 to 5/19
Courtesy of Steven Engineering, Inc. ● 230 Ryan Way, South San Francisco, CA 94080-6370 ● General Inquiries: (800) 670-4183 ● www.stevenengineering.com
efesotomasyon - telemecanique inverter