Welcome to mirror list, hosted at ThFree Co, Russian Federation.

M871.md « _gcode - github.com/MarlinFirmware/MarlinDocumentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0ccebc89d6dda9ca8dd284843792e90b635495eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
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.