High−level Instructions
3 − 245
Description
Shifts n bits of the data range specified by D1 (starting) and D2 (ending) to the left (to the higher bit position)
when the trigger turns on.
D2 D1
The ending n bits
are shifted out.
n bits
Specified data range
Trigger: on
D1 and D2 should be:
− The same type of operand.
− D1
D2.
When n bits are shifted to the left,
− The n bits of ending 16-bit area D2 is shifted out.
− The n bits in the starting 16-bit area D1 becomes 0.
0 to 15 can be specified for n. When 0 is specified, no operation takes place.
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− D1 > D2.
− The number n is 16 or more.