EtherCAT Slave
1.06.01
◆
EC_API_SLV_PDO_enable()
uint32_t EC_API_SLV_PDO_enable
(
EC_API_SLV_SHandle_t
*
pEcSlaveApi_p
,
EC_API_SLV_SPdo_t
*
pPdo_p
)
Enable PDO assignment to the syncManager.
Parameters
[in]
pEcSlaveApi_p
pointer to API instance.
[in]
pPdo_p
pointer to PDO.
Returns
uint32_t Returns the API error code.
Example
#include <ecSlvApi.h>
// required variables
EC_API_SLV_SHandle_t
* ecSlaveApi;
void
* pvVariable = NULL;
EC_API_SLV_SPdo_t
*ptPdo;
// the Call
retVal =
EC_API_SLV_PDO_enable
(ecSlaveApi, ptPdo);
See also
EC_API_SLV_PDO_disable
EC_API_SLV_PDO_enable
uint32_t EC_API_SLV_PDO_enable(EC_API_SLV_SHandle_t *pEcSlaveApi_p, EC_API_SLV_SPdo_t *pPdo_p)
Enable PDO assignment to the syncManager.
Definition:
ecSlvApi_ProcDataStub.c:1308
EC_API_SLV_SHandle_t
struct EC_API_SLV_SHandle EC_API_SLV_SHandle_t
EC_API_SLV_SHandle_t describes the EtherCAT Slave API.
Definition:
ecSlvApi.h:135
EC_API_SLV_SPdo_t
struct EC_API_SLV_SPdo EC_API_SLV_SPdo_t
TPdo is used to describe the RxPDOs and TxPDOs.
Definition:
ecSlvApi.h:126
PDO Configuration
generated by
1.8.17