Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 153
Advertising
MotionSuite™ Series Machine Controller Motion Programming Manual
Chapter 4: Sequence Commands
4-21
Example: Heading: MB00100A (bit A of MW00100)/bit width: 10
Shift 5 bits towards the left.
Supplement
With the SFL command, when a number to be shifted >=
bit width, all data with a
designated bit width becomes 0.
SFL MB00100A N5 W10;
1 1 0 0 0
• • • • • • • • • • • • •
F
A
MW00100
“0” are input
1
0 1 0 1
• • • • • • • • • • • • •
MW00100
3
0
1 0 0 0 0
• • • • • • • • • • • • •
F
A
MW00100
0
“0” are input to
lower-level 5 bits.
1 0 0 0
• • • • • • • • • • • • •
MW00101
3
0 Take off
upper-level 5 bits.
Advertising