CNC Machinist Calculator Ultra

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

G10 P R or G10 H R or G10 D R

Addresses

AddressWhat it does
PMachine parameter number
HTool length offset number
DTool diameter offset number
RValue to store

How it works

One shot.

Example program

G10 P73 R.05 ; G73 PECK RETRACT .05
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

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

G10 P [X] [Z] [R] [Q]

Addresses

AddressWhat it does
PTool offset number, or 1000 plus the parameter number
X ZTool offset values
RNose radius, or the parameter value
QNose vector number

How it works

One shot.

Example program

G10 P5 X-1.3 ; TOOL 5 X OFFSET
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

Related codes

G73 · G83 · G43 · G74 · G41

G10 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucProgrammable data input, offsets
Haas NGCProgrammable offset setting
Mazak (EIA)Program data setting, offsets
Okuma OSPCancel coordinate shift and rotation
Mitsubishi M70 M80Program data input for offsets
Brother SpeedioProgrammable data input
Heidenhain TNC (ISO)Rapid straight line, polar
Fagor 8055 8065Mirror image cancel
Mach3 Mach4Set offsets from the program
Hurco WinMax (NC)Data setting, offsets by program
FadalProgrammable 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

App Store Google Play