Hello Ger:
I spent more time today on modification to the 'Simple" tool setting macro, and have it setting a "Master" tool to Z0.000, and the subsequent cutting tools with a question box "input tool number", and auto setting the tool length offset. I checked four tools after running the macro by putting them one at a time in the spindle, and doing a MDI to rapid to the offset the macro put into the tool table. I moved my test surface away from under the tool (a short block of wood, cut clean and square) and then slid the block under the tool when it stopped. They all fit great, which proved to me the mods work properly, even one of the cutting tools was shorter than the Master edge finder probe, and had a negative offset.
The cutting tool setting section of the macro keeps repeating, i.e., a question box.
I suppose the E-stop is the simplest solution to aborting the action once the probe sequence starts.
I encountered one mishap during my testing. After my tool #1 (a #3 center drill) did the second probe touch from .05 above the plate, it punched down into the touch plate, and then retracted. The conductive surface is a copper clad board glued to a steel block. It didn't bust the center drill, just a rapid jog down, and then retract up.
After the probe cycle there is the line:
Code "G0 Z" & ZClear ' Retract to clearance Plane
I think the machine read the "G0 Z" and moved, before getting the whole context of the line. Maybe I am wrong, but I deleted the
line, and replaced it with; Code "G53 Z-.2", which rapids up to .2 before the Z home position.
Lots of hours spent, but works like a charm now.
John