6. BASIC INSTRUCTIONS
6 − 49
MELSEC-A
6.4.2 16-, 32-bit data negation transfer
(CML, CMLP, DCML, DCMLP)
Available Device
Bit device Word (16-bit) device Constant Pointer
Level
Carry
flag
Error
flag
X Y M L S B F T C D W R A0 A1 Z V K H P I N
Digit specification
Index
M9012 (M9010, M9011)
(S) O O O O O O O O O O O O O O O O O O
CML
(D) O O O O O O O O O O O O O O O
K1
to
K4
(S) O O O O O O O O O O O O O O O O
DCML
(D) O O O O O O O O O O O O O
K1
to
K8
O O
Functions CML
Reverses the 16-bit data of (S) per bit and transfers the result to (D).
DCML
Reverses the 32-bit data of (S) per bit and transfers the result to (D).
Applicable
CPU
All CPUs
Before execution
After execution
Before execution
After execution
(S)
Data to be reversed or
head number of device
which stores data
(D)
Head number of device
which will store reverse
result
Setting data
CML, DCML
Indicates the instruction symbol.
(S) (D)
(S) (D)
Negative transfer commands
P