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