EasyManua.ls Logo

IFM CR0452 - Page 54

IFM CR0452
209 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
54
ifm Programming Manual BasicDisplay CR0452 v03.02 05 / 2018
ifm function elements ifm function elements for the device CR0452
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

Table of Contents