If you would not mind could you try to explain the gear ratio part of Mach.
I keep reading that section, but I just do not really get it
In Mach, we need to know the amount of encoder counts that results in 1 unit of measure. If you set your machine up for inches, then we want to know how many encoder counts/steps it takes to move the axis exactly 1 inch. Hence the term Steps per Unit. One of my machines is 12700 steps per inch. This is inclusive of any gear reduction! But in the end, we don't care about the gearing. Only about how many steps it takes to get to one inch. If you set Steps Per Unit in "Config -> Motor Tuning" to this value for each of your axes, you can't go wrong.
Mach allows each axis to have a different steps per unit. In a simple scenario like a 45 degree angle cut, X may move 2000 counts and Y may move only 1000 counts. But if the steps per unit for X and Y are correct, they will both move the same distance and thus produce the 45 degree angle. This works fine in Mach because we told the machine to move a certain distance that is based in the user units for X and Y. This is a lot tougher to deal with on the Galil because you are not dealing with distances. You are working in encoder counts!! 1000 counts on X would be exactly half of the distance of 1000 counts in Y in the 45 degree angle scenario.
So in Galil code, you have to do a little math in your head to extrapolate a distance based on the number of counts it takes to get there for any particular axis. In stead of saying "G01 G91 X1 Y1" in Mach, you would give the Galil a command of "PR 2000, 1000" to do the same move. PR is "Position Relative" (incremental move) and is equivalent to G91 in G code. So you can see here that having the same number of counts to move each axis a certain distance is VERY beneficial when working in the Galil environment. It makes things a lot more simple. Now, how about plotting a circle with X and Y counts per inch being different? Boom! Mushroom cloud! At least in my head it is.
This is not an issue in Mach because Mach does all of the math for you. Isn't Mach wonderful? Thank you Mach!
Steve