CNC Machinist Calculator Ultra

Home › G-codes › LinuxCNC Tormach › G10 L10

G10 L10 Set tool offset from current position

LinuxCNC Tormach G-code · Mill and lathe

Changes the tool table so the current position reads as the given value with that tool. Used to touch off a tool on the part.

Format

G10 L10 P [X] [Y] [Z] [R] [I] [J] [Q]

Addresses

AddressWhat it does
PTool number
X Y ZValue the current position should read
R I J QOptional radius, angles and orientation

How it works

Non modal.

Example program

G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
T2 M6 G43 (DRILL TO TOUCH OFF)
(JOG TOOL TIP TO TOP OF PART BY HAND, THEN)
G10 L10 P2 Z0 (TOP OF PART IS Z0 FOR TOOL 2)
…

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

Watch out for

Related codes

G10 L1 · G10 L11 · G43

Every G-code for LinuxCNC Tormach 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 L10 in the app All LinuxCNC Tormach G-codes

App Store Google Play