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

One entry mapped into a PDO (ETG.2000 EntryType). More...

#include <esi.h>

Collaboration diagram for mm::etg::EsiPdo::Entry:
[legend]

Public Member Functions

bool isPadding () const
 True for an alignment gap rather than a real mapped object.
 

Public Attributes

uint32_t index = 0
 
uint8_t subIndex = 0
 
int32_t bitLen = 0
 
std::vector< Textnames
 
std::optional< std::string > dataType
 

Detailed Description

One entry mapped into a PDO (ETG.2000 EntryType).

A device-level PDO may reference an index that exists only in a module dictionary (a SOMANET device's RxPDO maps 0x6040, which the CiA402 module declares), so resolving an entry against the dictionary means resolving against the merged table buildDeviceEntries produces — never against one dictionary alone.

index 0 marks an alignment padding entry: subIndex and dataType are then absent and only bitLen is meaningful. The schema makes both optional precisely for this.

Member Function Documentation

◆ isPadding()

bool mm::etg::EsiPdo::Entry::isPadding ( ) const
inline

True for an alignment gap rather than a real mapped object.

Member Data Documentation

◆ bitLen

int32_t mm::etg::EsiPdo::Entry::bitLen = 0

◆ dataType

std::optional<std::string> mm::etg::EsiPdo::Entry::dataType

◆ index

uint32_t mm::etg::EsiPdo::Entry::index = 0

◆ names

std::vector<Text> mm::etg::EsiPdo::Entry::names

◆ subIndex

uint8_t mm::etg::EsiPdo::Entry::subIndex = 0

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