Delta CT2000 Series User Manual page 496

Table of Contents

Advertisement

API
ZCP
D
P
11
Bit device
X
Y
M
K
S1
S2
S
D
Notes on operand usage:
The content value of operand S1 is less than the content value of
S2 operand
The operand D occupies three consecutive points
S1
S
When the comparative value
upper limit
When lower limit
S1
Size comparison is performed algebraically. All data is compared in the form of
numerical binary values. Because this is a 16-bit command, when b15 is 1, this
indicates a negative number.
When the designated device is M0, it automatically occupies M0, M1 and M2.
When X0=On, the ZCP command executes, and M0, M1 or M2 will be On. When
X0=Off, the ZCP command will not execute, and the state of M0, M1 or M2 will
remain in the state prior to X0=Off.
If ≥, ≤, or ≠ results are needed, they can be obtained via series/parallel
connections of M0-M2.
To clear results of comparison, use the RST or ZRST command.
X0
S1
S2
S
D
Word device
H
KnX KnY KnM
T
: Lower limit of range comparison.
: Comparative value.
S2
, the results of comparison are expressed in
S1
> upper limit
to perform comparison with the upper and lower limit.
X0
X0
M0
M1
M2
M0
RST
M1
RST
M2
RST
Chapter 16 PLC Function CT2000 Series
Range comparison
16-bit command (9 STEP)
ZCP
Continuous
C
D
execution type
32-bit command (17 STEP)
DZCP
Continuous
execution type
Flag signal: none
S2
: Upper limit of range comparison.
D
: Results of comparison.
S
is compared with the lower limit
S2
, the command will use the lower limit
ZCP
K10
K100
If C10 < K10, M0 = On
If K10 < C10 < K100, M1 = On
=
=
If C10 > K100, M2 = On
X0
ZRST
16-55
ZCPP
Pulse
execution type
DZCPP
Pulse
execution type
S1
D
.
C10
M0
M0
M2
and

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents