3 ) programming example – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 202
Advertising

5.7 Data Shift Instructions
5.7.11 Bit Shift Left (SHFTL)
5-133
Instructions
5
( 3 ) Programming Example
In the following programming example, four bits from the first bit address at MB00001E are shifted two bits to the left
when switch 1 (DB000000) turns ON.
The following figure illustrates the result when the above instructions are executed.
0
0
1
1
0
1
0
0
0
1
0
0
E
F
0
1
2
…
1
1
Number of bits
to shift = 2
Bit width = 4
First bit address:
MB00001E
Before Shift
After Shift
Bits that overflow are discarded.
Advertising
This manual is related to the following products: