I would like to introduce you to my Probe Basic subroutine project: tool length probe V5.0 .
All files can be seen and downloaded on github:
github.com/TooTall18T/tool_length_probe
For Probe Basic up to version 0.5.4-stable:
github.com/TooTall18T/tool_length_probe/releases/tag/4.0.1
For Probe Basic Version 0.6.0-stable:
github.com/TooTall18T/tool_length_probe/releases/tag/5.0.2
The subroutine is used to measure tools on a stationary tool length probe in LinuxCNC with the Probe Basic interface.
It doesn't matter whether the measurement is started manually from Probe Basic ([TOUCH OFF CURRENT TOOL]) or automatically from the milling program (M600).
There are optional settings for the process that extend the functionality of the original subroutine.
The machine is automatically freed and moves to the tool change point.
After confirming that the tool has been changed, the machine measures the tool and, if necessary, automatically returns to the starting point.
Things like the use of the tool table, the frequency of measurement attempts in the event of incorrect measurements or the position at which the tool is changed can be set individually.
An overview of the extensions compared to the original subroutine:
- Call using M command (M600)
- Use tool table
- Return to the starting point
- Pause at the starting point
- Switching off the tool spindle with selectable M command
- Additional repetitions in case of failed measurement attempts
- Last measurement without tool table
- Tool offset for larger diameters
- Alternative position for changing tools
- Alternative measurement position for 3D probes
The settings in Probe Basic can still be made there, the additional ones are made at the beginning of the subroutine.
For other GUIs all settings neet to be made in the routine.
Ideas for the future
Breakage test, comparison of value from the tool table with the last measured value
I would be happy to listen to further ideas and suggestions.