CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software)


Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-25-2009, 01:55 PM
idtkid's Avatar  
Join Date: Feb 2007
Location: US
Age: 25
Posts: 167
idtkid is on a distinguished road
Exclamation Cant get steps per unit right no matter what

I have a rack and pinion driven gantry router that refuses to move accurately under Mach 3.

I have searched for days now as to a formula that will give me correct steps per unit, but every thread has a different way that simply hasnt even got me close.

I just chucked a dial indicator into the spindle, used the steps per unit calculator in Mach's settings to attempt to measure exact and get exact distance travels in return, nothing. After running the test, I attempted to mill a 1" square pocket but got a .9" square pocket in return.

I have a 24 tooth spur gear with 20 degree pitch and a 1.2 inch diametrical pitch paired with a corresponding gear rack, a 1.8 degree stepper and a 10 microstepping Gecko drive. There is no way that I am losing steps as the gantry will push me across the floor or drive me around if I sit on it. My steps per unit simply arent accurate at all.

This is my 4th CNC build (all previous have been screw driven) and its being a PITA. If anyone could shed light on this subject I would be quite greatful.

Thanks!
__________________
Rockcliff PE/Aluminum Router > 4'x8' CNC Router/Plasma > Manual DRO/CNC X2 > 4 Axis Syil SX3 and an Emco PC Mill 125
Reply With Quote

  #2   Ban this user!
Old 06-25-2009, 02:22 PM
LeeWay's Avatar  
Join Date: Jun 2004
Location: USA
Posts: 2,398
LeeWay is on a distinguished road

Ya gotta keep at it till you get it right.
I did have to play with mine on my mills Z axis after I installed a timing belt. It was close on the math, but not prefect. I would up adding over 100 steps to get it very near perfect. Mach thingy will get you close, but you will have to keep adding steps and measuring to get it perfect. You may not even be able to get perfect, but still be within your tolerances.

You must be sure that you don't have mechanical issues like backlash or loose parts of course.

I think you will have to add more steps if it is coming up shy. Just add 50 and measure. Rinse and repeat till you get better results. Then zero in and nail it down. Once done, backup your Mach 3 XML.
__________________
Lee
Reply With Quote

  #3   Ban this user!
Old 06-25-2009, 09:16 PM
idtkid's Avatar  
Join Date: Feb 2007
Location: US
Age: 25
Posts: 167
idtkid is on a distinguished road

Thanks for the help, oddly enough, it seems that when steps are added the axis moves less, when steps are removed the axis moves further, definenitely backwards from what you would think. Encouraging words, I will keep pluggin' away until I get it right, unless of course someone else has some advice?
__________________
Rockcliff PE/Aluminum Router > 4'x8' CNC Router/Plasma > Manual DRO/CNC X2 > 4 Axis Syil SX3 and an Emco PC Mill 125
Reply With Quote

  #4  
Old 06-25-2009, 10:15 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

What is the "unit" length in Mach? Inches I presume?

Your drive gear has a pitch circle circumference of 3.7699", and it appears as though in your 'lossless system' that your motor turns 2000 microsteps per revolution. So divide the distance by the steps and you get 530.5 steps per inch. Of course, there is no such thing as half a micro step, so you'd have to round up or down, I suppose.

Don't neglect to allow for cutter diameter when milling your 1" square pocket.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #5   Ban this user!
Old 06-25-2009, 10:37 PM
jalessi's Avatar  
Join Date: Feb 2007
Location: U.S.A.
Posts: 3,155
jalessi is on a distinguished road

How many teeth per inch is the rack?
__________________
Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-28-2009, 03:15 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,879
Torchhead is on a distinguished road

Originally Posted by jalessi View Post
How many teeth per inch is the rack?


Does not matter. The number can be derived from the Pitch Dia and it's teeth count. You don't really need that since the important question to answer is:



How far does the load travel in one gear rotation.
The answer is in the earlier post. You know how many steps it takes to rotate the gear one turn.

If there other transmission components between the motor and pinon then they have to be factored in as part of the equation.

You will see one effect that direct pinion coupling has: Loss of resolution and torque. Up side is it will be fast enough to win you bets! You can't get better accuracy than resolution (ususally a lot worse) so you start with .001886. Microstepping is "false" resolution since it can change with RPM and is different at different speeds. Your final accuracy is a factor of all the errors times the distance.

If you move a set distance multiple times and keep getting different values it may be a resolution problem. Also R & P has backlash if you don't keep the gear fully meshed with the rack.

TOM Caudle
www.CandCNC.com
Reply With Quote

  #7   Ban this user!
Old 06-28-2009, 07:39 PM
Torsten's Avatar  
Join Date: Nov 2004
Location: U.S.A.
Posts: 260
Torsten is on a distinguished road

Originally Posted by Torchhead View Post
Does not matter. The number can be derived from the Pitch Dia and it's teeth count. www.CandCNC.com
That is what "Huflungdung" has calculated some circumference dia.
Should be very close but I dont think they make standard racks with such a uneven number of linear pitch.
May just take a physikal measurement and round to the nearest even number.
There should be a pitch or tooth per inch value to go along with this to make a correct calculation here.
Note you do want to know the theoretical steps per inch value.
Before you start deviations to make up for other variables in the system.
Good Luck
Reply With Quote

  #8  
Old 06-28-2009, 09:13 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Standard racks are based on 'so and so' many teeth in Pi inches, so it might be unusual to find a particular gear of a particular diametral pitch that would move in even inch units in one revolution ( in direct drive). That is not to say that there couldn't be some magic combo in a compound reduction that might do what you want.

BTW, the pitch diameter of the gear multiplied by Pi gives the circumference of the pitch circle. This is the theoretical contact surface of the gear if it was toothless (a friction drive). The teeth are scabbed on just to provide good traction, they do not change the ratio at which the pitch circle rolls along the rack.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #9   Ban this user!
Old 06-29-2009, 11:27 AM
idtkid's Avatar  
Join Date: Feb 2007
Location: US
Age: 25
Posts: 167
idtkid is on a distinguished road

The 531 steps per unit number gives me a milled square, in particle board with a 7/32 endmill, 1/8" deep, going very slow in hopes to avoid further errors, measuring .95" x .95"

I guess I would be okkkk with -1/16" tolerance on my machine however when I move the machine to what Mach thinks is 70" I measure 61".

If my steps per unit were wrong then I would assume I would multiple my .05" shortage by 70 to find how short I would come up. This would give me 3.5", 70" - 3.5" should give me a physical measurement of 66.5" but as stated before I get 61".

I must be loosing steps someplace no?

Any suggestions would be greatly appreciated.
__________________
Rockcliff PE/Aluminum Router > 4'x8' CNC Router/Plasma > Manual DRO/CNC X2 > 4 Axis Syil SX3 and an Emco PC Mill 125
Reply With Quote

  #10  
Old 06-29-2009, 11:49 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

You'd best show us a copy of your g code, just to be able to double check on the possible nature of the error.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-29-2009, 12:24 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,879
Torchhead is on a distinguished road

Did you account for the tool offset? The number would be to the center of the bit. If it's off then you need to get a RATIO of the error (divide the actual by the intended) and use that ratio to increase or decrease the steps per unit in the same RATIO. Work everything to 3 decimal places. You CAN have fractional steps (it averages them out over distance) and you need to use them. Take the ratio and get a number of steps to add or subtract. In this case you add if you are under the size.

You have to measure to the center of the tool or you have to offset the cut by the radius of the cutter OR you can let the CAM program do that for you.

TOM Caudle
www.CandCNC.com
Reply With Quote

  #12   Ban this user!
Old 06-29-2009, 12:55 PM
idtkid's Avatar  
Join Date: Feb 2007
Location: US
Age: 25
Posts: 167
idtkid is on a distinguished road

Here is the code:
I promise the right bit (7/32" Endmill) is in the chuck

G17 G20 G40 G54 G64 G90
(2 1/2 Axis Pocketing)
T1 M6
(0.21875)
G00 Z0.1094
X0.2750 Y0.2750
G01 Z-0.1250 F40.0
X0.5062
Y0.5062
X0.2750
Y0.2750
Y0.1500
X0.6312
Y0.6312
X0.1500
Y0.1500
X0.2750
Y0.0250
X0.7562
Y0.7562
X0.0250
Y0.0250
X0.2750
G00 Z0.1094
M05
M30

Here is the exact steps per inch that I have entered into Mach 3: 530.51647697298445256294587790858
(Mach chopped it after a handful of digits obviously)
This number yielded a square measuring .91" x .89" this problem just keeps getting weirder. This is a much more accurate calculation but it outputs less precision.

Again, any further guesses would be appreciated!
__________________
Rockcliff PE/Aluminum Router > 4'x8' CNC Router/Plasma > Manual DRO/CNC X2 > 4 Axis Syil SX3 and an Emco PC Mill 125
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
difficulty setting steps per unit in mach3 Josh Leber Machines running Mach Software 12 08-04-2009 04:57 AM
Steps per unit calibration problems idtkid Mach Software (ArtSoft software) 3 05-11-2009 10:48 PM
Mach 3 Configuration Steps per unit andycorleone DIY-CNC Router Table Machines 4 11-22-2008 07:55 AM
Steps per unit is all messed up??? mwalach Mach Mill 2 02-18-2007 11:50 AM
Set-up / Steps per Unit / Threads per Inch adda Mastercam 2 01-15-2007 04:29 PM




All times are GMT -5. The time now is 11:06 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361