CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G50

G50 Scaling cancel / Spindle speed limit

Haas NGC G-code · Mill, Lathe

On mills: Scaling cancel

Turns off G51 scaling.

Format

G50

How it works

Modal, scaling group 11.

Example program

G51 X0. Y0. P2. (SCALE 2 TIMES ABOUT X0 Y0)
M98 P1001 (RUN THE SCALED SHAPE)
G50 (SCALING OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Spindle speed limit

Sets the maximum spindle RPM. The control will not go faster than the S value, which protects the part and chuck when G96 speeds up near center.

Format

G50 S

Addresses

AddressWhat it does
SMaximum spindle RPM

How it works

Modal until another G50. On DS lathes it also limits the secondary spindle.

Example program

T0101 (OD TURNING TOOL)
G50 S2500 (SPINDLE WILL NOT EXCEED 2500 RPM)
G96 S500 M03 (CSS 500 SFM)
G00 G54 X2.1 Z.1 (APPROACH)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G51 · G96 · G97

G50 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucScaling cancel
Mazak (EIA)Scaling cancel, machining center
Okuma OSPScaling cancel
Mitsubishi M70 M80Scaling cancel
Brother SpeedioScaling cancel
Fagor 8055 8065Controlled corner rounding
Mach3 Mach4Scaling cancel
Centroid CNC12 AcornScaling and mirroring off
Hurco WinMax (NC)Scaling cancel
FadalRamp slope control cancel
Swiss (Citizen Star)Max spindle speed and coordinate set

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 G50 in the app All Haas NGC G-codes

App Store Google Play