As always reference the LinuxCNC manuals and the LinuxCNC Wiki for more information.
Tool Touch Off
If you have pre-settable tools ie. you can take the tool out of the spindle and replace it without loosing the Z position or you have a tool turret like in a lathe or a tool changer in a mill then you need to understand how to touch off tools and store the offsets in the tool table.
Tool Table
Using the Tool Table Editor you can set up the diameter of your tool or in the case of a lathe the tip diameter and front and back angle and the orientation. More information on configuring the Tool Table Editor is in the LinuxCNC documentation.
Note
|
Don’t try and set the offsets by editing the tool table, the length offsets are from the machine origin. |
Basic Steps
-
Set each tool Z offset to a common point and store that in the tool table.
-
Use one tool to set the Z material offset and store that in the coordinate system.
Setting the Tool Table Offsets
The first thing you must do is home the machine before setting tool table offsets.
Begin by picking a spot to touch off to that all tools can reach. On a mill you might use the top of the fixed part of your vise. On a lathe you might use the spindle face. In any case what the objective is to set each tools Z offset to some common point so each tool when loaded with Tn M6 G43 the Z end of the tools will all be the same height.
Using the procedure found in the Mill Tool Touchoff or the procedure found in the Lathe Tool Offsets section of this tutorial we will set the offsets for the tool table first.
-
Go to the DRO tab and verify that there are no offsets in place for G92
-
Load the tool
-
Manual tool change put the tool in the spindle and do a Tn M6 G43 where n is the tool number in the MDI window.
-
Tool changer just do a Tn M6 G43 in the MDI tab to load the tool.
-
-
Verify that Machine > Touch off to fixture is selected.
-
Jog the tool to the fixture point and using the dowel method position the Z end of the tool.
-
Verify that the Z axis radio button is the selected axis in the Manual Control Tab
-
Press the Tool Touch Off button.
-
Leave the number at 0.0 and press OK
Using the above procedure set the rest of the tools making sure to have the correct diameter and in the case of the lathe the orientation of the tool.
Setting the Material Offset
Pick any tool that can touch off to the Z0 of the material. Examples of tools that may not work are a parting tool or a threading tool on a lathe.
-
Load the tool
-
Manual tool change put the tool in the spindle and do a Tn M6 G43 where n is the tool number in the MDI window.
-
Tool changer just do a Tn M6 G43 in the MDI tab to load the tool.
-
-
Verify that Machine > Touch off to workpiece is selected.
-
Jog the tool to the top of the material and using the dowel method position the Z end of the tool.
-
Verify that the Z axis radio button is the selected axis in the Manual Control Tab
-
Press the Touch Off button and select P1 G54 from the drop down list box for Coordinate System.
-
Enter in the diameter of the dowel used and press OK
-
Go to the DRO tab and verify that you are in the G54 Coordinate system.
Now you can load each tool using Tn M6 G43 and the Z end of each tool will be the same relative to each other and Z0 in G code will be the top of the material.