Home › G-codes › Mitsubishi M70 M80 › G51
G51 Scaling on
Mitsubishi M70 M80 G-code · Mill
Scales the programmed shape about a center point by factor P, or by axis factors I J K.
Format
G51 X Y Z P or G51 X Y Z I J K
Addresses
| Address | What it does |
|---|---|
X Y Z | Scaling center |
P | Same scale factor on all axes |
I J K | Separate scale factor per axis |
How it works
Modal, group 11. Cancel with G50.
Example program
G51 X0. Y0. P.5 (HALF SCALE AT ORIGIN)
M98 P2000 (CUT SHAPE)
G50 (SCALING OFF)
M98 P2000 (CUT SHAPE)
G50 (SCALING OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Offsets are not scaled. Tool radius and length stay at real size.
- How P is read without a decimal point depends on a parameter. Write P.5 with the decimal point.
Related codes
G51 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Scaling |
| Haas NGC | Scaling |
| Mazak (EIA) | Scaling on |
| Okuma OSP | Scaling on |
| Brother Speedio | Scaling on |
| Heidenhain TNC (ISO) | Tool preselection |
| Mach3 Mach4 | Scaling and mirror |
| Centroid CNC12 Acorn | Scaling and mirroring on |
| Hurco WinMax (NC) | Scaling |
| Fadal | Ramp slope control |
Every G-code for Mitsubishi M70 M80 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 G51 in the app All Mitsubishi M70 M80 G-codes