1
General Mach Discussion / Getting a Handle on Tool Height
« on: October 09, 2020, 02:43:04 PM »
I recently adapted a scope rail to hold my XYZ probe and added a tool height setter to the back corner of my table. I have viewed a ton of scripts/macros and I am still not quite getting a handle on how to get mine to go from the probe settings, mainly Z of course, to adding a tool and then transitioning over to the height setter and probing the tool to generate an offset so the tool knows where the top of the material is.
I have set up a G59 of the XY zeroed above the height probe so I can easily get to it and I am not sure if that's a good way to go but it gives me a table setting I can reference...I do a Z (XY Centering as well) probe first in G54 of course and then do my probe center to spindle center offset, switch to G59 and go X0Y0 after which I execute the Tool Height script below and I'm trying to get that delta between the stock top and the tool tip into G54 but it is not going too well. I can't quite seem to sort out which setting I need to modify in the script I am using currently.
The script is attached below and originates with the verser series of Mach 3 probing scripts and everything else has worked very well:
I have my probe as tool 99 as it is a requirement though easy enough to change it works fine for me and use Tool 1 for my testing.
I keep getting a zero height of the Tool Height setter so I am missing something just not quite sure which...
I have set up a G59 of the XY zeroed above the height probe so I can easily get to it and I am not sure if that's a good way to go but it gives me a table setting I can reference...I do a Z (XY Centering as well) probe first in G54 of course and then do my probe center to spindle center offset, switch to G59 and go X0Y0 after which I execute the Tool Height script below and I'm trying to get that delta between the stock top and the tool tip into G54 but it is not going too well. I can't quite seem to sort out which setting I need to modify in the script I am using currently.
The script is attached below and originates with the verser series of Mach 3 probing scripts and everything else has worked very well:
I have my probe as tool 99 as it is a requirement though easy enough to change it works fine for me and use Tool 1 for my testing.
I keep getting a zero height of the Tool Height setter so I am missing something just not quite sure which...