|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
One entry of the Integro runtime-variant option catalogue. More...
#include <integro_variant.h>
Public Attributes | |
| uint16_t | id = 0 |
| The code as it appears in the file. | |
| std::string_view | category |
| What the option selects, e.g. "Fieldbus Protocol". | |
| std::string_view | meaning |
| Which choice within that category, e.g. "EtherCAT". | |
| std::span< const std::string_view > | socVariables |
| std::span< const uint16_t > | incompatibleOptionIds |
| std::span< const std::string_view > | mpnSegmentCodes |
One entry of the Integro runtime-variant option catalogue.
The catalogue is data with no behaviour attached: nothing here acts on socVariables or incompatibleOptionIds — the drive is what enforces them — but they are what make a decoded file legible, so they travel with the entry rather than being looked up somewhere else.
| std::string_view mm::node::IntegroVariantOption::category |
What the option selects, e.g. "Fieldbus Protocol".
| uint16_t mm::node::IntegroVariantOption::id = 0 |
The code as it appears in the file.
| std::span<const uint16_t> mm::node::IntegroVariantOption::incompatibleOptionIds |
The other options in this option's category, where the category selects exactly one of them. Empty for an independent flag such as "disable DI1".
A file selects one option per category. A file that selects two from the same category is a development device, set up so one unit can be tested in several configurations.
| std::string_view mm::node::IntegroVariantOption::meaning |
Which choice within that category, e.g. "EtherCAT".
| std::span<const std::string_view> mm::node::IntegroVariantOption::mpnSegmentCodes |
Segments of the part number this option corresponds to, e.g. EC for EtherCAT. Empty for an option that is not distinguished in the part number.
| std::span<const std::string_view> mm::node::IntegroVariantOption::socVariables |
The drive's own configuration values this option sets, e.g. adc_phase_current_sensor_gain. Empty for an option the fieldbus firmware acts on rather than the SoC.