Chapter 16 PLC Function
CT2000 Series
16-55
API
ZCP
S1
S2
S
D
Range comparison
11
D
P
Bit device
Word device
16-bit command (9 STEP)
ZCP
Continuous
execution type
ZCPP
Pulse
execution type
32-bit command (17 STEP)
DZCP
Continuous
execution type
DZCPP
Pulse
execution type
Flag signal: none
X Y M K H KnX
KnY
KnM
T
C
D
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
: Lower limit of range comparison.
S2
: Upper limit of range comparison.
S
: Comparative value.
D
: Results of comparison.
When the comparative value
S
is compared with the lower limit
S1
and
upper limit
S2
, the results of comparison are expressed in
D
.
When lower limit
S1
> upper limit
S2
, the command will use the lower limit
S1
to perform comparison with the upper and lower limit.
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.
X0
M0
M1
M2
ZCP
If C10 < K10, M0 = On
If
K10 < C10 < K100, M1 = On
If C10 > K100, M2 = On
X0
K10
C10
M0
K100
=
=
To clear results of comparison, use the RST or ZRST command.
X0
M0
RST
M1
RST
M2
RST
X0
M0
ZRST
M2
Summary of Contents for CT2000 Series
Page 5: ...Chapter 1 Introduction CT2000 Series 1 2 Model Name VFD 750 CT 43 F 00 A6 Serial Number...
Page 22: ...Chapter 1 Introduction CT2000 Series 1 19 Digital Keypad KPC CC01 KPC CE01 Unit mm inch...
Page 23: ...Chapter 1 Introduction CT2000 Series 1 20 This page intentionally left blank...
Page 41: ...Chapter 4 Wiring CT2000 Series 4 6 This page intentionally left blank...
Page 71: ...Chapter 7 Optional Accessories CT2000 Series 7 18 Wall Mounting Embedded Mounting...
Page 87: ...Chapter 8 Optional Cards CT2000 Series 8 8 PG Card intallation...
Page 88: ...Chapter 8 Optional Cards CT2000 Series 8 9 Disconneting the extension card...
Page 92: ...Chapter 8 Optional Cards CT2000 Series 8 13 PG2 Wiring Diagram...
Page 95: ...Chapter 8 Optional Cards CT2000 Series 8 16 PG2 Wiring Diagram...
Page 117: ...Chapter 8 Optional Cards CT2000 Series 8 38 This page intentionally left blank...
Page 259: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 11...
Page 260: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 12...
Page 263: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 15...
Page 266: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 18...
Page 397: ...Chapter 13 Warning Codes CT2000 Series 13 8 This page intentionally left blank...
Page 407: ...Chapter 14 Fault Codes and Descriptions CT2000 Series 14 10 This page intentionally left blank...
Page 489: ...Chapter 16 PLC Function CT2000 Series 16 48 LD X1 Load Contact a of X1 OUT Y1 Drive Y1 coil...
Page 592: ...Chapter 16 PLC Function CT2000 Series 16 151...
Page 594: ...Chapter 16 PLC Function CT2000 Series 16 153...
Page 597: ...Chapter 16 PLC Function CT2000 Series 16 156 This page intentionally left blank...