CNC Machinist Calculator Ultra

Home › G-codes › Siemens 808D ISO › G10

G10 Write work offsets or tool offsets / Write work offset or tool offset

Siemens 808D ISO G-code · Mill, Lathe

On mills: Write work offsets or tool offsets

With L2 writes a work offset G54 to G59 or the external offset. With L10 to L13 overwrites a tool length or radius offset. Lets the program set its own offsets.

Format

G10 L2 P X Y Z or G10 L P R

Addresses

AddressWhat it does
L2 work offset, 10 length geometry, 11 length wear, 12 radius geometry, 13 radius wear
PWith L2: 0 external offset, 1 to 6 for G54 to G59. With L10 to L13: offset number
X Y ZWork offset values. In G91 they are added to the stored values
RTool offset value

How it works

Non-modal, group 18. Optional function.

Example program

G10 L2 P1 X-250. Y-180. Z-300. (SET G54)
G10 L10 P11 R200. (LENGTH OFFSET 11 TO 200 MM)
G10 L12 P11 R5. (RADIUS OFFSET 11 TO 5 MM)
G90 G54 G00 X0. Y0. (USE NEW G54)
…

The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Write work offset or tool offset

Writes offset values from the program. G10 L2 P sets a work offset; G10 P with X Z R Q overwrites a tool offset. Only existing tool offsets can be changed, not new ones made.

Format

G10 L2 P X(U) Z(W) or G10 P X(U) Z(W) R(C) Q

Addresses

AddressWhat it does
L2 PWork offset: P0 external, P1 to P6 for G54 to G59
PTool offset number, geometry or wear per MD20734 bit 1
X ZAbsolute offset value
U WIncremental offset value
R CTool nose radius, R absolute, C incremental
QCutting edge position (tool tip number)

How it works

Non-modal, G group 18.

Example program

G10 L2 P1 X0.0 Z-152.5 (G54 Z ZERO)
G10 P1 U-0.02 (TOOL OFFSET 1, X CHANGED BY MINUS 0.02)
G54 (USE WORK OFFSET 1)
G00 X150.0 Z100.0 (SAFE POINT)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G54 · G43 · G41 · G92 · G50

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
Centroid CNC12 AcornSet parameter or offset from program
Hurco WinMax (NC)Data setting, offsets by program
FadalProgrammable data input

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 G10 in the app All Siemens 808D ISO G-codes

App Store Google Play