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! > Electronics > Gecko Drives


Gecko Drives Discuss all Gecko drives here and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-15-2009, 05:16 PM
 
Join Date: Dec 2007
Location: USA
Posts: 18
gotfdirtball is on a distinguished road
G540 debug problem

Let me start by saying I'm new to this stuff and just getting my first project together. It's an X - Y table with the following:

KL23H284-35-4B Motors
KL-350-48 48V/7.3A Power Supply
G540 Drive
Mach3 Software


I'm having trouble with getting my table to move correctly. The problem is sometimes the X & Y move and sometimes they don't. They never fail to jog or home correctly - only when I'm running a program. For example, if I try to cut a square, it may start out cutting in the X direction fine, then when it gets to the Y move, it sometimes moves, sometimes don't, and sometimes after it's supposed to be halfway through the cut it will start to move. Then the same behavior on the X. All the while, the digits on Mach's DRO are clicking off as if it should be moving. I've tried feed rates of 2 -6 inches per minute and this happens even if cutting air. I added 2 micro seconds to the step with no appreciable improvement. I don't think it's cable connections otherwise it wouldn't jog and home correctly as it does.

I'm not real tech savy so only thing I know to try is maybe a different parallel cable connecting the G540 to the computer. Any other suggestions GREATLY appreciated.
Reply With Quote

  #2   Ban this user!
Old 03-15-2009, 05:22 PM
 
Join Date: Dec 2007
Location: USA
Posts: 18
gotfdirtball is on a distinguished road

Oh two other things. I tried changing the X output pins and run it on the Z driver and got the same results. And I also noticed the G540 was warm. Am I doing something to over heat it?
Reply With Quote

  #3   Ban this user!
Old 03-15-2009, 05:47 PM
 
Join Date: Dec 2007
Location: USA
Posts: 18
gotfdirtball is on a distinguished road

Thought of something else. Computer:

Dell 2350 with 1.8 GHz Processor and 512 Ram. I installed a separate video card last weekend and turned off the onboard driver.
Reply With Quote

  #4   Ban this user!
Old 03-15-2009, 06:09 PM
 
Join Date: Apr 2007
Location: USA
Posts: 284
LaserImage is on a distinguished road

Are the steppers making any noises when they should be turning? If so, you may need to reduce the acceleration or speed in Mach. Unless you have a binding issue you should be able to get at least 100ipm out of those motors, if not more. I get over 120 out of mine and I am using a 24v psu.

What are the settings in motor tuning? Speed and acceleration.

Gary
Reply With Quote

  #5   Ban this user!
Old 03-15-2009, 07:30 PM
 
Join Date: Dec 2007
Location: USA
Posts: 18
gotfdirtball is on a distinguished road

No, I don't recall any noise when they should be moving.

Just went out and checked settings. Speed 75 in/min Acceleration 5 in/min. It seems to jog, home, and maybe even rapid fine. It's just flaky when I'm trying to run G code.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-16-2009, 06:35 PM
 
Join Date: Dec 2007
Location: USA
Posts: 18
gotfdirtball is on a distinguished road

I may have made an important observation today when trying out a new cable. Whenever I ran a program at 6 ipm it seemed to run and repeat fine. When I slowed it down to 2 ipm, the problem came back. Does this sound more like a Mach problem or G540 problem?
Reply With Quote

  #7  
Old 03-16-2009, 07:41 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by gotfdirtball View Post
Does this sound more like a Mach problem or G540 problem?
More like a PC problem. Is the port set to EPP in the bios? You have the pulse with set to 2 in the motor tuning? Try setting the pulse width to 30 or 40. It's worked for others who've had similar problems.
__________________
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

  #8   Ban this user!
Old 03-17-2009, 07:40 PM
 
Join Date: Dec 2007
Location: USA
Posts: 18
gotfdirtball is on a distinguished road

Thanks Ger21. That just may have fixed it!!!!!!! I also noticed I didn't have the problem until I actually turned the mill on. It must be some noise feeding back from the 220V motor on the bridgeport and the added step pulse width seems to have cured it. I actually worked up the courage to cut a part and it came out perfect!!!

I may also put a UPS on the computer and power supply to try to ward off noise.

Thanks again,

Jerry S.
Reply With Quote

  #9  
Old 03-17-2009, 08:44 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

The long step pulse is not a fix, it's a hack to work around an electrical issue. If it doesn't hinder you're speeds, then you probably don't need to worry about it.


Originally Posted by gotfdirtball View Post
Thanks Ger21. That just may have fixed it!!!!!!! I also noticed I didn't have the problem until I actually turned the mill on. It must be some noise feeding back from the 220V motor on the bridgeport and the added step pulse width seems to have cured it. I actually worked up the courage to cut a part and it came out perfect!!!

I may also put a UPS on the computer and power supply to try to ward off noise.

Thanks again,

Jerry S.
__________________
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

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

I have this exact same problem, but with my Z axis. See my post in the mach3 forum for more details:
http://www.cnczone.com/forums/showthread.php?t=76084

Gerry, I have not gotten to try your suggestion yet but I will once I get my Y axis thrust bearing working again, hopefully tonight. I was just surfing around for a few minutes looking for other things to try when I get the time and found this.

Similarly, in the move I noticed the Z axis not moving, the Z was supposed to be moving very slowly. However, the X and A (slaved) were also moving very slowly and seemed to be doing fine. The Y was moving quickly - traversing 4 feet at ~ 150ipm. Also, the Z would randomly miss steps - it was not a consistent amount of motion that would be lost.

One piece of information I can add is that my machine has this problem even when my router (spindle) is not running. Does anyone have an idea as to what could be causing noise problems or where to look? Would this be noise on the power input to the computer that makes it to the parallel port outputs or something like that? Could noise be making it in to the system from something connected to the G540? I'd rather understand it and fix the source.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-23-2009, 11:38 AM
jsheerin's Avatar  
Join Date: Aug 2008
Location: US
Posts: 1,132
jsheerin is on a distinguished road

I tried this (25us step pulse) this weekend and it seemed to fix the problem. It's hard to say for sure since it was intermittent, but I haven't had problems with the things I've been cutting.
Reply With Quote

  #12   Ban this user!
Old 10-01-2009, 08:25 AM
jsheerin's Avatar  
Join Date: Aug 2008
Location: US
Posts: 1,132
jsheerin is on a distinguished road

So my Z-axis problem has reared it's head again after about 6 months of no problems. It failed to move up after a cut and destroyed all the parts I'd just been cutting for 2 hours by slicing through them at full depth. Then it plunged the bit through my spoil board into an aluminum rail on my machine because it thought it was above the material. That's when the router tripped the fuse in my power strip and everything shut down. Of course that part's my fault for not have a limit switch at the bottom of my z travel. I checked my code and it was fine.

So the longer step pulse was not a permanent fix. Does anyone know what the root problem is here? Is it the the parallel port not putting out good pulses? I have a scope and can look at this stuff. I just don't really know what to look at or for. It seems odd to me that it would be the computer - I would think I would have been having random errors on all my axes before. The Z axis cable is the longest, so I would think it might be noise pick up (although the cable is shielded) or something in the G540 since it's only on the one axis. So I will try shortening my step pulse again tonight, try to duplicate the error, then try swapping to a different driver in the G540 for the Z axis to see if I still only have z axis errors. That should at least eliminate the cabling to the motor.

Any thoughts appreciated. This is shutting down my production (even though it's just a part time thing), so I'm really anxious to figure this out.
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
G540 Spindle speed output voltage problem georgef8 Gecko Drives 5 09-22-2009 10:18 AM
G540 Rev.1 has problem sse4 Gecko Drives 6 02-25-2009 07:48 AM
Need Help!- G540 problem, steppers not moving CS900 Gecko Drives 36 11-13-2008 10:38 AM
G540 fault problem jemmyell Gecko Drives 12 10-21-2008 05:50 PM
Help needed to Debug G41 G42 problem Al_The_Man General CAM Discussion 4 07-05-2004 06:22 PM




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