EtherCAT SubDevice
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_SoE_notificationResponse()

uint32_t EC_API_SLV_SoE_notificationResponse ( EC_API_SLV_SHandle_t pHandle,
uint16_t  idn,
uint16_t  channel,
uint16_t  dataState,
uint8_t *  pResponse 
)

/

Respond to the notification request from the master

Parameters
[in]idnServo identification number.
[in]channelchannel parameter.
[in]dataStatestate description.
[out]pResponsenotification response.
Returns
ErrorCode API Error Code
Example
#include <ecSlvApi.h>
// required variables
uint32_t retVal = 0;
void* pvVariable = NULL;
// the Call
retVal = EC_API_SLV_SoE_notificationResponse(uint16_t idn, uint16_t channel, uint16_t dataState);
uint32_t EC_API_SLV_SoE_notificationResponse(EC_API_SLV_SHandle_t *pHandle, uint16_t idn, uint16_t channel, uint16_t dataState, uint8_t *pResponse)
/
Definition ecSlvApi_SoE.c:304
See also
EC_API_SLV_SoE_cbRegisterNotificationReqHandler