Inverting And Transferring 1-Bit Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Inverting and transferring 1-bit data

CMLB(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions invert the specified bit data, and transfer the inverted data.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
CMLB
CMLBP
Setting data
■Description, range, data type
Operand
Description
(s)
Inversion target data or the number of the device where the
inversion target data is stored
(d)
Transfer destination device number
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
Processing details
• These instructions invert the bit data in the device specified by (s), and transfer the inverted data to the device specified by
(d).
(d)
Before
1
∙∙∙
transfer
The bit is inverted and transferred.
After
0
∙∙∙
transfer
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
(s)
1
1
ST
ENO:=CMLB(EN,s,d);
ENO:=CMLBP(EN,s,d);
Range
Data type
Bit
Bit
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
Data type (label)
ANY_BOOL
ANY_BOOL
BOOL
BOOL
Constant
Others
specification
K, H E
$
6 BASIC INSTRUCTIONS
6.7 Data Transfer Instructions
6
501

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents