Skip to content

Commit c6e6b84

Browse files
committed
✨ Z_PROBE_ERROR_TOLERANCE
MarlinFirmware/Marlin#26229
1 parent 0e94d88 commit c6e6b84

File tree

354 files changed

+2837
-2484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

354 files changed

+2837
-2484
lines changed

config/default/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1650,16 +1650,17 @@
16501650
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
16511651
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16521652
*/
1653-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1654-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1655-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1656-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1653+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1654+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1655+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1656+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1657+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16571658

1658-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1659+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16591660

16601661
// For M851 give a range for adjusting the Z probe offset
1661-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1662-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1662+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1663+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
16631664

16641665
// Enable the M48 repeatability test to test probe accuracy
16651666
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/3DFabXYZ/Migbot/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1652,16 +1652,17 @@
16521652
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
16531653
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16541654
*/
1655-
#define Z_CLEARANCE_DEPLOY_PROBE 5 // Z Clearance for Deploy/Stow
1656-
#define Z_CLEARANCE_BETWEEN_PROBES 3 // Z Clearance between probe points
1657-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1658-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1655+
#define Z_CLEARANCE_DEPLOY_PROBE 5 // (mm) Z Clearance for Deploy/Stow
1656+
#define Z_CLEARANCE_BETWEEN_PROBES 3 // (mm) Z Clearance between probe points
1657+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1658+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1659+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16591660

1660-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1661+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16611662

16621663
// For M851 give a range for adjusting the Z probe offset
1663-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1664-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1664+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1665+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
16651666

16661667
// Enable the M48 repeatability test to test probe accuracy
16671668
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/ADIMLab/Gantry v1/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1650,16 +1650,17 @@
16501650
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
16511651
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16521652
*/
1653-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1654-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1655-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1656-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1653+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1654+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1655+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1656+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1657+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16571658

1658-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1659+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16591660

16601661
// For M851 give a range for adjusting the Z probe offset
1661-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1662-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1662+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1663+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
16631664

16641665
// Enable the M48 repeatability test to test probe accuracy
16651666
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/ADIMLab/Gantry v2/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1650,16 +1650,17 @@
16501650
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
16511651
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16521652
*/
1653-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1654-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1655-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1656-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1653+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1654+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1655+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1656+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1657+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16571658

1658-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1659+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16591660

16601661
// For M851 give a range for adjusting the Z probe offset
1661-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1662-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1662+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1663+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
16631664

16641665
// Enable the M48 repeatability test to test probe accuracy
16651666
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/Alfawise/U20-bltouch/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1719,16 +1719,17 @@
17191719
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
17201720
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
17211721
*/
1722-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1723-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1724-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1725-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1722+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1723+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1724+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1725+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1726+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
17261727

1727-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1728+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
17281729

17291730
// For M851 give a range for adjusting the Z probe offset
1730-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1731-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1731+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1732+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
17321733

17331734
// Enable the M48 repeatability test to test probe accuracy
17341735
#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/Alfawise/U20/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1720,16 +1720,17 @@
17201720
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
17211721
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
17221722
*/
1723-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1724-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1725-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1726-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1723+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1724+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1725+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1726+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1727+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
17271728

1728-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1729+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
17291730

17301731
// For M851 give a range for adjusting the Z probe offset
1731-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1732-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1732+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1733+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
17331734

17341735
// Enable the M48 repeatability test to test probe accuracy
17351736
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/AliExpress/CL-260/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1650,16 +1650,17 @@
16501650
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
16511651
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16521652
*/
1653-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1654-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1655-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1656-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1653+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1654+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1655+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1656+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1657+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16571658

1658-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1659+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16591660

16601661
// For M851 give a range for adjusting the Z probe offset
1661-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1662-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1662+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1663+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
16631664

16641665
// Enable the M48 repeatability test to test probe accuracy
16651666
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/AliExpress/UM2pExt/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1651,16 +1651,17 @@
16511651
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
16521652
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16531653
*/
1654-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1655-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1656-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1657-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1654+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1655+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1656+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1657+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1658+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16581659

1659-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1660+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16601661

16611662
// For M851 give a range for adjusting the Z probe offset
1662-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1663-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1663+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1664+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
16641665

16651666
// Enable the M48 repeatability test to test probe accuracy
16661667
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/Anet/A2/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1650,16 +1650,17 @@
16501650
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
16511651
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16521652
*/
1653-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1654-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1655-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1656-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1653+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1654+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1655+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1656+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1657+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16571658

1658-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1659+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16591660

16601661
// For M851 give a range for adjusting the Z probe offset
1661-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1662-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1662+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1663+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
16631664

16641665
// Enable the M48 repeatability test to test probe accuracy
16651666
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/Anet/A2plus/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1650,16 +1650,17 @@
16501650
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
16511651
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16521652
*/
1653-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1654-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1655-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1656-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1653+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1654+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1655+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1656+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1657+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16571658

1658-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1659+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16591660

16601661
// For M851 give a range for adjusting the Z probe offset
1661-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1662-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1662+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1663+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
16631664

16641665
// Enable the M48 repeatability test to test probe accuracy
16651666
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/Anet/A6/Configuration.h

+10-9
Original file line numberDiff line numberDiff line change
@@ -1682,21 +1682,22 @@
16821682
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16831683
*/
16841684
#if 1 // 0 for less clearance
1685-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1686-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1685+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1686+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
16871687
#else
1688-
#define Z_CLEARANCE_DEPLOY_PROBE 5 // Z Clearance for Deploy/Stow
1689-
#define Z_CLEARANCE_BETWEEN_PROBES 3 // Z Clearance between probe points
1688+
#define Z_CLEARANCE_DEPLOY_PROBE 5 // (mm) Z Clearance for Deploy/Stow
1689+
#define Z_CLEARANCE_BETWEEN_PROBES 3 // (mm) Z Clearance between probe points
16901690
#endif
16911691

1692-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1693-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1692+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1693+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1694+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16941695

1695-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1696+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16961697

16971698
// For M851 give a range for adjusting the Z probe offset
1698-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1699-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1699+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1700+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
17001701

17011702
// Enable the M48 repeatability test to test probe accuracy
17021703
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/Anet/A8/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1653,16 +1653,17 @@
16531653
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
16541654
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16551655
*/
1656-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1657-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1658-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1659-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1656+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1657+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1658+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1659+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1660+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16601661

1661-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1662+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16621663

16631664
// For M851 give a range for adjusting the Z probe offset
1664-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1665-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1665+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1666+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
16661667

16671668
// Enable the M48 repeatability test to test probe accuracy
16681669
//#define Z_MIN_PROBE_REPEATABILITY_TEST

config/examples/Anet/A8plus/Configuration.h

+8-7
Original file line numberDiff line numberDiff line change
@@ -1652,16 +1652,17 @@
16521652
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
16531653
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
16541654
*/
1655-
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
1656-
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
1657-
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
1658-
//#define Z_AFTER_PROBING 5 // Z position after probing is done
1655+
#define Z_CLEARANCE_DEPLOY_PROBE 10 // (mm) Z Clearance for Deploy/Stow
1656+
#define Z_CLEARANCE_BETWEEN_PROBES 5 // (mm) Z Clearance between probe points
1657+
#define Z_CLEARANCE_MULTI_PROBE 5 // (mm) Z Clearance between multiple probes
1658+
#define Z_PROBE_ERROR_TOLERANCE 3 // (mm) Tolerance for early trigger (<= -probe.offset.z + ZPET)
1659+
//#define Z_AFTER_PROBING 5 // (mm) Z position after probing is done
16591660

1660-
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
1661+
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping
16611662

16621663
// For M851 give a range for adjusting the Z probe offset
1663-
#define Z_PROBE_OFFSET_RANGE_MIN -20
1664-
#define Z_PROBE_OFFSET_RANGE_MAX 20
1664+
#define Z_PROBE_OFFSET_RANGE_MIN -20 // (mm)
1665+
#define Z_PROBE_OFFSET_RANGE_MAX 20 // (mm)
16651666

16661667
// Enable the M48 repeatability test to test probe accuracy
16671668
//#define Z_MIN_PROBE_REPEATABILITY_TEST

0 commit comments

Comments
 (0)