Chapter 21 Real Time Clock (RTC) instructions
592 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
RTC data type
The following table describes the RTC data type.
Parameter Data type Description
Year UINT The year setting for the RTC. 16-bit value, and the valid range is from
2000 (Jan 01, 00:00:00) to
2098 (Dec. 31, 23:59:59)
Month UINT The month setting for the RTC.
Day UINT The day setting for the RTC.
Hour UINT The hour setting for the RTC.
Minute UINT The minute setting for the RTC.
Second UINT The second setting for the RTC.
DayOfWeek UINT The day of the week setting for the RTC. This parameter is ignored for RTC_SET.
RTC Set status values
The following table describes RTCSet values:
Status value Status description
0x00 Function block not enabled (no operation).
0x01 RTC set operation success.
0x02 RTC set operation fails.