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

◆ EC_API_SLV_PDO_setSyncManMaxSubIndex()

uint32_t EC_API_SLV_PDO_setSyncManMaxSubIndex ( EC_API_SLV_SHandle_t pHandle,
uint8_t  syncMan,
uint8_t  maxSubIndex 
)

Set Maximum permitted subIndexes for a PDO.

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
[in]syncManSyncManager ID.
[in]maxSubIndexMax Number of subIndexes.
Returns
uint32_t returns the API error code.
Example
#include <ecSlvApi.h>
// the Call
EC_API_SLV_PDO_maxSubIndex(pHandle, pPdo, pMaxSubIndexes);