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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-06-2011, 06:14 AM
 
Join Date: Feb 2011
Location: Ukraine
Posts: 44
kievari is on a distinguished road
probe problem

Hi,

First of all I am not sure if I posted this question of "probe" to the right place? If not I hope Administrators move it to the right category.

I am first time going to implement the "probe" technique. My machine is a 6040 one. I read tutorials and my understanding is that I have to connect an I/O pin of the printer port (where my printer cable connects my cnc control box) to a probing tool (that must be made) and define that pin in, say, Mach3 setting as the "probe pin". Next, to connect the common ground from the printer cable, to the, say, drill bit of the machine. Other part is the software which is not my question.

I thought that hacking printer cable (if it is needed at all) must not be the right way to do that. Googling shows that others seem to connect wires to the control box, not the printer cable as I first thought!

I opened my control box and I found even a "probe" hole-couple there, ready for the usage. The thing is that the probe on my board (as you can see on the image attached) is a + and -, not the printer cable pin (as a reserved one, as I expected), showing +4.9V typical.

Please help me to find out how I can implement the "probe" the right way, in my situation.

Thank you in advance.
Attached Thumbnails
Click image for larger version

Name:	to_forum_on_probe_holes_on_pcb.jpg‎
Views:	42
Size:	69.7 KB
ID:	139481  
Reply With Quote

  #2  
Old 08-06-2011, 06:33 AM
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?

Are you probing the surface of an object, or using the probe to set tool length?
__________________
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

  #3   Ban this user!
Old 08-06-2011, 07:01 AM
 
Join Date: Feb 2011
Location: Ukraine
Posts: 44
kievari is on a distinguished road

Originally Posted by ger21 View Post
Are you probing the surface of an object, or using the probe to set tool length?

I was to learn the first, i.e. surface of object (mainly to start milling PCB for first time) and tool centering (or leading the tool exactly to a corner of an object, say a rectangle), the "set tool length" as a probing function is new to me. Would greatly appreciate if you please inform me of both.

Last edited by kievari; 08-06-2011 at 07:34 AM.
Reply With Quote

  #4   Ban this user!
Old 08-06-2011, 02:33 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

From the photo, the legend on the board says that the probe is connected to pin 13 of the LPT port.

It is possible that you are reading +4.9 volts on one pin of the two marked "probe" because that pin is "pulled high" through a "pull-up resistor" to the +5 volt power supply. If that is the case, then you should be able to short out that terminal to ground without damaging the board (and you should be able to detect that in your software by monitoring the state of pin 13).

If you want to verify that without risking damage to your board, you can try some experiments. For example, while monitoring that voltage with a multimeter, connect the terminal (that shows 4.9 volts) to ground through a 1,000 ohm resistor and see what that voltage changes to - if the pull-up resistor on the board is 1,000 ohms, you should see the voltage go down to 2.5 volts, or if the pull-up resistor is 4,700 ohms you should see the voltage go down to close to 1 volt, and so on, because you are making a resistor voltage divider.

The board is probably using a pull-up resistor on the probe line to make sure that when your software reads the signal on pin 13 of the LPT port, it will normally read a high signal except when the probe is touching ground, in which case it will read a low signal. In that case, you would set your software (for example, Mach3) to look for an "active low" probe signal.

The reason why the board has two pins for the probe is probably because they expect you to connect the probe to the board through a two-conductor cable, with one conductor connected to ground and the other conductor connected to the pin 13 probe input (at the board), and at the machine, the pin 13 connection wire is connected to a probe plate and the ground may be connected to a probe (or left unconnected if your probe is already reliably connected to ground). You could reverse the wires if the probe that you are using is not grounded, in which case the probe plate may be grounded.
Reply With Quote

  #5   Ban this user!
Old 08-06-2011, 11:26 PM
 
Join Date: Feb 2011
Location: Ukraine
Posts: 44
kievari is on a distinguished road

Thank you for the detail explanation, I still feel confused and you know as this is working with voltage of the cnc controller (which in case of bad damage I have to wait for a month to get back from China), I'm going to be very accurate and before understanding well, not to do physical experiment!

Some questions:

>It is possible that you are reading +4.9 volts on one pin of the two marked "probe"
# how on "one" pin? I've tested with voltmeter this way: I guessed and connected the black wire of voltemeter to one probe pin, and the red wire to the other probe pin, so I'm reading this voltage between two probe pin not "on one pin". Please kindly tell me what you mean with "one probe pin"?


Next, there is nothing written under non of the pins about where to connect them (which one to pin 13 as you say, and which one to machine). By your post, I got this way that I have to connect the ground out of the two probe pins to the machine, and the other probe (positive +4.9v one) to pin 13, but should the connection pin of the pin13 be found on this board? If yes, then where please? I can't see it!

>...connect the terminal (that shows 4.9 volts) to ground through a 1,000
ohm resistor
You mean, the probe pin with +4.9 right? If so, then you mean simply shorting these two probe pins with a 1M ohm resistor and then measure them again, right?

{Here I'm totally confused}:
>The reason why the board has two pins for the probe is probably because they expect you to connect the probe to the board through a two-conductor cable, with one conductor connected to ground and the other conductor connected to the pin 13 probe input (at the board), and at the machine, the pin 13 connection wire is connected to a probe plate and the ground may be connected to a probe (or left unconnected if your probe is already reliably connected to ground). You could reverse the wires if the probe that you are using is not grounded, in which case the probe plate may be grounded.

Sorry for I'm not that fast to understand from first time, here I also fear to damage and that makes progress yet slower!

Edit:
If that is not too much to ask and if that won't take your time a lot, would you kindly give me a step by step to go and set the probe system for this machine please? I mean like 1.conncect ground to machine, 2...
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-07-2011, 03:21 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

I am not able to answer in detail today, but maybe I will be able to do so tomorrow.

Do you have a friend who has electronics knowledge that can help you?

>It is possible that you are reading +4.9 volts on one pin of the two marked "probe"
# how on "one" pin? I've tested with voltmeter this way: I guessed and connected the black wire of voltemeter to one probe pin, and the red wire to the other probe pin, so I'm reading this voltage between two probe pin not "on one pin". Please kindly tell me what you mean with "one probe pin"?


Yes, that is what I meant - measuring the voltage on one probe pin compared with the other (or compared with ground).

Next, there is nothing written under non of the pins about where to connect them (which one to pin 13 as you say, and which one to machine). By your post, I got this way that I have to connect the ground out of the two probe pins to the machine, and the other probe (positive +4.9v one) to pin 13, but should the connection pin of the pin13 be found on this board? If yes, then where please? I can't see it!

If you look at the photograph that you attached to post #1, under the red and black wires at the lower left, it says "PROBE P13".

>...connect the terminal (that shows 4.9 volts) to ground through a 1,000
ohm resistor
You mean, the probe pin with +4.9 right? If so, then you mean simply shorting these two probe pins with a 1M ohm resistor and then measure them again, right?


I mean making a test by temporarily connecting those two probe pins with a 1K ohm resistor (1000 ohms) and then measuring the voltage again. Please report back the voltage measurement after you do that test.
Reply With Quote

  #7   Ban this user!
Old 08-08-2011, 12:21 AM
 
Join Date: Feb 2011
Location: Ukraine
Posts: 44
kievari is on a distinguished road

Thank you, I'll do the 1Kohm test tomorrow and report the voltage. For now please let me still make sure with some points.

Do you have a friend who has electronics knowledge that can help you?
Theoretically yes, practically no, but I'm not that bad in electronics

If you look at the photograph that you attached to post #1, under the red and black wires at the lower left, it says "PROBE P13".
Yes that is right, but then where is the pin-hole for connection there? All what I see is a pin-configuration printed on the PCB, as if it is a "help" text. I expected that I can find a place to connect wire to pin 13, just like probe pins. But then that means I have to somewhat "hack" the printer cable connecting CNC controller and computer right?

I mean making a test by temporarily connecting those two probe pins with a 1K ohm resistor (1000 ohms) and then measuring the voltage again. Please report back the voltage measurement after you do that test.
Now understand, I'll do it this way (please tell me any comment needed):
1. I'll solder 2 pin-headers to the probes
2. extend them with wire down to a breadboard
3. insert the 1K resistor into the breadboard
4. attach 2 wires beside each side of the resistor
5. touch them with my multimeter set on voltage test.

I appreciate your help and support, thank you
Reply With Quote

  #8   Ban this user!
Old 08-08-2011, 01:07 AM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

Originally Posted by kievari View Post
If you look at the photograph that you attached to post #1, under the red and black wires at the lower left, it says "PROBE P13".
Yes that is right, but then where is the pin-hole for connection there? All what I see is a pin-configuration printed on the PCB, as if it is a "help" text. I expected that I can find a place to connect wire to pin 13, just like probe pins. But then that means I have to somewhat "hack" the printer cable connecting CNC controller and computer right?
My hypothesis is that one of the two probe pins (the one that measures +4.9 volts) connects to pin 13 (either directly or possibly through an optoisolator).
Reply With Quote

  #9   Ban this user!
Old 08-08-2011, 03:53 AM
 
Join Date: Feb 2011
Location: Ukraine
Posts: 44
kievari is on a distinguished road

Originally Posted by doorknob View Post
My hypothesis is that one of the two probe pins (the one that measures +4.9 volts) connects to pin 13 (either directly or possibly through an optoisolator).
My question #1 is: method of "directly" connecting please? (no matter if probe is 13th or 15th pin)

Should I hack the cable? I won't solder to board, if there is no spec. header place for. Logically, cable is cheaper to replace than the board!

Or there is other method I don't know please?
Reply With Quote

  #10   Ban this user!
Old 08-08-2011, 06:54 AM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

Originally Posted by kievari View Post
My question #1 is: method of "directly" connecting please? (no matter if probe is 13th or 15th pin)

Should I hack the cable? I won't solder to board, if there is no spec. header place for. Logically, cable is cheaper to replace than the board!

Or there is other method I don't know please?
I do not understand your question.

It should not be necessary to hack the cable. If pin 13 is connected directly to one of the two holes in the board labeled "probe", why wouldn't you connect the probe there?
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-08-2011, 02:54 PM
 
Join Date: Feb 2011
Location: Ukraine
Posts: 44
kievari is on a distinguished road

Originally Posted by doorknob View Post
I do not understand your question.

It should not be necessary to hack the cable. If pin 13 is connected directly to one of the two holes in the board labeled "probe", why wouldn't you connect the probe there?
So it means that where I have "probe pins", one of them is already = pin 13, the other is to connect to CNC machine, say, to the tool, right?

if so, why at all they put "two header holes"? If one is already connected to pin 13, nothing to do with it, I won't need that at all, right? I only need the one (ground) that is going to be connected to the tool, so why the hole is presented there at all, yet loaded with +4.9v?

I can't get the PCB creator logic in this!
Reply With Quote

  #12   Ban this user!
Old 08-08-2011, 03:39 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

Originally Posted by kievari View Post
So it means that where I have "probe pins", one of them is already = pin 13, the other is to connect to CNC machine, say, to the tool, right?

if so, why at all they put "two header holes"? If one is already connected to pin 13, nothing to do with it, I won't need that at all, right? I only need the one (ground) that is going to be connected to the tool, so why the hole is presented there at all, yet loaded with +4.9v?

I can't get the PCB creator logic in this!
Almost.

The way that I think the board was designed is as follows:

1 - connect one end of a 2-wire cable to the "two header holes" (one wire to each header pin or header hole)

2 - bring the other end of that 2-wire cable to your machine

3 - my theory is that one of the wires from that cable (the one that measures +4.9 volts) probably is connected to pin 13 of the DB-25

4 - the other wire from that cable is probably connected to GND (at the board)

5 - so, at the machine, you can either:

a) connect the wire from pin 13 to a "z-axis touch plate" and connect the GND wire to your machine ground (spindle, tool, drill bit or whatever) which must also be connected to your metal probe

- or -

b) connect the wire from pin 13 to a z-axis probe (as long as the probe is not grounded!), and connect the GND wire to a z-axis touch plate

6 - set up your software so that the probe line, pin 13, is "active low"

7 - when the software tries to find the z-axis 0 coordinate, it should lower the probe until the probe makes contact with the z-axis touch plate. When the probe makes contact with the touch plate, the signal on pin 13 will change from +4.9 volts to 0 volts, and your software should see that as an "active low" signal.

So, that is how I think that it is supposed to work. Before testing that, though, I wanted to first test with the 1K ohm resistor to see whether my theory was correct (or to see whether my theory was supported).
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
renishaw probe problem dek Machinist Feedback 1 06-21-2011 12:15 PM
Mori MH50 Optical probe problem mpflanagan Mori Mills 1 12-14-2010 12:16 PM
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
Haas Renishaw Probe, Files problem?? mgb1974 Haas Mills 25 10-24-2008 01:15 PM
Super Probe 17 Functions in one probe thegimpster PIC Programing / Design 0 01-25-2008 12:46 PM




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