94
5) An example of indexing and the actual process device are as follows.
(When Z0 (32-bit) 100000 and Z2 (16-bit) -20)
Fig. 3.9 Ladder Example and Actual Process Device
(b) Example of specifing 32-bit indexing with “ZZ” specification.
1) One index register can specify 32-bit indexing by using “ZZ” specification such as “ZR0ZZ4”.
The 32-bit indexing with “ZZ” specification is as follows.
2) Specification method
To perform 32-bit indexing by using “ZZ” specification, select “Use of ZZ” in “Indexing Setting for ZR Device” in
PC parameter.
Fig. 3.10 Setting window for indexing setting parameter for ZR device
3) Device that indexing can be used
The following device is available for indexing.
Ladder Example
Actual Process Device
Device
Meaning
ZR
Serial number access format file register
D
Extended data register (D)
W
Extended link register (W)
X0
DMO
V
K100000
Z0
MO
V
ZR1000Z0 D30Z2
MO
V
K-20
Z2
X1
MO
V
D
escr
i
pt
io
n
ZR101000 D10
X1
ZR1000Z0 ZR(1000+100000)=ZR101000
D30Z2 D(30-20)=D10
M0
MO
V
P
K100
DMO
V
P
K100000
Z4
ZR0ZZ4
M0
S
t
o
res
100000
at
Z4
an
d Z
5
.
I
n
d
ex
i
n
g ZR d
e
vi
ce
w
i
th
32-
b
i
t
i
n
d
ex
re
gi
sters
(Z4
an
d Z
5
)
ZR (0+100000) =ZR100000