How to Set Tool Height on CNC Lathe: Step-by-Step Guide
To set the tool height on a CNC lathe, use the
tool height offset by touching off the tool on a reference surface and entering the measured value into the machine's tool offset register. This ensures the tool tip is at the correct Z-axis position for accurate cutting.Syntax
Setting tool height on a CNC lathe involves using the tool offset register, typically accessed via the machine control panel or G-code commands. The key steps are:
- Touch off the tool on a known reference surface (usually the top of the workpiece or a tool setter).
- Measure the distance from the tool tip to the reference surface.
- Enter this value into the tool height offset register (e.g.,
H01for tool 1). - Use the offset in your CNC program to ensure correct Z-axis positioning.
Example G-code command to call tool offset: T0101 (tool 1 with offset 1).
gcode
T0101 G54 G00 X100 Z100 G43 H01 Z50
Example
This example shows how to set tool height offset for tool 1 by touching off on the workpiece surface and entering the offset value. The G43 command applies the height offset during machining.
gcode
T0101 ; Select tool 1 with offset 1 G54 ; Work coordinate system G00 X100 Z100 ; Rapid move to safe position ; Touch off tool on workpiece surface manually ; Measure distance from tool tip to surface (e.g., 12.5 mm) ; Enter 12.5 mm into H01 offset register via control panel G43 H01 Z50 ; Apply tool height offset and move to Z50 G01 X50 Z0 F0.2 ; Start cutting
Common Pitfalls
Common mistakes when setting tool height on a CNC lathe include:
- Not touching off the tool accurately, causing wrong offset values.
- Forgetting to enter the offset value into the correct
Hregister. - Using the wrong tool offset number in the program (e.g., calling
H02instead ofH01). - Not applying the
G43command to activate the tool height offset.
Always double-check the offset values and confirm the tool is properly referenced before machining.
gcode
Wrong way: T0102 ; Tool 1 with offset 2 (wrong offset) G00 X100 Z100 G43 H02 Z50 ; Applies wrong offset Right way: T0101 ; Tool 1 with offset 1 G00 X100 Z100 G43 H01 Z50 ; Applies correct offset
Quick Reference
| Step | Action | Description |
|---|---|---|
| 1 | Touch off tool | Manually bring tool tip to reference surface |
| 2 | Measure offset | Record distance from tool tip to surface |
| 3 | Enter offset | Input value into tool height offset register (Hxx) |
| 4 | Call tool with offset | Use TxxHxx in program to select tool and offset |
| 5 | Apply offset | Use G43 Hxx command to activate height offset |
Key Takeaways
Always touch off the tool on a known reference surface to get accurate height offset.
Enter the measured tool height into the correct offset register (Hxx) on the CNC control.
Use the G43 command with the correct H number to apply the tool height offset in your program.
Double-check tool and offset numbers to avoid machining errors.
Proper tool height setting ensures precise and safe cutting on the CNC lathe.