Chapter 15 Input/Output instructions
410 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
RTC_SET sets RTC status or write RTC information.
Arguments
Parameter
Parameter
type
Data type Description
Enable Input BOOL Function block enable.
When Enable = TRUE, execute RTC set with the RTC info from input.
When Enable = FALSE, there is no read operation and output RTC data is invalid.
RTCEnable Input BOOL TRUE - To enable RTC with the RTC data specified.
FALSE - To disable RTC.
Note: This is ignored by Micro810 controllers and Micro820 controllers.
RTCData Input RTC RTC data information: yy/mm/dd, hh/mm/ss, week.
This RTC data are ignored when RTCEnable = 0.
See RTC data type on page 409.
RTCPresent Output BOOL TRUE - RTC hardware is plugged in.
FALSE - RTC hardware is not plugged in.
RTCEnabled Output BOOL TRUE - RTC hardware is enabled (timing).
FALSE - RTC hardware is disabled (not timing).
RTCBatLow Output BOOL TRUE - RTC battery is low.
FALSE - RTC battery is not low.
Sts Output USINT The read operation status.
See RTC Set Status values on page 411