26
Version Upgrade Information
Section 1-6
Version 6.1 to 7.0 Upgrade Information
Convenient Functions to Convert Ladder Diagrams to Function Blocks
Online Function Block Editing
Support for STRING Data Type and Processing Functions in Standard Text Programs
Support for Input-Output Variables
Version 6.1
Version 7.0
Ladder programming can be copied into a func-
tion block definition to create a function block.
The symbols and addresses in the ladder pro-
gramming, however, have to be checked and
input variables, internal variables, and output
variables have to be identified and manually reg-
istered.
One or more program sections can be selected from the program and
then Function Block (ladder) generation selected from the menu to
automatically create a function block definition and automatically allo-
cate variables according to symbols and addresses in the program sec-
tions. (Allocations can later be changed as required.) This enables
legacy programming to be easily converted to function blocks.
Version 6.1
Version 7.0
Function block definitions (i.e., the algorithms
and variable tables) cannot be changed online
when the PLC is running. (Only I/O parameters
for function block instances can be changed.)
The algorithms and variables tables for function blocks can be changed
while the PLC is operation. (See note.) This enables debugging and
changing function block definitions in systems that cannot be stopped,
such as systems that operate 24 hours a day.
Operation: Right-click the function block definition in the Work Space
and select FB Online Edit - Begin from the pop-up menu.
Note
Function block instances cannot be added.
Note
This function cannot be used for simulations on CX-Simulator.
Version 6.1
Version 7.0
• The STRING data type (text) cannot be used in
ST programming. (See note.)
• There are no text processing functions sup-
ported for ST programming.
• Even in a ladder program, the user has to con-
sider the ASCII code and code size of text for
display messages and no-protocol communica-
tions (see note) when executing string process-
ing instructions, data conversion instructions,
and serial communications instructions.
Note
The user can use the PLC memory func-
tion of the CX-Programmer to input text
strings in I/O memory. The data size in I/O
memory, however, must be considered.
• The STRING data type (text) can be used in ST programming. This
enables, for example, substituting a text string for a variable (e.g., a :=
'@READ';) to easily set a variable containing text (i.e., ASCII charac-
ters). In doing this, the user does not have to be concerned with the
ASCII code or code size.
• Text processing functions are supported for ST programming, includ-
ing text extraction, concatenation, and searching. This enables easily
processing text strings and display messages in ST programming
inside function blocks.
• Functions are also supported for sending and receiving text strings.
This enables easily processing no-protocol communications using ST
programming in functions blocks without being concerned with ASCII
codes.
Version 6.1
Version 7.0
• Input-output variables cannot be used in func-
tion blocks. (Only input variables, internal vari-
ables, and output variables can be used.)
• Arrays cannot be specified for input variables.
• Values are passed from input parameters to
input variables.
• Input-output variables can be used in function blocks.
• Input-output variables can be specified as arrays.
• Addresses are passed from input parameters to input variables
instead of values. This enables using input-output variable arrays
inside function blocks to enable easily passing large amounts of data
to function blocks using the input parameters.
Содержание CX-PROGRAMMER V8.1
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ......
Страница 15: ...xvi...
Страница 19: ...xx...
Страница 25: ...xxvi Application Precautions 4...
Страница 26: ...Part 1 Function Blocks...
Страница 27: ......
Страница 153: ...128 Procedures Section 3 2...
Страница 154: ...Part 2 Structured Text ST...
Страница 155: ......
Страница 159: ...134 CX Programmer Specifications Section 4 2...
Страница 205: ...180 Procedures Section 6 1...
Страница 207: ...182 System defined external variables supported in function blocks Appendix A...
Страница 229: ...204 Revision History...
Страница 230: ......