Believe that's right. Should all be based off the spindle…
Math should be (spindle) - (tool length) = comp value
Value are g53 location
spindle length -10
tool length -12
(-10) - (-12) = 2 which would have the spindle 2 inches higher for that tool.
Think of the spindle probe just as if it is any other tool. If the probe sticks out 2" inches .... you probe g54z you would - 2 inches from the g53 value as if the spindle is touching. So if you crash the probe later, your tool off sets are still right because they are based on the spindle vs the probe. Also allows you to use that tool pocket for another tool after setting WCS. Why path pilot for example tool change button on screen is labeled m6 g43
Depending on how the tool table is show. I.e. the offset value is positive. The operator can just add to raise or minus to lower to fine tune. If you list the g53 position as length, the wear column, you use a positive to raise and negative to lower. So that formal you just add +(wear value) to the end.
I have been trying to get my M6 Remap with auto tool measurement working since moving to 2.9.2 and QTDragon_HD. I had this working in 2.8.4 with QTDragon. There were a couple of things I didn't like the way I did it. but it worked really well. I attached a document that I wrote at the time describing the process. I hope to do this all in Python this time and not use G59.3 for the tool setter. I have a mix of fixed and variable length tools and I only want to measure the variable length ones.
I agree that it should be based off of the spindle. If you know where it is in space when the spindle nose trips the tool setter and know where in space the tool trips the tool setter, it just math after that.
Need to add these files in to the appropriate folders. I assume you have an installed version.
I would keep copies of the old files to go back. Need to use sudo to modify these folders.
(rename the supplied files)
/usr/lib/python3/dist-packages/qtvcp/widgets/probe_routines.py
/usr/share/qtvcp/widgets_ui
If all goes well the button will work for 'probe height of the current tool'
You need to have 'probe height' set from the spindle face.
'tool probe toolsetter height' button will do this (it just probes straight down).
after that:
You need to choose a tool first of course.
need to manually set the Z height over the toolsetter
If you set the diameter of the tool and it's bigger then the tool setter diameter it will first move the radius in X.
it will double probe in Z and then pop up clear a bit.
The tooltable should show the new Z offset and the status will show the probed heights.
Please test carefully.
Hopefully the math is right and we can fine tune the routine.