EtherCAT-IOLink Gateway

◆ GW_EC_API_setProductCode()

GW_API_EErrorcode_t GW_EC_API_setProductCode ( const uint32_t  productCode_p)

Set EtherCAT Slave device identification.

Parameters
[in]productCode_pUnique product code of the EtherCAT Salve
Returns
GW_API_EErrorcode_t errorcode
Example
#include <gw_api_interface.h>
GW_API_EErrorcode_t retVal = 0;
uint32_t productCode = 0x12345678;
retVal = GW_EC_API_setProductCode(productCode);
GW_API_EErrorcode_t GW_EC_API_setProductCode(const uint32_t productCode_p)
Set EtherCAT Slave device identification.
Definition: gw_api_interface.c:1026