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

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Inverting and transferring 1-bit data

CMLB
This instruction inverts the specified bit data, and transfer the inverted data.
ST
ENO:=CMLB(EN,s,d);
■Execution condition
Instruction
CMLB
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/labels
Operand
Bit
SB
(s)
(d)
Processing details
• This instruction inverts 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
Operation error
There is no operation error.
6 BASIC INSTRUCTIONS
90
6.4 Data Transfer Instructions
Execution condition
RX, RY, LB
(s)
∙∙∙
1
1
∙∙∙
Range
Word
SW
G, RWw, RWr, LW
Data type
ANY_BOOL
ANY_BOOL
BOOL
BOOL
Constant
K, H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents