G96: Constant surface speed
What G96 does
Under G96 the control keeps the cutting speed at the tool constant by raising RPM as the diameter shrinks. It gives a steady finish when facing and turning tapers. Because RPM climbs toward the centre, it is always paired with a G50 S limit.
| Type | G-code |
|---|---|
| Machine | Lathe (G-code system A) |
| Group | Spindle speed mode |
| Modal | Yes: stays active until replaced by another code from the same group |
G96 example
G50 S2000
G96 S180 M03 180 m/min surface speed, never above 2000 RPM.
| Word | What it means here |
|---|---|
G50 | Maximum spindle speed (lathe) |
S2000 | spindle speed, or a speed limit or surface speed with some codes |
G96 | Constant surface speed |
S180 | spindle speed, or a speed limit or surface speed with some codes |
M03 | Spindle on, clockwise |
Codes people confuse with G96
| Code | What it does instead |
|---|---|
G97 | Constant RPM. S is a fixed spindle speed in RPM. |
G50 | Maximum spindle speed (lathe). With S, caps the spindle RPM during constant surface speed. |
Other codes in the spindle speed mode group
Only one code from a modal group is active at a time. Programming any of these replaces G96.
G97Constant RPM
Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.
Quick check: G96
-
What does
G96do? (Lathe) -
Which code: S is a cutting speed (m/min or ft/min); RPM changes with diameter.(Lathe)
-
What does
G97do? (Mill and lathe)
Show the answers
- S is a cutting speed (m/min or ft/min); RPM changes with diameter.
- G96
- S is a fixed spindle speed in RPM.
Frequently asked questions
- What does G96 mean in CNC programming?
- Constant surface speed. S is a cutting speed (m/min or ft/min); RPM changes with diameter.
- Is G96 modal?
- Yes. G96 belongs to the spindle speed mode group and stays active until another code from that group is programmed.
- What is the difference between G96 and G97?
- G96 (constant surface speed): s is a cutting speed (m/min or ft/min); RPM changes with diameter. G97 (constant RPM): s is a fixed spindle speed in RPM.
- What is the difference between G96 and G50?
- G96 (constant surface speed): s is a cutting speed (m/min or ft/min); RPM changes with diameter. G50 (maximum spindle speed (lathe)): with S, caps the spindle RPM during constant surface speed.
G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.