Mitsubishi Electronics C6 Home Safety Product User Manual


 
5. Explanation of Devices
5.3 Detailed Explanation of Devices
- 74 -
5.3.8 Data Register D
(1) The data register is the memory that stores the data in the PLC.
(2) The data register has a 1-point 16-bit configuration, and can be read and written in 16-bit units.
To handle 32-bit data, two points must be used. The data register No. designated with the 32-bit
command will be the low-order 16-bit, and the designated data register No. +1 will be the
high-order 16-bit.
(Example) Use of the DMOV command is shown below.
Low-order 16-bit
Circuit example
Data storage
The X0 to 1F data is
stored in D0,1.
D1
D0
~
Higth-order 16-bit
(X1F X10)
(XF X0)
0
DMOV K8X0
D0
~
(3) The data that is stored once in the sequence program is held until other data is stored.
(4) The data stored in the data register is cleared when the power is turned OFF.
Decimal -32768 to 32767
Hexadecimal 0 to FFFF
}
For 16-bit command (Using Dn)
Decimal -2147483648 to 2147483647
(5) Values that can be stored:
Hexadecimal 0 to FFFFFFFF
}
For 32-bit command
(Using Dn+1, Dn)
(6) Data registers D0 to D8191 are all user release data registers.
(Note) The range of D0 to D8191 is valid on the software version D0 and higher.