CNC Machinist Calculator Ultra

Home › G-codes › Mazak (EIA) › G97

G97 Constant RPM

Mazak (EIA) G-code · Lathe

S is spindle RPM. Use it for threading, drilling on center and parts that must not change speed.

Format

G97 S

Addresses

AddressWhat it does
SSpindle speed, RPM

How it works

Modal until G96.

Example program

T0505 (.500 DRILL)
G97 S1500 M03 (1500 RPM)
G00 X0. Z.1 M08 (ON CENTER)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G96 · G76

G97 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucConstant surface speed cancel
Haas NGCConstant surface speed off
Okuma OSPConstant surface speed off
Mitsubishi M70 M80Constant surface speed off
Siemens 840D 828DCancel constant cutting speed
Fagor 8055 8065Constant tool center feed (mill)
LinuxCNC TormachSpindle RPM mode
Mach3 Mach4Constant RPM, Mach4
Centroid CNC12 AcornConstant surface speed cancel
Hurco WinMax (NC)Direct spindle RPM
Swiss (Citizen Star)Constant RPM

Every G-code for Mazak (EIA) 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 Mazak G-codes

App Store Google Play