16-Bit Data Negation Transfer; Dcml, Dcmlp - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

6.4.5
CML, CMLP

16-bit data negation transfer

6.4.5

DCML, DCMLP

32-bit data negation transfer
CML, CMLP, DCML, DCMLP
CML, DCML
CMLP, DCMLP
: Data to be reversed or the number of the device where data to be reversed is stored (BIN 16/32 bits)
S
: Number of the device where the reversing result will be stored (BIN 16/32 bits)
D
Setting
Internal Devices
Data
Bit
Word
S
D
Function
CML
(1) Inverts 16-bit data designated by
Before execution
After execution
DCML
(1) Inverts 32-bit data designated by
Before execution
After execution
Operation Error
(1) There is no operation error in the CML(P) or DCML(P) instruction.
Command
Command
J
\
R, ZR
Bit
Word
bit by bit, and transfers the result to the device designated by
S
b15
S
1
0
1
1
0
1
b15
D
0
1
0
0
1
0
bit by bit, and transfers the result to the device designated by
S
S
+1
b15
S
1
0
1
1
0
1
+1
D
b15
D
0
1
0
0
1
0
CML, CMLP, DCML, DCMLP
High
Basic
Process
performance
indicates an instruction symbol of CML, DCML.
S
S
P
Zn
U
\G
0
0
0
1
1
1
0
0
Inversion
1
1
1
0
0
0
1
1
S
b0
b15
0
0
0
1
1
1
0
Inversion
D
b0
b15
1
1
1
0
0
0
1
Redundant Universal
LCPU
D
D
Constants
Other
K, H
––
––
––
.
D
b0
1
0
b0
0
1
.
D
b0
0
1
0
b0
1
0
1
261
1
2
3
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents