Data Register (D) - Mitsubishi Q00JCPU User Manual

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

10
DEVICE EXPLANATION

10.2.12 Data register (D)

(1) Definition
(2) Bit configuration of data register
(3) Holding of stored data
10
- 43
10.2 Internal User Devices
10.2.12 Data register (D)
Data registers are memory devices which store numeric data (-32768 to 32767, or
0000
to FFFF
).
H
H
(a) Bit configuration and read and write units
Data registers, which consist of 16 bits per point, read and write data in 16-bit
units.
b15
Dn
POINT
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.
(b) When data register is used for 32-bit instruction
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.
Figure 10.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
configuration is a sign bit.)
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
The most significant bit is sign bit.
Figure 10.37 Bit configuration of data register
to FFFF
can be stored. However, since the most
H
H
DMOV
K500000 D12
to FFFFFFFF
. (The most significant bit in a 32-bit
H
H
b0
Processing object: D12, D13
D13
D12
Upper 16 bits Lower 16 bits

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents