EtherCAT Slave  1.06.01

◆ EC_SLV_APP_setSupportedDriveModes()

uint32_t EC_SLV_APP_setSupportedDriveModes ( EC_SLV_APP_Sapplication_t pApplication_p)

Set supported drive modes.

Set object 0x6502 (Supported drive modes). Activate support for CSP and CSV profiles. Check ETG6010 Object Definitions for more information.

Parameters
[in]pApplication_pApplication Instance.
Example
#include <ecSlvApi.h>
// required variables
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
// the call
Examples
ESL_cia402Demo.c.
EC_SLV_APP_setCiA402ObjectValue
uint32_t EC_SLV_APP_setCiA402ObjectValue(EC_SLV_APP_Sapplication_t *pApplication_p, EC_SLV_APP_sCIA_object_t *pCiaObject_p, uint16_t length_p, uint16_t *pValue_p)
Write CiA402 Object value.
Definition: ESL_cia402Demo.c:237
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