![background image](http://html1.mh-extra.com/html/ifm/cr711s/cr711s_original-programming-manual_3891703171.webp)
171
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
Library ifmRawCAN.library
>
Output parameter
14640
Parameter
Data type Description
Possible values
xError
BOOL
Indication if an error occurred during the FB
execution
FALSE
No error occurred or the FB is
still being executed
TRUE
Error occurred
Action could not be
executed
Note diagnostic
information
eDiagInfo
DIAG_INFO Diagnostic information
→ List below (diagnostic codes:)
aData
ARRAY
[0...7] OF
USINT
Array for storage of the data received
usiDLC
UINT
Number of the data bytes in the CAN
message (DLC = Data Length Count)
0
...
7
0 bytes*
...
7 bytes
uiAvailable
UINT
Number of received CAN messages
since the last FB call
Current CAN message is taken into
account
0
No CAN messages received
between 2 FB calls
n
n CAN messages received
Error codes:
STAT_INACTIVE
State: FB/Function is inactive.
STAT_DONE
State: FB/Function has been successfully executed and completed. There are valid
results on the outputs.
ERR_INACTIVE_INTERFACE Error: Selected CAN channel is deactivated.
ERR_BUFFER_OVERFLOW
Error: Transmission buffer full; CAN message cannot write to buffer storage and is not
transmitted
ERR_INVALID_VALUE
Error: at least 1 invalid input parameter or invalid combination of input parameters;
Function call has been stopped.
ERR_INTERNAL
Error: Internal system error
► Contact the ifm Service Center!
ERR_UNDEFINED
Error: Unknown error
► Contact the ifm Service Center!
>