I want to write a script for probing the tool length and have a problem I couldn’t find a solution.
I want to save the calculated tool length as “Tool Offset”. I use the command mc.mcToolSetData(inst, mc.MTOOL_MILL_HEIGHT, current_tool, calculated_value) to set the calculated value. Until here everything works fine. The problem is that Mach4 doesn’t correct the value of “Current Position”. Is there a particular reason?
Greetings
Jannis