This has been covered many times in this forum.

On the motor tuning page, you must enter the number of steps per unit. It depends on whether your friend requires his standard to be in inches or millimeters. It does not matter to the system, and Mach can deal with inches or millimeters, no matter what units it has been initially set up in.

It all seems to rest on the ptich of the leadscrew - whether this is in inches, or millimeters. I initially had a 10 turns per inch leadscrew, therefore I set my lathe up in inches. I have just changed my leadscrew to a ballscrew (more accurate) and this is 5mm pitch - so I have now set my machine up in millimeters.

Once the machine is set, all the standard measurements to set up tool tables and offsets must be entered in inches or millimteres. It then makes no difference to the operation of the machine since a code of G20 will make the machine operate in inches, and a code of G21 will make it operate in millimeters, and all values entered in the tables will be changed correspondingly.

When you say you have an 8 thread pitch - what do you mean - this must be accurate as you will see, and be careful that someone has not sold you a metric screw as an imperial. If he is using a fixed machine, he will know.

To calculate the number of pulses - **and note the word calculate** - it is an follows - and all number multiply the previous answer.

The vast majority of motors now work on 200 pulses per revolution - check that these motors do - or alter the number accordingly.

Gecko 201 drives give a 10 micro pulse output - 200 x 10 = 2000

Your gear down appeasr to be 2 to 1 - 2000 x 2 = 4000

Finally we come to the pitch of the leadscrew - on my original leadscrew it would have been 10 turns to the inch - 4000 x 10 = 40,000 (units in inches)

on my new leadscrews it would have been 4000 / 5 = 800 (units in millimeters)

That is how you do it . you will have to calculate the final line yourself.

After you have done that enter the result in your x and y (and z) axis, and test it. Move right, stop and zero your DROs (by pressing the zero x, zero y), set up your measuring instrument ( I use a digital caliper). Then, using the MDI line enter G0 X1 (inches) of G0 X25(mm's). This should move right again (to avoid backlash) and measure the distance the table has moved.

Do not expect to be absolutly accurate (obviously the more accurate the better) because it is your measuring that is at fault, not the machine. If you are within 2 thou or even 0.01 (mm) then that is pretty good and shows that you calculations are accurate.

Have a go - come back if you get in bother.