64
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
CAN1_EXT_ERRORHANDLER
4195
Unit type = function block (FB)
Unit is contained in the library
ifm_CAN1_EXT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
4335
CAN1_EXT_ERRORHANDLER monitors the first CAN interface and evaluates the CAN errors. If a
certain number of transmission errors occurs, the CAN participant becomes error passive. If the error
frequency decreases, the participant becomes error active again (= normal condition).
If a participant already is error passive and still transmission errors occur, it is disconnected from the
bus (= bus off) and the error bit CANx_BUSOFF is set. Returning to the bus is only possible if the "bus
off" condition has been removed (signal BUSOFF_RECOVER).
Afterwards, the error bit CANx_BUSOFF must be reset in the application program.
If the automatic bus recover function is to be used (default setting) CAN1_EXT_ERRORHANDLER
must
not
be integrated and instanced in the program!
>
Parameters of the inputs
2177
Parameter
Data type
Description
BUSOFF_RECOVER
BOOL
TRUE (only 1 cycle):
> remedy 'bus off' status
> reboot of the CAN interfacex
FALSE:
function element is not executed
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......