Home › M-codes › Centroid CNC12 Acorn › M4
M4 Spindle on counterclockwise
Centroid CNC12 Acorn M-code · Mill and lathe
Asks the PLC to start the spindle counterclockwise. The default action is M95 bit 1 then M94 bit 2.
Format
M4 [S]
Addresses
| Address | What it does |
|---|---|
S | Spindle speed |
How it works
Modal.
Example program
T2 M6 ; LEFT HAND TAP
M4 S500 ; SPINDLE CCW
G43 H2 Z1.
M4 S500 ; SPINDLE CCW
G43 H2 Z1.
Example is in inch. Check offsets and clearances first.
Watch out for
- Use M4 before G74 left hand tapping on a mill.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M4 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 |
| Hurco WinMax (NC) | Spindle on counterclockwise |
| Fadal | Spindle on counterclockwise |
| Swiss (Citizen Star) | Main spindle reverse |
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 M4 in the app All Centroid CNC12 Acorn M-codes