This function of the CAA_RealTimeClock.library polls the realtime clock of the target system. When the module execution starts, the output "dtDateAndTime“ is reset to dt#1970-01-01-00:00:00. After successful execution it contains the current system time.
Output:
dtDateAndTime |
DATE_AND_TIME |
Current date and time |
eTimeZone |
RTCLK.PERIODE |
Current time zone |
xDone |
BOOL |
Execution terminated successfully see: ⇘ “CAA 指南” |
xBusy |
BOOL |
module active see: ⇘ “CAA 指南” |
xError |
BOOL |
Error occurred see: ⇘ “CAA 指南” |
eError |
RTCLK.ERROR |
Error ID for diagnosis (see ⇘ RTCLK.ERROR) |