CNC Machinist Calculator Ultra

Home › G-codes › LinuxCNC Tormach › G10 L1

G10 L1 Set tool table entry

LinuxCNC Tormach G-code · Mill and lathe

Writes values straight into the tool table for tool P: length offsets, radius, lathe angles and orientation.

Format

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

Addresses

AddressWhat it does
PTool number
X Y ZTool offsets to store
RTool radius
I JLathe front and back angles
QLathe tool orientation

How it works

Non modal.

Example program

G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
G10 L1 P1 Z1.875 R0.25 (TOOL 1 LENGTH 1.875, .500 DIAMETER)
T1 M6 G43 (LOAD AND APPLY NEW LENGTH)
G0 X0 Y0 Z1

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G10 L10 · 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 L1 in the app All LinuxCNC Tormach G-codes

App Store Google Play