Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
mm::node::EniCollectorOptions Struct Reference

What an ENI needs that no device can answer for. More...

#include <eni_collector.h>

Collaboration diagram for mm::node::EniCollectorOptions:
[legend]

Public Attributes

std::string masterName = "Motion Master"
 Written to Master/Info/Name.
 
std::vector< std::uint8_t > sourceMac
 Source MAC of the cyclic frames; exactly six bytes.
 
std::uint32_t cycleTimeUs = 0
 Cycle period in microseconds; 0 omits Cyclic/CycleTime.
 

Detailed Description

What an ENI needs that no device can answer for.

Everything else is read off the bus. These three come from the process the master runs in: the name it calls itself, the interface its frames leave by, and the period its loop runs at. The composition root knows all three; DeviceManager knows none of them.

Member Data Documentation

◆ cycleTimeUs

std::uint32_t mm::node::EniCollectorOptions::cycleTimeUs = 0

Cycle period in microseconds; 0 omits Cyclic/CycleTime.

◆ masterName

std::string mm::node::EniCollectorOptions::masterName = "Motion Master"

Written to Master/Info/Name.

◆ sourceMac

std::vector<std::uint8_t> mm::node::EniCollectorOptions::sourceMac

Source MAC of the cyclic frames; exactly six bytes.


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