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 08-04-2010, 12:41 PM
 
Join Date: Jul 2004
Age: 74
Posts: 349
ozzie34231 is on a distinguished road
Probing---Need electronic guru

Hi All,
I've been working on a setup for probing on my lathe; screenset, VB scripts, etc.
It seened to me that for the probe there are 3 basic ways to go about it, an insulated cylindrical probe in a chuck, an insulated master tool, or an insulated QC tool post/holder.
The third is the really practical way to go if it can be done in a way that doesn't sacrifice rigidity.
Circuit board material is fairly thin, has good compressive strength, and cheap.
So I've insulated the post by placing a layer under it, a layer under the nut, and wrapping the stud with two layers of electrical tape.
Now comes my little problem:
My digital multi-meter shows total insulation between the post and all other parts of the lathe.
If I touch the probe wire to the post, there is no lighting of the screen LED.
Any place else I touch shows ground, (lighted LED).
If I run any one of my scripts from my screenset and use the probe wire to end the probe by touching the machine, all is well; the scripts conclude as they should.
Final test! I clip the probe wire to the insulated tool post and start a probe.
THE PROBE TRIPS OUT IN A SECOND. THE LED FLASHES, THE SCRIPT CONCLUDES.
I think I've gone over everything a hundred times, I have even tried a shielded probe wire, thinking it is noise when the servo starts. I've changed the insulation scheme, nothing helps.
I need HELP!
Ozzie
Reply With Quote

  #2   Ban this user!
Old 08-04-2010, 04:17 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

Ozzie,

I am not an electronics guru, but am willing to offer my 2 cents...

You'll have to post more details of the circuit to get a better answer, but here goes...

If you're using any CMOS gates, don't let the inputs float. Tie them to either supply rail through a resistor. A static charge can cause the outputs to change state.

Another thought is that the probe might be too sensitive to vibration. A slight movement of the probe (or machine) might be causing the probe to trigger.
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

  #3   Ban this user!
Old 08-04-2010, 05:15 PM
 
Join Date: Jul 2004
Age: 74
Posts: 349
ozzie34231 is on a distinguished road

Well the electronics are as simple as possible, and by the way, the exact same setup I use on my mill, same computer, control box, same all. And there it all works. The breakout board is a direct connect to the parallel port cable, nothing on it but traces from the posts to the wires.
Ozzie
Reply With Quote

  #4   Ban this user!
Old 08-04-2010, 08:19 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

Ozzie,

Just a few questions to make sure that I understand your setup.

Your lathe is grounded to the computer's logic ground ?
The probe wire is directly connected to one of the parallel port input pins?
When the probe wire touches any metal on the lathe, the input pin is forced to logic ground?
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

  #5  
Old 08-04-2010, 09:12 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

In spite of the PC P.S. common being at ground potential, it is not a good idea to use ground as a conductor, normally probes should have two conductors, one for the trigger input and the other should go back to the P.S. common.
I know many hobby probes use the ground method, but industrial types always use a two conductor system.
Whether this is the reason for the glitch is debatable and would have to be verified.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-05-2010, 08:15 AM
 
Join Date: Jul 2004
Age: 74
Posts: 349
ozzie34231 is on a distinguished road

Eurisko, yes to all.
Reply With Quote

  #7   Ban this user!
Old 08-05-2010, 10:53 AM
 
Join Date: Jul 2004
Age: 74
Posts: 349
ozzie34231 is on a distinguished road
Fix??

Well with my limited knowledge of such things I found a fix. I put a 100 ohm resistor in the probe wire, and now it works, though the testing is limited so far.

Okay that's a solution, but I'd still like to know what problem the is.
Ozzie

Last edited by ozzie34231; 08-05-2010 at 10:54 AM. Reason: Bad English
Reply With Quote

  #8   Ban this user!
Old 08-05-2010, 12:42 PM
florins's Avatar  
Join Date: Jul 2008
Location: Ireland
Posts: 52
florins is on a distinguished road

One 0.1 uF capacitor installed in parallel to the input (between the probe wire and the ground) might help in case you have a lot of noise generated by the drivers. There is no fast fix for this, but with such probes you should really look into protecting the input of the BOB / parallel port card, as the high static voltages generated can easy damage the ports.
The attached schematic might help, sometimes the diodes are included already in the circuitry of the BOB, but adding the extra protection will not produce any harm. The 1k resistor can be a bit on the hight side if the inputs are pure TTL, but for the modern circuits is just fine. Otherwise, you can reduce it to 330 ohms.

All the best,
Florin
Attached Thumbnails
Click image for larger version

Name:	cnc-probe-protection.jpg‎
Views:	43
Size:	36.9 KB
ID:	112246  
Reply With Quote

  #9   Ban this user!
Old 08-05-2010, 05:07 PM
 
Join Date: Jul 2004
Age: 74
Posts: 349
ozzie34231 is on a distinguished road

Thanks for the thoughts Florins.
I'd still like someone to suggest why the insulated toolpost act differently from a plastic handled screwdriver stuck in the chuck?????????
Ozzie
Reply With Quote

  #10   Ban this user!
Old 08-05-2010, 05:14 PM
florins's Avatar  
Join Date: Jul 2008
Location: Ireland
Posts: 52
florins is on a distinguished road

...why the insulated toolpost act differently from a plastic handled screwdriver stuck in the chuck?...
Just a guess, as you didn't provide too much data: bigger capacitance between the toolpost and the machine ground, proximity of the cable to servo/stepper cables, etc.

Florin
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-05-2010, 05:41 PM
 
Join Date: Jul 2004
Age: 74
Posts: 349
ozzie34231 is on a distinguished road

Since I'm electronically disadvantaged I don't know what data to supply. I don't understand "capacitance between the toolpost and the machine ground". Can you explain in oldslowmind to me.
I stuck the resistor in there because it seemed to me the post was too sensitive and I thought a resistor would calm it down; not through any insight.
I did try various arrangements of the probe wire relative to the servos and servo wires; no effect!
Ozzie
Reply With Quote

  #12  
Old 08-05-2010, 05:53 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

#1, the toolpost is on a travelling carriage and not rigidly attached to the rest of the lathe.
If I were to look for the source of the problem, the first thing I would do is take a 5v common conductor from carriage back to the PC common, even if it is only to the P.P. common.
We do not know how you have wired the machine grounding and bonding etc.
This can have a large bearing on how your circuit behaves, especially if you are depending on common return through the frame of the machine.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
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
looking for autodesk Inventor guru need help eloid Autodesk Software (Autocad, Inventor etc) 20 09-06-2010 11:01 AM
Opportunity for UG Guru arobustus UG NX 1 03-15-2009 12:54 AM
UK CNC Guru required Drakkn Mentors & Apprentice Locator 8 12-19-2007 10:53 AM
Looking for CNC guru in Raleigh, NC mrk Mentors & Apprentice Locator 2 02-12-2007 06:34 PM
I need an electronic guru.... turmite General Electronics Discussion 9 01-12-2005 02:01 PM




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