Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions docs/src/gcode/g-code.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1481,21 +1481,30 @@ The axis words are optional, except that at least one of them must be
used.
The axis words together define the destination point that the probe will
move towards, starting from the current location.
If the probe is not tripped before the destination is reached G38.2 and
G38.4 will signal an error.

The tool in the spindle must be a probe or contact a probe switch.
The tool in the spindle must be a probe (e.g. for workpiece touch off)
or contact a probe switch (e.g. for tool length or dimension measurements).

In response to this command, the machine moves the controlled point
(which should be at the center of the probe ball) in a straight line at
the current <<sec:set-feed-rate,feed rate>> toward the programmed point.
In inverse time feed mode, the feed rate is such that the whole motion
from the current point to the programmed point would take the specified
time.

The move stops (within machine acceleration limits) when the programmed
point is reached, or when the requested change in the probe input takes
place, whichever occurs first.

If the probe state does not change before the destination is reached
G38.2 and G38.4 will signal an error. G38.3 and G38.5 will set
#5070 to zero to signal this error.

Likewise; if the probe is already tripped when the 'wait for a trip'
command is given (G38.2 and G38.3); or when the probe is no longer
tripped when G38.4 and G38.5 are given -- the command will abort
immediately and signal an error.

[[gcode:probing-codes]]
.Probing G-Codes
[width="90%",options="header"]
Expand Down