Send timeout is set to 10 ms. Without timeout PLC can be blocked by CAN driver: if CAN bus is not connected to controller CAN driver never returns and therfore PLC application halts. This is a temporary solution.
#ifndef CALLBACK_H_
#define CALLBACK_H_
extern "C"
{
#include "ObjDict.h"
}
void Call_heartbeatError (CO_Data * d, UNS8);
UNS8 Call_canSend (Message *);
void Call_initialisation (CO_Data * d);
void Call_preOperational (CO_Data * d);
void Call_operational (CO_Data * d);
void Call_stopped (CO_Data * d);
void Call_post_sync (CO_Data * d);
void Call_post_TPDO (CO_Data * d);
void Call_storeODSubIndex (CO_Data * d, UNS16 wIndex, UNS8 bSubindex);
#endif /*CALLBACK_H_ */