Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: fixittt on March 30, 2011, 09:20:58 AM

Title: Is there a Code to put into a program to have mach probe
Post by: fixittt 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?
Title: Re: Is there a Code to put into a program to have mach probe
Post by: ger21 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.
Title: Re: Is there a Code to put into a program to have mach probe
Post by: fixittt 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
Title: Re: Is there a Code to put into a program to have mach probe
Post by: ostie01 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
Title: Re: Is there a Code to put into a program to have mach probe
Post by: andrewm 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.