EtherCAT Slave
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_CiA402_registerSetDictValues()

void EC_API_SLV_CiA402_registerSetDictValues ( EC_API_SLV_SHandle_t *  pEcSlaveApi_p,
void *  pContext_p,
EC_API_SLV_CiA402_CBUsrApplSetDictValues_t  cbFunc_p 
)

Register a function which sets the default values of the CiA402 related objects.

This function is called to write the default values of the previously defined CiA402 objects. For example it might be used to set the Software position limit value (Object 0x607B).

Parameters
[in]pEcSlaveApi_pEtherCAT DTK instance.
[in]pContext_pcallback context
[in]cbFunc_pCiA402 Object data setter function.
Example
#include <ecSlvApi.h>
// required variables
// the Call
void(* EC_API_SLV_CiA402_CBUsrApplSetDictValues_t)(void *pContext_p)
Set default values for the CiA402 Objects.
Definition ecSlvApi.h:861
void EC_API_SLV_CiA402_registerSetDictValues(EC_API_SLV_SHandle_t *pEcSlaveApi_p, void *pContext_p, EC_API_SLV_CiA402_CBUsrApplSetDictValues_t cbFunc_p)
Register a function which sets the default values of the CiA402 related objects.
Definition ecSlvApi_CiA402Stub.c:136
struct EC_API_SLV_Handle EC_API_SLV_SHandle_t
EC_API_SLV_SHandle_t describes the EtherCAT Slave API.
Definition ecSlvApi.h:136
See also
EC_API_SLV_CiA402_registerSetDictionary
Examples
ecSlvESI.c.