CNC Machinist Calculator Ultra

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

G50 Scaling cancel, machining center / Spindle speed clamp and coordinate setting

Mazak (EIA) G-code · Mill, Lathe

On mills: Scaling cancel, machining center

On a Mazak machining center G50 cancels G51 scaling. On a Mazak lathe G50 is spindle clamp and coordinate setting instead.

Format

G50

Addresses

AddressWhat it does
G50No addresses

How it works

Modal, cancels G51.

Example program

G51 X0. Y0. P2. (SCALE TWO TIMES ABOUT ZERO)
M98 P2000 (CALL THE PROFILE)
G50 (SCALING OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Spindle speed clamp and coordinate setting

On a Mazak lathe G50 S sets the maximum spindle RPM for G96 constant surface speed. G50 X Z sets the coordinate system from the current tool position.

Format

G50 S or G50 X Z

Addresses

AddressWhat it does
SMaximum spindle RPM
X ZCurrent tool position in the new coordinates

How it works

S clamp stays in effect until changed.

Example program

T0101 (OD TURNING TOOL)
G50 S2500 (MAX 2500 RPM)
G96 S600 M03 (600 SFM)
G00 X2.1 Z.1 M08 (START)
…

The full 5-line example is in the app. 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
Haas NGCScaling cancel
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 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 G50 in the app All Mazak G-codes

App Store Google Play