EtherCAT Slave  1.06.01

◆ EC_SLV_APP_motionControl()

void EC_SLV_APP_motionControl ( EC_SLV_APP_Sapplication_t pApplication_p,
EC_SLV_API_CiA402_SAxis_t pCiA402Axis_p,
bool  gotOffsets 
)

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]pApplication_papplication 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:64
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:135
EC_SLV_APP_motionControl
void EC_SLV_APP_motionControl(EC_SLV_APP_Sapplication_t *pApplication_p, EC_SLV_API_CiA402_SAxis_t *pCiA402Axis_p, bool gotOffsets)
This functions provides a simple feedback functionality.
Definition: ESL_cia402Demo.c:755