ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
CAN in the PDM360
CAN-FBs on layer 2 (RAW-CAN)
180
CAN_STATUS
7499
Unit type = function block (FB)
Contained in the library:
ifm_RawCAN_NT_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
- PDM360NG: CR108n, CR9042
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
TRUE:
unit is executed
FALSE:
unit is not executed
> POU inputs and outputs are not active
CHANNEL
BYTE
CAN interface (1...n) depending on the device
CLEAR
BOOL
TRUE:
The following flags are reset:
- BUSOFF
- WARNING_RX
- WARNING_TX
FALSE:
this function is not executed