Data Register (D) - Mitsubishi Q00JCPU User Manual

Q series, logic
Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

9
DEVICE EXPLANATION

9.2.12 Data register (D)

(1) Definition
Data registers are memory devices which store numeric data (-32768 to 32767, or
0000
(2) Bit configuration of data register
(a) Bit configuration and read and write units
POINT
(b) When data register is used for 32-bit instruction
(3) Holding of stored data
The data stored in the data register is held until the other data is stored.
The data stored in the data register is initialized when the PLC is powered OFF or the
CPU module is reset.
to FFFF
).
H
H
Data registers, which consist of 16 bits per point, read and write data in 16-bit
units.
b15
Dn
The most significant bit is sign bit.
Diagram 9.37 Bit configuration of data register
Data register data are handled as signed data.
For HEX (hexadecimal), 0000
significant bit is a sign bit, the range of a value that can be specified is -32768 to
32767.
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.
Diagram 9.38 Data transfer by 32-bit instruction and storage destination
Two data registers can store a range of numeric data from -2147483648 to
2147483647 or from 0
to FFFFFFFF
H
configuration is a sign bit.)
to
to FFFF
can be stored. However, since the most
H
H
DMOV
K500000 D12
Processing object: D12, D13
Upper 16 bits Lower 16 bits
. (The most significant bit in a 32-bit
H
9.2 Internal User Devices
9.2.12 Data register (D)
b0
D13
D12
9
- 38
9
10
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents