Delta AS Series Programming Manual page 540

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. The value of the bit marked ※ is transmitted to the carry flag SM602.
Carry flag
b 15
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
Carry flag
b 15
1 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 rotation is executed
0 0 0 0 0 0 0 0 1 1 1 1
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
b 0
b 0
6_
6 - 2 6 1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents