Home › M-codes › Heidenhain TNC (ISO) › M13
M13 Spindle clockwise and coolant on
Heidenhain TNC (ISO) M-code · Mill
Starts the spindle clockwise and turns coolant on in one code.
Format
M13
Addresses
| Address | What it does |
|---|---|
M13 | No addresses |
How it works
Modal. Acts at start of block.
Example program
N30 T1 G17 S4000 *
N40 G00 X+20 Y+20 M13 *
N50 Z+2 *
N40 G00 X+20 Y+20 M13 *
N50 Z+2 *
Example is in inch. Check offsets and clearances first.
Watch out for
- Cancel with M5 and M9, or M2 at the end.
Related codes
M13 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Live tool on, forward |
| Haas NGC | 5th axis brake release |
| Doosan (Fanuc) | Left spindle coolant blower off |
| Mazak (EIA) | Milling tool normal rotation |
| Okuma OSP | Machine m-tool spindle clockwise |
| Hurco WinMax (NC) | Unclamp C axis |
Every M-code for Heidenhain TNC (ISO) 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 M13 in the app All Heidenhain TNC M-codes