178
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
Library ifmRawCAN.library
>
10.9.9
CAN_Info (GVL)
12281
Name
Description
Data type
Possible values
eBusState
Status of the CAN interface to CiA 11898
→
CAN_BUS_STATE
(STRUCT)
(
→ p.
Undefined
uiBaudRate
Current baud rate
UINT
0*...65535
udiRxCount
Counter for all messages detected at the
CAN interface
UINT
0*...65535
uiErrorCntRx
Error counter Rx (receive)
UINT
0*...65535
uiErrorCntTx
Error counter Tx (send)
UINT
0*...65535
xWarningRx
Warning signal for error counter Rx
BOOL
FALSE* uiErrorCntRx < 96
TRUE
uiErrorcntRx > 96
xWarningTx
Warning signal for error counter Tx
BOOL
FALSE* uiErrorCntRx < 96
TRUE
uiErrorcntRx > 96
* = preset value
>
10.9.10
CAN_BUS_STATE (STRUCT)
18497
Name
Description
Possible values
Data type Value
CAN_BUS_STATE
State of the CAN
interface
UNDEFINED
Interface not available or not
configured
INT
0
ERROR_ACTIVE
Error counter Tx/Rx <= 127
INT
1
ERROR_PASSIVE
Error counter Tx/Rx > 127
and
Error counter Tx > 255
INT
2
BUS_OFF
Error counter Tx > 255
INT
65535