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

One PDO mapping object (0x16xx RxPDO / 0x1Axx TxPDO) and its ordered entries. More...

#include <pdo_mapping.h>

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

Public Attributes

uint16_t pdoIndex = 0
 Mapping-object index (0x16xx or 0x1Axx).
 
std::vector< PdoMappingEntryentries
 Entries in the order they are mapped.
 

Detailed Description

One PDO mapping object (0x16xx RxPDO / 0x1Axx TxPDO) and its ordered entries.

The grouping the flat FlatPdoMapping lacks: which mapping object each entry belongs to, needed to write the mapping (each entry goes to a subindex of pdoIndex). Entry order is the order the objects occupy in the process-data window. Only the entries' packed fields (index, subindex, bitLength) are written; their bitOffset is ignored here.

Member Data Documentation

◆ entries

std::vector<PdoMappingEntry> mm::node::PdoMappingObject::entries

Entries in the order they are mapped.

◆ pdoIndex

uint16_t mm::node::PdoMappingObject::pdoIndex = 0

Mapping-object index (0x16xx or 0x1Axx).


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