
Chapter 16 PLC Function Applications
│
CP2000
16-59
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 CP2000 Series
Page 3: ......
Page 12: ...Chapter 1 Introduction CP2000 1 3 1 2 Model Name 1 3 Serial Number...
Page 35: ...Chapter 1 Introduction CP2000 1 26 Digital Keypad KPC CC01 Figure 1 32...
Page 42: ...Chapter 3 Unpacking CP2000 3 1 Chapter 3 Unpacking 3 1 Unpacking 3 2 The Lifting Hook...
Page 72: ...Chapter 4 Wiring CP2000 4 1 Chapter 4 Wiring 4 1 System Wiring Diagram 4 2 Wiring...
Page 77: ...Chapter 4 Wiring CP2000 4 6 Figure 4 5...
Page 79: ...Chapter 4 Wiring CP2000 4 8 This page intentionally left bank...
Page 109: ...Chapter 6 Control Terminals CP2000 6 12 This page intentionally left blank...
Page 172: ...Chapter 7 Optional Accessories CP2000 7 63 EMC filter model name EMF018A43A Figure 7 46...
Page 174: ...Chapter 7 Optional Accessories CP2000 7 65 EMC filter model name KMF370A KMF3100A Figure 7 48...
Page 175: ...Chapter 7 Optional Accessories CP2000 7 66 EMC filter model name B84143D0150R127 Figure 7 49...
Page 176: ...Chapter 7 Optional Accessories CP2000 7 67 EMC filter model name B84143D0200R127 Figure 7 50...
Page 182: ...Chapter 7 Optional Accessories CP2000 7 73 Wall Mounting Embedded Mounting...
Page 197: ...Chapter 7 Optional Accessories CP2000 7 88 6 Installation complete...
Page 237: ...Chapter 7 Optional Accessories CP2000 7 128 This page intentionally left blank...
Page 265: ...Chapter 8 Option Cards CP2000 8 28 This page intentionally left blank...
Page 277: ...Chapter 09 Specifications CP2000 9 12 575V 690V Figure 9 3 Altitude Derating Curve Figure 9 4...
Page 281: ...Chapter 09 Specifications CP2000 9 16 9 8 Efficiency Curve Figure 9 11 Figure 9 12...
Page 317: ...Chapter 10 Digital Keypad CP2000 10 36 This page intentionally left blank...
Page 361: ...Chapter 11 Summary of Parameter Settings CP2000 11 44 This page intentionally left blank...
Page 416: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 3 3 4 5...
Page 417: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 4 6 7 8...
Page 418: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 5 9 10 11...
Page 419: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 6 12 13 14...
Page 420: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 7 15 16 17...
Page 421: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 8 18 19 20...
Page 422: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 9 21 22 23...
Page 423: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 10 24 25 26...
Page 424: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 11 27 28 29...
Page 425: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 12 30 31 32...
Page 426: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 13 33 34 35...
Page 427: ...Chapter 12 Description of Parameter Settings CP2000 12 1 03 14 36 37 38...
Page 836: ...Chapter 16 PLC Function Applications CP2000 16 153...
Page 838: ...Chapter 16 PLC Function Applications CP2000 16 155...
Page 841: ...Chapter 16 PLC Function Applications CP2000 16 158 This page intentionally left blank...
Page 857: ...Chapter 17 Introduction to BACnet CP2000 17 16 This page intentionally left blank...