Home › G-codes › Centroid CNC12 Acorn › G10
G10 Set parameter or offset from program / Set tool offset or parameter
Centroid CNC12 Acorn G-code · Mill, Lathe
On mills: Set parameter or offset from program
Writes a machine parameter, a tool length offset or a tool diameter from the program. On a mill G10 P73 R.1 writes parameter 73 directly.
Format
Addresses
| Address | What it does |
|---|---|
P | Machine parameter number |
H | Tool length offset number |
D | Tool diameter offset number |
R | Value to store |
How it works
One shot.
Example program
G10 P83 R.05 ; G83 RAPID CLEARANCE .05
G10 H5 R-1.3 ; LENGTH OFFSET 5
G10 D3 R.25 ; DIAMETER OFFSET 3
Example is in inch. Check offsets and clearances first.
Watch out for
- Not the Fanuc G10 L word format. CNC12 uses P for a parameter, H for a length and D for a diameter.
- Parameters written with G10 stay changed after the job ends. Put them back if needed.
On lathes: Set tool offset or parameter
Writes tool offset data or a machine parameter from the program. On a lathe P is the tool number. Add 1000 to P to set a machine parameter.
Format
Addresses
| Address | What it does |
|---|---|
P | Tool offset number, or 1000 plus the parameter number |
X Z | Tool offset values |
R | Nose radius, or the parameter value |
Q | Nose vector number |
How it works
One shot.
Example program
G10 P5 Z-1.1 ; TOOL 5 Z OFFSET
G10 P5 R.0313 ; TOOL 5 NOSE RADIUS
G10 P5 Q3 ; TOOL 5 NOSE VECTOR
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Lathe and mill differ. On the lathe G10 P73 sets tool 73. Use G10 P1073 to set parameter 73.
- Values go straight into the offset library. Check the sign before running.
Related codes
G10 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Programmable data input, offsets |
| Haas NGC | Programmable offset setting |
| Mazak (EIA) | Program data setting, offsets |
| Okuma OSP | Cancel coordinate shift and rotation |
| Mitsubishi M70 M80 | Program data input for offsets |
| Brother Speedio | Programmable data input |
| Heidenhain TNC (ISO) | Rapid straight line, polar |
| Fagor 8055 8065 | Mirror image cancel |
| Mach3 Mach4 | Set offsets from the program |
| Hurco WinMax (NC) | Data setting, offsets by program |
| Fadal | Programmable data input |
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 G10 in the app All Centroid CNC12 Acorn G-codes