Delta AS Series Programming Manual page 542

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Example
When X0.0 switches from OFF to ON, the instruction divides the values of the bits in D10 into groups (four bits as a
group), and then rotates these groups to the left with the carry flag SM602. The value of the bit marked ※ is transmitted
to the carry flag SM602.
Carry flag
b 15
0
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
b 15
1 1 1 1
Additional remarks
1.
If the device exceeds the range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003.
After the r otation is ex ec uted
0 0 0 0 0 0 0 0 0 1 1 1
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
b 0
Carry flag
b 0
1
6_
6 - 2 6 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents