### I need help with Mach3

Posted:

**Sat Mar 01, 2014 12:02 am**I had used Mach3 in the past with the first CNC router I had, but I was given all the numbers to enter into the mach3 motor tuning screen, but with the Shapeoko 2 I have been trying to do the math on my own.

I have a blue chinese CNC controller box that was made for a 6040 CNC mill, I got it used on eBay and fixed it up a bit, it uses TB6560 chips, installed on four separate driver cards.

What I want to do, is use the blue chinese CNC controller box with Mach3 to:

(1) CNC routing using only 3 drivers

(2) 3D printing, using the 4th driver to drive the extruder

But I can't even get Mach3 to cut anything correctively, it seams to move to far in the different axes, and then cut to small, I have Mach3 setup in inches, but I have tried in millimeters, I am using Cut2D to generate G-code in inches, the Shapeoko 2 does move in the direction of the keyboard arrow keys, and the TB6560 driver cards are set to 1/8 microstep.

Here is the math I have done, I am not good at math

----The Stepper Motor:

Steps Per Revolution 200

----Aluminum GT2 Pulley:

Teeth 20

Pitch 2mm

----GT2 Belting:

Width 6mm

Pitch 2mm

----Usefull Info:

1 Inch = 25.4mm

----M8x1.25 Threaded Rod:

1.25mm of travel for one rotation

20.32 Threads per inch

25.4mm / 1.25mm = 20.32 turns per inch

----X and Y Axis Math in Millimeters:

20 Teeth x 2mm Pitch = 40mm

200 Steps Per Revolution * 8 Microstepping = 1600

1600 / 40 = 40

40 Steps per mm

----X and Y Axis Math in Inches:

2mm = 0.0787402 inch

20 Teeth x 0.0787402 inch = 1.574804

200 Steps Per Revolution * 8 Microstepping = 1600

1600 / 1.574804 = 1015.99945136

1015.999 Steps per Inch

----Z-Axis Math in Millimeters:

200 Steps Per Revolution * 8 Microstepping / 1.25mm Length of travel for one rotation

200 * 8 / 1.25 = 1280

1280 Steps per mm

----Z-Axis Math in Inches:

200 Steps Per Revolution * 8 Microstepping = 1600

1600 * 20.32 turns per inch = 32512

I have a blue chinese CNC controller box that was made for a 6040 CNC mill, I got it used on eBay and fixed it up a bit, it uses TB6560 chips, installed on four separate driver cards.

What I want to do, is use the blue chinese CNC controller box with Mach3 to:

(1) CNC routing using only 3 drivers

(2) 3D printing, using the 4th driver to drive the extruder

But I can't even get Mach3 to cut anything correctively, it seams to move to far in the different axes, and then cut to small, I have Mach3 setup in inches, but I have tried in millimeters, I am using Cut2D to generate G-code in inches, the Shapeoko 2 does move in the direction of the keyboard arrow keys, and the TB6560 driver cards are set to 1/8 microstep.

Here is the math I have done, I am not good at math

----The Stepper Motor:

Steps Per Revolution 200

----Aluminum GT2 Pulley:

Teeth 20

Pitch 2mm

----GT2 Belting:

Width 6mm

Pitch 2mm

----Usefull Info:

1 Inch = 25.4mm

----M8x1.25 Threaded Rod:

1.25mm of travel for one rotation

20.32 Threads per inch

25.4mm / 1.25mm = 20.32 turns per inch

----X and Y Axis Math in Millimeters:

20 Teeth x 2mm Pitch = 40mm

200 Steps Per Revolution * 8 Microstepping = 1600

1600 / 40 = 40

40 Steps per mm

----X and Y Axis Math in Inches:

2mm = 0.0787402 inch

20 Teeth x 0.0787402 inch = 1.574804

200 Steps Per Revolution * 8 Microstepping = 1600

1600 / 1.574804 = 1015.99945136

1015.999 Steps per Inch

----Z-Axis Math in Millimeters:

200 Steps Per Revolution * 8 Microstepping / 1.25mm Length of travel for one rotation

200 * 8 / 1.25 = 1280

1280 Steps per mm

----Z-Axis Math in Inches:

200 Steps Per Revolution * 8 Microstepping = 1600

1600 * 20.32 turns per inch = 32512