Motion Master
Loading...
Searching...
No Matches
mm::comm::soem::IghMasterModule Struct Reference

The IgH EtherCAT Master kernel module, as the running kernel reports it. More...

#include <soem.h>

Public Member Functions

bool isConfiguredFor (const std::string &macAddress) const

Public Attributes

bool loaded = false
 Whether the ec_master module is loaded.
std::vector< std::string > devices

Detailed Description

The IgH EtherCAT Master kernel module, as the running kernel reports it.

IgH and SOEM each program the devices on the bus, including their station addresses. On a host where both drive the same network adapter, each one overwrites what the other configured.

Member Function Documentation

◆ isConfiguredFor()

bool mm::comm::soem::IghMasterModule::isConfiguredFor ( const std::string & macAddress) const
nodiscard

Whether IgH is configured to take the network adapter with this MAC address. Case and the separator (':' or '-') do not matter.

Member Data Documentation

◆ devices

std::vector<std::string> mm::comm::soem::IghMasterModule::devices

The MAC addresses the module is configured for, from its main_devices and backup_devices parameters. IgH takes the network adapter with that MAC address. ff:ff:ff:ff:ff:ff stands for any adapter: IgH takes the first one it is offered.

◆ loaded

bool mm::comm::soem::IghMasterModule::loaded = false

Whether the ec_master module is loaded.


The documentation for this struct was generated from the following files: