Delta AH500 Programming Manual page 361

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

Example 2:
When X0.0 is ON, the logical operator AND takes the data in the 32-bit device (Y11, Y10) and the
32-bit device (Y21, Y20), and performs the logical AND operation on each pair of corresponding bits.
The operation result is stored in (Y41, Y40).
S
1
Before the instruction
Y11 Y1 0
is executed
S
2
Y2 1 Y2 0
After the instruction
D
is executed
Y4 1 Y4 0
b31
1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1
0 0 0
1
0
0
1
0
0 0
1 1
0 0 0
1 0 0
1
0 0 0 0 0 0
C ha pt er 6 A p pl i e d In s tr uc t io ns
b15
1
1
1
1
1
1
1 1
DA ND
0
1
0 0
0 0 0
1
0 0
1
1
0 0
0
0 0
1
0 0
1
b0
0 0
0 0
1
1
1 1
0 0 0
1
1
0
1
0 0
0 0
0 0
0 0
1
0 0
6 - 1 9 3

Advertisement

Table of Contents
loading

Table of Contents