1064
Model Conversion Instructions Section 3-33
Variables in function blocks are automatically allocated addresses by CX-Pro-
grammer Ver. 5.0 and later systems, unless the AT specification is used. For
example, if it is necessary to indirectly specify the extended parameter set-
tings of a Special Unit such as a Motion Control Unit and a variable is used at
the beginning of the extended parameter settings area, that variable’s address
must be set. In this case, GETID(286) can be used to retrieve the variable’s
data area address.
Flags
Example
Name Label Operation
Error Flag ER ON if S is not within the allowed range.
#0082
&100
D100
#0082
&200
m
m+1
GETID
A
m
m+1
Normal Operation
Using Function Blocks
DM Area allocated to
Motion Control Unit
Extended parameter
settings area
Indirect
specifica-
tion
The starting address of the extended parameter set-
tings area is specified by the FINS command variable
type (data area) code and word address. In this exam-
ple, #0082 specifies the DM Area and &100 specifies a
100-word offset from the beginning of the area.
DM Area allocated to
Motion Control Unit
Extended parameter
settings area
Variable A D200
Data
Variable A's data area
address is retrieved by
GETID(286).