Hello Guest it is February 14, 2026, 05:14:40 PM

Author Topic: MPG and Jog ignoring metric units  (Read 129 times)

0 Members and 1 Guest are viewing this topic.

MPG and Jog ignoring metric units
« on: February 13, 2026, 10:32:16 AM »
I'm developing a MACH4 plugin for a pendant, which uses MPG and JOG movements. MACH4 is configured to use metric, including jog units and I set mcJogSetUnitsMode(m_inst, axisId, MC_UNITS_METRIC) in addition.
Still when using mcJogIncStart or mcMpgMoveCounts the device moves 1 inch (i.e. 25.4mm) instead of 1 mm per unit passed to the methods.
I tested this on versions 6778 and 6693.
Is this a bug or am I missing a configuration?
Re: MPG and Jog ignoring metric units
« Reply #1 on: February 13, 2026, 11:03:23 AM »
I should have added that the increments are set to 1. The GUI exposes the same problem when jogging.