EtherCAT SubDevice
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_setVendorId()

uint32_t EC_API_SLV_setVendorId ( EC_API_SLV_SHandle_t pHandle,
uint32_t  vendorId 
)

Set device vendor ID. Used by the EEPROM and Object Dictionary.

Set a vendor ID. Required for device identification. It is used by the SII interface and the Object Dictionary

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
[in]vendorIdvendor identification number.
Returns
ErrorCode API Error Code
Example
#include <ecSlvApi.h>
// required variables
uint32_t retVal = 0;
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
// the Call
retVal = EC_API_SLV_setVendorId(S_ecSlvApiHdl, 0x00000569);
uint32_t EC_API_SLV_setVendorId(EC_API_SLV_SHandle_t *pHandle, uint32_t vendorId)
Set device vendor ID. Used by the EEPROM and Object Dictionary.
Definition ecSlvApi_param.c:60
Definition ecSlvApiInternal.h:331
See also
EC_API_SLV_setProductCode, EC_API_SLV_setRevisionNumber, EC_API_SLV_setProductName, EC_API_SLV_getVendorId
Examples
ecSubDeviceCiA402.c.