EtherCAT SubDevice
Loading...
Searching...
No Matches
◆
EC_API_SLV_PDO_getLength()
uint32_t EC_API_SLV_PDO_getLength
(
EC_API_SLV_SHandle_t
*
pHandle
,
EC_API_SLV_Pdo_t
*
pPdo
,
uint16_t *
pLength
)
This function returns the Byte size of a PDO.
Parameters
[in]
pHandle
DTK handle.
[in]
pPdo
PDO instance.
[out]
pLength
PDO length in bytes.
Returns
ErrorCode API Error Code
Example
#include <ecSlvApi.h>
// required variables
uint16_t length = 0;
EC_API_SLV_SHandle_t
* S_ecSlvApiHdl;
TPdo* ptRxPdo1600;
// the Call
length =
EC_API_SLV_PDO_getLength
(S_ecSlvApiHdl, ptRxPdo1600);
EC_API_SLV_PDO_getLength
uint32_t EC_API_SLV_PDO_getLength(EC_API_SLV_SHandle_t *pHandle, EC_API_SLV_Pdo_t *pPdo, uint16_t *pLength)
This function returns the Byte size of a PDO.
Definition
ecSlvApi_pdo.c:662
EC_API_SLV_Handle
Definition
ecSlvApiInternal.h:331
See also
EC_API_SLV_PDO_getOffset
PDO Configuration
generated by
1.9.8