EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Shifting N-Bit Data to the Right by N Bit(S)

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...
362
6 BASIC INSTRUCTIONS
6.5 Shift Instructions
Shifting n-bit data to the right by n bit(s)
SFTBR(P)
These instructions shift the n-bit data starting from the specified device to the right by n bit(s).
Execution condition
Setting data
Description, range, data type
Applicable devices
*1 T, C, and ST cannot be used.
Ladder ST
ENO:=SFTBR(EN,n1,n2,d);
ENO:=SFTBRP(EN,n1,n2,d);
FBD/LD
Instruction Execution condition
SFTBR
SFTBRP
Operand Description Range Data type Data type (label)
(d) Shift target device Bit ANY_BOOL
(n1) Number of bits to be shifted 0 to 64 16-bit unsigned binary ANY16
(n2) Number of shifts 0 to 65535 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)
*1

(n1)  
(n2)  
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(d) (n1) (n2)
EN ENO
dn1
n2

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals