flexi-bot/docs/marlin/_gcode/G038.md
2023-09-05 20:38:49 +02:00

1.6 KiB

tag title brief author since requires group codes notes parameters
g038 Probe target Probe towards (or away from) a workpiece thinkyhead 1.1.0 G38_PROBE_TARGET calibration
G38.2
G38.3
G38.4
G38.5
These commands require `G38_PROBE_TARGET` and a defined probe.
`G38.4` and `G38.5` are only available with the `G38_PROBE_AWAY` option.
tag optional description values
X true Target X
tag type
pos float
tag optional description values
Y true Target Y
tag type
pos float
tag optional description values
Z true Target Z
tag type
pos float
tag optional description values
F true Feedrate for the move
tag type
rate float

The Probe Target commands are used to probe towards (or away from) a workpiece to determine its precise position. You might, for example, use a grounded metal workpiece, with a metal probe spliced into the bed probe circuit.

  • G38.2 probes towards a target and stops on contact, signaling an error if it reaches the target position without triggering the probe.
  • G38.3 probes towards a target and stops on contact. No error is given if it fails to trigger the probe.
  • G38.4 probes away from a target and stops on contact break. An error is signaled if the target position is reached without triggering the probe.
  • G38.5 probes away from a target and stops on contact break. No error is given if it fails to trigger the probe.

These commands use the current homing feedrate, by default.