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

Every operation mode of one device, with what the drive says about each. More...

#include <operation_modes.h>

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

Public Attributes

uint32_t supportedDriveModes = 0
 0x6502 verbatim, for a client that wants the raw field.
 
std::vector< int > manufacturerBits
 
std::vector< OperationModeInfomodes
 

Detailed Description

Every operation mode of one device, with what the drive says about each.

Member Data Documentation

◆ manufacturerBits

std::vector<int> mm::node::OperationModes::manufacturerBits

The bits of 0x6502 at or above cia402::kFirstManufacturerDriveModeBit that are set.

Reported as bit numbers and nothing else, deliberately: the profile leaves their meaning entirely to the vendor, and SOMANET publishes none — a SOMANET drive sets bits 16 and 17 and neither its EDS, its ESI nor its firmware source says what they advertise. Naming them would be invention; dropping them would hide that the drive claims something.

◆ modes

std::vector<OperationModeInfo> mm::node::OperationModes::modes

Every mode, ascending by value — the manufacturer modes (negative) first, then the standard ones. A client can render the list as it comes.

◆ supportedDriveModes

uint32_t mm::node::OperationModes::supportedDriveModes = 0

0x6502 verbatim, for a client that wants the raw field.


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