Hello Guest it is January 19, 2020, 12:04:16 AM

### Author Topic: Need help with pulse per inch math  (Read 4547 times)

0 Members and 1 Guest are viewing this topic.

• 14
##### Need help with pulse per inch math
« on: August 15, 2013, 11:11:40 AM »
I have scratch built my own desktop sized CNC.  I have Mach3 working with my three stepper motors and limit switches so now I am attempting to dial in all the MACH3 configuration settings.  Calculating the actual pulses per inch should be simple.  This is what I have:

My problem seems to be knowing what to put into the equasion for the Stepper Motor Driver DQ542MA.  The driver documentation shows that with the DIP switches set the way I have them [on-on-off-off] I should expect 8000 pulses per revolution.  I presume that the 8000 pulses per revolution is assuming that I am using their 1.8 degree/pulse motors, which I am.  That would indicate that the driver is giving me 40 microsteps per step (I think!).

Can someone check my math (see attached equation)?

Thanks!
« Last Edit: August 15, 2013, 11:21:53 AM by MadHattan »

#### ger21

• 6,291
##### Re: Need help with pulse per inch math
« Reply #1 on: August 15, 2013, 11:36:49 AM »
I'd set the switches to 1/8 step (off-off-on-on - 1600steps/rev) - 8000 is way to high and will slow you down.
The ballscrews I think are 5 turns/inch, so 1600x5 = 8000 steps/inch
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

• 14
##### Re: Need help with pulse per inch math
« Reply #2 on: August 15, 2013, 11:43:05 AM »
Gerry!  Thanks for the response.

I don't understand how you came up with 5 turns/inch on the ballscrews. I don't doubt you. I just want to learn and understand.

Thanks!

#### HimyKabibble

• 1,687
##### Re: Need help with pulse per inch math
« Reply #3 on: August 15, 2013, 11:52:21 AM »
Those aree weird screws....  I've never seen ballscrews with that odd pitch.  As they are 13/64" lead, they need to turn 64/13 turns to move one inch.  Gerry is absolutely correct that it is useless to use 40X micro-stepping.  Anything more than about 10X gains you nothing of value.  So, using 8X as Gerry suggests, you'd have:

200 Steps/Turn * 8 uStep/Step * 64/13 Turns/Inch = 7876.923076923 Steps/Inch

Regards,
Ray L.
Regards,
Ray L.