Don't know what the difference is in Mach4 threading as compared to Mach3.
This is how the threading works in Mach 3 and all info below is from Threading On The Lathe writeup done
some 9 years ago.
One complete thread cycle or pass is basically composed of the following:
Trigger – index pulse is seen and activate start of movement
Accelerate – move to an exact Z location relative to the turning spindle
Threading – move / control the tool such that the feedrate is correct relative to spindle rpm
Pullout – the tool is removed at the end of the thread
Retract – the tool is moved back to a starting point for repeat of the cycle
During the threading the rpm is monitored by the controller for variations and Mach plans on how to modify the next threading pass such that the Z axis movement will maintain the lead of the screw. Testing has shown that the lead is tightly controlled to a fine tolerance such that a near perfect thread can be produced if the lathe system is capable of it. Should the spindle slow down, Mach will change the Z movement to try maintaining the lead. Spindle slowdown in the range of 10 to 75% may be the range, but, as of this writing has not been tested. Past testing of past Mach versions on spindle slowdown is relative but not definitive for the new threading version.
3.9 MOTOR - GENERAL SLOWDOWN / POWER / EFFECT ON TREAD’G
WW:
The rpm stability and power delivered to the spindle will affect how Mach plans the Z motion
for threading. Motor rpm does change and in threading it can have a dramatic effect during the threading cycle. The horsepower required for making a cut can be calculated, and actual cutting tests by the Society of Manufacturing Engineers have provided practical ways of calculating the power. General formulas for horsepower are helpful for comparisons, ie; stepper hp delivered verses spindle hp, but, calculations are not “exact” / subjective, and frankly is beyond the average users understanding or application of them.
The stepper motor needs to have adequate power to move the Z axis during threading. Thus,
during threading, the combination is a “chain’ so to speak, and the application of the power is only as good as the weakest link in the chain. Changing gearing / belt ratio’s for either motor
along with driver setup ( ie; voltage / amperage , etc ) can improve the operating range of the “system”. The stepper must be able to accelerate / decelerate within the parameters the user
defines in the Gcode. Experience gained by just cutting a range of threads, using different cut depths, rpm, cutting methods, etc is highly suggested.
See Section 4, page 22 of 51, Figure 4.4 for the basis of lead tolerance. See page 8 of 5, 3.6.1 for an example of testing.
Just remember this:
Threading will only be as good as "YOUR" lathe "SYSTEM". A "perfect" software controller in all aspects
won't help a piece of poo lathe produce good threads.
RICH