Delta AS Series Programming Manual page 672

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

2.
For 16-bit instructions, the value in n must be between 1–256.
3.
For 32-bit instructions, the value in n must be between 1–128.
4.
Only the 32-bit instructions can use the 32-bit counter, but not the device E.
Example
The WSUM instruction adds up the values in D0–D2, and stores the sum (32-bit) in D10.
(D0+D1+D2)
D0
100
D1
113
125
D2
Additional remarks
1.
For 16-bit instructions, the value in n is not between 1–256, the instruction is not executed, SM0 is ON, and the
error code in SR0 is 16#200B.
2.
For 32-bit instructions, the value in n is not between 1–128, the instruction is not executed, SM0 is ON, and the
error code in SR0 is 16#200B.
3.
If S+n-1 or D exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is
16#2003.
4.
For 16-bit instructions, ff you declare the operand D in ISPSoft, the data type is DWORD or ARRAY [2] of WORD.
5.
For 32-bit instructions, if you declare the operand D in ISPSoft, the data type is ARRAY [2] of DWORD.
D10
After the instruction
D10
is executed
Ch ap te r 6 Ap pl ie d Instruc ti ons
338
6_
6 - 3 9 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents