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

◆ EC_API_SLV_PDO_getAssignmentInfo()

uint32_t EC_API_SLV_PDO_getAssignmentInfo ( EC_API_SLV_SHandle_t pHandle,
bool  rx,
uint8_t *  pCount,
uint16_t *  pPdoIndexArray 
)

Read Assigned PDOs to SyncManager.

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
[in]rxRead Input or Output assigned PDOs.
[out]pCountNumber of mapped objects.
[out]pPdoIndexArrayList of assigned PDOs.
Returns
uint32_t Returns the API error code.
Example
#include <ecSlvApi.h>
// the Call
EC_API_SLV_PDO_getAssignmentInfo(pHandle, tx, pCount, pPdoIndexArray);
uint32_t EC_API_SLV_PDO_getAssignmentInfo(EC_API_SLV_SHandle_t *pHandle, bool rx, uint8_t *pCount, uint16_t *pPdoIndexArray)
Read Assigned PDOs to SyncManager.
Definition ecSlvApi_pdo.c:2987