Single-Axis Absolute Move to Coordinate
MOVE_AXIS_ABSOLUTE · V4.23Move one coordinate axis to an absolute pulse position.
Requires multi-axis interpolation mode.
Hexadecimal notation is used for IDs, indexes, modes and sentinel values where applicable. Physical quantities (such as pulses, milliseconds and pulse/s) remain in their native units. Macro names are shown only when defined by the firmware.
Input parameters
| Parameter | Initial value | Meaning |
|---|---|---|
Axis / targetaxis | X | Selected X, Y, Z or R axis. The operating mode must support coordinate axes. |
Pulse count / coordinatepulse_count | 0 | Target/increment for coordinate moves, or fixed-pulse quantity in RUN_MOTOR. |
Compensation IDcompensation_id | No compensation (0xFFFFFFFFUL) | MCU compensation ID 0x00000000UL to 0x00000007UL; 0xFFFFFFFFUL disables compensation. Verify the source and current result. MTGM_OP_COMPENSATION_NONE = 0xFFFFFFFFUL. |
Initial values are editor defaults for a newly inserted instruction; configure them for the actual machine.
Firmware macro definitions
Hexadecimal equivalents of the firmware definitions; numeric values are unchanged.
#define MTGM_OP_COMPENSATION_NONE 0xFFFFFFFFULExecution and usage
- The value is a machine-coordinate target, not a travel distance.