Bit left-shift (sfl) command -20, 2 bit left-shift (sfl) command ! ! ! ! outline, Detailed explanation – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 152: Program example
Advertising

MotionSuite™ Series Machine Controller Motion Programming Manual
Chapter 4: Sequence Commands
4-20
4.5.2
Bit Left-shift (SFL) Command
!
!
!
! Outline
In a bit string designated by heading bit number and bit width, the Bit Right-shift (SFR)
command shifts as many numbers as designated towards the left.
!
!
!
! Detailed Explanation
Command Method
Data Type
$ = Yes
× = No
!
!
!
! Program Example
Bit (B)
Integer (W)
32-bit Integer (L)
Real (F)
Constant
Heading Bit Number
$
×
×
×
×
Number to be Shifted
×
$
×
×
$
Bit Width
×
$
×
×
$
Type
Motion Program
Ladder Program
B
—
—
W
SFR MB001000
N=MW00101 W=MW00102;
SHFTR MB001000
N=MW00101 W=MW00102
L
—
—
F
—
—
SFL MB001000
N5 W10;
A
B
C
A: Heading bit number
B: Number to be shifted
C: Bit width
Advertising