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! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-01-2009, 08:55 PM
 
Join Date: Dec 2006
Location: United States
Posts: 216
webgeek is on a distinguished road
Ugh, Bad Luck from Day One with G540

Hi all; I got my GeckoDrive G540, 3 steppers, and power supply in the mail on Friday. I went ahead and set up an old machine with dual boot into Ubuntu so I could run EMC2 (trying to save money by not buying software and I prefer it's interface to Mach3.) I also snagged a "parallel data transfer" cable which is a printer cable with male connections on both sides.

I wired up the power supply to an extension cord. I then attached pin 11 (on the gecko) to positive and 12 to negative on the power supply. I also ran 10 to negative to simulate an estop being connected. I configured EMC to send out the required charge pump signal on pin 16 (of the parallel port) and then fired everything up. Nothing happened except the "Fault" light on the Gecko stayed on. I double checked everything - it's all wired correctly. If I turn off the charge pump requirement on the gecko, Fault goes off, but I can't jog any axis or get anything to happen in either state. In short, only estop faked, computer plugged in, and power connected == fault.

I then installed Mach 3 trial on the same machine (Vista 32bit) as I assumed it might be a Linux issue and used the Gecko G540 XML file - from the Gecko site - to configure it. Exact same behavior - Fault is always on unless I tell it ignore the charge pump.

As best I can tell the Gecko and the computer are not talking. Is this the wrong printer cable? The use of a male DB25 on the Gecko is odd considering standard printer cables don't use a male connector on both ends. I'm worried this might be a null-modem style cable though it doesn't say it's a crossover on the packaging anywhere. Do you guys typically use an off the shelf cable and a gender changer?

I have no reason to assume the parallel port doesn't work though I have no way to test it either. Windows sees the drivers installed correctly. Neither Mach3 nor EMC2 complained about the port in any way.

Part of my buying the Gecko was to avoid the mess of a breakout board but I'm starting to wonder if that's the only way to figure out what's wrong. Is there any way to diagnose problems? The Gecko manual is a prime example of minimal information - it's only three pages and one of those is just a diagram. Here is it's section on the cable "PARALLEL PORT CABLE: Use a parallel port cable to connect the G540 to the PC. The G540 end of the cable must be a male DB25 connector." - Pretty enlightening.

Anyways, pretty frustrated at this point because the red Fault light is taunting me. It wants me to know something is wrong but doesn't want to be helpful in any way.

Any help or suggestions would be greatly appreciated, thanks!

Mike

P.S. I'm hoping it's the type of printer cable, going to be a problem if I have to use a different computer.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 11-01-2009, 09:09 PM
 
Join Date: Sep 2003
Location: OK
Posts: 126
Jeff Davis is on a distinguished road

I hope you have a meter or access to one.

Printer cable quick check: With a meter on ohms make sure you can read pin 1 to pin 1, pin 2 to pin 2, and so on with all pins of the cable. If 2 and 3 are swapped you have a null modem cable.

I noticed the electronics forum here at CNC Zone has some posts relating to the G540 that might be able to help you.


Jeff
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 11-01-2009, 09:32 PM
 
Join Date: Sep 2003
Location: OK
Posts: 126
Jeff Davis is on a distinguished road

Take a look at this thread.

Gecko 540 Charge pump settings


Jeff
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 11-01-2009, 09:37 PM
 
Join Date: Feb 2006
Location: USA
Posts: 2,057
HimyKabibble is on a distinguished road

A "parallel transfer cable" is NOT the right cable to use! That is intended for LapLink and other PP to PP communications programs. It has many, many pins swapped. What you need is a 25-pin "straight-thru" cable - a simple printer extender cable.

Regards,
Ray L.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 11-01-2009, 10:31 PM
 
Join Date: Sep 2003
Location: OK
Posts: 126
Jeff Davis is on a distinguished road

Good catch on the cable, I totally missed that in the first read.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-01-2009, 10:43 PM
 
Join Date: Dec 2006
Location: United States
Posts: 216
webgeek is on a distinguished road

A "parallel transfer cable" is NOT the right cable to use! That is intended for LapLink and other PP to PP communications programs. It has many, many pins swapped. What you need is a 25-pin "straight-thru" cable - a simple printer extender cable.
I thought that might be the case - problem is that neither the manual nor the "initial setup" guide make it clear the type of cable one way or the other. And by using a female connector on the device itself rather than the expected standard printer male connector it gets even less clear what the intent might be - and it requires a gender changer for no good reason.

Either way, at least it's an easy fix. Thanks much for the help everyone!

Mike
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 11-01-2009, 10:50 PM
 
Join Date: Feb 2006
Location: USA
Posts: 2,057
HimyKabibble is on a distinguished road

Originally Posted by webgeek View Post
I thought that might be the case - problem is that neither the manual nor the "initial setup" guide make it clear the type of cable one way or the other. And by using a female connector on the device itself rather than the expected standard printer male connector it gets even less clear what the intent might be - and it requires a gender changer for no good reason.

Either way, at least it's an easy fix. Thanks much for the help everyone!

Mike
Any decent computer shop should have a male-to-male straight-thru cable. It's a very common cable.

Regards,
Ray L.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 11-02-2009, 06:24 AM
draughted's Avatar  
Join Date: Sep 2007
Location: australia
Posts: 201
draughted is on a distinguished road

just in case its not the cable
i happen to use a 540 with emc and
i on top of the charge pump have to use
1 as estop
15 as probe in
17 as amplifier enable
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 11-02-2009, 02:00 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Set the Parallel port to epp in computer bios.

Here's an $8.95 proper cable that you can get pretty quick if you order it today:

http://kelinginc.net/CNCPackage.html

CR.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 11-02-2009, 02:03 PM
 
Join Date: Dec 2006
Location: United States
Posts: 216
webgeek is on a distinguished road

Quick update: it was just the cable. I switched to a different cable not twenty minutes ago and everything worked first try. Thanks much for all the help!

One interesting thing to note - running tests in EMC2 produced much smoother motion than running them in Mach3. There were absolutely no "audible blips" when running many different tests in EMC2 but just jogging in Mach3 would occasionally "blip". Kind of interesting. Fortunately I was planning on using EMC2 either way so it's all good.

Thanks again!

Mike
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-02-2009, 02:39 PM
 
Join Date: Feb 2006
Location: USA
Posts: 2,057
HimyKabibble is on a distinguished road

Originally Posted by webgeek View Post
Quick update: it was just the cable. I switched to a different cable not twenty minutes ago and everything worked first try. Thanks much for all the help!

One interesting thing to note - running tests in EMC2 produced much smoother motion than running them in Mach3. There were absolutely no "audible blips" when running many different tests in EMC2 but just jogging in Mach3 would occasionally "blip". Kind of interesting. Fortunately I was planning on using EMC2 either way so it's all good.

Thanks again!

Mike
That's because Linux is much better behaved than Windows, and it doesn't spend near as much time in the OS doing stupid "eye candy" things. Get a SmoothStepper, and you'll be amazed at how much smoother it can really be.

Regards,
Ray L.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 11-02-2009, 06:53 PM
Jeff-Birt's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 392
Jeff-Birt is on a distinguished road

One interesting thing to note - running tests in EMC2 produced much smoother motion than running them in Mach3. There were absolutely no "audible blips"
Sounds like you need to optimize your Windows installation for running Mach.
__________________
Jeff Birt
Tweet this Post!Share on Facebook
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
Just my luck Sx3 Rainman229 Syil Products 7 09-23-2009 01:16 AM
just my luck Set up a coolant tank Rainman229 Shopmaster/Shoptask 6 02-26-2009 12:18 PM
Bad Luck??? (long post) Brad Morris Mori Mills 1 10-25-2008 10:24 PM
Pluto Servo - Any luck with EMC 2.2.2 TZak LinuxCNC (formerly EMC2) 6 01-05-2008 11:09 AM
has any one had luck with 0.6a steppers? opusinwood Stepper Motors and Drives 8 06-06-2006 09:06 AM




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