Omron WS02-CXPC1-V9 - V9 Operation Manual page 52

Table of Contents

Advertisement

Version Upgrade Information
Version 6.1 to 7.0 Upgrade Information
Convenient Functions to Convert Ladder Diagrams to Function Blocks
Version 6.1
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.
Online Function Block Editing
Version 6.1
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.)
Support for STRING Data Type and Processing Functions in Standard Text Programs
Version 6.1
• 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.
Support for Input-Output Variables
Version 6.1
• 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.
26
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.
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.
• 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.
• 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.
Section 1-6
Version 7.0
Version 7.0
Version 7.0
Version 7.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cx-programmer 9Sysmac ws02-cxpc1-v9

Table of Contents