EasyManua.ls Logo

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

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
533
7
Rotating 32-bit binary data to the right
DROR(P), DRCR(P)
DROR(P): These instructions rotate the 32-bit binary data to the right by (n) bit(s), excluding the carry flag.
DRCR(P): These instructions rotate the 32-bit binary data to the right by (n) bit(s), including the carry flag.
*1 The DROR instruction does not support the ST and FBD/LD. Use the standard function, ROR.
Page 1925 ROR(_E)
Execution condition
Setting data
Description, range, data type
Applicable devices
Ladder ST
*1
ENO:=DRORP(EN,n,d);
ENO:=DRCR(EN,n,d);
ENO:=DRCRP(EN,n,d);
FBD/LD
*1
Instruction Execution condition
DROR
DRCR
DRORP
DRCRP
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