118
Procedures
Section 3-2
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.
Note
(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, to move to the registered sheet, double-click,
and switch the setting in the
Usage
field (N: Internals, I: Inputs, O: Out-
puts, E: Externals). The variable can also be copied or moved between
the sheets for internal, external, input, and 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.
Change as required.
Type of variable to register
(i.e., the sheet)
Initial value
Select to maintain value for
power interruptions.
BOOL variable called
aaa
created on Inputs Sheet.
Summary of Contents for CS1-H Series
Page 3: ...iv...
Page 5: ...vi...
Page 7: ...viii TABLE OF CONTENTS...
Page 15: ...xvi Application Precautions 4...
Page 151: ...136 Procedures Section 3 2...
Page 153: ...138 Data Types Appendix A...
Page 177: ...162 External Variables Appendix C...
Page 181: ...166 Revision History...