
32
ifm
Programming Manual (supplement) CAN module RTC CR3020
2017-10-26
ifm function elements
ifm functional elements, POUs (Classic)
>
Parameters of the outputs
21868
Parameter
Data type
Description
DAY
BYTE
Calendar day of the date (1...31)
MONTH
BYTE
Month of the date (1...12)
YEAR
BYTE
Year of the date (0...99)
HOUR
BYTE
Hour of the clock time (0...23)
MINUTE
BYTE
Minute of the clock time (0..59)
SECOND
BYTE
Second of the clock time (0..59)
DOW
BYTE
Weekday of the date (0...6)
0 = first day of the week (e.g. Monday)
6 = last day of the week (e.g. Sunday)
LOW_BATTERY
BYTE
Warning when the battery level is low:
0 = battery level is sufficient
1 = battery level is low
RESULT
BYTE
feedback of the function block
(possible messages → following table)
Possible results for RESULT:
Value
dec | hex
Description
0
00
FB is inactive
1
01
FB execution completed without error
– data is valid
5
05
FB is active
– no data received yet
9
09
CAN is not active
241
F1
Error: Response does not correspond to the request
(Response
Request)
242
F2
Error: setting is not possible