Omron CX-PROGRAMMER V8.1 Operation Manual page 111

Function blocks/ structured text
Table of Contents

Advertisement

Procedures
Note
86
Note (a) For user-defined external variables, the global symbol table can
be browsed by registering the same variable name in the global
symbol table.
(b) External variables defined by the system are registered in the ex-
ternal variable table in advance.
2. For example, input "aaa" as the variable name and click the OK Button.
As shown below, a BOOL variable called aaa will be created on the Inputs
Sheet of the Variable Table.
(1) After a variable is added, it can be selected to display in reverse video,
then moved to another line by dragging and dropping. To select a variable
for dragging and dropping, select the variable in any of the columns ex-
cept the Name field.
(2) After inputting a variable, the sheet where the variable is registered can
be changed by double-clicking and changing the setting in the Usage field
(N: Internals, I: Inputs, O: Outputs, E: Externals, P: In Out). The variable
can also be copied or moved between the sheets for internal, external, in-
put, output, and input-output variables. Select the variable, right-click,
and select Copy or Cut from the pop-up menu, and then select Paste.
(3) Variable names must also be input for variables specified with AT (allocat-
ing actual address) settings.
(4) The following text is used to indicate I/O memory addresses in the PLC
and thus cannot be input as variable names in the function block variable
table.
• A, W, H, HR, D, DM, E, EM, T, TIM, C, or CNT followed by a numeric
value
Input the name of the
function block variable
The default data type is BOOL.
BOOL variable called aaa
created on Inputs Sheet.
Section 3-2
Change as required.
Type of variable to register
(i.e., the sheet)
Initial value
Select to maintain value for
power interruptions.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac ws02-cxpc1-v8Sysmac cx-programmer 8.1

Table of Contents