M4 Spindle on counterclockwise
Fadal M-code · Mill
Starts the spindle counterclockwise at speed S. Used for left hand tools and taps.
Format
S M4
Addresses
| Address | What it does |
|---|---|
S | Spindle speed in RPM |
How it works
Modal until M3, M5 or M0.
Example program
N1 G0 G40 G49 G80 G90 G17 (FORMAT 2 SAFE START)
N2 T6 M6 (.250-20 LH TAP)
N3 G0 G90 G54 X1. Y1. S400 M4 (SPINDLE CCW)
N4 G43 H6 Z1. M8
N2 T6 M6 (.250-20 LH TAP)
N3 G0 G90 G54 X1. Y1. S400 M4 (SPINDLE CCW)
N4 G43 H6 Z1. M8
Example is in inch. Check offsets and clearances first.
Watch out for
- Use with G74 for left hand tapping.
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 |
| Centroid CNC12 Acorn | Spindle on counterclockwise |
| Hurco WinMax (NC) | Spindle on counterclockwise |
| Swiss (Citizen Star) | Main spindle reverse |
Every M-code for Fadal 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 Fadal M-codes