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 02-28-2009, 08:59 PM
Hirudin's Avatar  
Join Date: Jun 2008
Location: USA
Posts: 353
Hirudin is on a distinguished road
SOLVED - Backlash compensentation causing problems while moving 2 axes

As the prefix to this thread says, I'm a newbie, so hopefully I just missed something easy or obvious and this problem can be fixed. Sorry, I'm long winded... hopefully below is enough explanation to make a diagnosis...

Machine...
I have a TAIG mill using Gecko 203v drivers, Keling KL23H276-30-8B steppers, and a Keling 48 volt / 12.5 amp power supply.

Computer...
I set up my computer in "Standard PC" mode (fresh format and install of Windows XP with SP3 and all updates) and it is only used to run Mach3 and get files from a USB flash drive (no other software is installed and it's not connected to the internet). I don't remember all the specs, but the processor is an AMD 2800+ (32 bit, single core at ~2.2 ghz IIRC). I've run the driver test and it ran perfectly all the way up to 100 khz.

My problem...
It worked just fine for a while, then stopped. Here's where it went from working to broken. I made the description red so it's easy to skip if you don't want to read it.

I started milling my first "real" part today. Everything was working beautifully until the machine refused to work correctly at all. Long story (read below) short: attempting to move two axes at once will make one axis stall. The stalled axis motor will keep "trying" to turn, but it wont move. It is as if the acceleration is too high or there is a physical barrier stopping the axis from moving.

It first came up while milling a circle, it started at 12 o'clock and started moving counter clockwise, when it got the the 9 o'clock position instead of continuing around to 6 o'clock it went directly into the center. I managed to stop the machine without anything being screwed up. Figuring I had the mill too deep in the aluminum I remade my g-code to take cuts at half the depth as before, re-zeroed the machine and started it again. It pretty much did the same thing except it made it around to 6 o'clock before heading for the center this time. Also, I wasn't able to stop it as quickly this time (I gotta get an e-stop button wired up) and it ended up going a little further.

Not to be discouraged, I set it up again, this time the problem showed up earlier, on the top/right of the part (see the attached photo). At this moment the machine was barely cutting any metal at all (maybe a thousandth off this 1/4" piece of aluminum).

I did a dry run. "Cutting air" as they say. The machine made the same error, even without any force being put on the cutter.


I experimented quite a bit... The only thing I could do to correct the problem is to turn OFF backlash compensation. With backlash compensation turned off, I could run BOTH the X and Y axes at ~100 IPM (and 20+ acceleration) without any issues. With backlash compensation turned ON I could be moving the X axis at 21 IPM and as soon as I make the Y axis move (at 2 IPM!) the X axis would stall. If I made the X axis move at 20 or less IPM I could seemingly make the Y axis go as fast as I want (all the way up to ~100 IPM!).

I don't think it's the motor, the drive, or the axis as I switched the pins for the X and Y axes (in the "Ports and Pins" configuration in Mach3) and the same thing would happen but with the axes reversed (the Y would stall if I tried to move the X at the same time).

Recap...
X@21 & Y@2 = no go
X@<20 & Y@100 = works fine
X@100 & Y@100 (both at 20+ acceleration) with backlash compensation OFF = works fine
Swap pins for the X and Y axes = no change in behavior

Anyone know what the problem may be? Please don't tell me I cannot compensate for backlash any more!
Attached Thumbnails
Click image for larger version

Name:	Clip.jpg‎
Views:	81
Size:	51.2 KB
ID:	76592  

Last edited by Hirudin; 02-28-2009 at 11:04 PM.
Reply With Quote

  #2  
Old 02-28-2009, 09:34 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,463
ger21 is on a distinguished road
Buy me a Beer?

If you have CV mode on, turn it off. It typically doesn't work well with backlash.

Also, you probably need to play with the Shuttle Accel setting in the General Config screen. It controls the backlash comp speed. Not sure how to set it, but there's some info in the CV docs here.

http://www.machsupport.com/docs/Mach3_CVSettings_v2.pdf
__________________
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

  #3   Ban this user!
Old 02-28-2009, 11:03 PM
Hirudin's Avatar  
Join Date: Jun 2008
Location: USA
Posts: 353
Hirudin is on a distinguished road

I think that's what it needed, thanks ger21! Specifically the shuttle wheel setting. I hate to go so far from the default (0.004) but I guess it needed to be bumped up to 0.1.

The CV mode setting didn't seem to change anything, but I'll probably leave it off anyway.

I knew I shouldn't have written that super-long post and just truncated it to something like "Unless I turn off backlash compensation my machine will not move in arcs. Help!".

I messed with my settings while fiddling with it, now I'll have to measure the backlash again... this time if it's under a thousandth I think I'll just leave it at "0". Smooth motion with very little backlash is preferable to little pauses with slightly less backlash IMO.
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
Why are both tables moving? Problems with Fagor 8070 AcryNom General CNC (Mill and Lathe) Control Software (NC) 1 11-13-2008 04:43 PM
17-20 Z axes column backlash Paul V Shopmaster/Shoptask 2 04-26-2008 08:58 AM
E1 and G28 codes causing offset problems ? northwestfab Fadal 7 10-02-2007 10:03 AM
Backlash Problems jhwatts Benchtop Machines 2 09-29-2006 06:42 PM
current induction in control wires causing problems Smertrios Gecko Drives 7 05-19-2006 01:30 AM




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