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

One object mapped into a PDO (ENI EntryType). More...

#include <eni.h>

Collaboration diagram for mm::etg::EniPdoEntry:
[legend]

Public Attributes

std::uint16_t index = 0
 Object index; zero marks padding.
 
std::uint8_t subindex = 0
 Object subindex.
 
std::uint16_t bitLen = 0
 Width in bits, padding included.
 
std::string name
 Object name.
 
std::string dataType
 Type name as an ESI spells it: "UINT", "DINT".
 
std::string comment
 Free text.
 

Detailed Description

One object mapped into a PDO (ENI EntryType).

An index of zero is padding: the entry occupies bitLen bits of the window and addresses nothing, which is how a device aligns a value to a byte boundary. ETG.2100 makes name and dataType mandatory for every other entry, so an entry that cannot supply a name uses its own address as one rather than going without.

Member Data Documentation

◆ bitLen

std::uint16_t mm::etg::EniPdoEntry::bitLen = 0

Width in bits, padding included.

◆ comment

std::string mm::etg::EniPdoEntry::comment

Free text.

◆ dataType

std::string mm::etg::EniPdoEntry::dataType

Type name as an ESI spells it: "UINT", "DINT".

◆ index

std::uint16_t mm::etg::EniPdoEntry::index = 0

Object index; zero marks padding.

◆ name

std::string mm::etg::EniPdoEntry::name

Object name.

◆ subindex

std::uint8_t mm::etg::EniPdoEntry::subindex = 0

Object subindex.


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