Home › G-codes › Mach3 Mach4 › G96
G96 Constant surface speed, Mach4
Mach3 Mach4 G-code · Mill
Mach4. S is surface feet per minute and the RPM changes with the cutting diameter. Listed for mills but machine dependent.
Format
G96 S
Addresses
| Address | What it does |
|---|---|
S | Surface speed, SFM in inch mode |
How it works
Modal, spindle mode group. Cancel with G97.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
G96 S500 M3 (500 SFM)
G97 S3000 (BACK TO RPM)
G96 S500 M3 (500 SFM)
G97 S3000 (BACK TO RPM)
Example is in inch. Check offsets and clearances first.
Watch out for
- Rare on a mill. Most mill programs stay in G97.
- Marked machine and config dependent in the Mach4 guide.
Related codes
G96 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Constant surface speed |
| Haas NGC | Constant surface speed on |
| Mazak (EIA) | Constant surface speed |
| Okuma OSP | Constant surface speed on |
| Mitsubishi M70 M80 | Constant surface speed on |
| Siemens 840D 828D | Constant cutting speed |
| Fagor 8055 8065 | Constant feed at cutting point (mill) |
| LinuxCNC Tormach | Constant surface speed |
| Centroid CNC12 Acorn | Constant surface speed |
| Swiss (Citizen Star) | Constant surface speed |
Every G-code for Mach3 Mach4 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 G96 in the app All Mach3 Mach4 G-codes