If it works, then I guess that it's OK to do it that way (I believe that Mach3 also has a mode where it calculates the proper setting based on the actual distance achieved vs. the expected distance).
If you wanted to calculate it yourself, then the G540 uses 10x microstepping and the 381 oz-in motors have 200 steps per revolution, meaning that Mach3 needs to send out 2000 step pulses to turn the motor one revolution. If you multiply that 2000 by your leadscrew's pitch (in turns per inch) you should arrive at the proper value for steps per unit (assuming you are using inches as your unit, and that you are not using any gearing or belt drive that would affect that ratio).


LinkBack URL
About LinkBacks




