Home › G-codes › LinuxCNC Tormach › G38.3
G38.3 Probe toward part, no error
LinuxCNC Tormach G-code · Mill and lathe
Moves the probe toward the target and stops when it trips. If it never trips the program goes on. Check parameter 5070.
Format
G38.3 X Y Z F
Addresses
| Address | What it does |
|---|---|
X Y Z | Target point the probe moves toward |
F | Probe feed rate |
How it works
Non modal for the move.
Example program
G20 G90 (INCH, ABSOLUTE)
T99 M6 G43 (PROBE)
G0 X1 Y1 Z0.5
G38.3 Z-0.5 F5 (PROBE DOWN, NO ERROR ON MISS)
…
T99 M6 G43 (PROBE)
G0 X1 Y1 Z0.5
G38.3 Z-0.5 F5 (PROBE DOWN, NO ERROR ON MISS)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Results go to parameters 5061 to 5069. Parameter 5070 is 1 when contact changed, 0 when not.
- Use O-word IF tests on parameter 5070 to handle a miss.
Related codes
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.3 in the app All LinuxCNC Tormach G-codes