6 BASIC INSTRUCTIONS
6.6 Data Transfer Instructions
299
6
Inverting and transferring 32-bit data
DCML(P)
These instructions invert each bit of the 32-bit binary data in the device specified by (s), and transfer the result to the device
specified by (d).
■Descriptions, ranges, and data types
■Applicable devices
• These instructions invert each bit of the 32-bit binary data in the device specified by (s), and store the result in the device
specified by (d).
There is no operation error.
Ladder diagram Structured text
ENO:=DCML(EN,s,d);
ENO:=DCMLP(EN,s,d);
Operand Description Range Data type Data type (label)
(s) Data to be inverted or device number in which data is
stored
-2147483648 to +2147483647 32-bit signed binary ANY32
(d) Device number for storing the inversion result 32-bit signed binary ANY32
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s)
(d)
(d)
(s)
···
···
···
···
b15
b15
b0
b0
b15
b15 b0
b0
1011 1000 1110010
0100 0
0
11110001101
(d)+1 (d)
(s)+1 (s)
Inversion