CAN in the ecomatmobile controller
By evaluating the output OVERFLOW, an overflow of the data buffer can be detected. If
OVERFLOW = TRUE, at least 1 data object has been lost.
Receive buffer: max. 16 software buffers per identifier.
Parameters of the function inputs
Name
Data type
CONFIG
BOOL
CLEAR
BOOL
FIRST_ID
CAN1: WORD
CAN2: DWORD
LAST_ID
CAN1: WORD
CAN2: DWORD
Parameters of the function outputs
Name
Data type
ID
CAN1: WORD
CAN2: DWORD
ARRAY[0...7] OF BYTE
DATA
DLC
BYTE
AVAILABLE
BYTE
OVERFLOW
BOOL
ifm
System Manual
ecomatmobile
Description
TRUE (only for 1 cycle):
FALSE: Function is not executed
TRUE: Deletes the data buffer (queue)
Number of the first data object identifier of the sequence.
Permissible values normal frame = 0...2 047 (2
Permissible values extended frame = 0...536 870 912 (2
Number of the last data object identifier of the sequence.
Permissible values normal frame = 0...2 047 (2
Permissible values extended frame = 0...536 870 912 (2
LAST_ID has to be bigger than FIRST_ID.
SmartController (CR2500) V05
Configure data object
Description
ID of the transmitted data object
The array contains max. 8 data bytes
Number of bytes transmitted in the array DATA
Possible values = 0...8.
Number of messages in the buffer
TRUE: Overflow of the data buffer → loss of data!
FALSE: Buffer not yet full
Description of the CAN functions
11
)
29
11
)
29
)
)
77