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

Where this device sits in the ring (ENI Slave/PreviousPort). More...

#include <eni.h>

Public Attributes

EniPort port = EniPort::B
 The upstream device's port.
 
bool selected = false
 This is the connection, not merely a possible one.
 
std::optional< std::uint16_t > physAddr
 Station address of the upstream device.
 
std::optional< std::uint32_t > deviceId
 

Detailed Description

Where this device sits in the ring (ENI Slave/PreviousPort).

Names the port of the upstream device that this one is plugged into, which is how a master learns the physical layout and not only the logical order. A device may carry several: the one it is actually connected to has selected set, and any other port it could be moved to without changing the order of the devices may be listed alongside with selected clear.

The element is absent for the first device on the bus, which has no previous device.

Member Data Documentation

◆ deviceId

std::optional<std::uint32_t> mm::etg::EniPreviousPort::deviceId

Deprecated by the schema; kept so a read document survives being written back out.

◆ physAddr

std::optional<std::uint16_t> mm::etg::EniPreviousPort::physAddr

Station address of the upstream device.

◆ port

EniPort mm::etg::EniPreviousPort::port = EniPort::B

The upstream device's port.

◆ selected

bool mm::etg::EniPreviousPort::selected = false

This is the connection, not merely a possible one.


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