10 - 28 10 - 28
MELSEC-Q
10 DEVICES
10.2.12 Data registers (D)
(1) Definition
(a) Data registers are memory devices which store numeric data (-32768 to
32767, or 0000
H
to FFFF
H
).
(b) Data registers, which consist of 16 bits per point, read and write data in 16-
bit units.
Dn
b15
b0
(c) If the data registers are used for 32-bit instructions, the data will be stored in
registers Dn and Dn + 1. The lower 16 bits of data are stored at the data
register No. (Dn) designated in the sequence program, and the higher 16
bits of data are stored in the designated register No. + 1 (Dn + 1). For
example, if register D12 is designated in the DMOV instruction, the lower
16 bits are stored in D12, and the upper 16 bits are stored in D13.
K500000 D12
DMOV
D13
Upper 16 bits Lower 16 bits
D12
Processing object: D12, D13
Two data registers can store a range of numeric data from -2147483648 to
2147483647 or from 0
H
to FFFFFFFF
H
.
(d) Data stored by the sequence program is maintained until another data save
operation occurs.