Motion Master 6.0.0-alpha.111
Next-generation motion control software
Loading...
Searching...
No Matches
mm::comm::SlaveInfo Struct Reference

Immutable identity fields read from a slave's EEPROM during configuration. More...

#include <fieldbus_driver.h>

Collaboration diagram for mm::comm::SlaveInfo:
[legend]

Public Attributes

std::string name
 Human-readable name from SII.
 
uint32_t vendorId = 0
 Vendor ID (EEprom manufacturer field).
 
uint32_t productCode = 0
 Product code (EEprom ID field).
 
uint32_t revisionNumber = 0
 Revision number.
 
uint32_t serialNumber = 0
 
std::optional< uint8_t > escType
 
bool mailboxWriteOnce = false
 

Detailed Description

Immutable identity fields read from a slave's EEPROM during configuration.

Member Data Documentation

◆ escType

std::optional<uint8_t> mm::comm::SlaveInfo::escType

The low byte of ESC register 0x0000, which names the slave controller family. Empty when the register could not be read at the scan, and on a transport without an ESC.

◆ mailboxWriteOnce

bool mm::comm::SlaveInfo::mailboxWriteOnce = false

Whether the driver writes each mailbox request to this slave once and never sends it again. The rule is the SOEM driver's; it is reported so a support log says which rule a device is under. False on a transport without a mailbox counter.

◆ name

std::string mm::comm::SlaveInfo::name

Human-readable name from SII.

◆ productCode

uint32_t mm::comm::SlaveInfo::productCode = 0

Product code (EEprom ID field).

◆ revisionNumber

uint32_t mm::comm::SlaveInfo::revisionNumber = 0

Revision number.

◆ serialNumber

uint32_t mm::comm::SlaveInfo::serialNumber = 0

Serial number.

◆ vendorId

uint32_t mm::comm::SlaveInfo::vendorId = 0

Vendor ID (EEprom manufacturer field).


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