9
- 55
9.6 Index Register (Z)
9
DEVICE EXPLANATION
9.6 Index Register (Z)
(1) Definition
Index registers are used in the sequence program for indirect setting (index
qualification) designations.
An index register point is used for index modification.
The number of index register points is as described below.
Basic model QCPU: Z0 to 9 (10 points)
High Performance model QCPU,
Process CPU, Redundant CPU: Z0 to 15 (16 points)
(2) Bit configuration of index register
(a) Bit configuration and read and write units
Index registers, which consist of 16 bits per point, read and write data in 16bit
units.
POINT
Index register data are handled as signed data.
F or HEX (hexadecimal), 0000
H
to FFFF
H
can be stored. However, since the most
significant bit is a sign bit, the range of a value that can be specified is -32768 to
32767.
Diagram 9.56 Index register
Diagram 9.57 Bit configuration of index register
X0
K5
Z0
MOVP
SM400
D0Z0 K4Y30BCD
Index registers consist of 16 bits
per point.
Zn
b15
to
b0
The most significant bit is sign bit.