Home › M-codes › Centroid CNC12 Acorn › M3
M3 Spindle on clockwise
Centroid CNC12 Acorn M-code · Mill and lathe
Asks the PLC to start the spindle clockwise. The default action is M95 bit 2 then M94 bit 1.
Format
M3 [S]
Addresses
| Address | What it does |
|---|---|
S | Spindle speed |
How it works
Modal.
Example program
G20 G17 G40 G49 G80 G90 ; INCH, SAFE START
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S3000 M3 ; SPINDLE CW 3000 RPM
…
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S3000 M3 ; SPINDLE CW 3000 RPM
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- S only sets speed on a VFD spindle. A belt spindle needs the speed set by hand.
- Codes M0 to M90 can be replaced by a macro file named mfuncN.mac in the cncm folder (cnct on a lathe). Check that folder if the code acts differently than described.
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 |
| Siemens 840D 828D | Spindle on clockwise |
| Heidenhain TNC (ISO) | Spindle on clockwise |
| Fagor 8055 8065 | Spindle clockwise |
| LinuxCNC Tormach | Spindle clockwise |
| Mach3 Mach4 | Spindle on clockwise |
| Hurco WinMax (NC) | Spindle on clockwise |
| Fadal | Spindle on clockwise |
| Swiss (Citizen Star) | Main spindle forward |
Every M-code for Centroid CNC12 Acorn 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 Centroid CNC12 Acorn M-codes