xxv
Application Precautions
4
an input-output variable specified as an array variable (with the first
address set for the input parameter) and specify the first or last element of
the array variable, or, with any version of CX-Programmer, use an internal
variable with an AT setting. Alternatively, specify the first or last element in
an internal variable specified as an array variable.
• Values are passed in a batch from the input parameters to the input vari-
ables or input-output variables before algorithm execution (not at the
same time as the instructions in the algorithm are executed). Therefore, to
pass the value from a parameter to an input variable or input-output vari-
able when an instruction in the function block algorithm is executed, use
an internal variable or external variable instead of an input variable or
input-output variable. The same applies to the timing for writing values to
the parameters from output variables.
• Always use internal variables with AT settings in the following cases.
• The addresses allocated to Basic I/O Units, Special I/O Units, and
CPU Bus Units cannot be registered to global symbols, and these vari-
ables cannot be specified as external variables (e.g., the data set for
global variables may not be stable).
• Use internal variables when Auxiliary Area bits other than those pre-
registered to external variables are registered to global symbols and
these variables are not specified as external variables.
• Use internal variables when specifying PLC addresses for another
node on the network: For example, the first destination word at the re-
mote node for SEND(090) and the first source word at the remote node
for RECV(098).
• Use internal variables when the first or last of multiple words is speci-
fied by an instruction operand and the operand cannot be specified as
an array variable (e.g., the number of array elements cannot be spec-
ified).
Summary of Contents for SYSMAC CX-Programmer 9
Page 2: ......
Page 4: ...iv ...
Page 6: ...vi ...
Page 8: ......
Page 16: ...xvi ...
Page 20: ...xx ...
Page 26: ...xxvi Application Precautions 4 ...
Page 27: ...Part 1 Function Blocks ...
Page 28: ......
Page 154: ...128 Procedures Section 3 2 ...
Page 155: ...Part 2 Structured Text ST ...
Page 156: ......
Page 160: ...134 CX Programmer Specifications Section 4 2 ...
Page 206: ...180 Procedures Section 6 1 ...
Page 208: ...182 System defined external variables supported in function blocks Appendix A ...
Page 230: ...204 Revision History ...
Page 231: ......