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 11-04-2011, 07:41 PM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road
G540 and a Wildhorse Probe?

I am running a G540 and I do have the Wildhorse Probe which worked great on my Hobby Cnc Pro board. The function of the probe works fine as long as I have it wired backwards in the G540's input 4 (red to ground, white to pin 13) however the LED does not(direction of current is essential in an LED). If I swap the wires on the G540 the LED will light but no trigger is caused. I have been told this might be due to the optoisolation circuit of the G540. What is everyone else doing? Adding a resistor? If so what value? I want both the LED to light when triggered and for Mach to see the signal. Thanks
Reply With Quote

  #2   Ban this user!
Old 11-04-2011, 11:32 PM
 
Join Date: Apr 2004
Location: VA, USA
Posts: 75
morestuff is on a distinguished road

This problem can also occur when using the Wildhorse probe
with most breakout boards, especially those that use current
from the input pin flowing through an opto isolator.

The reason there is a problem is that the current that
lights the LED in the probe is effectively a leakage current
that must flow through the input terminal of the G540 or
breakout board. An external resistor can help divert most
of the leakage current away from the breakout board input.

In the case of a PMDX-125 or PMDX-126, an external pull-up
resistor to +5 volts can solve the problem. We recommend a
470 ohm resistor. Next time we update our design, we will
make a provision on the board to add this resistor internally.

In the case of the Geckodrive G540, the internal supply is
12 volts. There are two problems posed by the G540. First,
the resistor values needed to work with a 12 volt supply
become impractical due to excessive current through the
probe and second, the G540 does not bring its internal 12 volt
supply out to an externally available terminal.

Your solution of wiring the probe backwards so that the LED
does not conduct is probably OK, but be aware the most
LED's specify a reverse breakdown voltage lower than 12 volts.
Opening the probe and clipping the wire between the LED and
the resistor inside will eliminate the leakage current that prevents
the probe from working with a G540.

Regards,
Steve Stallings
www.PMDX.com
Reply With Quote

  #3   Ban this user!
Old 11-05-2011, 07:29 AM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

Would using a 5v power supply for the probe allow me to work around that?
Reply With Quote

  #4   Ban this user!
Old 11-05-2011, 09:56 AM
 
Join Date: Apr 2004
Location: VA, USA
Posts: 75
morestuff is on a distinguished road

Unfortunately no. The 12 volt supply inside the G540 is
directly connected to the LED part of the opto-coupler,
so converting the G540 circuit to 5 volt operation would
require major surgery on the G540. It would be better
to create an external 5 volt powered circuit to handle
the "leakage" current and provide a buffered signal to
the G540.

Regards,
Steve Stallings
www.PMDX.com
Reply With Quote

  #5   Ban this user!
Old 11-05-2011, 10:26 AM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 413
john_100 is on a distinguished road

hi fastest1 ,

as I understand with the Hobby CNC board you had the probe
connected to one of the printerport input pins and a 10K pull up resistor to +5V

but the Gecko G540 input is the cathode of the opto isolators led
the anode being connected to +12V via a 2K2 resistor

the 2.5mA current through the probes led indicator is too high
and you don't see the probe switch open

any idea whats the current limit for the probe switch contacts
and indicator led ?

connecting a +12v supply via a 330 ohm resistor to the probe and gecko input
could be the simplest option , but will pass about 37mA through the probe contacts and about 10 mA through the led

for a lower voltage than 12V,
you need a buffer circuit with an open collector output
a NPN transistor and two resistors will do as in the circuit below
note the signal is inverted and you will need to invert it again in Mach3


John
Attached Thumbnails
Click image for larger version

Name:	touch probe adaptor.jpg‎
Views:	42
Size:	36.3 KB
ID:	145467  

Last edited by john_100; 11-05-2011 at 10:42 AM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-05-2011, 10:47 AM
 
Join Date: Apr 2004
Location: VA, USA
Posts: 75
morestuff is on a distinguished road

The second circuit in your sketch, using a transistor,
should work well. Remember to invert the sense of
the signal in the software configuration.

Remember that the G540 does not present its regulated
12 volts on any external terminal, so surgery on the
G540 or an external supply will be required.

The first circuit, I think, has problems. With about
10 mA of current flowing through the probe's LED
there would also be 10 mA through the 330 ohm
resistor. This will develop 3.3 volts across the 330
ohm resistor. This is enough voltage to make almost
1 mA of current flow through the LED inside the
opto-coupler in the G540. This is just enough to
be a likely cause of unreliable operation as the
opto may not turn off when it should.

You could make the 330 ohm resistor smaller in
value to compensate, but this would cause even
more current to flow through the probe contacts
when it was not triggered. I have not looked at
the 12 volt regulator inside the G540, but it may
get unhappy as the load current gets greater. If
the probe contacts can take the higher current
and you use an external 12 volt supply, it might
work.

Regards,
Steve Stallings
www.PMDX.com
Reply With Quote

  #7   Ban this user!
Old 11-05-2011, 12:02 PM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

It works so flawlessly. Sure wished there was a simple way. I dont need the LED verification and as a matter of fact I would never be able to stop the machine if I had noticed the LED didnt light upon contact. Most likely just clip the LED.
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
Wildhorse Digitizing Touch Probe on eBay apeman88 Tormach PCNC 0 08-05-2011 07:16 PM
Need Help!- if you had 300$ for a probe 7718 Digitizing and Laser Digitizing 1 03-02-2010 10:45 AM
Mach Probe plug in what is "maximum z height for stuck probe" option do? Rich05 Digitizing and Laser Digitizing 7 04-11-2009 12:05 PM
Super Probe 17 Functions in one probe thegimpster PIC Programing / Design 0 01-25-2008 12:46 PM
CMM probe sab Open Source Controller Boards 3 03-07-2006 04:37 AM




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