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

◆ EC_API_SLV_getOutputData()

uint32_t EC_API_SLV_getOutputData ( EC_API_SLV_SHandle_t pHandle,
uint32_t  length,
uint8_t *  pOutputData 
)

Read output process from the EtherCAT Master.

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
[in]lengthData length in bytes.
[in]pOutputDataPointer to data.
Returns
uint32_t Returns the API error code.
Example
#include <ecSlvApi.h>
// required variables
uint32_t retVal = 0;
// the Call
retVal = EC_API_SLV_getOutputData(ptEcSlvApi, length, data);
uint32_t EC_API_SLV_getOutputData(EC_API_SLV_SHandle_t *pHandle, uint32_t length, uint8_t *pOutputData)
Read output process from the EtherCAT Master.
Definition ecSlvApi_pdo.c:2180