Rtc_Read - Allen-Bradley Micro800 General Instructions Manual

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Chapter 21
Real Time Clock (RTC) instructions

RTC_READ

Parameter
Enable
RTCData
RTCPresent
RTCEnabled
RTCBatLow
ENO
588
RTC_READ reads the RTC preset and RTC information.
RTC_READ operation
When used with a Micro810 or Micro820 controller with embedded RTC:
RTCBatLow is always set to zero (0).
RTCEnabled is always set to one (1).
When the embedded RTC has lost its charge/memory due to loss of power:
RTCData is set to 2000/1/1/0/0/0.
RTCEnabled is set to one (1).
Arguments
Parameter
Data type
type
Input
BOOL
Output
RTC
Output
BOOL
Output
BOOL
Output
BOOL
Output
BOOL
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Description
Function block enable.
When Enable = TRUE, execute RTC information read.
When Enable = FALSE, there is no read operation and output RTC data is invalid.
RTC data information: yy/mm/dd, hh/mm/ss, week.
See
RTC data type
on
page
409.
TRUE - RTC hardware is plugged in.
FALSE - RTC hardware is not plugged in.
TRUE - RTC hardware is enabled (timing).
FALSE - RTC hardware is disabled (not timing).
TRUE - RTC battery is low.
FALSE - RTC battery is not low.
Enable out.
Applies only to LD programs.

Advertisement

Table of Contents
loading

Table of Contents