Mitsubishi Electric M800VW Series Programming Manual page 255

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.4 Data Transfer Instructions
CML, CMLP, DCML, DCMLP: 16-bit and 32-bit negation transfers
Setting
Bit devices
data
X
Y
M
L
F
S
D
△ : This is not available with DCML(P).
[Instruction symbol] [Execution condition]
CML, DCML
CMLP, DCMLP
 Setting data
Setting data
S
Data to be inverted, or number of device storing this data
D
Number of device that will store results of inversion
 Functions
CML
 Inverts 16-bit data designated by S bit by bit, and transfers the result to the device designated by "D".
b15
Before execution "S"
1 0 1 1 0 1 0 0 0 1 1 1 0 0 1 0
b15
After execution "D"
0 1 0 0 1 0 1 1 1 0 0 0 1 1 0 1
DCML
 Inverts 32-bit data designated by S bit by bit, and transfers the result to the device designated by "D".
b15
1 0 1 1
Before execution "S"
b15
0 1 0 0
After execution "D"
 Operation errors
 There are no arithmetic errors associated with the CML(P) or DCML(P) instructions.
IB-1501667-B
Usable devices
B SB
T SM V
T
C
Meaning
Inversion
S+1
b15
b0
0 1 0 0 0 1 1
Inversion
D+1
b15
b0
1 0 1 1 1 0 0
Con-
Word devices
stant
D
R/ZR W SW SD
Z
K
b0
b0
S
b0
1 0 0 1 0
D
b0
0 1 1 0 1
234
Digit
Pointer
designa-
Index
tion
H
P
indicates the signs CML/DCML
S
D
P
S
D
Data type
BIN 16/32 bits

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents