Sfoglia il codice sorgente

Merge pull request #10351 from thinkyhead/bf2_z_probe_low_point

[2.0.x] Z_PROBE_LOW_POINT to prevent probe/bed damage
Scott Lahteine 7 anni fa
parent
commit
dcb1f1f452
Nessun account collegato all'indirizzo email del committer
68 ha cambiato i file con 171 aggiunte e 15 eliminazioni
  1. 2
    0
      Marlin/Configuration.h
  2. 2
    0
      Marlin/src/config/default/Configuration.h
  3. 2
    0
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  4. 2
    0
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  5. 11
    6
      Marlin/src/config/examples/Anet/A6/Configuration.h
  6. 2
    0
      Marlin/src/config/examples/Anet/A8/Configuration.h
  7. 2
    0
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  8. 2
    0
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  9. 2
    0
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  10. 2
    0
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  11. 2
    0
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  12. 2
    0
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  13. 2
    0
      Marlin/src/config/examples/Cartesio/Configuration.h
  14. 2
    0
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  15. 2
    0
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  16. 2
    0
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  17. 2
    0
      Marlin/src/config/examples/Creality/CR-8/Configuration.h
  18. 2
    0
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  19. 2
    0
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  20. 2
    0
      Marlin/src/config/examples/Felix/Configuration.h
  21. 2
    0
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  22. 2
    0
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  23. 2
    0
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  24. 2
    0
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  25. 2
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  26. 2
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  27. 2
    0
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  28. 2
    0
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  29. 2
    0
      Marlin/src/config/examples/MakerParts/Configuration.h
  30. 2
    0
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  31. 2
    0
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  32. 2
    0
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  33. 2
    0
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  34. 2
    0
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  35. 2
    0
      Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
  36. 2
    0
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  37. 2
    0
      Marlin/src/config/examples/RigidBot/Configuration.h
  38. 2
    0
      Marlin/src/config/examples/SCARA/Configuration.h
  39. 2
    0
      Marlin/src/config/examples/STM32F10/Configuration.h
  40. 2
    0
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  41. 2
    0
      Marlin/src/config/examples/TheBorg/Configuration.h
  42. 2
    0
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  43. 2
    0
      Marlin/src/config/examples/Tronxy/X1/Configuration.h
  44. 2
    0
      Marlin/src/config/examples/Tronxy/X5S/Configuration.h
  45. 2
    0
      Marlin/src/config/examples/Tronxy/XY100/Configuration.h
  46. 2
    0
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
  47. 2
    0
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  48. 2
    0
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  49. 2
    0
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  50. 2
    0
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
  51. 2
    0
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  52. 2
    0
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  53. 2
    0
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
  54. 2
    0
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  55. 2
    0
      Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
  56. 2
    0
      Marlin/src/config/examples/delta/generic/Configuration.h
  57. 2
    0
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  58. 2
    0
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  59. 2
    0
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  60. 2
    0
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  61. 2
    0
      Marlin/src/config/examples/makibox/Configuration.h
  62. 2
    0
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  63. 2
    0
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  64. 2
    0
      Marlin/src/config/examples/wt150/Configuration.h
  65. 1
    1
      Marlin/src/gcode/calibrate/G33.cpp
  66. 4
    0
      Marlin/src/inc/SanityCheck.h
  67. 28
    7
      Marlin/src/module/probe.cpp
  68. 1
    1
      Marlin/src/module/probe.h

+ 2
- 0
Marlin/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/default/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h Vedi File

@@ -797,6 +797,8 @@
797 797
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
798 798
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
799 799
 
800
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
801
+
800 802
 // For M851 give a range for adjusting the Z probe offset
801 803
 #define Z_PROBE_OFFSET_RANGE_MIN -20
802 804
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 11
- 6
Marlin/src/config/examples/Anet/A6/Configuration.h Vedi File

@@ -843,12 +843,17 @@
843 843
  * Example: `M851 Z-5` with a CLEARANCE of 4  =>  9mm from bed to nozzle.
844 844
  *     But: `M851 Z+1` with a CLEARANCE of 2  =>  2mm from bed to nozzle.
845 845
  */
846
-#define Z_CLEARANCE_DEPLOY_PROBE   10 // Z Clearance for Deploy/Stow
847
-#define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
848
-//#define Z_AFTER_PROBING           5 // Z position after probing is done
849
-//#define Z_CLEARANCE_DEPLOY_PROBE   5 // Z Clearance for Deploy/Stow
850
-//#define Z_CLEARANCE_BETWEEN_PROBES  3 // Z Clearance between probe points
851
-//#define Z_AFTER_PROBING             3 // Z position after probing is done
846
+#if 1 // 0 for less clearance
847
+  #define Z_CLEARANCE_DEPLOY_PROBE   10 // Z Clearance for Deploy/Stow
848
+  #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
849
+  //#define Z_AFTER_PROBING           5 // Z position after probing is done
850
+#else
851
+  #define Z_CLEARANCE_DEPLOY_PROBE    5 // Z Clearance for Deploy/Stow
852
+  #define Z_CLEARANCE_BETWEEN_PROBES  3 // Z Clearance between probe points
853
+  //#define Z_AFTER_PROBING           3 // Z position after probing is done
854
+#endif
855
+
856
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
852 857
 
853 858
 // For M851 give a range for adjusting the Z probe offset
854 859
 #define Z_PROBE_OFFSET_RANGE_MIN -20

+ 2
- 0
Marlin/src/config/examples/Anet/A8/Configuration.h Vedi File

@@ -784,6 +784,8 @@
784 784
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
785 785
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
786 786
 
787
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
788
+
787 789
 // For M851 give a range for adjusting the Z probe offset
788 790
 #define Z_PROBE_OFFSET_RANGE_MIN -20
789 791
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h Vedi File

@@ -777,6 +777,8 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING          10 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h Vedi File

@@ -777,6 +777,8 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES 10 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING          10 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/BQ/Hephestos/Configuration.h Vedi File

@@ -765,6 +765,8 @@
765 765
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
766 766
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
767 767
 
768
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
769
+
768 770
 // For M851 give a range for adjusting the Z probe offset
769 771
 #define Z_PROBE_OFFSET_RANGE_MIN -20
770 772
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h Vedi File

@@ -778,6 +778,8 @@
778 778
 #define Z_CLEARANCE_BETWEEN_PROBES 2 // Z Clearance between probe points
779 779
 //#define Z_AFTER_PROBING          2 // Z position after probing is done
780 780
 
781
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
782
+
781 783
 // For M851 give a range for adjusting the Z probe offset
782 784
 #define Z_PROBE_OFFSET_RANGE_MIN -5.5
783 785
 #define Z_PROBE_OFFSET_RANGE_MAX -3

+ 2
- 0
Marlin/src/config/examples/BQ/WITBOX/Configuration.h Vedi File

@@ -765,6 +765,8 @@
765 765
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
766 766
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
767 767
 
768
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
769
+
768 770
 // For M851 give a range for adjusting the Z probe offset
769 771
 #define Z_PROBE_OFFSET_RANGE_MIN -20
770 772
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Cartesio/Configuration.h Vedi File

@@ -776,6 +776,8 @@
776 776
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777 777
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
778 778
 
779
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
780
+
779 781
 // For M851 give a range for adjusting the Z probe offset
780 782
 #define Z_PROBE_OFFSET_RANGE_MIN -20
781 783
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/CR-10/Configuration.h Vedi File

@@ -787,6 +787,8 @@
787 787
 #define Z_CLEARANCE_BETWEEN_PROBES 10 // Z Clearance between probe points
788 788
 //#define Z_AFTER_PROBING          10 // Z position after probing is done
789 789
 
790
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
791
+
790 792
 // For M851 give a range for adjusting the Z probe offset
791 793
 #define Z_PROBE_OFFSET_RANGE_MIN -20
792 794
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/CR-10S/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h Vedi File

@@ -796,6 +796,8 @@
796 796
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
797 797
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
798 798
 
799
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
800
+
799 801
 // For M851 give a range for adjusting the Z probe offset
800 802
 #define Z_PROBE_OFFSET_RANGE_MIN -20
801 803
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/CR-8/Configuration.h Vedi File

@@ -787,6 +787,8 @@
787 787
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
788 788
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
789 789
 
790
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
791
+
790 792
 // For M851 give a range for adjusting the Z probe offset
791 793
 #define Z_PROBE_OFFSET_RANGE_MIN -20
792 794
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/Ender-2/Configuration.h Vedi File

@@ -781,6 +781,8 @@
781 781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
782 782
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
783 783
 
784
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
785
+
784 786
 // For M851 give a range for adjusting the Z probe offset
785 787
 #define Z_PROBE_OFFSET_RANGE_MIN -20
786 788
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/Ender-4/Configuration.h Vedi File

@@ -787,6 +787,8 @@
787 787
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
788 788
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
789 789
 
790
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
791
+
790 792
 // For M851 give a range for adjusting the Z probe offset
791 793
 #define Z_PROBE_OFFSET_RANGE_MIN -20
792 794
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Felix/Configuration.h Vedi File

@@ -759,6 +759,8 @@
759 759
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
760 760
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
761 761
 
762
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
763
+
762 764
 // For M851 give a range for adjusting the Z probe offset
763 765
 #define Z_PROBE_OFFSET_RANGE_MIN -20
764 766
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Felix/DUAL/Configuration.h Vedi File

@@ -759,6 +759,8 @@
759 759
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
760 760
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
761 761
 
762
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
763
+
762 764
 // For M851 give a range for adjusting the Z probe offset
763 765
 #define Z_PROBE_OFFSET_RANGE_MIN -20
764 766
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h Vedi File

@@ -783,6 +783,8 @@
783 783
 #define Z_CLEARANCE_BETWEEN_PROBES  3 // Z Clearance between probe points
784 784
 //#define Z_AFTER_PROBING           3 // Z position after probing is done
785 785
 
786
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
787
+
786 788
 // For M851 give a range for adjusting the Z probe offset
787 789
 #define Z_PROBE_OFFSET_RANGE_MIN -20
788 790
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h Vedi File

@@ -792,6 +792,8 @@
792 792
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
793 793
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
794 794
 
795
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
796
+
795 797
 // For M851 give a range for adjusting the Z probe offset
796 798
 #define Z_PROBE_OFFSET_RANGE_MIN -20
797 799
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  6 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           6 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h Vedi File

@@ -793,6 +793,8 @@
793 793
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
794 794
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
795 795
 
796
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
797
+
796 798
 // For M851 give a range for adjusting the Z probe offset
797 799
 #define Z_PROBE_OFFSET_RANGE_MIN -20
798 800
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h Vedi File

@@ -792,6 +792,8 @@
792 792
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
793 793
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
794 794
 
795
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
796
+
795 797
 // For M851 give a range for adjusting the Z probe offset
796 798
 #define Z_PROBE_OFFSET_RANGE_MIN -20
797 799
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h Vedi File

@@ -781,6 +781,8 @@
781 781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
782 782
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
783 783
 
784
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
785
+
784 786
 // For M851 give a range for adjusting the Z probe offset
785 787
 #define Z_PROBE_OFFSET_RANGE_MIN -20
786 788
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/JGAurora/A5/Configuration.h Vedi File

@@ -789,6 +789,8 @@
789 789
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
790 790
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
791 791
 
792
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
793
+
792 794
 // For M851 give a range for adjusting the Z probe offset
793 795
 #define Z_PROBE_OFFSET_RANGE_MIN -20
794 796
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/MakerParts/Configuration.h Vedi File

@@ -797,6 +797,8 @@
797 797
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
798 798
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
799 799
 
800
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
801
+
800 802
 // For M851 give a range for adjusting the Z probe offset
801 803
 #define Z_PROBE_OFFSET_RANGE_MIN -20
802 804
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Malyan/M150/Configuration.h Vedi File

@@ -801,6 +801,8 @@
801 801
 //#define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
802 802
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
803 803
 
804
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
805
+
804 806
 // For M851 give a range for adjusting the Z probe offset
805 807
 //#define Z_PROBE_OFFSET_RANGE_MIN -20
806 808
 //#define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Malyan/M200/Configuration.h Vedi File

@@ -776,6 +776,8 @@
776 776
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777 777
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
778 778
 
779
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
780
+
779 781
 // For M851 give a range for adjusting the Z probe offset
780 782
 #define Z_PROBE_OFFSET_RANGE_MIN -20
781 783
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h Vedi File

@@ -781,6 +781,8 @@
781 781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
782 782
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
783 783
 
784
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
785
+
784 786
 // For M851 give a range for adjusting the Z probe offset
785 787
 #define Z_PROBE_OFFSET_RANGE_MIN -20
786 788
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h Vedi File

@@ -781,6 +781,8 @@
781 781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
782 782
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
783 783
 
784
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
785
+
784 786
 // For M851 give a range for adjusting the Z probe offset
785 787
 #define Z_PROBE_OFFSET_RANGE_MIN -20
786 788
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Mks/Sbase/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h Vedi File

@@ -817,6 +817,8 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
817 817
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
818 818
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
819 819
 
820
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
821
+
820 822
 // For M851 give a range for adjusting the Z probe offset
821 823
 #define Z_PROBE_OFFSET_RANGE_MIN -20
822 824
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/RigidBot/Configuration.h Vedi File

@@ -775,6 +775,8 @@
775 775
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
776 776
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
777 777
 
778
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
779
+
778 780
 // For M851 give a range for adjusting the Z probe offset
779 781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
780 782
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/SCARA/Configuration.h Vedi File

@@ -790,6 +790,8 @@
790 790
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
791 791
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
792 792
 
793
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
794
+
793 795
 // For M851 give a range for adjusting the Z probe offset
794 796
 #define Z_PROBE_OFFSET_RANGE_MIN -20
795 797
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/STM32F10/Configuration.h Vedi File

@@ -780,6 +780,8 @@
780 780
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
781 781
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
782 782
 
783
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
784
+
783 785
 // For M851 give a range for adjusting the Z probe offset
784 786
 #define Z_PROBE_OFFSET_RANGE_MIN -20
785 787
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Sanguinololu/Configuration.h Vedi File

@@ -808,6 +808,8 @@
808 808
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
809 809
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
810 810
 
811
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
812
+
811 813
 // For M851 give a range for adjusting the Z probe offset
812 814
 #define Z_PROBE_OFFSET_RANGE_MIN -20
813 815
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/TheBorg/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/TinyBoy2/Configuration.h Vedi File

@@ -828,6 +828,8 @@
828 828
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
829 829
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
830 830
 
831
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
832
+
831 833
 // For M851 give a range for adjusting the Z probe offset
832 834
 #define Z_PROBE_OFFSET_RANGE_MIN -20
833 835
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Tronxy/X1/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Tronxy/X5S/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Tronxy/XY100/Configuration.h Vedi File

@@ -788,6 +788,8 @@
788 788
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
789 789
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
790 790
 
791
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
792
+
791 793
 // For M851 give a range for adjusting the Z probe offset
792 794
 #define Z_PROBE_OFFSET_RANGE_MIN -20
793 795
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Velleman/K8200/Configuration.h Vedi File

@@ -806,6 +806,8 @@
806 806
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
807 807
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
808 808
 
809
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
810
+
809 811
 // For M851 give a range for adjusting the Z probe offset
810 812
 #define Z_PROBE_OFFSET_RANGE_MIN -20
811 813
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Velleman/K8400/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h Vedi File

@@ -787,6 +787,8 @@
787 787
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
788 788
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
789 789
 
790
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
791
+
790 792
 // For M851 give a range for adjusting the Z probe offset
791 793
 #define Z_PROBE_OFFSET_RANGE_MIN -20
792 794
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/adafruit/ST7565/Configuration.h Vedi File

@@ -777,6 +777,8 @@
777 777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778 778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
779 779
 
780
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
781
+
780 782
 // For M851 give a range for adjusting the Z probe offset
781 783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782 784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h Vedi File

@@ -907,6 +907,8 @@
907 907
 #define Z_CLEARANCE_BETWEEN_PROBES  2 // Z Clearance between probe points
908 908
 //#define Z_AFTER_PROBING           2 // Z position after probing is done
909 909
 
910
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
911
+
910 912
 // For M851 give a range for adjusting the Z probe offset
911 913
 #define Z_PROBE_OFFSET_RANGE_MIN -20
912 914
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h Vedi File

@@ -907,6 +907,8 @@
907 907
 #define Z_CLEARANCE_BETWEEN_PROBES  2 // Z Clearance between probe points
908 908
 //#define Z_AFTER_PROBING           2 // Z position after probing is done
909 909
 
910
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
911
+
910 912
 // For M851 give a range for adjusting the Z probe offset
911 913
 #define Z_PROBE_OFFSET_RANGE_MIN -20
912 914
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h Vedi File

@@ -907,6 +907,8 @@
907 907
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
908 908
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
909 909
 
910
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
911
+
910 912
 // For M851 give a range for adjusting the Z probe offset
911 913
 #define Z_PROBE_OFFSET_RANGE_MIN -20
912 914
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h Vedi File

@@ -909,6 +909,8 @@
909 909
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
910 910
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
911 911
 
912
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
913
+
912 914
 // For M851 give a range for adjusting the Z probe offset
913 915
 #define Z_PROBE_OFFSET_RANGE_MIN -20
914 916
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/generic/Configuration.h Vedi File

@@ -894,6 +894,8 @@
894 894
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
895 895
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
896 896
 
897
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
898
+
897 899
 // For M851 give a range for adjusting the Z probe offset
898 900
 #define Z_PROBE_OFFSET_RANGE_MIN -20
899 901
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/kossel_mini/Configuration.h Vedi File

@@ -897,6 +897,8 @@
897 897
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
898 898
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
899 899
 
900
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
901
+
900 902
 // For M851 give a range for adjusting the Z probe offset
901 903
 #define Z_PROBE_OFFSET_RANGE_MIN -20
902 904
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/kossel_pro/Configuration.h Vedi File

@@ -896,6 +896,8 @@
896 896
 #define Z_CLEARANCE_BETWEEN_PROBES   5 // Z Clearance between probe points
897 897
 //#define Z_AFTER_PROBING            5 // Z position after probing is done
898 898
 
899
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
900
+
899 901
 // For M851 give a range for adjusting the Z probe offset
900 902
 
901 903
 #define Z_PROBE_OFFSET_RANGE_MIN -15

+ 2
- 0
Marlin/src/config/examples/delta/kossel_xl/Configuration.h Vedi File

@@ -906,6 +906,8 @@
906 906
 #define Z_CLEARANCE_BETWEEN_PROBES 10 // Z Clearance between probe points
907 907
 //#define Z_AFTER_PROBING          10 // Z position after probing is done
908 908
 
909
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
910
+
909 911
 // For M851 give a range for adjusting the Z probe offset
910 912
 #define Z_PROBE_OFFSET_RANGE_MIN -20
911 913
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h Vedi File

@@ -790,6 +790,8 @@
790 790
 #define Z_CLEARANCE_BETWEEN_PROBES  6 // Z Clearance between probe points
791 791
 //#define Z_AFTER_PROBING           6 // Z position after probing is done
792 792
 
793
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
794
+
793 795
 // For M851 give a range for adjusting the Z probe offset
794 796
 #define Z_PROBE_OFFSET_RANGE_MIN -20
795 797
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/makibox/Configuration.h Vedi File

@@ -780,6 +780,8 @@
780 780
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
781 781
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
782 782
 
783
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
784
+
783 785
 // For M851 give a range for adjusting the Z probe offset
784 786
 #define Z_PROBE_OFFSET_RANGE_MIN -20
785 787
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/stm32f103ret6/Configuration.h Vedi File

@@ -778,6 +778,8 @@
778 778
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
779 779
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
780 780
 
781
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
782
+
781 783
 // For M851 give a range for adjusting the Z probe offset
782 784
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783 785
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/tvrrug/Round2/Configuration.h Vedi File

@@ -772,6 +772,8 @@
772 772
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
773 773
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
774 774
 
775
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
776
+
775 777
 // For M851 give a range for adjusting the Z probe offset
776 778
 #define Z_PROBE_OFFSET_RANGE_MIN -20
777 779
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/wt150/Configuration.h Vedi File

@@ -782,6 +782,8 @@
782 782
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
783 783
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
784 784
 
785
+#define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
786
+
785 787
 // For M851 give a range for adjusting the Z probe offset
786 788
 #define Z_PROBE_OFFSET_RANGE_MIN -20
787 789
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 1
- 1
Marlin/src/gcode/calibrate/G33.cpp Vedi File

@@ -137,7 +137,7 @@ static void G33_cleanup(
137 137
 
138 138
 inline float calibration_probe(const float nx, const float ny, const bool stow) {
139 139
   #if HAS_BED_PROBE
140
-    return probe_pt(nx, ny, stow ? PROBE_PT_STOW : PROBE_PT_RAISE, 0, false);
140
+    return probe_pt(nx, ny, stow ? PROBE_PT_STOW : PROBE_PT_RAISE, 0, true);
141 141
   #else
142 142
     UNUSED(stow);
143 143
     return lcd_probe_pt(nx, ny);

+ 4
- 0
Marlin/src/inc/SanityCheck.h Vedi File

@@ -780,6 +780,10 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
780 780
     #error "MULTIPLE_PROBING must be >= 2."
781 781
   #endif
782 782
 
783
+  #if Z_PROBE_LOW_POINT > 0
784
+    #error "Z_PROBE_LOW_POINT must be less than or equal to 0."
785
+  #endif
786
+
783 787
 #else
784 788
 
785 789
   /**

+ 28
- 7
Marlin/src/module/probe.cpp Vedi File

@@ -539,17 +539,34 @@ static bool do_probe_move(const float z, const float fr_mm_m) {
539 539
  *
540 540
  * @return The raw Z position where the probe was triggered
541 541
  */
542
-static float run_z_probe() {
542
+#define HAS_CALIBRATION_PROBE (ENABLED(DELTA_AUTO_CALIBRATION) && Z_PROBE_LOW_POINT < 0)
543
+static float run_z_probe(
544
+  #if HAS_CALIBRATION_PROBE
545
+    const bool is_calibration
546
+  #endif
547
+) {
543 548
 
544 549
   #if ENABLED(DEBUG_LEVELING_FEATURE)
545 550
     if (DEBUGGING(LEVELING)) DEBUG_POS(">>> run_z_probe", current_position);
546 551
   #endif
547 552
 
553
+  #if Z_PROBE_LOW_POINT < 0
554
+    // Stop the probe before it goes too low to prevent damage.
555
+    // If Z isn't known or this is a "calibration probe" then probe to -10mm.
556
+    #if !HAS_CALIBRATION_PROBE
557
+      constexpr bool is_calibration = false;
558
+    #endif
559
+    const float z_probe_low_point = !is_calibration && axis_known_position[Z_AXIS] ? -zprobe_zoffset + Z_PROBE_LOW_POINT : -10.0;
560
+  #else
561
+    // Assertively move down in all cases
562
+    constexpr float z_probe_low_point = -10.0;
563
+  #endif
564
+
548 565
   // Double-probing does a fast probe followed by a slow probe
549 566
   #if MULTIPLE_PROBING == 2
550 567
 
551 568
     // Do a first probe at the fast speed
552
-    if (do_probe_move(-10, Z_PROBE_SPEED_FAST)) return NAN;
569
+    if (do_probe_move(z_probe_low_point, Z_PROBE_SPEED_FAST)) return NAN;
553 570
 
554 571
     float first_probe_z = current_position[Z_AXIS];
555 572
 
@@ -580,7 +597,7 @@ static float run_z_probe() {
580 597
   #endif
581 598
 
582 599
       // Move down slowly to find bed, not too far
583
-      if (do_probe_move(-10, Z_PROBE_SPEED_SLOW)) return NAN;
600
+      if (do_probe_move(z_probe_low_point, Z_PROBE_SPEED_SLOW)) return NAN;
584 601
 
585 602
   #if MULTIPLE_PROBING > 2
586 603
       probes_total += current_position[Z_AXIS];
@@ -628,14 +645,14 @@ static float run_z_probe() {
628 645
  *   - Raise to the BETWEEN height
629 646
  * - Return the probed Z position
630 647
  */
631
-float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after/*=PROBE_PT_NONE*/, const uint8_t verbose_level/*=0*/, const bool probe_relative/*=true*/) {
648
+float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after/*=PROBE_PT_NONE*/, const uint8_t verbose_level/*=0*/, const bool is_calibration/*=false*/) {
632 649
   #if ENABLED(DEBUG_LEVELING_FEATURE)
633 650
     if (DEBUGGING(LEVELING)) {
634 651
       SERIAL_ECHOPAIR(">>> probe_pt(", LOGICAL_X_POSITION(rx));
635 652
       SERIAL_ECHOPAIR(", ", LOGICAL_Y_POSITION(ry));
636 653
       SERIAL_ECHOPAIR(", ", raise_after == PROBE_PT_RAISE ? "raise" : raise_after == PROBE_PT_STOW ? "stow" : "none");
637 654
       SERIAL_ECHOPAIR(", ", int(verbose_level));
638
-      SERIAL_ECHOPAIR(", ", probe_relative ? "probe" : "nozzle");
655
+      SERIAL_ECHOPAIR(", ", is_calibration ? "nozzle" : "probe");
639 656
       SERIAL_ECHOLNPGM("_relative)");
640 657
       DEBUG_POS("", current_position);
641 658
     }
@@ -643,7 +660,7 @@ float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after/
643 660
 
644 661
   // TODO: Adapt for SCARA, where the offset rotates
645 662
   float nx = rx, ny = ry;
646
-  if (probe_relative) {
663
+  if (!is_calibration) {
647 664
     if (!position_is_reachable_by_probe(rx, ry)) return NAN;  // The given position is in terms of the probe
648 665
     nx -= (X_PROBE_OFFSET_FROM_EXTRUDER);                     // Get the nozzle position
649 666
     ny -= (Y_PROBE_OFFSET_FROM_EXTRUDER);
@@ -667,7 +684,11 @@ float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after/
667 684
 
668 685
   float measured_z = NAN;
669 686
   if (!DEPLOY_PROBE()) {
670
-    measured_z = run_z_probe() + zprobe_zoffset;
687
+    measured_z = run_z_probe(
688
+      #if HAS_CALIBRATION_PROBE
689
+        is_calibration
690
+      #endif
691
+    ) + zprobe_zoffset;
671 692
 
672 693
     if (raise_after == PROBE_PT_RAISE)
673 694
       do_blocking_move_to_z(current_position[Z_AXIS] + Z_CLEARANCE_BETWEEN_PROBES, MMM_TO_MMS(Z_PROBE_SPEED_FAST));

+ 1
- 1
Marlin/src/module/probe.h Vedi File

@@ -40,7 +40,7 @@
40 40
     PROBE_PT_STOW,  // Do a complete stow after run_z_probe
41 41
     PROBE_PT_RAISE  // Raise to "between" clearance after run_z_probe
42 42
   };
43
-  float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after=PROBE_PT_NONE, const uint8_t verbose_level=0, const bool probe_relative=true);
43
+  float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after=PROBE_PT_NONE, const uint8_t verbose_level=0, const bool is_calibration=false);
44 44
   #define DEPLOY_PROBE() set_probe_deployed(true)
45 45
   #define STOW_PROBE() set_probe_deployed(false)
46 46
 #else

Loading…
Annulla
Salva