thinkyhead

M851 - Z Probe Offset

none Set the Z probe Z offset from nozzle HAS_BED_PROBE

Set the vertical distance from the nozzle to the Z probe trigger-point.


The easiest way to get the value is to:

  • Home the Z axis.
  • Raise Z and deploy the probe.
  • Move Z down slowly until the probe triggers.
  • Take the current Z value and negate it. (5.2 => -5.2)
  • Set with M851 Z-5.2 and #define Z_PROBE_OFFSET_FROM_EXTRUDER -5.2.

Usage

M851 Z<linear>

Argument Description
Z<linear>

Z probe Z offset

Notes

The default (factory) value is set by Z_PROBE_OFFSET_FROM_EXTRUDER.

Examples

Set a reasonable offset for an inductive probe

M851 Z-2.0

A probe that is triggered by the nozzle itself

M851 Z1.2