Home › M-codes › Hurco WinMax (NC) › M04
M04 Spindle on counterclockwise
Hurco WinMax (NC) M-code · Mill
Starts the spindle in reverse at the active S speed.
Format
M04 [S]
Addresses
| Address | What it does |
|---|---|
S | Spindle RPM |
How it works
Modal. Cancel with M05 or M03.
Example program
T6 M06 (LH TAP)
G90 G54 G00 X1. Y1. S500 M04 (SPINDLE CCW)
G43 H06 Z1. (LENGTH OFFSET)
G90 G54 G00 X1. Y1. S500 M04 (SPINDLE CCW)
G43 H06 Z1. (LENGTH OFFSET)
Example is in inch. Check offsets and clearances first.
Watch out for
- In BNC, M04 before G84 makes it a left hand tap.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M04 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Spindle on, reverse |
| Haas NGC | Spindle on counterclockwise |
| Doosan (Fanuc) | Left spindle reverse rotation |
| DMG Mori MAPPS (Fanuc) | Spindle start(reverse) |
| Mazak (EIA) | Spindle reverse rotation |
| Okuma OSP | Spindle counter clockwise (Lathes & Mills) |
| Mitsubishi M70 M80 | Spindle on counterclockwise |
| Brother Speedio | Spindle on counterclockwise |
| Siemens 840D 828D | Spindle on counterclockwise |
| Heidenhain TNC (ISO) | Spindle on counterclockwise |
| Fagor 8055 8065 | Spindle counterclockwise |
| LinuxCNC Tormach | Spindle counterclockwise |
| Mach3 Mach4 | Spindle on counterclockwise |
| Centroid CNC12 Acorn | Spindle on counterclockwise |
| Fadal | Spindle on counterclockwise |
| Swiss (Citizen Star) | Main spindle reverse |
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 M04 in the app All Hurco WinMax M-codes