Machsupport Forum
Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: Userli 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?
-
I should have added that the increments are set to 1. The GUI exposes the same problem when jogging.