Home › M-codes › Siemens 808D ISO › M04
M04 Spindle on counterclockwise
Siemens 808D ISO M-code · Mill, Lathe
On mills: Spindle on counterclockwise
Starts the spindle counterclockwise at speed S in rpm.
Format
M04 [S]
Addresses
| Address | What it does |
|---|---|
S | Spindle speed in rpm |
How it works
Modal until M03 or M05.
Example program
T04 M06 (LEFT HAND TOOL)
S800 M04 (SPINDLE CCW 800 RPM)
G90 G54 G00 X0. Y0. (POSITION)
S800 M04 (SPINDLE CCW 800 RPM)
G90 G54 G00 X0. Y0. (POSITION)
Example is in inch. Check offsets and clearances first.
Watch out for
- S stays stored after M05. M04 alone restarts at the last S.
On lathes: Spindle on counterclockwise
Starts the spindle in the left hand (counterclockwise) direction at the speed in S.
Format
M04 [S]
How it works
Modal until M03 or M05.
Example program
T0202 (TOOL RUN IN M04)
G97 S900 M04 (900 RPM COUNTERCLOCKWISE)
G00 X52.0 Z2.0 M08 (APPROACH)
G97 S900 M04 (900 RPM COUNTERCLOCKWISE)
G00 X52.0 Z2.0 M08 (APPROACH)
Example is in inch. Check offsets and clearances first.
Watch out for
- S is modal and survives M05. M03 or M04 without S restarts at the last speed.
- Check the insert faces the right way for M04, for example with tools mounted upside down.
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 |
| Siemens 808D | 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 |
| Hurco WinMax (NC) | Spindle on counterclockwise |
| Fadal | Spindle on counterclockwise |
| Swiss (Citizen Star) | Main spindle reverse |
Every M-code for Siemens 808D 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 M04 in the app All Siemens 808D ISO M-codes