Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 378

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

WSFL(P)
RnPCPU
RnCPU RnENCPU
(Process)
• The RnCPU and RnENCPU with firmware version "17" or later support this instruction. (Use an engineering tool with version "1.020W" or later.)
These instructions shift the (n2) word(s) of area to the left within the (n1) words of data area starting from the specified device.
Ladder
(s)
FBD/LD
EN
ENO
s
d
n1
n2
■Execution condition
Instruction
WSFL
WSFLP
Setting data
■Description, range, data type
Operand
Description
(s)
Start device stored in the empty area after the shift
(d)
Shift target start device
*1
(n1)
Data length of shift data
*1
(n2)
Number of shifts
EN
Execution condition
ENO
Execution result
*1 Set values so that (n2)(n1).
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
*1
(s)
*1
(d)
*1
(n1)
*1
(n2)
*1 FX and FY cannot be used.
6 BASIC INSTRUCTIONS
376
6.5 Shift Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
(n1) (n2)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=WSFL(EN,s,n1,n2,d);
ENO:=WSFLP(EN,s,n1,n2,d);
Range
0 to 65535
0 to 65535
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
16-bit unsigned binary
ANY16
Word
ANY16
16-bit unsigned binary
ANY16_U
16-bit unsigned binary
ANY16_U
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents