Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L

Скачать
Страница из 1086
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
0
0
0
0
0
0
0
0
S
D
1
Before execution
0
1
1
0
1
0
0
0
1
1
1
0
0
1
0
Inversion
b15
b0
b0
b15
After execution
1
1
1
1
1
1
1
1
b15
b0
b0
b15
+1
+1
0
0
0
0
0
0
0
0
S
D
S
S
D
D