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