EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - 16-Bit Data Negation Transfer, 32-Bit Data Negation Transfer

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
304
6 BASIC INSTRUCTIONS
6.4 Data Transfer Instructions
16-bit data negation transfer, 32-bit data negation transfer
CML(P), DCML(P)
Processing details
CML
Inverts 16-bit data designated by (S) bit by bit, and transfers the result to the device designated by (D).
DCML
Inverts 32-bit data designated by (S) bit by bit, and transfers the result to the device designated by (D).
Operation error
There is no operation error in the CML(P) or DCML(P) instruction.
(S): Data to be reversed or the number of the device where data to be reversed is stored (BIN 16/32 bits)
(D): Number of the device where the reversing result will be stored (BIN 16/32 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S) 
(D) 
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
P
CML, DCML
CMLP, DCMLP
S D
S D
indicates an instruction symbol of CML, DCML.
b15
1
Before execution
0 1 1 0 1 0 0 0 1 1 1 0 0 1 0
b0
b15
1 1 1 1 1 1 1 1
b0
After execution
Inversion
0000 000 0
S
D
1Before execution
0
11
0
1
0 0 0
11 1
0 0
1
0
Inversion
b15 b0 b0b15
After execution
1 1 1 1 1 1 1 1
b15 b0 b0b15
+1
+1
000 0 000 0
S
D
S
S
D
D

Table of Contents

Related product manuals