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 08-14-2011, 04:13 PM
 
Join Date: Aug 2011
Location: USA
Posts: 9
Firestar is on a distinguished road
Question Xaxis starts to "jump" during routing

Hi, so I just finished building my first custom CNC router based loosely on the Buildyourowncnc.com machines and running off a G540/Keling setup with mach3 and CAMBAM (In trial modes till I get things working) and most everything seems to be fine, except...

When I am using mutiple depth passes on a profile cut the lower levels will start to shift slightly so that they are offset in the Xaxis direction. Then, if I cut for too long (maybe 8min) the Xaxis offset will go from shifting less than a millimeter between passes to shifting an inch or more! My hand spends most of the time hovering over the eswitch! My motors get pretty hot by that point (not too hot to touch, just too hot to hold for more than 6-7sec.) especially my Xaxis. Also, this is only happening on the X-axis, the y and z never falter that I can tell.

all my stepper motors are the keling 381oz/in, I'm using a 1/4" upspiral bit, and my feedrate is only 30-40 ipm at 0.08" depth per pass. Please help! Is it hardware, software or what?
Attached Thumbnails
Click image for larger version

Name:	CNC Router.jpg‎
Views:	132
Size:	74.1 KB
ID:	140122   Click image for larger version

Name:	Xaxis motor.jpg‎
Views:	91
Size:	66.2 KB
ID:	140123   Click image for larger version

Name:	Xaxis Motor 2.jpg‎
Views:	97
Size:	73.8 KB
ID:	140124   Click image for larger version

Name:	Problem.jpg‎
Views:	85
Size:	48.4 KB
ID:	140125  

Click image for larger version

Name:	Problem gets worse.jpg‎
Views:	88
Size:	57.3 KB
ID:	140126   Click image for larger version

Name:	Problem becomes OMG WTF!.jpg‎
Views:	67
Size:	48.1 KB
ID:	140127  
Reply With Quote

  #2   Ban this user!
Old 08-14-2011, 04:57 PM
 
Join Date: May 2007
Location: Australia
Posts: 60
Daniel233 is on a distinguished road

Hi,
My guess would be to start by reducing the x axis acceleration in mach 3, out of curiosity what is it currently set at.
Daniel
__________________
If it can't be fixed with a hammer it must be an electrical problem!
Reply With Quote

  #3   Ban this user!
Old 08-14-2011, 09:32 PM
jsheerin's Avatar  
Join Date: Aug 2008
Location: US
Posts: 1,132
jsheerin is on a distinguished road

I assume you would have noticed this, but do the shapes you're cutting appear on the mach3 preview screen correctly (in other words, check that the g-code is not to blame).

If you write a short little program that just moves the x back and forth and use a dial indicator or just make some reference marks somewhere, does it always come back to the same point? If it is repeatable, start reducing the feedrate. Go really low, like 0.1ipm. See if it starts having problems moving correctly. If so your parallel port probably can't source enough current to drive the G540.
__________________
CNC mill build thread: http://www.cnczone.com/forums/vertical_mill_lathe_project_log/110305-gantry_mill.html
Reply With Quote

  #4   Ban this user!
Old 08-14-2011, 09:48 PM
EBC's Avatar
EBC EBC is offline
 
Join Date: Mar 2008
Location: Col La Choya, Los Cabos,Mexico
Posts: 143
EBC is on a distinguished road

try climbcut.
__________________
servicio de fresadora cnc
Reply With Quote

  #5  
Old 08-14-2011, 09:55 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,448
ger21 is on a distinguished road
Buy me a Beer?

What is your pulse width set to in motor tuning?
__________________
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

Sponsored Links
  #6   Ban this user!
Old 08-15-2011, 03:59 AM
S3MIH3MI's Avatar  
Join Date: Feb 2011
Location: Canada
Posts: 32
S3MIH3MI is on a distinguished road

I had the exact same issue and slowed the feed speed down to 15 max 20 ipm.
And had the X axis a bit too tight. The heat issue was completely gone and the cut staid true. As soon as I played around with settings and the heat came back, so did the offset in the cut.
Reply With Quote

  #7   Ban this user!
Old 08-15-2011, 05:49 PM
 
Join Date: Aug 2011
Location: USA
Posts: 9
Firestar is on a distinguished road

Thanks for your replies everyone!

Daniel233, my x-axis max speed was set at about 120ipm, acceleration was at about 30ipm/sec/sec. I'll try reducing it to 15ipm/sec/sec?

jsheerin, yes, I did check the gcode, everything looks fine in both cambam and Mach3. I'll try reducing the super-low feedrate test and see.

EBC, is climbcut a cambam or mach3 setting?

ger21, the pulse width is set to 2us in all axis.

S3MIH3MI, I'll try to slow down the feedrate on my cuts a lot and see if I can avoid the heat up. Does that mean my motor is underpowered and I should potentially bump it up to like a 900oz/in NEMA 34?

Since it seems like everyone is saying "try slowing down" I'll give it a try. Slow is fine with me right now as long as the cuts are accurate.
Reply With Quote

  #8   Ban this user!
Old 08-15-2011, 07:42 PM
 
Join Date: Aug 2011
Location: USA
Posts: 9
Firestar is on a distinguished road

*UPDATE*
So I reduced the feed-rate and xaxis acceleration and that seems to have taken care of my slight offset shifts between layers (edges look nice and clean) and the motors are definitely cooler, but while I was doing some test runs I found out how the large offsets were occurring. It would seem that during the cut, mach3 will start a movement (I can see the tool point change in the mach3 visual window) but the real tool point stays still. So that when it starts to move again, the cutting tip is in a different position in reality than where mach3 thinks it is. Oddly, this problem only seems to occur when making a movement in the X-axis, and seems to occur almost randomly, although once it starts, it keeps happening till I hit the eswitch.
Reply With Quote

  #9   Ban this user!
Old 08-15-2011, 08:42 PM
 
Join Date: Aug 2011
Location: USA
Posts: 9
Firestar is on a distinguished road

So I also tested repeatability by moving the xaxis at very low speeds (1 ipm and 0.1 ipm) and then zeroing the axis out at 20 to 40 ipm where I had previously observed good results. It was way off. It also made distinct clicking and thumping sounds at low speeds. If this means my computer can't source the current to run the gecko over the parallel (I'm using the motherboard port) then would using an add-on parallel port card solve this problem or would I need a new computer or an easystepper?
Reply With Quote

  #10   Ban this user!
Old 08-15-2011, 09:03 PM
jsheerin's Avatar  
Join Date: Aug 2008
Location: US
Posts: 1,132
jsheerin is on a distinguished road

You might try the same thing with your other axes - run them at really slow speeds and see if they behave erratically. With my machine, I don't remember it making odd noises at the very low speeds - it just didn't move consistently. Sometimes it would move and sometimes it wouldn't. It would only have problems on the Z at normal speeds, but iirc at very slow speeds all the axes had problems. However, the noises you describe sound more like the motor is stalling. The motor shouldn't stall at low speeds though - it should be making max torque there. All the suggestions to reduce feed rate and acceleration would help with that, but it should still run okay at very low speeds as well... You might remove the motor and try turning the x axis by hand to make sure it's not binding anywhere. If it's not binding and other axes have issues at very low speed, I'd suspect the LPT port, and read on.

Here's the thread where I was figuring this out, see post 17 or so and on:
http://www.cnczone.com/forums/gecko_...g_problem.html
Unfortunately my old website disappeared a while ago and the images in that thread are gone, so I'll repost them here. The first two pics are screwy step pulses from my onboard LPT port. The last shot is from my add on port and what the first two pulses should have looked like. The pulses should have a height of about 5V, rising up from 0V which is 1 division above the bottom of the scope screen. My solution from post 21 in that thread was this, which also describes the last attached scope trace:
I installed a Rosewill pci parallel port card and this fixed my motion problem at low speeds. It's sourcing 8.2mA of current in this setup - 4.6V into a 560ohm resistor. The downside to this card is that it can't source enough current from pins 1 and 17 (only about 1mA available) to be able to control the general purpose outputs of the G540. Under load the voltage sags down to ~0.58V from 5V. Luckily there are two ports on one card, so I'm working on a cable to use some of the 'good' pins from the second port to drive pins 1 and 17 on the db25 connector going to the G540. So I'm seeing the light at the end of the tunnel.

To add to this, what I ended up doing was going to Radioshack, buying some 25 pin connectors, and using them along with some CAT5 cable to make a sort of y cable that used some pins from each of the two LPT ports of the Rosewill card and combined them into one connector at the other end for the G540. It's a pretty cheap fix to try, but without a scope to look at what your current port is doing, it's tough to say that's what the problem is with 100% certainty.
Attached Thumbnails
Click image for larger version

Name:	091016_lpt_step_pulse_down.jpg‎
Views:	12
Size:	141.8 KB
ID:	140178   Click image for larger version

Name:	091016_lpt_step_pulse_up.jpg‎
Views:	13
Size:	138.4 KB
ID:	140179   Click image for larger version

Name:	091022_step_pulse_rosewill_lpt_card.jpg‎
Views:	15
Size:	116.9 KB
ID:	140180  
__________________
CNC mill build thread: http://www.cnczone.com/forums/vertical_mill_lathe_project_log/110305-gantry_mill.html
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-16-2011, 07:13 AM
 
Join Date: Aug 2011
Location: USA
Posts: 9
Firestar is on a distinguished road

Thank you, I'll try testing the other axis at low speeds first. I already checked the x-axis and everything runs smoothly with no binding. I do have a generic looking Manhattan PCI Parallel port card I could install and test as well. It may not solve my problem (wish I had an oscilloscope) but since its a free, easy mod, I might as well try it.
Reply With Quote

  #12   Ban this user!
Old 08-16-2011, 03:12 PM
jsheerin's Avatar  
Join Date: Aug 2008
Location: US
Posts: 1,132
jsheerin is on a distinguished road

An easy way to test your parallel port would be to assign pins to an output that you can hold high. For example a direction pin or a pin to turn on your spindle, flood coolant, etc. Then toggle whatever setting in mach 3 to make the LPT pin go high. With a DC volt meter, you should measure 5V between that pin and ground. Then connect the pin to ground with a 560 ohm resistor. Measure the voltage across the resistor. If it's fallen a lot (like below 3V or so), your LPT port is probably causing problems. If it's still high (like say 4V or higher), you're probably fine. You can calculate the current from I=V/R, and I believe you need 5mA to drive the opto-isolators on the G540's inputs.
__________________
CNC mill build thread: http://www.cnczone.com/forums/vertical_mill_lathe_project_log/110305-gantry_mill.html
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
ACME Threaded Rod, 1/2"-10, 5 Starts, 6 Feet elwoodbeauchamp Canadian Club House 2 06-02-2009 08:10 AM
Too many "M00"s. stops and starts mike hide SheetCam 3 09-15-2008 06:04 PM
My "S.H.I.G." router build starts picbits CNC Wood Router Project Log 21 05-12-2008 12:48 PM
Question on using "plasma" table for routing Red Earth CNC Plasma and Waterjet Machines 1 04-09-2007 12:04 AM
12"x12" for precision routing AndyL DIY-CNC Router Table Machines 3 12-18-2005 08:30 PM




All times are GMT -5. The time now is 12:04 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