![background image](http://html1.mh-extra.com/html/ifm/basiccontroller-cr0431/basiccontroller-cr0431_programming-manual_3915933062.webp)
62
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
CAN_RECOVER
7512
Unit type = function block (FB)
Unit is contained in the library
ifm_RawCAN_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7513
CAN_RECOVER has the following tasks:
to activate / deactivate the automatic bus off handling
to restart the CAN interface in case of bus off
>
In case of bus off: CAN Controller deletes all buffers (including the buffers of the other protocols).
If CAN_RECOVER is not used (ENABLE=FALSE):
>
in case of a bus off a recovery attempt is automatically made after 1 s.
>
after 4 failed recovery attempts in a row the affected CAN interface is deactivated.
>
Parameters of the inputs
7514
Parameter
Data type
Description
ENABLE
BOOL := FALSE
TRUE:
No automatic recovery after CAN bus off
FALSE:
Automatic recovery after CAN bus off
CHANNEL
BYTE
CAN interface (1...n) depending on the device
RECOVER_EXECUTE
BOOL
TRUE (only for 1 cycle):
restart of CAN interface
remedy bus off condition
FALSE:
function element is not executed
InhibitTime
(optional use of the parameter)
TIME := T#1s
Waiting time between bus off and restart of the CAN interface
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...