Hello Guest it is August 23, 2019, 05:32:01 AM

Author Topic: Is there a Code to put into a program to have mach probe  (Read 2301 times)

0 Members and 1 Guest are viewing this topic.

Is there a Code to put into a program to have mach probe
« on: March 30, 2011, 09:20:58 AM »
Is there a Code lto put into a program to have mach probe?
I want to be able to add a line of code in my program to have mach probe the tool and then start running the program.

Any such animal?

Offline ger21

*
  • *
  •  6,288 6,288
    • View Profile
    • The CNC Woodworker
Re: Is there a Code to put into a program to have mach probe
« Reply #1 on: March 30, 2011, 11:46:41 AM »
Yes, just write an M code probing macro, and call the M code. You'd just need to modify one of the many auto zero macros that are floating around.

G31 is what you'd use to probe.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Is there a Code to put into a program to have mach probe
« Reply #2 on: March 30, 2011, 01:10:19 PM »
i appreciate the reply,

can you elaborate on how to write the macro?  I have never done it before....... just pretend like Im an idiot..... better yet, dont pretend LOLOL
Re: Is there a Code to put into a program to have mach probe
« Reply #3 on: March 30, 2011, 02:58:57 PM »
Some example of probing routine that you can use and update with your own parameters.


Open the VB editor and paste the code.


Jeff

andrewm

*
Re: Is there a Code to put into a program to have mach probe
« Reply #4 on: March 30, 2011, 03:22:56 PM »
can you elaborate on how to write the macro?  I have never done it before....... just pretend like Im an idiot..... better yet, dont pretend LOLOL

Its all done in visual basic, you will need to learn this to do any kind of editing or writing.