![background image](http://html1.mh-extra.com/html/ifm/cr3020/cr3020_supplement-manual_3902019022.webp)
22
ifm
Programming Manual (supplement) CAN module RTC CR3020
2017-10-26
ifm function elements
ifm functional elements, POUs (Basic)
>
Parameters of the inputs
21917
Parameter
Data type
Description
SET
BOOL
TRUE:
execute this function element
Set parameters
FALSE:
unit is not executed
CHANNEL
BYTE
CAN interface (1...n) depending on the device
NODE_ID
BYTE
Node number of the addressed CAN participant
DELAY_DAY
BYTE
Number of days till the real-time clock sets the alarm output
permissible = 0...7
DELAY_HOUR
BYTE
Number of hours till the real-time clock sets the alarm output
permissible = 0...23
DELAY_MINUTE
BYTE
Number of minutes till the real-time clock sets the alarm output
permissible = 0...59
NEW_NODE_ID
BYTE
assign a new node number to the participant
permissible values = 0...63 = 0x00...0x3F
NEW_BAUDRATE
BYTE
assign a new baud rate to the participant
permissible values::
02
baud rate = 500 kBd
03
baud rate = 250 kBd
04
baud rate = 125 kBd
>
Parameters of the outputs
21904
Parameter
Data type
Description
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
248
F8
Error: invalid input parameters; Setting not possible