
13
ifm
Programming Manual (supplement) CAN module RTC CR3020
2017-10-26
ifm function elements
ifm libraries for the device CRnnnn
>
3.1.2
Library ifm_RTC_Classicx_V02yyzz.LIB
21828
x = 1...4 = number of the CAN interface (depending on the device,
→ data sheet)
Only ONE real-time clock may be installed in each project!
The POUs of this library are designed for the following
ifm
devices:
• ClassicController: CR00nn, CR05nn
• CabinetController: CR03nn
• ExtendedController: CR01nn, CR02nn
• SmartController: CR250n
• SafetyController: CR7nnn
• PDMsmart: CR107n
This
ifm
library contains the following function blocks:
Function element
Short description
CONCAT_DATE_TIME
(→ p.
converts the received data that describe the time and the date from bytes into coherent strings
RTC_INITIALIZE
(→ p.
initialises the connection between the controller and the real-time clock
RTC_REQUEST
(→ p.
initialises the connection between the controller and the real-time clock
RTC_REQUEST_ALARM
(→ p.
asks the real-time clock about the following current values:
• the remaining time till the setting of the alarm output
• the current node ID
RTC_SET
(→ p.
Set new time, date and day of the week of the real-time clock
RTC_SET_ALARM
(→ p.
configures the delay after which the real-time clock sets the alarm output