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! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-06-2011, 04:49 PM
CNC Lurker's Avatar  
Join Date: May 2009
Location: USA
Posts: 424
CNC Lurker is on a distinguished road
Buy me a Beer?
Help calibrate axis: 1" = 1"

I was running some test code on my router and realized that I didn't set something right because Mach3 isn't reading 1" as 1".

(By the way, I'm using 1/2-10 5-start ACME screws)

I went to the Config menu in Mach3 and selected "Select native units" and chose inches and restarted Mach3.

I moved the X, Y, and Z to a random location and zeroed them out so that I was at 0,0,0 on the user coordinates. I then moved the X axis 1" (measured using a tape measure) and the X read as .1981" (see first screenshot). In hindsight, that was probably supposed to have been .2" except I eyeballed 1" on my tape measure.

I'm not sure where exactly I'm supposed to tell Mach3 how many times to rotate to make it move 1". I went to the "Config" menu chose "Motor Tuning". Is that where I'm supposed to change things to make it rotate correctly? (see 2nd screenshot).

Am I supposed to change the "Steps per", "Step pulse", or am I trying to change it in the wrong location altogether?
Attached Thumbnails
Click image for larger version

Name:	zeroing1.jpg‎
Views:	37
Size:	45.1 KB
ID:	125784   Click image for larger version

Name:	zeroing2.jpg‎
Views:	51
Size:	64.5 KB
ID:	125785  
__________________
http://paul-flores.com/

Last edited by CNC Lurker; 02-06-2011 at 05:06 PM.
Reply With Quote

  #2   Ban this user!
Old 02-06-2011, 05:40 PM
CNC Lurker's Avatar  
Join Date: May 2009
Location: USA
Posts: 424
CNC Lurker is on a distinguished road
Buy me a Beer?

I don't know the math behind it, I just bumped it around till it worked, but changing all steps to 4000 worked.
Attached Thumbnails
Click image for larger version

Name:	zeroing3.jpg‎
Views:	44
Size:	69.9 KB
ID:	125788  
__________________
http://paul-flores.com/
Reply With Quote

  #3   Ban this user!
Old 02-06-2011, 05:41 PM
 
Join Date: Aug 2008
Location: United States
Age: 39
Posts: 140
jjacstcy is on a distinguished road
Buy me a Beer?

I had bookmarked this video as I to was wondering how to calibrate my machine once I get through building it.
Hopefully it will help you out.
YouTube - anajonesr's Channel
Reply With Quote

  #4   Ban this user!
Old 02-06-2011, 08:24 PM
 
Join Date: Mar 2008
Location: USA
Posts: 73
gjhammer is on a distinguished road

You definitely adjusted it in the correct place, the "Steps per". The "Steps per" is the amount of steps required by the motor for your nut to travel 1 inch (or 1 mm).

I have 1/2"-10 5 start screws from McMaster-Carr, and I know they are documented that the nut will travel 1/2" per full revolution. So from the start I need to multiply my "Steps per" by 2.

Then the next part, I'm still not clear if it's a function of the stepper motor, or a function of the stepper driver. I have Nema 23 380oz-in motors from Keling and I'm using a Gecko G540. But either way, it seems it takes 2000 steps to turn the motor one full revolution. Taking this into account with the ACME precision rods needing 2 full revolutions to propel the nut a full 1", the calculation in my case:

2 x 2000 = 4000 Steps Per

I'm guessing your calculation is similar to mine.
__________________
http://build1.cncdiaries.com
http://www.cncdiaries.com
Reply With Quote

  #5   Ban this user!
Old 02-06-2011, 08:32 PM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

Paul, in Mach 3 there is a settings page. Go to this page and generally in the lower left hand corner, there will be a box marked "axis calibration" & set steps per unit. Upon clicking this box, it will let you select the axis you want to move. Once the axis is selected, it will ask you how far you would like to move. Enter the amount you want and then it will move (some amount dependent on your previous set ups). You will need a way to measure exactly how far you moved because it will ask you, how far did you move? The more accurate you can measure here the better your machines calibration will be. If you enter in the exact amount the machine moved, it will figure out the steps. It will be good to repeat the step a few times for each axis. You really want to do this regardless of the mathematical equation, this will factor in all errors in leadscrews and such. Backlash can be measured once this is figured out. Good Luck
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-06-2011, 09:19 PM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

Actually you will need to double check everything here. Steppers are referred to as 1.8 degree which equates to 200 steps per rotation/revolution or .0005 per step with your claimed screws. Your screws are 1/2"-10? Shouldnt there be 10threads per inch? Each rotation should be a .1 distance traveled but I dont know about multi start threads. So 10 turns of the screw will make the nut travel 1". Therefore 2000 steps will be needed to make the nut/your table move the 1" commanded. Make sense? Anyway this is a setting in your Mach 3. Your Gecko G540 is a 10x microstepping controller. If I understand this correctly, it means you could break each step into 10ths, giving you a possiblity of 20000 steps for that same inch traveled or a theoretical accuracy of .00005". not likely but theoretical. Hope this helps
Originally Posted by gjhammer View Post
You definitely adjusted it in the correct place, the "Steps per". The "Steps per" is the amount of steps required by the motor for your nut to travel 1 inch (or 1 mm).

I have 1/2"-10 5 start screws from McMaster-Carr, and I know they are documented that the nut will travel 1/2" per full revolution. So from the start I need to multiply my "Steps per" by 2.

Then the next part, I'm still not clear if it's a function of the stepper motor, or a function of the stepper driver. I have Nema 23 380oz-in motors from Keling and I'm using a Gecko G540. But either way, it seems it takes 2000 steps to turn the motor one full revolution. Taking this into account with the ACME precision rods needing 2 full revolutions to propel the nut a full 1", the calculation in my case:

2 x 2000 = 4000 Steps Per

I'm guessing your calculation is similar to mine.
Reply With Quote

  #7   Ban this user!
Old 02-06-2011, 09:42 PM
 
Join Date: Aug 2008
Location: United States
Age: 39
Posts: 140
jjacstcy is on a distinguished road
Buy me a Beer?

I believe he said 1/2-10 5 start. 2 turns for 1" I think.
Reply With Quote

  #8   Ban this user!
Old 02-06-2011, 10:29 PM
CNC Lurker's Avatar  
Join Date: May 2009
Location: USA
Posts: 424
CNC Lurker is on a distinguished road
Buy me a Beer?

Originally Posted by gjhammer View Post
You definitely adjusted it in the correct place, the "Steps per". The "Steps per" is the amount of steps required by the motor for your nut to travel 1 inch (or 1 mm).

I have 1/2"-10 5 start screws from McMaster-Carr, and I know they are documented that the nut will travel 1/2" per full revolution. So from the start I need to multiply my "Steps per" by 2.

Then the next part, I'm still not clear if it's a function of the stepper motor, or a function of the stepper driver. I have Nema 23 380oz-in motors from Keling and I'm using a Gecko G540. But either way, it seems it takes 2000 steps to turn the motor one full revolution. Taking this into account with the ACME precision rods needing 2 full revolutions to propel the nut a full 1", the calculation in my case:

2 x 2000 = 4000 Steps Per

I'm guessing your calculation is similar to mine.
I'm using the 1/2-10 5-start from McMasterCarr also and running them on the Gecko G540 also. I wasn't sure about the math, but fiddling around till I got it, your math matches the screenshot in the 2nd post.
__________________
http://paul-flores.com/
Reply With Quote

  #9   Ban this user!
Old 02-06-2011, 10:36 PM
CNC Lurker's Avatar  
Join Date: May 2009
Location: USA
Posts: 424
CNC Lurker is on a distinguished road
Buy me a Beer?

Originally Posted by Fastest1 View Post
Paul, in Mach 3 there is a settings page. Go to this page and generally in the lower left hand corner, there will be a box marked "axis calibration" & set steps per unit. Upon clicking this box, it will let you select the axis you want to move. Once the axis is selected, it will ask you how far you would like to move. Enter the amount you want and then it will move (some amount dependent on your previous set ups). You will need a way to measure exactly how far you moved because it will ask you, how far did you move? The more accurate you can measure here the better your machines calibration will be. If you enter in the exact amount the machine moved, it will figure out the steps. It will be good to repeat the step a few times for each axis. You really want to do this regardless of the mathematical equation, this will factor in all errors in leadscrews and such. Backlash can be measured once this is figured out. Good Luck
Thanks, this vid shows how to calibrate it like you said: YouTube - Improved Mach 3 Axis Calibration
I couldn't find it at first, but eventually I found that settings page. (see attached screenshot).
Attached Thumbnails
Click image for larger version

Name:	zeroing4.jpg‎
Views:	67
Size:	136.6 KB
ID:	125805  
__________________
http://paul-flores.com/
Reply With Quote

  #10   Ban this user!
Old 02-07-2011, 07:02 AM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

He did. I dont know about multi start threads but I would have thought 1/2-10 would mean 10 threads per inch with a .5" diameter. That is why I explained the calculation. Though regarding your concern about the G540 and the 10x stepping, it wont have an effect on your step per unit calculation. Btw my theoretical travel calculations would be wrong if you are both correct in your distance per revolution.
Originally Posted by jjacstcy View Post
I believe he said 1/2-10 5 start. 2 turns for 1" I think.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-07-2011, 09:23 AM
CNC Lurker's Avatar  
Join Date: May 2009
Location: USA
Posts: 424
CNC Lurker is on a distinguished road
Buy me a Beer?

Originally Posted by Fastest1 View Post
He did. I dont know about multi start threads but I would have thought 1/2-10 would mean 10 threads per inch with a .5" diameter. That is why I explained the calculation. Though regarding your concern about the G540 and the 10x stepping, it wont have an effect on your step per unit calculation. Btw my theoretical travel calculations would be wrong if you are both correct in your distance per revolution.
Well if your math is wrong, your result is correct.

mcmaster part# 98940A627 LINK
Travel Distance Per Turn: 1/2"
It's working correctly, and that's all that matters
__________________
http://paul-flores.com/
Reply With Quote

  #12  
Old 02-07-2011, 10:42 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,445
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by Fastest1 View Post
He did. I dont know about multi start threads but I would have thought 1/2-10 would mean 10 threads per inch with a .5" diameter.
It is 10 threads per inch, but it's only 2 turns per inch.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
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
How to "offset" Double sided PCB if I don't have abolute "home" on my CNC ? Calico PCB milling 11 07-12-2011 06:02 AM
Need Help!- Thread Milling using "C" axis no "Y" on the machine tejano4life72 Mori lathes 7 07-19-2010 02:59 PM
Need Help!- "motor steps per resolution" and "driver microstepping" settings margni74 LinuxCNC (formerly EMC2) 9 10-24-2009 02:33 AM
"J" head type "millport"(tiwan,1980) clutch marksbug Bridgeport and Hardinge Mills 1 08-17-2009 10:48 AM
Need Help!- "Warco GH Univ" V "Chester Lux Mill" JQ_Quint Benchtop Machines 37 01-22-2009 10:59 AM




All times are GMT -5. The time now is 02:31 AM.





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