Interpolated Relative Move to Coordinates
MOVE_RELATIVE · V4.23Interpolated X/Y/Z/R increment from current 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 |
|---|---|---|
X coordinate / incrementx | 0 | X target or increment in pulses. Absolute targets must satisfy configured travel. |
Y coordinate / incrementy | 0 | Y target or increment in pulses. Absolute targets must satisfy configured travel. |
Z coordinate / incrementz | 0 | Z target or increment in pulses. Check the safe height and complete path. |
R coordinate / incrementr | 0 | R target or increment in pulses, subject to R-axis enable and equivalence. |
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
- Repeated execution accumulates movement. Limit loop counts and final positions.