EtherCAT-IOLink Gateway

◆ GW_EC_API_setVendorId()

GW_API_EErrorcode_t GW_EC_API_setVendorId ( const uint32_t  vendorID_p)

Set EtherCAT Slave vendor identification.

Parameters
[in]vendorID_pUnique VendorID of the EtherCAT Salve
Returns
GW_API_EErrorcode_t errorcode
Example
#include <gw_api_interface.h>
GW_API_EErrorcode_t retVal = 0;
uint16_t vendorID = 0x1234;
retVal = GW_API_setEcatVendorId(vendorID);