Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 07:15:06 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Is there a Code to put into a program to have mach probe
Pages: 1   Go Down
Print
Author Topic: Is there a Code to put into a program to have mach probe  (Read 305 times)
0 Members and 1 Guest are viewing this topic.
fixittt
Active Member

Offline Offline

Posts: 132


View Profile
« on: March 30, 2011, 08: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?
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #1 on: March 30, 2011, 10: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.
Logged

fixittt
Active Member

Offline Offline

Posts: 132


View Profile
« Reply #2 on: March 30, 2011, 12: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
Logged
ostie01
Active Member

Offline Offline

Posts: 563


View Profile
« Reply #3 on: March 30, 2011, 01: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

* Another Probe Routine.doc (21.5 KB - downloaded 50 times.)
* Another tool probe macro.doc (20 KB - downloaded 35 times.)
Logged
AndrewM
Support Tech
Administrator
*
Offline Offline

Posts: 185




View Profile
« Reply #4 on: March 30, 2011, 02: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.
Logged

Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!