Hi,
this post should be on the Mach4 General Discussion board, no doubt Tweakie will shift it there in due course.
Is this possible to do in Gcode directly? That would be the preferred method for my application.
You might try g28 x...y...z...a... That will move the axes to the specified location, although I'm less certain that it zeros the machine coordinates.
You could do it with a macro. Your macro could be called m250 say. In the macro would be an APIs like:
LUA Syntax:
rc = mc.mcAxisHome(
number mInst,
number axisId)
Description:
Used to start an axis homing.
Thus every time you want the A axis to home just include a m250 in your Gcode.
Craig