Delta AS Series Programming Manual page 345

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S er i es Pr og r am m ing M an u a l
Example 2
When X0.0 is ON, the instruction adds the addend 10 to the binary values in D0–D4, and stores the sums in D100–D104.
1
D0
D1
2
3
D2
4
D3
D4
5
Additional remarks
1.
For 16-bit instructions, if the devices S
_6
not executed, SM is ON, and the error code in SR0 is 16#2003.
2.
For 32-bit instructions, if the devices S
instruction is not executed, SM is ON, and the error code in SR0 is 16#2003.
3.
If n is not between 1–256, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B.
4.
For 16-bit instructions, if S
in SR0 is 16#200C.
5.
For 32-bit instructions, if S
code in SR0 is 16#200C.
6.
For 16-bit instructions, if S
in SR0 is 16#200C.
7.
For 32-bit instructions, if S
code in SR0 is 16#200C.
6 - 6 6
10
D100
10
D101
+
10
D102
10
D103
10
D104
–S
+n-1, S
1
1
–S
+2*n-1, S
1
1
–S
+n-1 overlap D–D+n-1, the instruction is not executed, SM0 is ON, and the error code
1
1
–S
+2*n-1 overlap D–D+2*n-1, the instruction is not executed, SM0 is ON, and the error
1
1
–S
+n-1 overlap D–D+n-1, the instruction is not executed, SM0 is ON, and the error code
2
2
–S
+2*n-1 overlap D–D+2*n-1, the instruction is not executed, SM0 is ON, and the error
2
2
Ex ec ution res ult
11
12
13
14
15
–S
+n-1, or D–D+n-1 exceed the device range, the instruction is
2
2
–S
+2*n-1, or D–D+2*n-1 exceed the device range, the
2
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents