examples/DS401_Slave_Gui/CallBack.h
author luis
Mon, 01 Oct 2007 14:43:01 +0200
changeset 296 03f2b8b8cb0b
parent 246 d635cfc520ee
child 378 d2abf6c8c27b
permissions -rw-r--r--
Solved a small bug in emcy.c (errRegMask was always '1' in EMCY_setError.
EMCY_setError has a new parameter, addInfo, a 16-bit value that will be copied to 16 most significat bits in 1003h (but it is not sent in EMCY message).
#ifndef CALLBACK_H_
#define CALLBACK_H_

extern "C" 
  {
	#include "ObjDict.h"
  }

void Call_heartbeatError(UNS8);

UNS8 Call_canSend(Message *);

void Call_initialisation(void);
void Call_preOperational(void);
void Call_operational(void);
void Call_stopped(void);

void Call_post_sync(void);
void Call_post_TPDO(void);
void Call_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex);

#endif /*CALLBACK_H_*/