Home › G-codes › Haas NGC › G97
G97 Constant surface speed off
Haas NGC G-code · Lathe
Cancels G96 so S is a fixed RPM. Use for threading, drilling and tapping.
Format
G97 S
Addresses
| Address | What it does |
|---|---|
S | Spindle speed in RPM |
How it works
Modal, group 13.
Example program
T0303 (.5 DRILL)
G97 S1000 M03 (FIXED 1000 RPM)
G00 G54 X0 Z.25 (CENTERLINE)
G97 S1000 M03 (FIXED 1000 RPM)
G00 G54 X0 Z.25 (CENTERLINE)
Example is in inch. Check offsets and clearances first.
Watch out for
- Give a new S on the G97 line. Otherwise the last RPM from G96 is held.
Related codes
G97 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Constant surface speed cancel |
| Mazak (EIA) | Constant RPM |
| Okuma OSP | Constant surface speed off |
| Mitsubishi M70 M80 | Constant surface speed off |
| Siemens 840D 828D | Cancel constant cutting speed |
| Fagor 8055 8065 | Constant tool center feed (mill) |
| LinuxCNC Tormach | Spindle RPM mode |
| Mach3 Mach4 | Constant RPM, Mach4 |
| Centroid CNC12 Acorn | Constant surface speed cancel |
| Hurco WinMax (NC) | Direct spindle RPM |
| Swiss (Citizen Star) | Constant RPM |
Every G-code for Haas NGC 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 G97 in the app All Haas NGC G-codes