Files
machines/systems/flexibot/docs/marlin/_gcode/M871.md
T
2025-03-11 23:32:39 +01:00

2.0 KiB

tag, title, brief, author, contrib, requires, experimental, group, codes, related, notes, parameters, example
tag title brief author contrib requires experimental group codes related notes parameters example
m0871 Probe temperature config Configure probe temperature compensation tompe-proj thinkyhead PROBE_TEMP_COMPENSATION true calibration
M871
G76
M192
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.
tag optional description values
V true Z adjustment value, in micrometers.
tag type
µm int
tag optional description values
I true Index at which to store the given Z adjustment value.
tag type
flag bool
tag optional description values
B true Store the value `V` as the Z adjustment at index `I` for the Bed.
tag type
flag bool
tag optional description values
P true Store the value `V` as the Z adjustment at index `I` for the Probe.
tag type
flag bool
tag optional description values
E true Store the value `V` as the Z adjustment at index `I` for the Extruder.
tag type
flag bool
tag optional description values
R true Reset all Z adjustment values to factory defaults (zero).
tag type
flag bool
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 command.