EtherCAT Slave  1.04.01

◆ EC_SLV_APP_motionControl()

void EC_SLV_APP_motionControl ( EC_API_SLV_SHandle_t pEcApiSlv_p,
EC_SLV_API_CiA402_SAxis_t pCiA402Axis_p 
)

This functions provides a simple feedback functionality.

Remarks
Motion Controller shall only be triggered if application is trigger by DC Sync Signals and a valid mode of operation is set
Parameters
[in]ptSlvApiDTK Slave instance.
[in]pCiA402AxisServo Axis description structure.
Example
#include <ecSlvApi.h>
// required variables
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
// the Call
retVal = EC_SLV_APP_motionControl(S_ecSlvApiHdl, pCiA402Axis);
Examples
ESL_cia402Demo.c.
EC_SLV_API_CiA402_SAxis_t
Data structure to handle an CiA 402 axis.
Definition: ESL_cia402Demo.c:65
EC_API_SLV_SHandle_t
struct EC_API_SLV_SHandle EC_API_SLV_SHandle_t
EC_API_SLV_SHandle_t describes the EtherCAT Slave API.
Definition: ecSlvApi.h:134
EC_SLV_APP_motionControl
void EC_SLV_APP_motionControl(EC_API_SLV_SHandle_t *pEcApiSlv_p, EC_SLV_API_CiA402_SAxis_t *pCiA402Axis_p)
This functions provides a simple feedback functionality.
Definition: ESL_cia402Demo.c:647