3-20
(5) Other index modifications
(a) Bit data
Device numbers can be index modified when performing digit designation. However,
Indexing is not possible by digit designation.
(b) Both I/O numbers and buffer memory number can be performed indexing with
intelligent function module devices*
1
.
(c) Both network numbers and device numbers can be performed indexing with link direct
devices*
1
.
*1: For the intellingent function module device, link direct devices, refer to the QnUCPU User’s Manual
(Function Explanation, Program Fundamentals) or Qn(H)/QnPH/QnPRHCPU User’s Manuall
(Function Explanation, Program Fundamentals)
(d) When indexing is used for multiple CPU shared devices*
2
, indexing for the head I/O
numbers of CPU modules and indexing for the CPU shared memory address are
automatically executed.
*2: For the multiple CPU shared device, refer to the QnUCPU User’s Manual
(Function Explanation, Program Fundamentals) or Qn(H)/QnPH/QnPRHCPU User’s Manuall
(Function Explanation, Program Fundamentals)
BIN K4Z3X0 D0
BIN K4X0Z2
D0
Setting is possible since this indicates
Indexing for device number.
If Z2=3, then (X0+3)=X3
Setting is not possible since this indicates
Indexing by digit designation.
MOVU10Z1\G0Z2 D0
If Z1=2 and Z2=8,
then U(10+2)\G(0+8)=U12\G8
MOV J1Z1\K4X0Z2 D0
If Z1=2 and Z2=8,
then J(1+2)\K4X(0+8)=J3\K4X8
MOV U3E0Z1\G0Z2 D0
If Z1=2 and Z2=8,
then U3E(0+2)\G(0+8)=U3E2\G8