EasyManua.ls Logo

Mitsubishi MELSEC-Q/L

Mitsubishi MELSEC-Q/L
850 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...
261
CML, CMLP, DCML, DCMLP
1
2
3
4
6
7
8
6.4 Data Transfer Instructions
6.4.5 CML, CMLP, DCML, DCMLP
: Data to be reversed or the number of the device where data to be reversed is stored (BIN 16/32 bits)
: Number of the device where the reversing result will be stored (BIN 16/32 bits)
Function
CML
(1) Inverts 16-bit data designated by bit by bit, and transfers the result to the device designated by .
DCML
(1) Inverts 32-bit data designated by bit by bit, and transfers the result to the device designated by .
Operation Error
(1) There is no operation error in the CML(P) or DCML(P) instruction.
6.4.5 CML, CMLP 16-bit data negation transfer
DCML, DCMLP 32-bit data negation transfer
6.4.5
CML, CMLP, DCML, DCMLP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
––
––
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.
S
D
S
D
S
D
b15
1
Before execution
0 1 1 0 1 0 0 0 1 1 1 0 010
b0
b15
1 1 1 1 1 1 1 1
b0
After execution
Inversion
0000 000 0
S
D
S
D
1Before execution
0
11
0
1
0 0 0
11 1
0 0
1
0
Inversion
b15 b0 b0b15
A
fter 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