Chapter 16 PLC Function Applications
│
CFP2000
16-156
16-12 Calendar functions
Keypad (KPC-CC01) should be connected, or the CFP2000 cannot be used. Currently-support
commands include TCMP (comparison of calendar data), TZCP (calendar data range comparison),
TADD (calendar data addition), TSUB (calendar data subtraction), and TRD (calendar reading). Please
refer to the explanation of relevant commands and functions for the usage of these commands.
In real applications, the internal PLC can judge whether calendar function have been activated; if they
have been activated, calendar warning codes may be displayed in some situations. The basis for whether
a calendar function has been activated is whether the program has written the calendar time (D1063 to
D1069) in connection with the foregoing calendar commands or programs.
The calendar's time display is currently assigned to D1063 to D1069, and is defined as follows:
Special D
Item
Content
Attributes
D1063
Year
(Western)
20xx (2000–2099)
RO
D1064
Weeks
1–7
RO
D1065
Month
1–12
RO
D1066
Day
1–31
RO
D1067
Hour
0–23
RO
D1068
Minute
0–59
RO
D1069
Second
0–59
RO
Calendar-related special M items are defined as follows:
Special D
Item
Attributes
M1068 Calendar time error
RO
M1076 Calendar time error or refresh time out
RO
M1036 Ignore calendar warning
RW
*When a program writes to the commands TCMP, TZCP, TADD, or TSUB, if it is discovered that a
value exceeds the reasonable range, M1026 will be 1.
*When the keypad display is PLra (RTC correction warning) or PLrt (RTC time out warning), M1076
will be ON.
*When M1036 is 1, the PLC will ignore the calendar warning.
Calendar trigger warning code is defined as follows:
Warning
Description
Reset
approach
Whether it affects PLC
operation
PLra Calendar time correction
Requires
power restart
Will not have any effect
PLrt Calendar time refresh time out
Requires
power restart
Will not have any effect
*When the PLC's calendar functions are operating, if the keypad is replaced with another keypad, it
will jump to PLra.
*When it is discovered at startup that the keypad has not been powered for more than 7 days, or the
time is wrong, PLra will be triggered.
*When it is discovered that the CFP2000 has no keypad in 10 sec. after start up, PLrt will be triggered.
*If the keypad is suddenly pulled out while the calendar is operating normally, and is not reconnected
in 1 minute, PLrt will be triggered.
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 ...