Home › G-codes › Okuma OSP › G96
G96 Constant surface speed on
Okuma OSP G-code · Lathe
Keeps the cutting speed constant as the diameter changes. S is surface feet per minute in inch, meters per minute in metric.
Format
G96 S
Addresses
| Address | What it does |
|---|---|
S | Cutting speed |
How it works
Modal. Cancel with G97.
Example program
O2000 (OKUMA LATHE SAMPLE)
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G00 X3.2 Z.1 T010101 (START)
N3 G96 S500 M03 (500 SFM)
…
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G00 X3.2 Z.1 T010101 (START)
N3 G96 S500 M03 (500 SFM)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- A G96 block must have an S word.
- Set G50 S first to cap RPM near center.
- Cancel G96 before long rapids and before threading.
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 |
| 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 |
| Mach3 Mach4 | Constant surface speed, Mach4 |
| Centroid CNC12 Acorn | Constant surface speed |
| Swiss (Citizen Star) | Constant surface speed |
Every G-code for Okuma OSP 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 Okuma OSP G-codes