get_motion_config
Summarize MotionWorks IEC motion configuration by mapping axes to amplifier bindings and network nodes, so you can identify which servo is assigned to each axis.
Instructions
Summarise the motion setup: axes, their amplifier bindings and network nodes.
MotionWorks binds an axis to hardware through <var>.AxisNum assignments in
startup code (e.g. TopCutter.AxisNum := UINT#1;) and the servo groups in
the I/O configuration (SGD7S Network #1 Node #1). This tool joins those two
so "which servo is axis 1?" is answerable.
Args: path: Project file or directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |