56
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
CAN_STATUS
7499
Unit type = function block (FB)
Unit is contained in the library
ifm_RawCAN_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7501
CAN_STATUS provides information on the chosen CAN bus.
Without hardware initialisation the following flags can be reset to FALSE:
- BUSOFF
- WARNING_RX
- WARNING_TX
>
Parameters of the inputs
7502
Parameter
Data type
Description
ENABLE
BOOL := FALSE
TRUE:
execute this function element
FALSE:
unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
CHANNEL
BYTE
CAN interface (1...n) depending on the device
CLEAR
BOOL := FALSE
TRUE:
Reset the following flags:
• WARNING_RX
• WARNING_TX
• BUSOFF
FALSE:
function element is not executed