M13 Live tool on, forward
Fanuc M-code · Lathe
Starts the live tool spindle forward on many turning centers. Speed comes from S, sometimes with a second spindle address.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
M13 [S]
Addresses
| Address | What it does |
|---|---|
S | Live tool RPM |
How it works
Modal until M14 or M15.
Example program
T0707 (LIVE DRILL)
M13 S2000 (LIVE TOOL FORWARD, BUILDER CODE)
M15 (LIVE TOOL STOP)
M13 S2000 (LIVE TOOL FORWARD, BUILDER CODE)
M15 (LIVE TOOL STOP)
Example is in inch. Check offsets and clearances first.
Watch out for
- Many builders use other numbers, such as M133 or M203. Check before use.
- Lock or clamp the C axis for drilling if the builder requires it.
Related codes
M13 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| 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 |
| Heidenhain TNC (ISO) | Spindle clockwise and coolant on |
| Hurco WinMax (NC) | Unclamp C axis |
Every M-code for Fanuc 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 Fanuc M-codes