EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Rotating 32-Bit Binary Data to the Left

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTIONS
7.1 Rotation Instructions
535
7
Rotating 32-bit binary data to the left
DROL(P), DRCL(P)
DROL(P): These instructions rotate the 32-bit binary data to the left by (n) bit(s), excluding the carry flag.
DRCL(P): These instructions rotate the 32-bit binary data to the left by (n) bit(s), including the carry flag.
*1 The DROL instruction does not support the ST and FBD/LD. Use the standard function, ROL.
Page 1923 ROL(_E)
Execution condition
Setting data
Description, range, data type
Applicable devices
Ladder ST
*1
ENO:=DROLP(EN,n,d);
ENO:=DRCL(EN,n,d);
ENO:=DRCLP(EN,n,d);
FBD/LD
*1
Instruction Execution condition
DROL
DRCL
DROLP
DRCLP
Operand Description Range Data type Data type (label)
(d) Start device where the rotation target data is stored 32-bit signed binary ANY32
(n) Number of bits to be rotated 0 to 31 16-bit unsigned binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(d) 
(n) 
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(d) (n)
EN ENO
dn

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals