EtherCAT-IOLink Gateway

◆ GW_API_setIOLMasterId()

GW_API_EErrorcode_t GW_API_setIOLMasterId ( const uint32_t  masterId_p)

Set IOL Master Identification.

Master Id which is used by configuration tools to identify the hardware

Parameters
[in]masterId_p4 octets long vendor specific unique identification of the master
Returns
GW_API_EErrorcode_t errorcode
Example
#include <gw_api_interface.h>
GW_API_EErrorcode_t retVal = GW_API_eSUCCESS;
uint16_t masterID = 0x12345678;
retVal = GW_API_setIOLMasterId(masterID);
GW_API_EErrorcode_t GW_API_setIOLMasterId(const uint32_t masterId_p)
Set IOL Master Identification.
Definition: gw_api_interface.c:592