diff --git a/docs/src/gcode/g-code.adoc b/docs/src/gcode/g-code.adoc index 20007307b18..569d4ba6784 100644 --- a/docs/src/gcode/g-code.adoc +++ b/docs/src/gcode/g-code.adoc @@ -1481,10 +1481,9 @@ 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 @@ -1492,10 +1491,20 @@ the current <> 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"]