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.
The state sachine is required for controlling the power drive system. This state machine (FSA SM) is different to the EtherCAT communication State machine (ESM). It handles different state, sortetd by the low level power states, the high level power states and the torque enabled states.
[in] | pEcSlaveApi_p | EtherCAT DTK instance. |
[in] | pContext_p | callback context |
[in] | cbFunc_p | CiA402 State Machine function. |