95
2
3
4
5
6
7
8
3.3
Indexing
4) Usable range of index registers
The following table shows the usable range of index registers in 32-bit indexing used “ZZ” specification.
The 32-bit indexing with “ZZ” specification is specified as the format ZRmZZn.
Specifying ZRmZZn enables Zn and Zn+1 of 32-bit values to index the device number, ZRm,
5) The 32-bit indexing used “ZZ” specification and the acutual processing device are as follows.
(Z0 (32-bit) 100000.Z2 (16-bit) -20)
Fig.3.10 Ladder Example and Actual Process Device
6) Available functions for “ZZ” specification
The 32-bit indexing specification with “ZZ” specification applies in the following functions.
ZZn cannot be used alone as a device like “DMOV K100000 ZZ0”. When setting values of index registers to specify 32-bit
indexing with “ZZ” specification, set the value of Zn (Z0~Z19).
ZZn alone cannot be input to each function.
“ZZ” specification
*1
Index Registers Used
“ZZ” specification
*1
Index Registers Used
ZZ0
Z0, Z1
ZZ10
Z10, Z11
ZZ1
Z1, Z2
ZZ11
Z11, Z12
ZZ2
Z2, Z3
ZZ12
Z12, Z13
ZZ3
Z3, Z4
ZZ13
Z13, Z14
ZZ4
Z4, Z5
ZZ14
Z14, Z15
ZZ5
Z5, Z6
ZZ15
Z15, Z16
ZZ6
Z6, Z7
ZZ16
Z16, Z17
ZZ7
Z7, Z8
ZZ17
Z17, Z18
ZZ8
Z8, Z9
ZZ18
Z18, Z19
ZZ9
Z9, Z10
ZZ19
Not available
*
1: Refers to device name (ZR) for indexing target
.
Ladder Example
Actual Process Device
No.
Function Name and Description
1
Specifing devices in program instruction
2
Monitoing device registrations
3
Testing devices execution type
4
Testing devices with conditions
5
Setting monitor conditions
6
Tracing sampling (Trace point (specifing devices), trace taget device)
7
Data logging function (Sampling interval (specifying devices), logging target data)
X1
X0
DMO
V
MO
V
MO
V
ZR1000ZZ0
D30Z2
K-20
K100000 Z0
Z2
MO
V
ZR101000 D10
END
X1
ZR1000ZZ0 ZR(1000+100000)=ZR101000
D30Z2 D(30-20)=D10
D
escr
i
pt
io
n