Hi,
a 2500PPR encoder has 2500 lines, this is now the entry level standard for an incremental encoder. An incremental encoder has an A and B phase in phase quadrature, ie
90 degrees apart. That means you get four encoder counts per line, so 10,000 counts per revolution.
If you put 10,000 in your axis motor tuning 'steps per unit' ( this assumes no electronic gearing within the servo) and then issue:
G0 X1 Mach will try to move one unit by producing 10000 pulses.
If in fact your axis moved 2.345 mm rather than the 1mm you requested you can use that to recalculate the 'steps per unit' value:
steps per (true)= (unit distance)/ (actual distance moved) X (estimated steps per)
= 1 / 2.345 X 10000
=4246.4
As a sanity check....if Mach issued 10000 pulses and the axis moved 2.345mm then if I wanted it to move 1mm only
then Mach will need to issue fewer pulses, in which case 4246.4 ( being less than 10000) sounds about right.
Craig