### Question #: 745

Question:
**
How do I configure my control program (i.e. Mach3, EMC2, etc.) for lead screw steps per inch?
**

**
**

**You will first need to derive the number of turns per inch that your lead screw produces. If there is only a single start (typical all thread screws), then the turns per inch is the same as TPI (threads per inch). If there is multiple starts, then the number of starts is divided by the TPI to determine the turns per inch. For example, 10 TPI with 5 starts is 10 / 5 = 2 turns per inch. Now that we know this, we can get the number of steps per inch as described in the previous question: take the number of steps per revolution that the motor will output. This will be the number of full steps that you motor produces (typically 200, or 1.8 degrees per step) multiplied by the microstepping per step to which the driver is configured. Simply multiple the number of turns per inch and the number of steps per revolution and you will get the steps per inch. Ok, lets see the formula:
200 steps * 16 microsteps * 2 turns per inch = 6400 steps per inch
Additional Information:14798
Additional Information:hallo i have cnc with ball screw 2.5mm of pith..n driver stepping 1/16 how to setup step valueAdditional Information:i have ball screw with 2.5 mm of pith n 1 start motor 200 step 1/16 driver stepping**

**
**

### Other Possible Solutions to this Question

**How do I configure my control program (i.e. Mach3, EMC2, etc.) for roller chain or timing belt steps per inch?**First, you will need to know the pitch of the roller chain, or timing belt. For example, #25 roller chain is .25" (1/4") pitch and #40 roller chain is .5" (1/2") pitch. Timing belts are similar and you will need to search the specifications of your particular drive pulley pitch. Take this pitch and multiply this with the number of teeth on the drive pulley/sprocket. This will give you the number of inches around the pulley/sprocket. Now, take the number of steps per revolution that the motor will output. This will be the number of full steps that you motor produces (typically 200, or 1.8 degrees per step) multiplied by the microstepping per step to which the driver is configured. Divide this number by the inches that was calculated from the drive pulley/sprocket. Here is an example: If the motor produces 200 steps per revolution and I am driving it at 1/16 microstepping and my sprocket pitch is .25" with 9 teeth, my formula would be:

(200 steps * 16 microsteps) / (.25 inches * 9 teeth) = 3200

steps per revolution / 2.25 inches = 1422.222 steps per inch**Click the link to respond:**

How do I configure my control program (i.e. Mach3, EMC2, etc.) for roller chain or timing belt steps per inch?**how do you calibrate steps per inch using Mach3 and a 1/2x13 lead screw**You will first need to derive the number of turns per inch that your lead screw produces. If there is only a single start (typical all thread screws), then the turns per inch is the same as TPI (threads per inch). If there is multiple starts, then the number of starts is divided by the TPI to determine the turns per inch. For example, 10 TPI with 5 starts is 10 / 5 = 2 turns per inch. Now that we know this, we can get the number of steps per inch as described in the previous question: take the number of steps per revolution that the motor will output. This will be the number of full steps that you motor produces (typically 200, or 1.8 degrees per step) multiplied by the microstepping per step to which the driver is configured. Simply multiple the number of turns per inch and the number of steps per revolution and you will get the steps per inch. Ok, lets see the formula:

200 steps * 16 microsteps * 2 turns per inch = 6400 steps per inch

Additional Information:

14798

Additional Information:

hallo i have cnc with ball screw 2.5mm of pith..n driver stepping 1/16 how to setup step value

Additional Information:

i have ball screw with 2.5 mm of pith n 1 start motor 200 step 1/16 driver stepping**Click the link to respond:**

how do you calibrate steps per inch using Mach3 and a 1/2x13 lead screw**how long are your lead screws 3/8 and how much ? looking for 3/8 see my previous question what is the minimum length and how much per inch**We currently only stock 2 start lead screw for the 3/8".

**Click the link to respond:**

how long are your lead screws 3/8 and how much ? looking for 3/8 see my previous question what is the minimum length and how much per inch**With a 1/2 lead screw what is the optimal steps for the stepper motor driver 1/16, 1/8, 1/4 etc**We typically use a 1/4 microstepping for lead screws, but you want to determine the microstepping only after you determine what resolution you want on that axis of the machine.

The formula:

Resolution is steps per inch or steps per milimeter

I will go over this using steps/inch:

steps = motor steps x driver microstepping

inch = the amount of travel with one full stepper motor rotation

In the case of our 1/2" 5 start 10 TPI lead screw, the axis will travel .5 inches with one stepper motor rotation.

Let's use 1/4 microstepping (4 microsteps for each stepper motor step)

Therefore:

(200 steps x 4) / .5 inches =

800 steps / .5 inches =

1600 steps/inch

Now let's use 1/2 microstepping (2 mistrosteps)

(200 steps x 2) / .5 inches =

400 steps / .5 inches =

800 steps/inch

Remember that increasing microsteps, the torque is also reduced, but the smoothness from the motor is increased.**Click the link to respond:**

With a 1/2 lead screw what is the optimal steps for the stepper motor driver 1/16, 1/8, 1/4 etc**How do I order the 10 TPI 5-start 2-turns-per-inch screws?, just shows $ per inch with no option for lenght.**When purchasing the 1/2" 5 start lead screw, the length is based on the quantity. Specify the total length you will need and we will email you (if you don't contact us first) to determine the cut lengths.

For example, if you desire 36 inches of lead screw for the X axis and 12 inches of lead screw for the Y axis, just purchase 48 inches of lead screw and tell us you need this lead screw cut so you have two lengths at 36 inches and 12 inches.**Click the link to respond:**

How do I order the 10 TPI 5-start 2-turns-per-inch screws?, just shows $ per inch with no option for lenght.**I am asking what to set my steps per using your kit stepper motors and a 1/2"x13 lead screw with Mach3**Here is the formula for steps/inch (steps per inch)

Steps = how many steps for a full ration of the motor = standard motor steps x number of microsteps for each step

Standard motor steps for our stepping motors is 200 steps per revolution.

Microsteps are selected on the driver and are shown as full, 1/2, 1/4, 1/8, 1/16, 1/32 etc... Use the denominator for the number of microsteps per step.

Inches = how far the travel is for one full rotation of the motor. For the 1/2" - 13 TPI (threads per inch), the travel length will be 1"/13 or .076923". So, for one revolution of the motor, the travel distance will be .076923 inches.

So, the steps = 200 * microsteps, let's make this 1/4 just for the formula.

The inches will be .076923. Plug those into the formula:

Steps / inch = (200 * 4) / .076923 This can also be written as:

200 * 4 / (1 / 13) = 10,400**Click the link to respond:**

I am asking what to set my steps per using your kit stepper motors and a 1/2"x13 lead screw with Mach3**how do I determine the steps per inch for the motors?**blueChick:

X-axis

“CW230 (3.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100

Mach3 Motor Tuning: 1422.22 steps/in

Y-axis

“CW230 (3.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100

Mach3 Motor Tuning: 1422.22 steps/in

Z-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100

Mach3 Motor Tuning: 1600 steps/in

blackToe:

X-axis

“CW230 (3.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100

Mach3 Motor Tuning: 1422.22 steps/in

Y-axis

“CW230 (3.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100

Mach3 Motor Tuning: 1422.22 steps/in

Z-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100

Mach3 Motor Tuning: 1600 steps/in

blackFoot:

X-axis

“CW8060 (6.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100 (“0”=down, “1”=up)

Mach3 Motor Tuning: 914.29 steps/in

Y-axis

“CW230 (3.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100

Mach3 Motor Tuning: 1422.22 steps/in

Z-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100

Mach3 Motor Tuning: 1600 steps/in

greenBull:

X-axis

“CW8060 (6.0A) Driver”

Set to 5.43A, 1/16 Microstep

Dipswitches: 01100110 (“0”=down, “1”=up)

Mach3 Motor Tuning: 914.29 steps/in

Y-axis

“CW8060 (6.0A) Driver”

Set to 5.43A, 1/16 Microstep

Dipswitches: 01100110

Mach3 Motor Tuning: 914.29 steps/in

Z-axis

“CW8060 (6.0A) Driver”

Set to 5.43A, 1/4 Microstep

Dipswitches: 01100100

Mach3 Motor Tuning: 1600 steps/in

Scratch-Build / Book-Build Kit:

X-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100 (“0”=down, “1”=up)

Mach3 Motor Tuning: 1600 steps/in

Y-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100

Mach3 Motor Tuning: 1600 steps/in

Z-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100

Mach3 Motor Tuning: 1600 steps/in

Additional Information:

Additional Information:

Scratch built/book CNC with NEMA 34 motors and CW8060 microstep driver

Additional Information:**Click the link to respond:**

how do I determine the steps per inch for the motors?**Do you sell leadscrews and ballnuts that are 5 TPI? I'd like 0.001" per step, using a 200 steps/rev (1.8 degree) motor.**We sell leadscews and anti-backlash nuts at the moment. Ballnuts will be available from us in the future.

Specifically to your question, you want 0.001" resolution:

The formula: (we are looking for a minimum of 1000 steps per inch

steps = (motors steps)/(travel with one motor rotation)

steps = (200 natural motor steps) x (microsteps ) / 0.5" travel (1/2" leadscrew 10 TPI 5 Starts)

steps = 200 * microsteps / 0.5"

multiply both sides by 0.5":

steps * 0.5" = 200 * microsteps

divide both sides by 200:

(steps * 0.5") / 200 = microsteps

replace steps with 1000:

(1000 * 0.5") / 200 = microsteps

500 / 200 = microsteps

2.5 microsteps will provide .001"

I would recommend 4 microsteps (1/4 microstepping), so your formula will be as follows:

steps = steps/inch = (200 * 4) / 0.5" = 800 / 0.5" = 1600 steps/inch**Click the link to respond:**

Do you sell leadscrews and ballnuts that are 5 TPI? I'd like 0.001" per step, using a 200 steps/rev (1.8 degree) motor.**Hi, I need the lead screw and bearings for x/y/z axis of the CNC. What is the length of "1/2" Lead Screw per inch (Steel)"?**Depending on the size of your CNC machine, it will vary the length required for your application.

Please verify the CNC machine, and we can go into detail on the specific lengths or methods for the linear guide mechanics.

We sell our ACME Screw (1/2" per inch), also our longest length of ACME Screw is 76-3/4".**Click the link to respond:**

Hi, I need the lead screw and bearings for x/y/z axis of the CNC. What is the length of "1/2" Lead Screw per inch (Steel)"?**What are the toggle switch settings on the stepper motor drivers for the .5 in. lead screw 10 tpi 2 turns per inch? Thankyou!**On the top of the stepper motor drivers is a grid with the appropriate toggle switch positions for the lead screw being used. If it is 2 turns per inch, the proper toggle switch positions would be 01101110. Try this and see if it works.

**Click the link to respond:**

What are the toggle switch settings on the stepper motor drivers for the .5 in. lead screw 10 tpi 2 turns per inch? Thankyou!**how long are your lead screws 3/8 and how much ? looking for 3/8 see my previous question**We currently only stock 2 start lead screw for the 3/8".

**Click the link to respond:**

how long are your lead screws 3/8 and how much ? looking for 3/8 see my previous question**when buying 1.5m of 1/2" Lead Screw per inch (Steel) does it ship as a whole rod or do i need to specify what lengths i need?**When buying any of our ACME screws, if the entire length or lengths is desired please send us an email or a call, to specify the actual length needed! But if no call or email is sent previous of the order then, we will give the customer a call or email to find the exact lengths that they will require.

**Click the link to respond:**

when buying 1.5m of 1/2" Lead Screw per inch (Steel) does it ship as a whole rod or do i need to specify what lengths i need?**hello there, i am using servo motor for my X and Y Axis but i dont know how to calculate steps/mm for that, the lead screw i am using is have pitch of .5 mm. please helpme on this i have done everything only this point is pending.**The formula for finding the steps per mm is found in the units itself. First, you mentioned that the motor is a servo. This needs to be clarified as a servo is different than a stepper motor. Some servos behave similar to a stepper motor, so I will continue with this in mind.

The formula is (steps/mm):

You need to find the steps. The stepper motor has a natural number of steps per a full revolution. This is typically 200 steps per revolution.

The driver for the stepper motor allows you to increase the number of steps per revolution by adding a specified number of steps between each step. For instance, if you set the driver to 1/4 microstepping, then instead of having 200 steps per revolution, you would have 200 x 4 = 800 steps per revolution.

So now we have the first part of the formula:

Steps / mm = (200 x 4) / mm

Lets determine the mm side of the formula:

You mention that the pitch is 0.5 mm. Check to insure that the lead is also 0.5 mm. This could be a multiple start lead screw where the pitch is different than the turns per mm. If in this case, that the 0.5 mm is the travel for one full revolution, then you can simply plug this into the formula as:

mm = .5 mm

Otherwise, determine how fat the travel is for one complete revolution.

Therefor, with what we know and the driver is set at 1/4 microstepping and the stepper motor has a natural step count per revolution at 200:

steps / mm = (200 steps x 4) / 0.5 mm = 800 steps / 0.5 mm = 1600 steps / mm

If your travel for one revolution is not 0.5 mm, then plug in your travel distance instead.

Additional Information:

i know about steps/mm calculation for stepper motor, because i am using servo motor that why i asked about that. please tell for servo motor.

Additional Information:

because its my first time with servo motor i have no idea about calculation of parameter with servo.

Additional Information:

Have you attempted to contact the manufacturer or seller of the servo? We typically respond to customers of our products on this customer service area, unless we have extensive knowledge of the subject and can answer the question efficiently.**Click the link to respond:**

hello there, i am using servo motor for my X and Y Axis but i dont know how to calculate steps/mm for that, the lead screw i am using is have pitch of .5 mm. please helpme on this i have done everything only this point is pending.**How to determine lead screw length needed. My Thomson 1 1:4 rails are 60 inches long roughly for the router I’m building. I know I have to have it long enough to couple up with the stepper motor of course but does it matter if it’s a little long on the other end**It generally does not matter if it is longer at the other end as long as the lead screw provides the desired travel for that axis. The lead screw will only need to be long enough for the travel, plus any structure and lead-nut positioning.

For example:

- The motor that will turn the lead screw will need to be mounted at some position (generally at one end of the axis). In many cases, this positioning will be mounted where some of the lead screw will not be used (the lead nut will not be able to moved close to the coupling of the lead screw to the motor shaft). Add some of the length of the lead screw to be inserted into the coupling.

- If the lead screw will contain bearings at either end of the travel, that portion of the mechanical assembly will need to be considered in the lead screw length.

- The lead-nut will need to be mounted in a position on a structural member of the part that is to move. The distance from the part of the structure that will extend closest to the motor will have some distance to the position of the lead nut. This distance will need to be added to the lead screw length.

Add these discrepancies to the length of the lead screw and the travel length and you will have the final length.**Does "Additional Length" for the Lead Screw mean Additional Length in inches? So for the 4' x-axis I have to choose Additional Length=52?**When you add a specific length to your cart, the additional length will be in inches.

So you will need to add the total length which will be 98" in total!

If this is for the scratch build kit (book CNC) the total length (98") of lead screw you will need for this machine is the three axes added together:

X-axis: 52"

Y-axis: 32"

Z-axis: 14"

You will have to specify the dimensions you require by sending a email (with your order details) or call to: customerservice@buildyourcnc.com or 281-815-7701**Click the link to respond:**

Does "Additional Length" for the Lead Screw mean Additional Length in inches? So for the 4' x-axis I have to choose Additional Length=52?**How do I keep the lead screw from moving back and forth?**The lead screw needs to be stabilized axially. The lead screw should turn, but not move any other way. The method to keep the lead screw stable is to use two bearings with ID (inside diameter) that match the diameter of the lead screw. The bearings are positioned before and after a stable structural part. A collar is positioned at one side of the bearing assembly and another collar, or end of a coupling is positioned at the other side of the bearing assembly.

**Click the link to respond:**

How do I keep the lead screw from moving back and forth?**I have a lead screw machine I built from the book plans (i know, ancient history) and I'm thinking of converting the X and Y axis to rollerchain. Assuming I can configure my controller appropriately, is there anything I should buy besides chain, drive cog, tension cog and mounting hardware?**You want to make sure that the motors will be able to provide the necessary torque since there will not be mechanical advantage using roller chain. You will need a way to fix the chain to each end. I like to use #4 - 3/4" screws and #4 nuts. You will need a drive sprocket for each axis and a couple idler sprockets on each axis to serve as tensioners and guiding the roller chain.

Additional Information:

OK cool. I have NEMA 24 steppers rated 425 oz-in. Is there some rule of thumb I can use to guess if that's enough? I'm not planning to push against hard stock material.**HOW MANY STEPS PER INCH DO I SET IN MOTOR TUNING?**blueChick:

X-axis

“CW230 (3.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100

Mach3 Motor Tuning: 1422.22 steps/in

Y-axis

“CW230 (3.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100

Mach3 Motor Tuning: 1422.22 steps/in

Z-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100

Mach3 Motor Tuning: 1600 steps/in

blackToe:

X-axis

“CW230 (3.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100

Mach3 Motor Tuning: 1422.22 steps/in

Y-axis

“CW230 (3.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100

Mach3 Motor Tuning: 1422.22 steps/in

Z-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100

Mach3 Motor Tuning: 1600 steps/in

blackFoot:

X-axis

“CW8060 (6.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100 (“0”=down, “1”=up)

Mach3 Motor Tuning: 914.29 steps/in

Y-axis

“CW230 (3.0A) Driver”

Set to 1/16 Microstep, 2.7A

Dipswitches: 11001100

Mach3 Motor Tuning: 1422.22 steps/in

Z-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100

Mach3 Motor Tuning: 1600 steps/in

greenBull:

X-axis

“CW8060 (6.0A) Driver”

Set to 5.43A, 1/16 Microstep

Dipswitches: 01100110 (“0”=down, “1”=up)

Mach3 Motor Tuning: 914.29 steps/in

Y-axis

“CW8060 (6.0A) Driver”

Set to 5.43A, 1/16 Microstep

Dipswitches: 01100110

Mach3 Motor Tuning: 914.29 steps/in

Z-axis

“CW8060 (6.0A) Driver”

Set to 5.43A, 1/4 Microstep

Dipswitches: 01100100

Mach3 Motor Tuning: 1600 steps/in

Scratch-Build / Book-Build Kit:

X-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100 (“0”=down, “1”=up)

Mach3 Motor Tuning: 1600 steps/in

Y-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100

Mach3 Motor Tuning: 1600 steps/in

Z-axis

“CW230 (3.0A) Driver”

Set to 1/4 Microstep, 2.7A

Dipswitches: 10101100

Mach3 Motor Tuning: 1600 steps/in

Additional Information:

Additional Information:

Scratch built/book CNC with NEMA 34 motors and CW8060 microstep driver

Additional Information:**Click the link to respond:**

HOW MANY STEPS PER INCH DO I SET IN MOTOR TUNING?**WHAT IS THE FORMULA TO DETERMINE STEPS PER INCH OR RESOLUTION FOR EACH AXIS?**The formula and calculation is a starting point to get into the area of steps per inch. You will then need to use the mach3 calibration utility to get the exact steps per inch.

Formula:

step per inch = (motor steps * microstepping) / (travel at one turn of the motor in inches)

if microstepping is set at 16 (1/16 on the driver) then and you are using a sprocket and chain with a pitch of .25 inches and 12 teeth on the drive sprocket

= (200 * 16) / (12 * .25)

= 3200 / 3

= 1066.666 steps per inch

For lead screw that has a travel of .5 inches at one turn like the 5 start 1/2 inch lead screw and using 4 microsteps per step (1/4):

= (200 * 4) / (.5)

= 800 / .5

= 1600 steps per inch

Remember to use the mach3 calibration wizard and double check the driver microstep setting.

Additional Information:**Click the link to respond:**

WHAT IS THE FORMULA TO DETERMINE STEPS PER INCH OR RESOLUTION FOR EACH AXIS?