Mitsubishi MELSEC Q Series Programming Manual page 317

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6.4.5
16-bit and 32-bit negation transfers (CML(P),DCML(P))
CML(P),DCML(P)
CML, DCML
CMLP, DCMLP
Setting
Data
S
D
Function
CML
(1) Inverts 16-bit data designated by
designated by
Before execution
After execution
DCML
(1) Inverts 32-bit data designated by
designated by
Before execution
After execution
Operation Error
(1) There are no operation errors associated with the CML(P) or DCML(P) instruction.
Command
Command
: 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
Internal Devices
R, ZR
Bit
Word
bit by bit, and transfers the result to the device
S
.
D
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
S
.
D
S
+1
b15
S
1
0
1
1
0
D
+1
b15
D
0
1
0
0
1
High
Basic
performance
indicates an instruction symbol of CML, DCML.
P
J
\
U
\G
Bit
Word
0
0
0
1
1
1
0
0
Inversion
1
1
1
0
0
0
1
1
S
b0
b15
1
0
0
0
1
1
1
Inversion
D
b0
b15
0
1
1
1
0
0
0
CML(P),DCML(P)
Process
Redundant Universal
LCPU
S
D
S
D
Constants
Zn
Other
K, H
––
––
––
b0
1
0
b0
0
1
b0
0
0
1
0
b0
1
1
0
1
6-115
1
2
3
4
4
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents