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)
M98 P1001 (RUN THE SCALED SHAPE)
G50 (SCALING OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Cancel scaling before tool changes and before the end of the program.
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
| Address | What it does |
|---|---|
S | Maximum 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)
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
- Always command G50 before G96. Without it the spindle can run to full speed near X0.
- To remove the limit, program a G50 with the machine maximum RPM.
- Pick the limit from the chuck and jaw rating, not only the cutting speed.
Related codes
G50 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Scaling cancel |
| Mazak (EIA) | Scaling cancel, machining center |
| Okuma OSP | Scaling cancel |
| Mitsubishi M70 M80 | Scaling cancel |
| Brother Speedio | Scaling cancel |
| Fagor 8055 8065 | Controlled corner rounding |
| Mach3 Mach4 | Scaling cancel |
| Centroid CNC12 Acorn | Scaling and mirroring off |
| Hurco WinMax (NC) | Scaling cancel |
| Fadal | Ramp 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