3. INSTRUCTION STRUCTURE
3
−
10
MELSEC-A
3.5 Index Qualification
(1) The index qualification is used to specify the device number be providing an
index (Z, V) to the device and adding the specified device number and index
content.
(2) The index qualification can be used for devices X, Y, M, L, S, B, F, T, C, D, R, W,
K, H, and P.
(3) The indexes (Z, V) are provided with a sign and can be set in the range of
-32768 and 32767.
(4) The index qualification is as shown below.
Example:
When the index qualification is performed, the actual processing devices are as
shown below.
(Z = 20, V = -5)
Ladder Example
Actual Processing Device
X010
MOV
H
FFFF
Z
X011
MOV
Z
D10 D0
FFF
H
(-1) is stored to Z.
Data of D10Z = D (10 +
(-1)) = D9 is stored to D0.
Index qualification
X010
X011
MOV
K
20 Z
MOV
K-
5
V
MOV
K2 Z
X050
K1 V
M38
X010
X011
MOV
K
20 Z
MOV
K-
5
V
MOV
Z
D0
K3 V
Y12F
X011
MOV
K2
X064
K1
M33
Explanation
K2X50Z…... K2X (50 + 14) = K2*64
K1M38 …… K1M (38 - 5) = K1M33
K20 is converted into hexadecimal.
X011
MOV
D20
K3
Y12A
Explanation
D0Z
…… D (0 + 20) = D20
K3Y12F …… K3Y (12F - 5) = K3Y12A
Hexadecimal
Fig. 3.7 Ladder Examples and Actual Devices Processed
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......