Publication 1763-RM001C-EN-P - October 2009
Function Files
51
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 Real-Time Clock parameters and their valid ranges are shown in the
table below.
Writing Data to the Real-Time Clock
The programming screen is shown below:
When valid data is sent to the real-time clock from the programming
device or another controller, the new values take effect immediately. In
RSLogix 500, click on
Set Date & Time
in the RTC Function File screen to
set the RTC time to the current time on your PC.
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
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive