EtherCAT Slave
1.04.03
◆
EC_API_SLV_getVendorId()
uint32_t EC_API_SLV_getVendorId
(
EC_API_SLV_SHandle_t
*
pEcSlaveApi_p
)
Get device vendor ID.
Get device vendor ID. Used by the Object Dictionary
Parameters
[in]
pEcSlaveApi_p
The pointer to the EtherCAT API instance.
Returns
uint32_t Returns the vendor identification number.
Example
#include <ecSlvApi.h>
// required variables
EC_API_SLV_SHandle_t
* S_ecSlvApiHdl;
uint32_t vendorId = 0;
// the Call
vendorId =
EC_API_SLV_getVendorId
(S_ecSlvApiHdl);
See also
EC_API_SLV_setVendorId
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:134
EC_API_SLV_getVendorId
uint32_t EC_API_SLV_getVendorId(EC_API_SLV_SHandle_t *pEcSlaveApi_p)
Get device vendor ID.
Definition:
ecSlvApi_ParamStub.c:700
Parameter Configuration
generated by
1.8.18