138
ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
CAN in the ecomatmobile controller
ifm CANopen library
Name
Data type
Description
CLEAR_OD_CHANGED_FLAG
BOOL
FALSE
→
TRUE (edge):
Delete the flags "data in the object directory changed"
and "index position"
FALSE: function is not executed
Parameters of the function outputs
Name
Data type
Description
NODE_ID
BYTE
Node ID of the slave
BAUDRATE
WORD
Baud rate of the slave
NODE_STATE
BYTE
Current status of the slave
SYNC
BOOL
Received SYNC signal of the master
SYNC_ERROR
BOOL
No SYNC signal of the master received OR: the set
SYNC time (ComCyclePeriod in the master) was
exceeded.
GUARD_HEARTBEAT_ERROR
BOOL
No guard or heartbeat signal of the master received.
OR: the set times were exceeded.
RX_OVERFLOW
BOOL
Error flag "receive buffer overflow"
TX_OVERFLOW
BOOL
Error flag "transmit buffer overflow"
RESET_NODE
BOOL
The CAN stack of the slave was reset by the master.
This flag can be evaluated by the application and, if
necessary, be used for further reactions.
RESET_COM BOOL
The
communication
interface of the CAN stack was
reset by the master.
This flag can be evaluated by the application and, if
necessary, be used for further reactions.
OD_CHANGED
BOOL
Flag "object directory master was changed".
OD_CHANGED_INDEX
INT
The output shows the changed index of the object
directory.