80
ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
CAN in the ecomatmobile controller
Description of the CAN functions
Parameters of the function inputs
Name
Data type
Description
CONFIG
BOOL
TRUE (only for 1 cycle):
Configure data object
FALSE: Function is not executed
CLEAR
BOOL
TRUE: Deletes the data buffer (queue)
Parameters of the function outputs
Name
Data type
Description
ID
DWORD
ID of the transmitted data object
DATA
ARRAY[0...7] OF BYTE
The array contains max. 8 data bytes
DLC
BYTE
Number of bytes transmitted in the array DATA
Possible values = 0...8.
AVAILABLE
BYTE
Number of messages in the buffer
OVERFLOW BOOL
TRUE: Overflow of the data buffer
→
loss of data!
FALSE: Buffer not yet full