Delta AS Series Programming Manual page 525

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Example
When X0.0 is ON, the instruction performs the matrix exclusive operation OR on each pair of corresponding bits in the
16-bit devices Y0–Y2 and the data in 16-bit devices Y10–Y12. It stores the operation result in the 16-bit devices Y20–
Y22.
Before the
instruc tion
is executed
Additional remarks
_6
1.
If S
+n-1, S
1
code in SR0 is 16#2003.
2.
If n is not between 1–256, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B.
6 - 2 4 6
S1
b15
Y0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
Y1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
Y2
MXO R
S2
b15
Y10
0 0 0 1 0 1 1 1 1 0 1 0 0 1 0 1
Y11
0 0 0 1 0 1 1 1 1 0 1 0 0 1 0 1
0 0 0 1 0 0 1 1 1 0 1 0 0 1 0 1
Y12
+n-1, or D+n-1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error
2
b0
After the
instruc tion
D
is executed
b15
Y20
0 1 0 1 1 0 1 0 1 1 1 1 0 0 0 0
b0
Y21
0 1 0 1 1 0 1 0 1 1 1 1 0 0 0 0
0 1 0 1 1 0 1 0 1 1 1 1 0 0 0 0
Y22
b0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents