--- tag: m0871 title: Probe temperature config brief: Configure probe temperature compensation author: tompe-proj contrib: thinkyhead requires: PROBE_TEMP_COMPENSATION experimental: true group: calibration codes: [ M871 ] related: [ G76, M192 ] notes: - Requires `PROBE_TEMP_COMPENSATION`. - Values at index zero are constant (zero). - Compensation values are stored in µm (micrometers). - Use [`M500`](/docs/gcode/M500.html) to save the values to EEPROM. parameters: - tag: V optional: true description: Z adjustment value, in micrometers. values: - tag: µm type: int - tag: I optional: true description: Index at which to store the given Z adjustment value. values: - tag: flag type: bool - tag: B optional: true description: Store the value `V` as the Z adjustment at index `I` for the Bed. values: - tag: flag type: bool - tag: P optional: true description: Store the value `V` as the Z adjustment at index `I` for the Probe. values: - tag: flag type: bool - tag: E optional: true description: Store the value `V` as the Z adjustment at index `I` for the Extruder. values: - tag: flag type: bool - tag: R optional: true description: Reset all Z adjustment values to factory defaults (zero). values: - tag: flag type: bool example: - code: - M871 ; print current values - M871 R ; reset all values factory default (zero, effectively disabling compensation) - M871 P I1 V-5 ; set probe compensation value at index 1 to -5µm - M871 B I2 V20 ; set bed compensation value at index 2 to 20µm - M871 E I4 V-13 ; set extruder compensation value at index 4 to -13µm --- Read/write probe temperature compensation values. Values for bed and/or probe can be calibrated using the [`G76`](/docs/gcode/G076.html) command.