Home › G-codes › Siemens 808D ISO › G50
G50 Scaling off / Set workpiece coordinate system
Siemens 808D ISO G-code · Mill, Lathe
On mills: Scaling off
Cancels scaling and the mirroring done with negative scale factors in G51.
Format
How it works
Modal, group 11. Default after power on. Optional function.
Example program
M98 P0513 (SCALED CONTOUR)
G50 (SCALING OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Cancel scaling before G27, G28, G30, G52 to G59 or G92.
On lathes: Set workpiece coordinate system
Sets the current tool position to the X and Z values given, which shifts the workpiece coordinate system. The shift is added to every work offset G54 to G59.
Format
Addresses
| Address | What it does |
|---|---|
X Z | New coordinates of the current tool position |
U W | Shift added to the current coordinates |
How it works
Non-modal, G group 18. The shift stays until G50.3 or a new G50.
Example program
G00 X80.0 Z10.0 (MOVE TO SETUP POINT)
G50 X80.0 Z5.0 (THIS POINT IS NOW Z5, ZERO SHIFTED 5 MM)
G01 Z-20.0 F0.2 (CUT IN SHIFTED SYSTEM)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- All work offsets G54 to G59 move by the same amount, not only the active one. Cancel the shift with G50.3.
- This manual shows G50 only for setting coordinates. It does not list the Fanuc G50 S spindle speed clamp, so check on your machine before using it.
- In G code systems B and C this code is G92.
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 |
| 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 Siemens 808D ISO 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 Siemens 808D ISO G-codes