Hi Russ-
The macro is below. I wrote it almost 10 years ago I think, time flies, that when I was setting up my mill.
It had a workaround for something in Mach that wasn't working correctly back then, perhaps thats fixed now.
Paul T.
Rem Turns on MPG Jog mode, specified axis, specified Jog Increment
ToggleJogMode = 245
SetJogModeStep = 275
SetJogModeContinuous = 276
SetJogModeMPG = 174
ToggleJogOnOff = 103
JogOnLED = 83
SetStepValue1 = 265
SetStepValue2 = 265
SetStepValue3 = 265
SetStepValue4 = 268
SetMPGAxisX = 259
SetMPGAxisY = 260
SetMPGAxisZ = 261
MPGxLed = 1100
MPGyLed = 1101
MPGzLed = 1102
JogContinuousLed = 1103
Axis = SetMPGAxisX
If Not GetOEMLED (JogOnLED) Then
Call DoOEMButton (ToggleJogOnOff)
End If
Rem 174 is supposed to directly set MPG but broken for now, use hack below
Call DoOEMButton (SetJogModeStep)
Call DoOEMButton (ToggleJogMode)
Call DoOEMButton (Axis)
Call DoOEMButton (SetStepValue1)
SetUserLED(MPGxLed, 1)
SetUserLED(MPGyLed, 0)
SetUserLED(MPGzLed, 0)
SetUserLED(JogContinuousLed, 0)