Chapter 16 PLC Function Applications
│
CFP2000
16-105
API
TCMP
Comparison of calendar data
160
P
Bit device
Word device
16-bit command (11 STEP)
TCMP
Continuous
execution type
TCMPP
Pulse
execution type
32-bit command
-
-
-
-
Flag signal: none
X
Y M
K
H KnX KnY KnM T
C
D
S1
*
*
*
*
*
*
*
*
S2
*
*
*
*
*
*
*
*
S3
*
*
*
*
*
*
*
*
S
*
*
*
D
*
*
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
S
1
: Sets the hours of the comparison time, setting range is "K0–K23."
S
2
: Sets the
minutes of the comparison time, setting range is "K0–K59."
S
3
: Sets the seconds of
the comparison time, setting range is "K0–K59."
S
: current calendar time.
D
:
Results of comparison.
Compares the time in hours, minutes, and seconds set in
S
1
–
S
3
with the current
calendar
time in hours, minutes, and seconds, with the results of comparison
expressed in
D
.
S
The hour content of the current calendar time is "K0–K23."
S
+1 comprises the
minutes of the current calendar time, and consists of "K0–K59."
S
+2 comprises
the seconds of the current calendar time, and consists of "K0–K59."
The current calendar time designated by
S
is usually compared using the TCMP
command after using the TRD command to read the current calendar time. If the
content value of
S
exceeds the range, this is considered an operating error, the
command will not execute, and M1068=On.
When X10=On, the command will execute, and the current calendar time in
D20–D22 will be compared with the preset value of 12:20:45; the results will be
displayed in M10–M12. When X10 On→Off, the command will not be executed, but
the On/Off status prior to M10–M12 will be maintained.
If results in the form of ≥, ≤, or ≠ are needed, they can be obtained by series and
parallel connection of M10–M12.
Summary of Contents for CFP2000 Series
Page 3: ......
Page 12: ...Chapter 1 Introduction CFP2000 1 3 1 2 Model Name 1 3 Serial Number ...
Page 15: ...Chapter 1 Introduction CFP2000 1 6 Frame B RFI 1 RFI 1 RFI 1 RFI 2 RFI 2 RFI 2 Figure 1 5 ...
Page 37: ...Chapter 1 Introduction CFP2000 1 28 1 7 Digital Keypad KPC CC01 ...
Page 42: ...Chapter 3 Unpacking CFP2000 3 1 Chapter 3 Unpacking 3 1 Unpacking 3 2 The Lifting Hook ...
Page 54: ...Chapter 4 Wiring CFP2000 4 5 Figure 4 4 ...
Page 57: ...Chapter 4 Wiring CFP2000 4 8 4 4 Basic Waterproof Component Wiring Diagram Frame A Frame B ...
Page 58: ...Chapter 4 Wiring CFP2000 4 9 Frame C D0 ...
Page 75: ...Chapter 5 Main Circuit Terminals CFP2000 5 16 This page intentionally left blank ...
Page 120: ...Chapter 7 Optional Accessories CFP2000 7 35 Wall Mounting Embedded Mounting ...
Page 137: ...Chapter 7 Optional Accessories CFP2000 7 52 This page intentionally left blank ...
Page 173: ...Chapter 9 Specifications CFP2000 9 8 9 5 Efficiency Curve Figure 9 5 ...
Page 251: ...Chapter 11 Summary of Parameter Settings CFP2000 11 42 This page intentionally left blank ...
Page 304: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 3 3 4 5 ...
Page 305: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 4 6 7 8 ...
Page 306: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 5 9 10 11 ...
Page 307: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 6 12 13 14 ...
Page 308: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 7 15 16 17 ...
Page 309: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 8 18 19 20 ...
Page 310: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 9 21 22 23 ...
Page 311: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 10 24 25 26 ...
Page 312: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 11 27 28 29 ...
Page 313: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 12 30 31 32 ...
Page 314: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 13 33 34 35 ...
Page 315: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 14 36 37 38 ...
Page 326: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 25 ...
Page 545: ...Chapter 14 Fault Codes and Descriptions CFP2000 14 50 This page intentionally left blank ...
Page 726: ...Chapter 16 PLC Function Applications CFP2000 16 153 ...
Page 728: ...Chapter 16 PLC Function Applications CFP2000 16 155 ...
Page 731: ...Chapter 16 PLC Function Applications CFP2000 16 158 This page intentionally left blank ...
Page 747: ...Chapter 17 Introduction to BACnet CFP2000 17 16 This page intentionally left blank ...