EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Chapter 7 Application Instructions; Rotating 16-Bit Binary Data to the Right; Rotation Instructions

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
527
7
7 APPLICATION INSTRUCTIONS
7.1 Rotation Instructions
Rotating 16-bit binary data to the right
ROR(P), RCR(P)
ROR(P): These instructions rotate the 16-bit binary data to the right by (n) bit(s), excluding the carry flag.
RCR(P): These instructions rotate the 16-bit binary data to the right by (n) bit(s), including the carry flag.
*1 The ROR 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:=RORP(EN,n,d);
ENO:=RCR(EN,n,d);
ENO:=RCRP(EN,n,d);
FBD/LD
*1
Instruction Execution condition
ROR
RCR
RORP
RCRP
Operand Description Range Data type Data type (label)
(d) Rotation target device 16-bit signed binary ANY16
(n) Number of bits to be rotated 0 to 15 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