Home › M-codes › Siemens 840D 828D › M3
M3 Spindle on clockwise
Siemens 840D 828D M-code · Mill and lathe
Starts the master spindle clockwise at the programmed S. On a mill this is the normal cutting direction for right hand tools.
Format
S M3
Addresses
| Address | What it does |
|---|---|
S | Spindle speed in rpm, or cutting speed in G96 |
How it works
Modal until M4, M5 or M19.
Example program
T1 D1
M6
S2500 M3 ; SPINDLE ON CW 2500 RPM
G0 X0 Y0
M6
S2500 M3 ; SPINDLE ON CW 2500 RPM
G0 X0 Y0
Example is in inch. Check offsets and clearances first.
Watch out for
- For a second spindle write the spindle number, for example M2=3 for spindle 2 clockwise.
- Write S in the same block or before it.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M3 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Spindle on, forward |
| Haas NGC | Spindle on clockwise |
| Doosan (Fanuc) | Left spindle forward rotation |
| DMG Mori MAPPS (Fanuc) | Spindle start(normal) |
| Mazak (EIA) | Spindle normal rotation |
| Okuma OSP | Spindle clockwise (Lathes & Mills) |
| Mitsubishi M70 M80 | Spindle on clockwise |
| Brother Speedio | Spindle on clockwise |
| Heidenhain TNC (ISO) | Spindle on clockwise |
| Fagor 8055 8065 | Spindle clockwise |
| LinuxCNC Tormach | Spindle clockwise |
| Mach3 Mach4 | Spindle on clockwise |
| Centroid CNC12 Acorn | Spindle on clockwise |
| Hurco WinMax (NC) | Spindle on clockwise |
| Fadal | Spindle on clockwise |
| Swiss (Citizen Star) | Main spindle forward |
Every M-code for Siemens 840D 828D 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 M3 in the app All Siemens 840D 828D M-codes