68
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)
ID
WORD
Number of the data object identifier
Permissible values normal frame = 0...2 047 (2
11
)
Permissible values extended frame = 0...536 870 912 (2
29
)
Parameters of the function outputs
Name
Data type
Description
DATA
ARRAY[0...7] OF
BYTES
The array contains a maximum of 8 data bytes.
DLC
BYTE
Number of bytes transmitted in the array DATA.
Possible values = 0...8.
RTR BOOL
Not
supported
AVAILABLE
BYTE
Number of received messages
OVERFLOW BOOL
TRUE: Overflow of the data buffer
→
loss of data!
FALSE: buffer not yet full