Delta AH500 Programming Manual page 467

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
1221
D
LIMIT
Device X
Y
M
S
1
S
2
S
3
D
Symbol:
Explanation:
1.
The input value in S
output value in S
, and the comparison result is stored in D.
2
If the minimum output value in S
D is equal to the minimum output value in S
If the maximum output value in S
D is equal to the maximum output value in S
If the input value in S
maximum output value in S
If the minimum output value in S
is not executed.
2.
Only the 32-bit instructions can use the 32-bit counter.
Example:
When X0.0 is ON, the state of X1 is converted into the binary value, and the conversion result
is stored in D0. Besides, the value stored in D0 is compared with 500 and 5000, and the
comparison result is stored in D1.
Operand
S
, S
, S
P
1
2
3
S
T
C
HC
D
Pulse instruction 16-bit instruction (9 steps) 32-bit instruction (9 steps)
AH500
: Minimum output value
S
1
: Maximum output value
S
2
: Input value
S
3
D : Output value
is compared with the minimum output value in S
3
is larger than the input value in S
1
1
is less than the input value in S
2
is within the range between the minimum output value in S
3
, the output value stored in D is equal to the input value in S
2
is larger than the maximum output value in S
1
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Confining the value within the
, D
bounds
L
SM SR
E
AH500
Word/Double word
Word/Double word
Word/Double word
Word/Double word
, the output value stored in
3
.
, the output value stored in
3
.
2
Function
PR
K
16# "$"
DF
AH500
and the maximum
1
and the
1
.
3
, the instruction
2
6 - 2 9 9

Advertisement

Table of Contents
loading

Table of Contents