How to set up Homing in Mach4 with the SmoothStepper, and then modify lua to add an offset to the motors after homing.
The feedrate F30 will be 30 inches per minute if your system is set to inches (or you ran GCode that commanded inch mode and never set it back to mm).
The feedrate F30 will be 30 mm per minute if your system is set to mm (or you ran GCode that commanded mm mode and never set it back to inches).
F30 in inches per minute will be 25.4 times faster than F30 in mm per minute mode.
Just before that move (or in the beginning of that move command) you can issue a G20 or G21 to force the desired units.
Program G20 to use inches for length units. Program G21 to use millimeters.