10 - 39 10 - 39
MELSEC-Q
10 DEVICES
10.6 Index Registers (Z)
(1) Definition
(a) Index registers are used in the sequence program for indirect setting (index
qualification) designations.
An index register point is used for index modification.
Index registers consist of 16 bits per point.
X0
K5
Z0
MOVP
SM400
D0Z0 K4Y30
BCD
(b) There are 16 index registers (Z0-Z15).
(c) Index registers, which consist of 16 bits per point, read and write data in
16bit units.
Zn
b15
b0
(d) If the index registers are used for 32-bit instructions, the data is stored in
registers Zn and Zn +1.
The lower 16 bits of data are stored in the index register No. (Zn)
designated in the sequence program, and the upper 16 bits of data are
stored in the designated index register No. + 1.
For example, if register Z2 is designated in the DMOV instruction, the lower
16 bits are stored in Z2, and the upper 16 bits are stored at Z3.
D0
Z2
DMOV
Z3
Upper 16 bits Lower 16 bits
Z2
Processing object: Z2, Z3
REMARK
For index modification using the index register, refer to the following manual.
QCPU (Q mode) / QnACPU Programming Manual (Common instructions)
Содержание QCPU (Q Mode)
Страница 111: ...5 19 5 19 MELSEC Q 5 ASSIGNMENT OF I O NUMBERS MEMO ...
Страница 450: ...App 59 App 59 MELSEC Q APPENDICES MEMO ...