Inverting And Transferring 32-Bit Binary 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 32-bit binary data

DCML(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions invert the specified 32-bit binary data bit by bit, and transfer the inverted data.
Ladder
(s)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
DCML
DCMLP
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)
Number of the device for storing the inverted data
EN
Execution condition
ENO
Execution result
• In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d)
• In safety programs executed by the Safety CPU, only the following safety devices and constants can be used.
Operand
Bit
SA\X, SA\Y, SA\M, SA\SM, SA\B
(s)
(d)
6 BASIC INSTRUCTIONS
496
6.7 Data Transfer Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=DCML(EN,s,d);
ENO:=DCMLP(EN,s,d);
Range
-2147483648 to 2147483647
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Word
SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD
Data type
Data type (label)
32-bit signed binary
ANY32
32-bit signed binary
ANY32
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Constant
K, H
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents