EtherCAT SubDevice
Loading...
Searching...
No Matches
◆
EC_API_SLV_getProductCode()
uint32_t EC_API_SLV_getProductCode
(
EC_API_SLV_SHandle_t
*
pHandle
,
uint32_t *
pProductCode
)
Get device product code.
Get device product code. Used by the Object Dictionary
Parameters
[in]
pHandle
EtherCAT API instance.
[out]
pProductCode
Product code.
Returns
ErrorCode API Error Code
Example
#include <ecSlvApi.h>
EC_API_SLV_SHandle_t
* S_ecSlvApiHdl;
uint32_t productCode = 0;
// the Call
productCode =
EC_API_SLV_getProductCode
(S_ecSlvApiHdl);
EC_API_SLV_getProductCode
uint32_t EC_API_SLV_getProductCode(EC_API_SLV_SHandle_t *pHandle, uint32_t *pProductCode)
Get device product code.
Definition
ecSlvApi_param.c:921
EC_API_SLV_Handle
Definition
ecSlvApiInternal.h:331
See also
EC_API_SLV_setProductCode
Examples
EtherCAT_SubDevice_CiA402.c
,
EtherCAT_SubDevice_Simple.c
, and
EtherCAT_SubDevice_Webserver.c
.
Parameter Configuration
generated by
1.9.8