Delta AS Series Programming Manual page 306

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0055
D
ZCP
Device
X
Y
M
S
1
S
2
S
D
Data
type
S
1
S
2
S
D
Symbol
Explanation
1.
These instructions compare signed decimal numbers in S and S
and S
, and stores the comparison results in D.
2
2.
The value in S
must be less than that in S
1
value during the execution of the ZCP instruction.
3.
The operand D occupies three consecutive devices. The comparison results are stored in D, D+1, and D+2.
If the value in S
is less than the value in S, D is ON.
1
If the value in S is between the values in S
If the value in S is greater than the value in S
4.
Only the DZCP and DZCPP instructions can use the 32-bit counter, but not the device E.
Operand
,S
,S,D
P
S
1
2
S
T
C
HC
Pulse Instruction
Minimum value of the zone
S1 :
comparison
Maximum value of the zone
S2 :
comparison
: Comparison value
S
: Comparison result
D
. If the value in S
2
and S
, D+1 is ON.
1
2
, D+2 is ON.
2
C h a p t e r 6 Ap p l i e d I n s t r u c t i o n s
D
FR
SM
SR
E
16-bit instruction
AS
AS
, and compare the signed decimal numbers in S
1
is larger than that in S
1
Function
Zone comparison
K
16#
"$"
F
32-bit instruction
AS
, S
is the maximum/minimum
2
1
6 - 2 7
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents