Publication 1762-RM001C-EN-P
Function Files 3-3
Real-Time Clock
Function File
The real-time clock provides year, month, day of month, day of week,
hour, minute, and second information to the Real-Time Clock (RTC)
Function File in the controller. The programming screen is shown below:
The parameters and their valid ranges are shown in the table below.
The following table indicates the expected accuracy of the real-time clock
for various temperatures.
Table 3.2 Real-Time Clock Function File
Feature Address Data Format Range Type User Program
Access
YR - RTC Year RTC:0.YR word 1998 to 2097 status read-only
MON - RTC Month RTC:0.MON word 1 to 12 status read-only
DAY - RTC Day of Month RTC:0.DAY word 1 to 31 status read-only
HR - RTC Hours RTC:0.HR word 0 to 23 (military time) status read-only
MIN - RTC Minutes RTC:0.MIN word 0 to 59 status read-only
SEC - RTC Seconds RTC:0.SEC word 0 to 59 status read-only
DOW - RTC Day of Week RTC:0.DOW word 0 to 6 (Sunday to Saturday) status read-only
DS - Disabled RTC:0/DS binary 0 or 1 status read-only
BL - RTC Battery Low RTC:0/BL binary 0 or 1 status read-only
Table 3.3 Real-Time Clock Accuracy at Various Temperatures
Ambient Temperature
Accuracy
(1)
(1) These numbers are worst case values over a 31 day month.
0°C (+32°F) +34 to -70 seconds/month
+25°C (+77°F) +36 to -68 seconds/month
+40°C (+104°F) +29 to -75 seconds/month
+55°C (+131°F) -133 to -237 seconds/month