Pro codes · Heidenhain
M128 / FUNCTION TCPM — Keep the tool tip position (Heidenhain)
Keep the tool tip position. On Heidenhain TNC controls M128 (older) or FUNCTION TCPM (newer, more options) keeps the tool tip on the programmed position when the rotary axes move. M129 or FUNCTION…
| Property | Value |
|---|---|
| Code | M128 / FUNCTION TCPM |
| Control | Heidenhain |
| Topic | 5-axis |
| Syntax | FUNCTION TCPM F TCP AXIS POS PATHCTRL AXIS |
What it does
On Heidenhain TNC controls M128 (older) or FUNCTION TCPM (newer, more options) keeps the tool tip on the programmed position when the rotary axes move. M129 or FUNCTION RESET TCPM turns it off.
Example
FUNCTION TCPM F TCP AXIS POS PATHCTRL AXIS
L X+20 Y+0 Z+5 B+30 C+0 F2000
FUNCTION RESET TCPMOptions, numbers and parameters depend on the control model, the software version and the options the machine builder installed. Check the operator and parameter manual of your machine before you use a code for the first time, and run it in single block with low overrides.
See it move
The 5-axis simulator shows how the axes move with and without tool center point control.
Open the 5-axis simulatorMore: 5-axis
- G43.4 / G43.5 — Tool center point control (TCP) (Fanuc)
- G68.2 — Tilted working plane (3+2) (Fanuc)
- CYCLE800 — Swivel plane (Siemens)
- TRAORI — 5-axis transformation (TCP) (Siemens)
- PLANE SPATIAL — Tilt the working plane (Heidenhain)
- G234 / G254 — TCPC and dynamic work offset (Haas)