The state of the EtherCAT slave is controlled via the EtherCAT State Machine (ESM). Depending upon the state, different functions are accessible or executable in the EtherCAT slave. Specific commands must be sent by the EtherCAT master to the device in each state, particularly during the bootup of the slave.
Functions | |
void | EC_API_SLV_cbRegisterUserApplicationMainLoop (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBUsrApplicationMainLoop_t cbFunc_p, void *pApplContext_p) |
This is the function to register a function which runs application mainloop handler. More... | |
void | EC_API_SLV_cbRegisterUserApplicationRun (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBUsrApplicationRun_t cbFunc_p, void *pApplCtxt_p) |
This is the function to register a function which runs application run handler. More... | |
void | EC_API_SLV_cbRegisterStartMbxHandler (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBStartMbxHandler_t cbFunc_p) |
This is the function to register a function which starts the mailbox handler. More... | |
void | EC_API_SLV_cbRegisterStopMbxHandler (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBStopMbxHandler_t cbFunc_p) |
This is the function to register a function which stops the mailbox handler. More... | |
void | EC_API_SLV_cbRegisterStartInputHandler (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBStartInputHandler_t cbFunc_p) |
This is the function to register a function which starts the input handler. More... | |
void | EC_API_SLV_cbRegisterStopInputHandler (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBStopInputHandler_t cbFunc_p) |
This is the function to register a function which stops the input handler. More... | |
void | EC_API_SLV_cbRegisterStartOutputHandler (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBStartOutputHandler_t cbFunc_p) |
This is the function to register a function which starts the output handler. More... | |
void | EC_API_SLV_cbRegisterStopOuputHandler (EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CBStopOutputHandler_t cbFunc_p) |
This is the function to register a function which stops the output handler. More... | |