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

One process-data object of a device (ENI PdoType). More...

#include <eni.h>

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

Public Attributes

std::uint16_t index
 Mapping-object index: 0x16xx for an RxPDO, 0x1Axx for a TxPDO.
 
std::string name
 Required by the schema; at minimum, name it after its index.
 
std::optional< std::uint8_t > syncManager
 The Sync Manager carrying it (the Sm attribute).
 
bool fixed = false
 The device does not allow this PDO to be reconfigured.
 
bool mandatory = false
 The PDO must be assigned to a Sync Manager.
 
std::vector< EniPdoEntryentries
 Mapped objects, in window order.
 

Detailed Description

One process-data object of a device (ENI PdoType).

This is the declarative half of the process data, and the reason it is worth writing: the ProcessImage says where a value sits and what it is called, and only a PDO says which CoE object it is. A document without these leaves a reader unable to answer that at all, because nothing else in an ENI carries an object address for a mapped value.

Member Data Documentation

◆ entries

std::vector<EniPdoEntry> mm::etg::EniPdo::entries

Mapped objects, in window order.

◆ fixed

bool mm::etg::EniPdo::fixed = false

The device does not allow this PDO to be reconfigured.

◆ index

std::uint16_t mm::etg::EniPdo::index
Initial value:
=
0

Mapping-object index: 0x16xx for an RxPDO, 0x1Axx for a TxPDO.

◆ mandatory

bool mm::etg::EniPdo::mandatory = false

The PDO must be assigned to a Sync Manager.

◆ name

std::string mm::etg::EniPdo::name

Required by the schema; at minimum, name it after its index.

◆ syncManager

std::optional<std::uint8_t> mm::etg::EniPdo::syncManager

The Sync Manager carrying it (the Sm attribute).


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