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

#include <spoe_fieldbus_driver.h>

Collaboration diagram for mm::comm::spoe::SpoeFieldbusDriverConfig:
[legend]

Public Attributes

std::vector< std::string > hosts
 One IPv4 or IPv6 address per drive. The list order is the position order.
 
uint16_t port = 8080
 
SpoeMode mode = SpoeMode::kMonitor
 
uint32_t watchdogMs = 75
 The Control-mode watchdog. The firmware raises a smaller value to 50 ms.
 
std::chrono::milliseconds requestTimeout {1000}
 The time a drive has to answer one request. The specification suggests 1 s.
 
std::chrono::milliseconds connectTimeout {1000}
 
std::chrono::milliseconds fileTimeout {30000}
 
std::chrono::microseconds exchangePeriod {1000}
 

Member Data Documentation

◆ connectTimeout

std::chrono::milliseconds mm::comm::spoe::SpoeFieldbusDriverConfig::connectTimeout {1000}

◆ exchangePeriod

std::chrono::microseconds mm::comm::spoe::SpoeFieldbusDriverConfig::exchangePeriod {1000}

The shortest time between the starts of two process-data exchanges with one drive. The exchanges otherwise run back to back, which keeps the drive's input buffer small.

◆ fileTimeout

std::chrono::milliseconds mm::comm::spoe::SpoeFieldbusDriverConfig::fileTimeout {30000}

The time a drive has to answer one file packet. The firmware holds its reply while the SoC is busy, and before it answers the first packet of com_firmware.bin it erases 512 KB of flash in 64 KB sectors.

◆ hosts

std::vector<std::string> mm::comm::spoe::SpoeFieldbusDriverConfig::hosts

One IPv4 or IPv6 address per drive. The list order is the position order.

◆ mode

SpoeMode mm::comm::spoe::SpoeFieldbusDriverConfig::mode = SpoeMode::kMonitor

◆ port

uint16_t mm::comm::spoe::SpoeFieldbusDriverConfig::port = 8080

◆ requestTimeout

std::chrono::milliseconds mm::comm::spoe::SpoeFieldbusDriverConfig::requestTimeout {1000}

The time a drive has to answer one request. The specification suggests 1 s.

◆ watchdogMs

uint32_t mm::comm::spoe::SpoeFieldbusDriverConfig::watchdogMs = 75

The Control-mode watchdog. The firmware raises a smaller value to 50 ms.


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