Home › G-codes › Mach3 Mach4 › G50
G50 Scaling cancel
Mach3 Mach4 G-code · Mill
Cancels scaling. Mach3 resets the scale factors of all axes to 1.
Format
G50
Addresses
| Address | What it does |
|---|---|
G50 | No address words |
How it works
Modal, scaling group.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
G51 X2.0 Y2.0 (DOUBLE SIZE)
G0 X1.0 Y1.0 (GOES TO X2 Y2)
G50 (SCALING OFF)
…
G51 X2.0 Y2.0 (DOUBLE SIZE)
G0 X1.0 Y1.0 (GOES TO X2 Y2)
G50 (SCALING OFF)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Always cancel scaling before the next tool or program. A left over scale moves every later position.
Related codes
G50 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Scaling cancel |
| Haas NGC | 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 |
| 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 Mach3 Mach4 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 Mach3 Mach4 G-codes