Home › G-codes › Swiss (Citizen Star) › G97
G97 Constant RPM
Swiss (Citizen Star) G-code · Lathe
Cancels G96. S is spindle RPM. Use for drilling, tapping, threading and cut-off on most Swiss jobs.
Format
G97 S | G97 S1= | G97 S2=
Addresses
| Address | What it does |
|---|---|
S | RPM |
S1= S2= S3= | Citizen spindle number, main, back, rotary tool |
How it works
Modal, group 02.
Example program
G97 S1=4000 M3 (CITIZEN MAIN 4000 RPM)
G00 X.55 Z-.02 T0100 (TOOL 1)
G01 Z.5 F.002
G00 X.55 Z-.02 T0100 (TOOL 1)
G01 Z.5 F.002
Example is in inch. Check offsets and clearances first.
Watch out for
- Many Swiss shops run the whole job in G97 for repeatable cycle times.
Related codes
G97 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Constant surface speed cancel |
| Haas NGC | Constant surface speed off |
| 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 |
Every G-code for Swiss (Citizen Star) 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 Swiss G-codes