120
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.10 Index Register [V and Z]
4.10.3
Indexing of devices
Available devices and the contents of indexing are as described below:
→
For the indexing use method and cautions, refer to Section 5.7.
Decimal devices/numeric values: M, S, T, C, D, R, KnM, KnS, P and K
For example, when "V0 = K5" is specified and "D20V0" is executed, an instruction is executed for the device
number D25 (D20 + 5).
Constants can be indexed also. When "K30V0" is specified, an instruction is executed for a decimal value
K35 (30 + 5).
Octal devices: X, Y, KnX and KnY
For example, when "Z1 = K8" is specified and "X0Z1" is executed, an instruction is executed for the device
number X10 (X0 + 8: addition of octal value). In the indexing for a device whose device number is handled in
octal, a numeric value converted into octal is added for the contents of V and Z also.
Accordingly, note that "X0Z1" indicates that X12 is specified, and X10 is not specified when "Z1 = K10" is
specified.
Hexadecimal numeric values: H
For example, when "V5 = K30" is specified and a constant "H30V5" is specified, it is handled as H4E (30H +
K30). When "V5 = H30" is specified and a constant "H30V5" is specified, it is handled as H60 (30H + 30H).