Home › G-codes › Centroid CNC12 Acorn › G51
G51 Scaling and mirroring on
Centroid CNC12 Acorn G-code · Mill
Scales all following moves about a center point. I J K are the scale factors for X Y Z. A negative factor mirrors that axis.
Format
G51 [X] [Y] [Z] I J K
Addresses
| Address | What it does |
|---|---|
X Y Z | Scaling center, default is the current position |
I J K | Scale factor for X Y Z, negative to mirror |
How it works
Modal. Cancel with G50.
Example program
G20 G17 G40 G49 G80 G90 ; INCH, SAFE START
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S3000 M3
…
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S3000 M3
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- It is an option on some CNC12 systems.
- Uneven scaling cannot make an ellipse. Arcs come out as circles.
- Mirroring one axis flips climb and conventional milling.
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 |
| Mitsubishi M70 M80 | Scaling on |
| Brother Speedio | Scaling on |
| Heidenhain TNC (ISO) | Tool preselection |
| Mach3 Mach4 | Scaling and mirror |
| Hurco WinMax (NC) | Scaling |
| Fadal | Ramp slope control |
Every G-code for Centroid CNC12 Acorn 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 Centroid CNC12 Acorn G-codes