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 02-08-2009, 01:26 PM
 
Join Date: May 2007
Location: USA
Posts: 121
Astroguy is on a distinguished road
G540 E-stop and Mach3

How do I get Mach3 to know when I trip the e-stop on the G540?
I may already know but I was hoping I would not have to install a breakout board.

Fred
Reply With Quote

  #2  
Old 02-08-2009, 02:22 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

It is available on DB25 pin 15.

Mariss
Reply With Quote

  #3   Ban this user!
Old 02-08-2009, 03:13 PM
 
Join Date: Apr 2007
Location: USA
Posts: 284
LaserImage is on a distinguished road

The 540 has an integrated bob, you don't need another one. Configure your e-stop in mach to use the pin Mariss indicated.
Reply With Quote

  #4   Ban this user!
Old 02-08-2009, 08:25 PM
 
Join Date: May 2007
Location: USA
Posts: 121
Astroguy is on a distinguished road

Originally Posted by LaserImage View Post
The 540 has an integrated bob, you don't need another one. Configure your e-stop in mach to use the pin Mariss indicated.

I tried that and it does not work. As far as I can tell the G540 does not send a signal to any pin at all.
Reply With Quote

  #5  
Old 02-08-2009, 08:29 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?

How is your E-stop wired to the G540? And in Mach3, is it set to port 1, pin 15? Active high or active low?
__________________
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 02-09-2009, 06:38 AM
 
Join Date: May 2007
Location: USA
Posts: 121
Astroguy is on a distinguished road

Originally Posted by ger21 View Post
How is your E-stop wired to the G540? And in Mach3, is it set to port 1, pin 15? Active high or active low?
It is wired to pins 10 and 12 on the G540. Yes Mach3 is set to port 1, pin 15 and I have tried active high and low with no luck. In Mach3 Diagnoses there is no signal detected on any pin when the e-stop is tripped. Are you saying that pin 10 on the G540 corresponds to pin 15 in Mach3?
Reply With Quote

  #7   Ban this user!
Old 02-09-2009, 08:40 AM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

You have it wired correctly:

From G540 manual:

7) E-STOP SWITCH: Connect a single pole, single throw (SPST) switch to the DISABLE input Pos 10 on the MAIN
TERMINAL BLOCK. The other end of the switch goes to Pos 12 on the terminal block. Opening the switch disables
the G540 and closing the switch enables it. While disabled, the motors freewheel (zero torque) and the OUTPUT
terminals shut off.

See wiring diagram:

http://geckodrive.com/upload/G540%20REV3%20MANUAL.pdf

Setup guide:

http://geckodrive.com/upload/G540InitialSetup.pdf

Make sure your parallel port is working and your parallel cable is "straight thru"

CR
Reply With Quote

  #8   Ban this user!
Old 02-09-2009, 02:49 PM
 
Join Date: May 2007
Location: USA
Posts: 121
Astroguy is on a distinguished road

Originally Posted by Crevice Reamer View Post
You have it wired correctly:

From G540 manual:

7) E-STOP SWITCH: Connect a single pole, single throw (SPST) switch to the DISABLE input Pos 10 on the MAIN
TERMINAL BLOCK. The other end of the switch goes to Pos 12 on the terminal block. Opening the switch disables
the G540 and closing the switch enables it. While disabled, the motors freewheel (zero torque) and the OUTPUT
terminals shut off.

See wiring diagram:

http://geckodrive.com/upload/G540%20REV3%20MANUAL.pdf

Setup guide:

http://geckodrive.com/upload/G540InitialSetup.pdf

Make sure your parallel port is working and your parallel cable is "straight thru"

CR
The G540 works fine and shuts down fine with the e-stop, it just does not tell Mach3 the e-stop has been tripped and the program keeps running. It worked fine before when I had a break-out board for the e-stop but I wanted to get rid of the extra wiring and break-out board and wire it thru the G540 and now it does not shut down Mach3. If the G540 sends a signal to pin 15 is it high or low. I am using the same cable now as I did with the break-out board.
Reply With Quote

  #9  
Old 02-09-2009, 04:13 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

Here is a sure-fire test for the E-stop to Mach3 feedback.

1) Remove all DB9 and DB25 cables from the G540.
2) Set the slide switch to IGNORE CHARGE PUMP.
3) Jumper DISABLE term 10 to terminal 12.
4) Connect power supply to terminals 11 and 12. You should get a green LED.
5) Measure the voltage on DB15 to DB25 gnd. It should be 0VDC.
6) Disconnect DISABLE jumper. You should get a red LED.
7) Measure the voltage on DB15 to DB25 gnd. It should be 3.3VDC or more.

If you get those results then the G540 is sending an E-stop signal back to Mach3.

Mariss
Reply With Quote

  #10   Ban this user!
Old 02-09-2009, 06:35 PM
 
Join Date: May 2007
Location: USA
Posts: 121
Astroguy is on a distinguished road

Originally Posted by Mariss Freimanis View Post
Here is a sure-fire test for the E-stop to Mach3 feedback.

1) Remove all DB9 and DB25 cables from the G540.
2) Set the slide switch to IGNORE CHARGE PUMP.
3) Jumper DISABLE term 10 to terminal 12.
4) Connect power supply to terminals 11 and 12. You should get a green LED.
5) Measure the voltage on DB15 to DB25 gnd. It should be 0VDC.
6) Disconnect DISABLE jumper. You should get a red LED.
7) Measure the voltage on DB15 to DB25 gnd. It should be 3.3VDC or more.

If you get those results then the G540 is sending an E-stop signal back to Mach3.

Mariss
Thanks, I will try that as soon as I can and report back.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-09-2009, 08:01 PM
 
Join Date: Jun 2005
Location: USA
Posts: 196
Richards is on a distinguished road

The problem seems to be with Mach 3. (I'm running an older version - 2.41.)

I had the same problem. I connected a N/C switch between Main Terminal Block Position 10 (Disable) and Position 12 (Gnd). In Mach 3 Config -> Ports and Pins -> Input Signals -> E-Stop, Enabled (Green chk mark), Port 1, Pin 15, Active Low NOT checked (Red X), Emulated NOT checked (Red X). When I clicked the Reset button in Mach 3, the G540 status LED flashed Red -> Green -> Red. On the Diagnostic's screen, the Emergency LED continuously flashed.

The solution was to check-mark the "ChargePump ON in E-stop under General Config:

Config -> General Config -> Check mark the box [ChargePump On in E-stop] under General Config sub-section.

After making that change, the Mach 3 reset button works properly and the G540 is enabled (Green LED ON). When the E-stop on the G540 is opened (change from N/C to N/O), the G540's status changes to RED and Mach 3 receives the E-stop signal causing Mach 3 to properly stop. However, pressing the Mach 3 Reset button multiple times only toggles the E-stop on Mach 3; the G540 stays enabled. (I'm assuming that that is exactly what is supposed to happen, i.e., the G540's E-stop should disable the G540 and send an E-stop signal to Mach 3, but when Mach 3's Reset button is pressed, only Mach 3 stops and G540 is able to continue to send power to the stepper motors.)
Reply With Quote

  #12   Ban this user!
Old 02-10-2009, 06:29 AM
 
Join Date: May 2007
Location: USA
Posts: 121
Astroguy is on a distinguished road

Originally Posted by Mariss Freimanis View Post
Here is a sure-fire test for the E-stop to Mach3 feedback.

1) Remove all DB9 and DB25 cables from the G540.
2) Set the slide switch to IGNORE CHARGE PUMP.
3) Jumper DISABLE term 10 to terminal 12.
4) Connect power supply to terminals 11 and 12. You should get a green LED.
5) Measure the voltage on DB15 to DB25 gnd. It should be 0VDC.
6) Disconnect DISABLE jumper. You should get a red LED.
7) Measure the voltage on DB15 to DB25 gnd. It should be 3.3VDC or more.

If you get those results then the G540 is sending an E-stop signal back to Mach3.

Mariss
I checked all the steps above and when the e-stop is not pressed I got 0 volts when I trip the e-stop I only get 0.11 Volts?????
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
Need Help!- E-Stop, Probotix PBX-RF, and Mach3 jeffmorris DIY-CNC Router Table Machines 18 11-21-2010 11:40 AM
New Machine Build- EMC2 E-stop parallel port pinout and E-stop loop GreenLead LinuxCNC (formerly EMC2) 12 08-03-2010 12:05 PM
G540 Mach3 XML File CoAMarcus Gecko Drives 4 11-07-2008 11:38 PM
G540 Low voltage for E-stop and limits? MrWild Gecko Drives 4 10-14-2008 04:28 AM
Super X3 spindle start/stop from Mach3 jallitt Benchtop Machines 1 06-22-2008 08:23 AM




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