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 Wizards, Macros, & Addons



This forum is sponsored by:

Reply
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-08-2008, 03:44 PM
 
Join Date: Jun 2007
Location: United States
Posts: 54
erniebro is on a distinguished road
XYZ Probe modification

I've spent the last couple of days tracking down how to use the digitizing capability of Mach3 to implement a z-depth and centering tool. There were several threads that were very helpful but didn't quite fill in all the blanks- http://www.cnczone.com/forums/showthread.php?t=36099

So in the interest of saving someone in the future the trouble of figuring this out here is a cook book on how to do it. Caveats: This article assumes you are using Mach3.

Here is a video of how this works:

Theory of operation: Mach3 allows you to read an input line through the parallel port that can be used for detecting contact with a metal plate. In conjunction with the G-code probe command (G31) you can drive your gantry under software control until it hits the plate. This facility can be used to very accurately move your bit to the plate. Depending on how the plate is oriented, you can find an X, Y or Z position.

Step 1: Wire up a probe circuit.

Cut a length of 16ga wire about 12' long- long enough to reach from your controller box to the front of your work surface. Open up your controller and attach one end of the wire to an available I/O pin. I used pin 15 on my HobbyCNC Pro board. You may also have to connect a 0.10uf capacitor between the wire and ground.




Step 2: Fabricate probe plates.

Build a touch plate. I made one plate out of a piece of aluminum angle. The other plate I made is a 1" piece of copper tubing inset into a 2.5" x 2.5" x 0.25" plexiglass. The bottom of the plexiglass has a cross hair scribed in it. The top has a 1/16" circular goove 1/16" deep that the copper tubing is press fit into. Cut the groove so that is is a slight interference fit with the tube so it will stay put. Attach your signal wire to the plates.






Step 3: Download and install the MachBlue screens

Download the MachBlue screen set from the ArtSoft web site http://www.machsupport.com/screens.php
Unzip the file and run the MachBlue_setup.exe program to install the screen set and .jpg screens.

Step 4: Download and install MachBlue modifications.

Download the BlueProbeVer3.zip file
http://www.cnczone.com/forums/attach...1&d=1207688579
Unzip the file and move the MachBlue.set file into your Mach3 folder. Then move the MacBlue_ProgramRun.jpg file into the Mach3/Bitmaps/MachTestScreens folder.

NOTE:
It looks like Artsoft did some reorganizing of their web site so the link to the Blue Screenset has changed. You can now download it from here

http://www.machsupport.com/screens/MachBlue_setup.zip

The modifications to the screen set are here http://www.cnczone.com/forums/attach...2&d=1207685850

Step 5: Startup Mach3

Start up Mach3. Go to the "View" menu "Load Screens" and choose MachBlue. Your screen should now look like this:


Step 6: Configure the probe pin

Go to the Config menu and choose "Ports and Pins". In the "Input Signals" list, enable "Probe", specify the Port# and pin number 15 (or the pin you plugged your probe circuit into). Make sure you save your configuration file when you are done.


Step 7: Use the Probe panel software

Always start out by touching the probe plate to the bit. If your circuit is working, the Touch Test LED in the Probe panel will turn green. Normally you only need to run 1 wire to the probe. If your router is plugged in and correctly grounded you shouldn't need to run a separate ground wire from your controller board.

The new Probe panel features several buttons that allow you to probe in the four cardinal directions, find a center or probe in the z direction. For instance, if you click on the x- arrow, after a 1 second pause the gantry will start advancing in the - x direction until it hits your metal plate. It will stop exactly at the plate and the DRO will show you the location in current coordinates. The other 3 arrows work in a similar fashion but advance in the other cardinal directions. The probe routine will run a maximum of 2" before it stops, so you need to jog your tool within 2" of the touch plate before you start.

The round circle with cross hairs button in the middle activates the probe search for the center of a round pipe centering tool. It advances in the 4 cardinal directions looking for the insides of the pipe and then computes where the center of the pipe is and advances your gantry to the exact center. After it finishes moving, the DRO's for x and y are the location of the center in current coordinates.

Finally, the z button will advance the gantry towards the table until it hits your plate. If there is a value set for the plate offset, the Z DRO will be zeroed to the work top and the gantry will retreat 0.25" above the plate. If you put a zero value in the plate offset field, the gantry will stop at the plate and the Z DRO will give you the vertical coordinate of the plate top.

That's it. Enjoy!
Attached Thumbnails
Click image for larger version

Name:	ZPlateSenseWire.JPG‎
Views:	40374
Size:	263.8 KB
ID:	57168   Click image for larger version

Name:	CenterFinder.jpg‎
Views:	39554
Size:	56.3 KB
ID:	57169   Click image for larger version

Name:	CenterFinderBottom.jpg‎
Views:	39361
Size:	39.6 KB
ID:	57170   Click image for larger version

Name:	anglePlate.JPG‎
Views:	39454
Size:	66.0 KB
ID:	57171  

Click image for larger version

Name:	MachBlueScreenModified.jpg‎
Views:	40966
Size:	69.0 KB
ID:	57173   Click image for larger version

Name:	InputSignals.JPG‎
Views:	40753
Size:	218.4 KB
ID:	57174  
Attached Files
File Type: zip BlueProbeVer3.zip‎ (572.7 KB, 10342 views)

Last edited by ger21; 08-19-2009 at 06:11 PM.
Reply With Quote

  #2   Ban this user!
Old 04-08-2008, 05:26 PM
 
Join Date: Aug 2005
Location: knoxville,usa
Posts: 570
blackbeard52 is on a distinguished road
WOW

Very good post!!! many of us dont quite understand the concept of operation. This will clear up alot of the explainatoin of many types of probes...

Thanks so much

Bob
Reply With Quote

  #3  
Old 04-08-2008, 05:33 PM
Mr.Chips's Avatar
Gold Member
 
Join Date: Sep 2003
Location: USA Tucson AZ
Posts: 1,239
Mr.Chips is on a distinguished road
Smile

Welcome to the CNCZone.

A really super job of documentation and photos, very well thought out. These are tools almost everyone needs. And you supplied what looks like all the information needed to build and use.

Can't wait until you post the next project. I have subscribed to this thread in antisipation of more neat projects to come.

Thanks for sharing.
Reply With Quote

  #4  
Old 04-08-2008, 06:01 PM
Mr.Chips's Avatar
Gold Member
 
Join Date: Sep 2003
Location: USA Tucson AZ
Posts: 1,239
Mr.Chips is on a distinguished road
Smile Add a automatic Z axis zero function

How about incorporating a “Z” axis zero position utility into the centering tool. Since you need to look down in the tube, how about putting it beside the tube at the 3:00 position.
It would zero the X and Y then go up and to the 3:00 position and go down and zero Z then up and back to the center of the hole.
Or something like that.
Reply With Quote

  #5   Ban this user!
Old 04-08-2008, 06:37 PM
 
Join Date: Jun 2007
Location: United States
Posts: 54
erniebro is on a distinguished road

Mr. Chips-

I started out doing that and quickly discovered that you had to get the cross hairs exactly aligned with the cardinal axii of your machine, plus you have to input the additional offsets. By putting the cross hair center in the center of the pipe, you don't have to worry about alignment of the tool and you don't need to know any offsets and you don't need to know the diameter of your cutting tool. I'll admit it is a little bit of a pain looking down the pipe. Maybe I should add some led's so you can see better...


I'm finding that I don't always want to find or set the depth when I'm finding a center, so I separated the functions.

Here's a video of centering combined with depth finding-
Attached Thumbnails
Click image for larger version

Name:	topView.JPG‎
Views:	38704
Size:	63.9 KB
ID:	57190  

Last edited by erniebro; 04-10-2008 at 03:08 AM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-08-2008, 07:40 PM
 
Join Date: Jul 2006
Location: USA
Age: 62
Posts: 100
skip20 is on a distinguished road

Wow, this is great
Reply With Quote

  #7   Ban this user!
Old 04-08-2008, 08:11 PM
 
Join Date: Aug 2005
Location: knoxville,usa
Posts: 570
blackbeard52 is on a distinguished road
Simple and complete

I hadnt thought of using the top of the tube as your depth gauge...you are a genius in your own mind.....lol

Great work and easy to construct....

Bob
Reply With Quote

  #8  
Old 04-09-2008, 10:34 AM
Mr.Chips's Avatar
Gold Member
 
Join Date: Sep 2003
Location: USA Tucson AZ
Posts: 1,239
Mr.Chips is on a distinguished road
Question

Hmmmm

Must be doing something wrong, the below screen shot is what I see after loading screen.

There was not a folder named "Mach Test Screens" so I created one and copied MachBlue set into it.

Any ideas?
Attached Thumbnails
Click image for larger version

Name:	SCREENsHOT BabBlueScreen.JPG‎
Views:	1637
Size:	69.0 KB
ID:	57243  
Reply With Quote

  #9   Ban this user!
Old 04-09-2008, 10:58 AM
 
Join Date: Jun 2007
Location: United States
Posts: 54
erniebro is on a distinguished road

Mister Chips-

It looks like you missed step 3 of the instructions. Make sure you download a copy of MachBlue from the Artsoft web site, unzip it and run the install program(MachBlue_setup.exe). Here's the site - http://www.machsupport.com/screens.htm or http://www.artsoftcontrols.com/artso.../downloads.htm

You will also have to do step 4 again.

I edited the step 3 directions above to make it more clear.

Sorry about that.

-Ernie
Reply With Quote

  #10  
Old 04-09-2008, 11:32 AM
Mr.Chips's Avatar
Gold Member
 
Join Date: Sep 2003
Location: USA Tucson AZ
Posts: 1,239
Mr.Chips is on a distinguished road
Smile It Works

Originally Posted by erniebro View Post
Mister Chips-

It looks like you missed step 3 of the instructions. Make sure you download a copy of MachBlue from the Artsoft web site, unzip it and run the install program(MachBlue_setup.exe). Here's the site - http://www.machsupport.com/screens.htm or http://www.artsoftcontrols.com/artso.../downloads.htm

You will also have to do step 4 again.

I edited the step 3 directions above to make it more clear.

Sorry about that.

-Ernie

Thanks Ernie it works now.
Thanks
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-09-2008, 11:50 AM
cwiliam's Avatar  
Join Date: Jun 2004
Location: United States
Posts: 32
cwiliam is on a distinguished road

will try thank you
Reply With Quote

  #12  
Old 04-09-2008, 03:48 PM
*Registered*
 
Join Date: Jan 2006
Location: Seattle
Age: 52
Posts: 883
Mike Stevenson is on a distinguished road

Great post erniebro.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 6 (0 members and 6 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
PATRIOT Y AXIS MODIFICATION smallblock Shopmaster/Shoptask 4 10-02-2008 08:04 AM
Super Probe 17 Functions in one probe thegimpster PIC Programing / Design 0 01-25-2008 12:46 PM
4 X 10 table modification impax PlasmaCam 6 01-15-2008 08:04 PM
Y Axis modification Mike F Syil Products 6 11-12-2007 04:23 PM
New MCG's need modification Swede Servo Motors and Drives 3 01-12-2005 08:46 AM




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