Home › M-codes › LinuxCNC Tormach › M3
M3 Spindle clockwise
LinuxCNC Tormach M-code · Mill and lathe
Starts the spindle clockwise at the active S speed.
Format
M3 [S] [$]
Addresses
| Address | What it does |
|---|---|
S | Spindle speed |
$ | Spindle number, default 0, -1 for all |
How it works
Modal, spindle group. Stays on until M4 or M5.
Example program
G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
T1 M6 G43
S3000 M3 (SPINDLE ON CW AT 3000 RPM)
G0 X0 Y0 Z0.1
T1 M6 G43
S3000 M3 (SPINDLE ON CW AT 3000 RPM)
G0 X0 Y0 Z0.1
Example is in inch. Check offsets and clearances first.
Watch out for
- Give an S word before or with M3.
- M3 is right hand rotation for normal drills, taps and end mills.
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 |
| Siemens 840D 828D | Spindle on clockwise |
| Heidenhain TNC (ISO) | Spindle on clockwise |
| Fagor 8055 8065 | 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 LinuxCNC Tormach 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 LinuxCNC Tormach M-codes