Delta AS Series Programming Manual page 536

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 in a
group), and rotates these groups to the right. The value of the bit marked ※ is transmitted to the carry flag SM602.
b 15
0 1 1 1 1 0 1 1 0 1 0 0
0 1 1 1 1 0 1 1 0 1 0 0 0 1 0 1
After the rotation is ex ecuted
b 15
0 1 0 1
0 1 1 1 1 0 1 1 0 1 0 0
0 1 1 1 1 0 1 1 0 1 0 0
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.
Carry flag
b 0
Carry flag
b 0
0
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
6_
6 - 2 5 7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents