Home › M-codes › Hurco WinMax (NC) › M128
M128 Tool center point management on
Hurco WinMax (NC) M-code · Mill
Lets you program 5 axis tool tip points in part coordinates, with B C angles or an I J K tool vector, no matter where the part sits.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
Modal. Cancel with M129.
Example program
M128 (TCPM ON)
G01 X1. Y0. Z0. B30. C45. F40. (TIP POINT AND ANGLES)
M129 (TCPM OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Hole cycles in M128 work only with a vertical tool vector.
- G41.2 3D compensation needs M128 on.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M128 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| DMG Mori MAPPS (Fanuc) | External output |
| Heidenhain TNC (ISO) | Keep tool tip position TCPM |
| Centroid CNC12 Acorn | Move axis by encoder counts |
Every M-code for Hurco WinMax (NC) in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open M128 in the app All Hurco WinMax M-codes