EtherCAT-IOLink Gateway

◆ GW_API_setIOLFeatures1()

GW_API_EErrorcode_t GW_API_setIOLFeatures1 ( const uint8_t  features_p)

Set IOL Master features.

At the moment only Bit2 make sense to modify (according to hardware) PortPowerOffOn may also enable/disable this feature in the gateway application

Parameters
[in]features_p- Bit 0: DeviceParBatch (SMI_ParamWriteBatch)
  • 0 = not supported
  • 1 = supported
  • Bit 1: DeviceParBatch (SMI_ParamReadBatch)
    • 0 = not supported
    • 1 = supported
  • Bit 2: PortPowerOffOn (SMI_PortPowerOffOn)
    • 0 = not supported
    • 1 = supported
  • Bit 3 to 7: Reserved (= 0)
See also
GW_API_CONF_FEATURE1_DPBATCH_W, GW_API_CONF_FEATURE1_DPBATCH_R, GW_API_CONF_FEATURE1_PORTPOW
Returns
GW_API_EErrorcode_t errorcode
Example
#include <gw_api_interface.h>
GW_API_EErrorcode_t retVal = GW_API_eSUCCESS;
uint16_t features = 0x00;
retVal = GW_API_setIOLFeatures1(features);
GW_API_EErrorcode_t GW_API_setIOLFeatures1(const uint8_t features_p)
Set IOL Master features.
Definition: gw_api_interface.c:663