352
6 BASIC INSTRUCTIONS
6.5 Shift Instructions
Shifting 16-bit binary data to the left by n bit(s)
SFL(P)
These instructions shift the 16-bit binary data in the specified device to the left.
■Execution condition
■Description, range, data type
■Applicable devices
Ladder ST
ENO:=SFL(EN,n,d);
ENO:=SFLP(EN,n,d);
FBD/LD
Instruction Execution condition
SFL
SFLP
Operand Description Range Data type Data type (label)
(d) Shift target device 16-bit signed binary ANY16
(n) Number of shifts 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)