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

One of a drive's two encoder configuration records, 0x2110 or 0x2112, as the drive reports it. A record whose type is kNone is still listed, because the ordinal is what the controller records refer to. More...

#include <somanet_drive.h>

Public Attributes

somanet::EncoderOrdinal encoder {somanet::EncoderOrdinal::kEncoder1}
 
uint8_t sensorPort = 0
 :01, 0 for none.
 
somanet::EncoderType type {somanet::EncoderType::kNone}
 :02.
 
uint32_t resolution = 0
 :03, counts per revolution.
 
bool inverted = false
 :05.
 
uint8_t multiturnBits = 0
 :0A.
 
uint8_t singleturnBits = 0
 :0C.
 

Detailed Description

One of a drive's two encoder configuration records, 0x2110 or 0x2112, as the drive reports it. A record whose type is kNone is still listed, because the ordinal is what the controller records refer to.

Member Data Documentation

◆ encoder

somanet::EncoderOrdinal mm::node::EncoderConfiguration::encoder {somanet::EncoderOrdinal::kEncoder1}

◆ inverted

bool mm::node::EncoderConfiguration::inverted = false

:05.

◆ multiturnBits

uint8_t mm::node::EncoderConfiguration::multiturnBits = 0

:0A.

◆ resolution

uint32_t mm::node::EncoderConfiguration::resolution = 0

:03, counts per revolution.

◆ sensorPort

uint8_t mm::node::EncoderConfiguration::sensorPort = 0

:01, 0 for none.

◆ singleturnBits

uint8_t mm::node::EncoderConfiguration::singleturnBits = 0

:0C.

◆ type

somanet::EncoderType mm::node::EncoderConfiguration::type {somanet::EncoderType::kNone}

:02.


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