CNC Machinist Calculator Ultra

Home › G-codes › LinuxCNC Tormach › G38.5

G38.5 Probe away from part, no error

LinuxCNC Tormach G-code · Mill and lathe

Moves the probe away from the part and stops when contact is lost. No error if contact is never lost.

Format

G38.5 X Y Z F

Addresses

AddressWhat it does
X Y ZTarget point the probe moves toward
FProbe feed rate

How it works

Non modal for the move.

Example program

G20 G90 (INCH, ABSOLUTE)
G38.2 Z-0.5 F10 (TOUCH)
G38.5 Z0.1 F1 (BACK OFF, NO ERROR)
(DEBUG, RELEASE RESULT #5070)
…

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

Watch out for

Related codes

G38.4 · G38.3

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 G38.5 in the app All LinuxCNC Tormach G-codes

App Store Google Play