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

What the skipped cycles counter (command 13) reported for one control loop. More...

#include <somanet_drive.h>

Public Member Functions

std::string describe () const
 One line describing the reading, ready to put in front of a user.
 

Public Attributes

somanet::FirmwareService service {somanet::FirmwareService::kDriveControl}
 Which loop.
 
uint32_t skippedCycles = 0
 Cycles that loop has skipped since it started.
 

Detailed Description

What the skipped cycles counter (command 13) reported for one control loop.

A single reading means very little on its own — the counter is cumulative since the service started and nothing resets it, so what carries information is the difference between two readings and the time between them. That is why the service read is part of the result: two readings are only comparable when they addressed the same loop.

Member Function Documentation

◆ describe()

std::string mm::node::SkippedCyclesResult::describe ( ) const

One line describing the reading, ready to put in front of a user.

Member Data Documentation

◆ service

somanet::FirmwareService mm::node::SkippedCyclesResult::service {somanet::FirmwareService::kDriveControl}

Which loop.

◆ skippedCycles

uint32_t mm::node::SkippedCyclesResult::skippedCycles = 0

Cycles that loop has skipped since it started.


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