uint32_t EC_API_SLV_PDO_create | ( | EC_API_SLV_SHandle_t * | pEcSlaveApi_p, |
char * | pName_p, | ||
uint16_t | mapIndex_p, | ||
EC_API_SLV_SPdo_t ** | pOutPdo_p | ||
) |
Creates an empty PDO.
PDO must be filled with content. Hence add the entries flagged as PDO mappable from the Object Dictionary
[in] | pEcSlaveApi_p | The pointer to the EtherCAT API instance. |
[in] | pName_p | This parameter is the name of the PDO |
[in] | mapIndex_p | The index number for the mapping object in the Object Dictionary. RxPDO: 0x01600-0x17FF - TxPDO: 0x1A00-0x1BFF |
[out] | pOutPdo_p | The pointer to the generated PDO instance |