EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 374

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...
372
6 BASIC INSTRUCTIONS
6.5 Shift Instructions
WSFR(P)
These instructions shift the (n2) word(s) of area to the right within the (n1) words of data area starting from the specified
device.
Execution condition
Setting data
Description, range, data type
*1 Set values so that (n2)(n1).
Applicable devices
*1 FX and FY cannot be used.
The RnCPU and RnENCPU with firmware version "17" or later support this instruction. (Use an engineering tool with version "1.020W" or later.)
Ladder ST
ENO:=WSFR(EN,s,n1,n2,d);
ENO:=WSFRP(EN,s,n1,n2,d);
FBD/LD
Instruction Execution condition
WSFR
WSFRP
Operand Description Range Data type Data type (label)
(s) Start device stored in the empty area after the shift 16-bit unsigned binary ANY16
(d) Shift target start device Word ANY16
(n1)
*1
Data length of shift data 0 to 65535 16-bit unsigned binary ANY16_U
(n2)
*1
Number of shifts 0 to 65535 16-bit unsigned binary ANY16_U
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 $
(s)
*1

(d)
*1

(n1)
*1
 
(n2)
*1
 
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s) (d) (n1) (n2)
EN ENO
ds
n1
n2

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals