Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: sfrc on June 01, 2010, 10:58:18 AM

Title: Tool Height Probe
Post by: sfrc on June 01, 2010, 10:58:18 AM
Hi

I have a milling machine that don't have any automatic tool changer, so I change it manually.
I'm trying to create a G-code to that in a fast way, but I don't know how to measure the tool using G code.
I thouht it was with G31 but it dont work as the mach3 button. With the button I think it call some kind of rotine.

Here's my G-code
G53 Z-5
G53 Y-500 X-370
G53 Z-180
(Change to Tool #[TOOL NUMBER])
M0
-> HERE I CHANGE THE TOOL MANUALLY...
M6 T[TOOL NUMBER]
G53 Z-5
-> HERE I WANT TO MEASURE THE TOOL (USING THE TOOL HEIGHT SENSOR) AND SAVE THE TOOL HEIGHT BUT DON'T KNOW HOW...
G43

Is this the best approach?
Thans
Title: Re: Tool Height Probe
Post by: Graham Waterworth on June 03, 2010, 06:30:00 AM
Have a look at this :-

http://www.machsupport.com/forum/index.php/topic,13233.0.html

Graham