Delta AS Series Programming Manual page 635

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
S
D10
D11
D12
D13
n
D14
D15
D16
D17
D18
D19
_6
Additional remarks
1.
If S
+n-1 or D+4 exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0
1
is 16#2003.
2.
For 16-bit instructions, if 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.
3.
For 32-bit instructions, if 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.
4.
For 16-bit instructions, if you declare the operand D in ISPSoft, the data type is ARRAY [5] of WORD/INT.
5.
For 32-bit instructions, if you declare the operand D in ISPSoft, the data type is ARRAY [5] of DWORD/DINT.
6 - 3 5 6
Compared
Data
Value
1
data
number
88
100
110
150
S
2
D0=100
100
300
100
5
100
500
Result
D
Value
0
D50
1
Equal
D51
2
D52
3
D53
4
Equal
D54
5
6
Equal
7
Minimum
8
Equal
9
Maximum
Description
4
Number of equal values
Data number of the first
1
equal value
Data number of the last
8
equal value
Data number of the
7
minimum value
Data number of the
9
maximum value

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents