EtherCAT Slave  1.06.01
EtherCAT API for CiA 402 Drive Profile

Overview

Functions

void EC_API_SLV_CiA402_registerSetDictionary (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CiA402_CBUsrApplSetDict_t cbFunc_p)
 Register a function which configures the CiA402 related objects. More...
 
void EC_API_SLV_CiA402_registerSetDictValues (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CiA402_CBUsrApplSetDictValues_t cbFunc_p)
 Register a function which sets the default values of the CiA402 related objects. More...
 
void EC_API_SLV_CiA402_registerStateMachine (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CiA402_CBUsrApplSM_t cbFunc_p)
 Register the CiA402 state machine. More...
 
void EC_API_SLV_CiA402_registerApplication (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CiA402_CBUsrApplApplication_t cbFunc_p)
 CiA402 Servo Drive application. More...
 
void EC_API_SLV_CiA402_registerLocalError (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CiA402_CBUsrApplLocalError_t cbFunc_p)
 Register a local error function, triggered if CiA402 state machine changes into an error state. More...
 
void EC_API_SLV_CiA402_setAxisNumber (EC_API_SLV_SHandle_t *pEcSlaveApi_p, uint8_t axisNo_p)
 Set number of servo axis. A Cia402 Device might support multiple axes. More...
 
void EC_API_SLV_CiA402_activateAxis (EC_API_SLV_SHandle_t *pEcSlaveApi_p, uint8_t axisNo_p, bool active_p)
 Activate Axis. This function is required to inform the CiA402 state machine that the axis is switched on. More...
 
void EC_API_SLV_CiA402_SM_clearErrorCode (EC_API_SLV_SHandle_t *pEcSlaveApi_p, uint8_t axisNo_p)
 Inform the CiA402 state machine whether a state change finished or not. More...
 
uint16_t EC_API_SLV_CiA402_SM_getErrorCode (EC_API_SLV_SHandle_t *pEcSlaveApi_p, uint8_t axisNo_p)
 Get Local Error value. More...