瀏覽代碼

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 年之前
父節點
當前提交
dcb1f1f452
沒有連結到貢獻者的電子郵件帳戶。
共有 68 個檔案被更改,包括 171 行新增15 行删除
  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 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/default/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h 查看文件

797
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
797
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
798
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
802
 // For M851 give a range for adjusting the Z probe offset
801
 #define Z_PROBE_OFFSET_RANGE_MIN -20
803
 #define Z_PROBE_OFFSET_RANGE_MIN -20
802
 #define Z_PROBE_OFFSET_RANGE_MAX 20
804
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 11
- 6
Marlin/src/config/examples/Anet/A6/Configuration.h 查看文件

843
  * Example: `M851 Z-5` with a CLEARANCE of 4  =>  9mm from bed to nozzle.
843
  * Example: `M851 Z-5` with a CLEARANCE of 4  =>  9mm from bed to nozzle.
844
  *     But: `M851 Z+1` with a CLEARANCE of 2  =>  2mm from bed to nozzle.
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
 // For M851 give a range for adjusting the Z probe offset
858
 // For M851 give a range for adjusting the Z probe offset
854
 #define Z_PROBE_OFFSET_RANGE_MIN -20
859
 #define Z_PROBE_OFFSET_RANGE_MIN -20

+ 2
- 0
Marlin/src/config/examples/Anet/A8/Configuration.h 查看文件

784
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
784
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
785
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
789
 // For M851 give a range for adjusting the Z probe offset
788
 #define Z_PROBE_OFFSET_RANGE_MIN -20
790
 #define Z_PROBE_OFFSET_RANGE_MIN -20
789
 #define Z_PROBE_OFFSET_RANGE_MAX 20
791
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING          10 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES 10 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES 10 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING          10 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/BQ/Hephestos/Configuration.h 查看文件

765
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
765
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
766
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
770
 // For M851 give a range for adjusting the Z probe offset
769
 #define Z_PROBE_OFFSET_RANGE_MIN -20
771
 #define Z_PROBE_OFFSET_RANGE_MIN -20
770
 #define Z_PROBE_OFFSET_RANGE_MAX 20
772
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h 查看文件

778
 #define Z_CLEARANCE_BETWEEN_PROBES 2 // Z Clearance between probe points
778
 #define Z_CLEARANCE_BETWEEN_PROBES 2 // Z Clearance between probe points
779
 //#define Z_AFTER_PROBING          2 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
783
 // For M851 give a range for adjusting the Z probe offset
782
 #define Z_PROBE_OFFSET_RANGE_MIN -5.5
784
 #define Z_PROBE_OFFSET_RANGE_MIN -5.5
783
 #define Z_PROBE_OFFSET_RANGE_MAX -3
785
 #define Z_PROBE_OFFSET_RANGE_MAX -3

+ 2
- 0
Marlin/src/config/examples/BQ/WITBOX/Configuration.h 查看文件

765
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
765
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
766
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
770
 // For M851 give a range for adjusting the Z probe offset
769
 #define Z_PROBE_OFFSET_RANGE_MIN -20
771
 #define Z_PROBE_OFFSET_RANGE_MIN -20
770
 #define Z_PROBE_OFFSET_RANGE_MAX 20
772
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Cartesio/Configuration.h 查看文件

776
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
776
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
781
 // For M851 give a range for adjusting the Z probe offset
780
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MIN -20
781
 #define Z_PROBE_OFFSET_RANGE_MAX 20
783
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/CR-10/Configuration.h 查看文件

787
 #define Z_CLEARANCE_BETWEEN_PROBES 10 // Z Clearance between probe points
787
 #define Z_CLEARANCE_BETWEEN_PROBES 10 // Z Clearance between probe points
788
 //#define Z_AFTER_PROBING          10 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
792
 // For M851 give a range for adjusting the Z probe offset
791
 #define Z_PROBE_OFFSET_RANGE_MIN -20
793
 #define Z_PROBE_OFFSET_RANGE_MIN -20
792
 #define Z_PROBE_OFFSET_RANGE_MAX 20
794
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/CR-10S/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h 查看文件

796
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
796
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
797
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
801
 // For M851 give a range for adjusting the Z probe offset
800
 #define Z_PROBE_OFFSET_RANGE_MIN -20
802
 #define Z_PROBE_OFFSET_RANGE_MIN -20
801
 #define Z_PROBE_OFFSET_RANGE_MAX 20
803
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/CR-8/Configuration.h 查看文件

787
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
787
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
788
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
792
 // For M851 give a range for adjusting the Z probe offset
791
 #define Z_PROBE_OFFSET_RANGE_MIN -20
793
 #define Z_PROBE_OFFSET_RANGE_MIN -20
792
 #define Z_PROBE_OFFSET_RANGE_MAX 20
794
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/Ender-2/Configuration.h 查看文件

781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
782
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
786
 // For M851 give a range for adjusting the Z probe offset
785
 #define Z_PROBE_OFFSET_RANGE_MIN -20
787
 #define Z_PROBE_OFFSET_RANGE_MIN -20
786
 #define Z_PROBE_OFFSET_RANGE_MAX 20
788
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Creality/Ender-4/Configuration.h 查看文件

787
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
787
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
788
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
792
 // For M851 give a range for adjusting the Z probe offset
791
 #define Z_PROBE_OFFSET_RANGE_MIN -20
793
 #define Z_PROBE_OFFSET_RANGE_MIN -20
792
 #define Z_PROBE_OFFSET_RANGE_MAX 20
794
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Felix/Configuration.h 查看文件

759
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
759
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
760
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
764
 // For M851 give a range for adjusting the Z probe offset
763
 #define Z_PROBE_OFFSET_RANGE_MIN -20
765
 #define Z_PROBE_OFFSET_RANGE_MIN -20
764
 #define Z_PROBE_OFFSET_RANGE_MAX 20
766
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Felix/DUAL/Configuration.h 查看文件

759
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
759
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
760
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
764
 // For M851 give a range for adjusting the Z probe offset
763
 #define Z_PROBE_OFFSET_RANGE_MIN -20
765
 #define Z_PROBE_OFFSET_RANGE_MIN -20
764
 #define Z_PROBE_OFFSET_RANGE_MAX 20
766
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h 查看文件

783
 #define Z_CLEARANCE_BETWEEN_PROBES  3 // Z Clearance between probe points
783
 #define Z_CLEARANCE_BETWEEN_PROBES  3 // Z Clearance between probe points
784
 //#define Z_AFTER_PROBING           3 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
788
 // For M851 give a range for adjusting the Z probe offset
787
 #define Z_PROBE_OFFSET_RANGE_MIN -20
789
 #define Z_PROBE_OFFSET_RANGE_MIN -20
788
 #define Z_PROBE_OFFSET_RANGE_MAX 20
790
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h 查看文件

792
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
792
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
793
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
797
 // For M851 give a range for adjusting the Z probe offset
796
 #define Z_PROBE_OFFSET_RANGE_MIN -20
798
 #define Z_PROBE_OFFSET_RANGE_MIN -20
797
 #define Z_PROBE_OFFSET_RANGE_MAX 20
799
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  6 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  6 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           6 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h 查看文件

793
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
793
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
794
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
798
 // For M851 give a range for adjusting the Z probe offset
797
 #define Z_PROBE_OFFSET_RANGE_MIN -20
799
 #define Z_PROBE_OFFSET_RANGE_MIN -20
798
 #define Z_PROBE_OFFSET_RANGE_MAX 20
800
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h 查看文件

792
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
792
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
793
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
797
 // For M851 give a range for adjusting the Z probe offset
796
 #define Z_PROBE_OFFSET_RANGE_MIN -20
798
 #define Z_PROBE_OFFSET_RANGE_MIN -20
797
 #define Z_PROBE_OFFSET_RANGE_MAX 20
799
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h 查看文件

781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
782
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
786
 // For M851 give a range for adjusting the Z probe offset
785
 #define Z_PROBE_OFFSET_RANGE_MIN -20
787
 #define Z_PROBE_OFFSET_RANGE_MIN -20
786
 #define Z_PROBE_OFFSET_RANGE_MAX 20
788
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/JGAurora/A5/Configuration.h 查看文件

789
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
789
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
790
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
794
 // For M851 give a range for adjusting the Z probe offset
793
 #define Z_PROBE_OFFSET_RANGE_MIN -20
795
 #define Z_PROBE_OFFSET_RANGE_MIN -20
794
 #define Z_PROBE_OFFSET_RANGE_MAX 20
796
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/MakerParts/Configuration.h 查看文件

797
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
797
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
798
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
802
 // For M851 give a range for adjusting the Z probe offset
801
 #define Z_PROBE_OFFSET_RANGE_MIN -20
803
 #define Z_PROBE_OFFSET_RANGE_MIN -20
802
 #define Z_PROBE_OFFSET_RANGE_MAX 20
804
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Malyan/M150/Configuration.h 查看文件

801
 //#define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
801
 //#define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
802
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
806
 // For M851 give a range for adjusting the Z probe offset
805
 //#define Z_PROBE_OFFSET_RANGE_MIN -20
807
 //#define Z_PROBE_OFFSET_RANGE_MIN -20
806
 //#define Z_PROBE_OFFSET_RANGE_MAX 20
808
 //#define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Malyan/M200/Configuration.h 查看文件

776
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
776
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
781
 // For M851 give a range for adjusting the Z probe offset
780
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MIN -20
781
 #define Z_PROBE_OFFSET_RANGE_MAX 20
783
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h 查看文件

781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
782
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
786
 // For M851 give a range for adjusting the Z probe offset
785
 #define Z_PROBE_OFFSET_RANGE_MIN -20
787
 #define Z_PROBE_OFFSET_RANGE_MIN -20
786
 #define Z_PROBE_OFFSET_RANGE_MAX 20
788
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h 查看文件

781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
781
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
782
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
786
 // For M851 give a range for adjusting the Z probe offset
785
 #define Z_PROBE_OFFSET_RANGE_MIN -20
787
 #define Z_PROBE_OFFSET_RANGE_MIN -20
786
 #define Z_PROBE_OFFSET_RANGE_MAX 20
788
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Mks/Sbase/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h 查看文件

817
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
817
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
818
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
822
 // For M851 give a range for adjusting the Z probe offset
821
 #define Z_PROBE_OFFSET_RANGE_MIN -20
823
 #define Z_PROBE_OFFSET_RANGE_MIN -20
822
 #define Z_PROBE_OFFSET_RANGE_MAX 20
824
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/RigidBot/Configuration.h 查看文件

775
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
775
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
776
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
780
 // For M851 give a range for adjusting the Z probe offset
779
 #define Z_PROBE_OFFSET_RANGE_MIN -20
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
780
 #define Z_PROBE_OFFSET_RANGE_MAX 20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/SCARA/Configuration.h 查看文件

790
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
790
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
791
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
795
 // For M851 give a range for adjusting the Z probe offset
794
 #define Z_PROBE_OFFSET_RANGE_MIN -20
796
 #define Z_PROBE_OFFSET_RANGE_MIN -20
795
 #define Z_PROBE_OFFSET_RANGE_MAX 20
797
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/STM32F10/Configuration.h 查看文件

780
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
780
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
781
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
785
 // For M851 give a range for adjusting the Z probe offset
784
 #define Z_PROBE_OFFSET_RANGE_MIN -20
786
 #define Z_PROBE_OFFSET_RANGE_MIN -20
785
 #define Z_PROBE_OFFSET_RANGE_MAX 20
787
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Sanguinololu/Configuration.h 查看文件

808
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
808
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
809
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
813
 // For M851 give a range for adjusting the Z probe offset
812
 #define Z_PROBE_OFFSET_RANGE_MIN -20
814
 #define Z_PROBE_OFFSET_RANGE_MIN -20
813
 #define Z_PROBE_OFFSET_RANGE_MAX 20
815
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/TheBorg/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/TinyBoy2/Configuration.h 查看文件

828
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
828
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
829
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
833
 // For M851 give a range for adjusting the Z probe offset
832
 #define Z_PROBE_OFFSET_RANGE_MIN -20
834
 #define Z_PROBE_OFFSET_RANGE_MIN -20
833
 #define Z_PROBE_OFFSET_RANGE_MAX 20
835
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Tronxy/X1/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Tronxy/X5S/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Tronxy/XY100/Configuration.h 查看文件

788
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
788
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
789
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
793
 // For M851 give a range for adjusting the Z probe offset
792
 #define Z_PROBE_OFFSET_RANGE_MIN -20
794
 #define Z_PROBE_OFFSET_RANGE_MIN -20
793
 #define Z_PROBE_OFFSET_RANGE_MAX 20
795
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Velleman/K8200/Configuration.h 查看文件

806
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
806
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
807
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
811
 // For M851 give a range for adjusting the Z probe offset
810
 #define Z_PROBE_OFFSET_RANGE_MIN -20
812
 #define Z_PROBE_OFFSET_RANGE_MIN -20
811
 #define Z_PROBE_OFFSET_RANGE_MAX 20
813
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Velleman/K8400/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h 查看文件

787
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
787
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
788
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
792
 // For M851 give a range for adjusting the Z probe offset
791
 #define Z_PROBE_OFFSET_RANGE_MIN -20
793
 #define Z_PROBE_OFFSET_RANGE_MIN -20
792
 #define Z_PROBE_OFFSET_RANGE_MAX 20
794
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/adafruit/ST7565/Configuration.h 查看文件

777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
777
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
782
 // For M851 give a range for adjusting the Z probe offset
781
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MIN -20
782
 #define Z_PROBE_OFFSET_RANGE_MAX 20
784
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h 查看文件

907
 #define Z_CLEARANCE_BETWEEN_PROBES  2 // Z Clearance between probe points
907
 #define Z_CLEARANCE_BETWEEN_PROBES  2 // Z Clearance between probe points
908
 //#define Z_AFTER_PROBING           2 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
912
 // For M851 give a range for adjusting the Z probe offset
911
 #define Z_PROBE_OFFSET_RANGE_MIN -20
913
 #define Z_PROBE_OFFSET_RANGE_MIN -20
912
 #define Z_PROBE_OFFSET_RANGE_MAX 20
914
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h 查看文件

907
 #define Z_CLEARANCE_BETWEEN_PROBES  2 // Z Clearance between probe points
907
 #define Z_CLEARANCE_BETWEEN_PROBES  2 // Z Clearance between probe points
908
 //#define Z_AFTER_PROBING           2 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
912
 // For M851 give a range for adjusting the Z probe offset
911
 #define Z_PROBE_OFFSET_RANGE_MIN -20
913
 #define Z_PROBE_OFFSET_RANGE_MIN -20
912
 #define Z_PROBE_OFFSET_RANGE_MAX 20
914
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h 查看文件

907
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
907
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
908
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
912
 // For M851 give a range for adjusting the Z probe offset
911
 #define Z_PROBE_OFFSET_RANGE_MIN -20
913
 #define Z_PROBE_OFFSET_RANGE_MIN -20
912
 #define Z_PROBE_OFFSET_RANGE_MAX 20
914
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h 查看文件

909
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
909
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
910
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
914
 // For M851 give a range for adjusting the Z probe offset
913
 #define Z_PROBE_OFFSET_RANGE_MIN -20
915
 #define Z_PROBE_OFFSET_RANGE_MIN -20
914
 #define Z_PROBE_OFFSET_RANGE_MAX 20
916
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/generic/Configuration.h 查看文件

894
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
894
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
895
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
899
 // For M851 give a range for adjusting the Z probe offset
898
 #define Z_PROBE_OFFSET_RANGE_MIN -20
900
 #define Z_PROBE_OFFSET_RANGE_MIN -20
899
 #define Z_PROBE_OFFSET_RANGE_MAX 20
901
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/kossel_mini/Configuration.h 查看文件

897
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
897
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
898
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
902
 // For M851 give a range for adjusting the Z probe offset
901
 #define Z_PROBE_OFFSET_RANGE_MIN -20
903
 #define Z_PROBE_OFFSET_RANGE_MIN -20
902
 #define Z_PROBE_OFFSET_RANGE_MAX 20
904
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/delta/kossel_pro/Configuration.h 查看文件

896
 #define Z_CLEARANCE_BETWEEN_PROBES   5 // Z Clearance between probe points
896
 #define Z_CLEARANCE_BETWEEN_PROBES   5 // Z Clearance between probe points
897
 //#define Z_AFTER_PROBING            5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
901
 // For M851 give a range for adjusting the Z probe offset
900
 
902
 
901
 #define Z_PROBE_OFFSET_RANGE_MIN -15
903
 #define Z_PROBE_OFFSET_RANGE_MIN -15

+ 2
- 0
Marlin/src/config/examples/delta/kossel_xl/Configuration.h 查看文件

906
 #define Z_CLEARANCE_BETWEEN_PROBES 10 // Z Clearance between probe points
906
 #define Z_CLEARANCE_BETWEEN_PROBES 10 // Z Clearance between probe points
907
 //#define Z_AFTER_PROBING          10 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
911
 // For M851 give a range for adjusting the Z probe offset
910
 #define Z_PROBE_OFFSET_RANGE_MIN -20
912
 #define Z_PROBE_OFFSET_RANGE_MIN -20
911
 #define Z_PROBE_OFFSET_RANGE_MAX 20
913
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h 查看文件

790
 #define Z_CLEARANCE_BETWEEN_PROBES  6 // Z Clearance between probe points
790
 #define Z_CLEARANCE_BETWEEN_PROBES  6 // Z Clearance between probe points
791
 //#define Z_AFTER_PROBING           6 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
795
 // For M851 give a range for adjusting the Z probe offset
794
 #define Z_PROBE_OFFSET_RANGE_MIN -20
796
 #define Z_PROBE_OFFSET_RANGE_MIN -20
795
 #define Z_PROBE_OFFSET_RANGE_MAX 20
797
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/makibox/Configuration.h 查看文件

780
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
780
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
781
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
785
 // For M851 give a range for adjusting the Z probe offset
784
 #define Z_PROBE_OFFSET_RANGE_MIN -20
786
 #define Z_PROBE_OFFSET_RANGE_MIN -20
785
 #define Z_PROBE_OFFSET_RANGE_MAX 20
787
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/stm32f103ret6/Configuration.h 查看文件

778
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
778
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
779
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
783
 // For M851 give a range for adjusting the Z probe offset
782
 #define Z_PROBE_OFFSET_RANGE_MIN -20
784
 #define Z_PROBE_OFFSET_RANGE_MIN -20
783
 #define Z_PROBE_OFFSET_RANGE_MAX 20
785
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/tvrrug/Round2/Configuration.h 查看文件

772
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
772
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
773
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
777
 // For M851 give a range for adjusting the Z probe offset
776
 #define Z_PROBE_OFFSET_RANGE_MIN -20
778
 #define Z_PROBE_OFFSET_RANGE_MIN -20
777
 #define Z_PROBE_OFFSET_RANGE_MAX 20
779
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 2
- 0
Marlin/src/config/examples/wt150/Configuration.h 查看文件

782
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
782
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
783
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
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
 // For M851 give a range for adjusting the Z probe offset
787
 // For M851 give a range for adjusting the Z probe offset
786
 #define Z_PROBE_OFFSET_RANGE_MIN -20
788
 #define Z_PROBE_OFFSET_RANGE_MIN -20
787
 #define Z_PROBE_OFFSET_RANGE_MAX 20
789
 #define Z_PROBE_OFFSET_RANGE_MAX 20

+ 1
- 1
Marlin/src/gcode/calibrate/G33.cpp 查看文件

137
 
137
 
138
 inline float calibration_probe(const float nx, const float ny, const bool stow) {
138
 inline float calibration_probe(const float nx, const float ny, const bool stow) {
139
   #if HAS_BED_PROBE
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
   #else
141
   #else
142
     UNUSED(stow);
142
     UNUSED(stow);
143
     return lcd_probe_pt(nx, ny);
143
     return lcd_probe_pt(nx, ny);

+ 4
- 0
Marlin/src/inc/SanityCheck.h 查看文件

780
     #error "MULTIPLE_PROBING must be >= 2."
780
     #error "MULTIPLE_PROBING must be >= 2."
781
   #endif
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
 #else
787
 #else
784
 
788
 
785
   /**
789
   /**

+ 28
- 7
Marlin/src/module/probe.cpp 查看文件

539
  *
539
  *
540
  * @return The raw Z position where the probe was triggered
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
   #if ENABLED(DEBUG_LEVELING_FEATURE)
549
   #if ENABLED(DEBUG_LEVELING_FEATURE)
545
     if (DEBUGGING(LEVELING)) DEBUG_POS(">>> run_z_probe", current_position);
550
     if (DEBUGGING(LEVELING)) DEBUG_POS(">>> run_z_probe", current_position);
546
   #endif
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
   // Double-probing does a fast probe followed by a slow probe
565
   // Double-probing does a fast probe followed by a slow probe
549
   #if MULTIPLE_PROBING == 2
566
   #if MULTIPLE_PROBING == 2
550
 
567
 
551
     // Do a first probe at the fast speed
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
     float first_probe_z = current_position[Z_AXIS];
571
     float first_probe_z = current_position[Z_AXIS];
555
 
572
 
580
   #endif
597
   #endif
581
 
598
 
582
       // Move down slowly to find bed, not too far
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
   #if MULTIPLE_PROBING > 2
602
   #if MULTIPLE_PROBING > 2
586
       probes_total += current_position[Z_AXIS];
603
       probes_total += current_position[Z_AXIS];
628
  *   - Raise to the BETWEEN height
645
  *   - Raise to the BETWEEN height
629
  * - Return the probed Z position
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
   #if ENABLED(DEBUG_LEVELING_FEATURE)
649
   #if ENABLED(DEBUG_LEVELING_FEATURE)
633
     if (DEBUGGING(LEVELING)) {
650
     if (DEBUGGING(LEVELING)) {
634
       SERIAL_ECHOPAIR(">>> probe_pt(", LOGICAL_X_POSITION(rx));
651
       SERIAL_ECHOPAIR(">>> probe_pt(", LOGICAL_X_POSITION(rx));
635
       SERIAL_ECHOPAIR(", ", LOGICAL_Y_POSITION(ry));
652
       SERIAL_ECHOPAIR(", ", LOGICAL_Y_POSITION(ry));
636
       SERIAL_ECHOPAIR(", ", raise_after == PROBE_PT_RAISE ? "raise" : raise_after == PROBE_PT_STOW ? "stow" : "none");
653
       SERIAL_ECHOPAIR(", ", raise_after == PROBE_PT_RAISE ? "raise" : raise_after == PROBE_PT_STOW ? "stow" : "none");
637
       SERIAL_ECHOPAIR(", ", int(verbose_level));
654
       SERIAL_ECHOPAIR(", ", int(verbose_level));
638
-      SERIAL_ECHOPAIR(", ", probe_relative ? "probe" : "nozzle");
655
+      SERIAL_ECHOPAIR(", ", is_calibration ? "nozzle" : "probe");
639
       SERIAL_ECHOLNPGM("_relative)");
656
       SERIAL_ECHOLNPGM("_relative)");
640
       DEBUG_POS("", current_position);
657
       DEBUG_POS("", current_position);
641
     }
658
     }
643
 
660
 
644
   // TODO: Adapt for SCARA, where the offset rotates
661
   // TODO: Adapt for SCARA, where the offset rotates
645
   float nx = rx, ny = ry;
662
   float nx = rx, ny = ry;
646
-  if (probe_relative) {
663
+  if (!is_calibration) {
647
     if (!position_is_reachable_by_probe(rx, ry)) return NAN;  // The given position is in terms of the probe
664
     if (!position_is_reachable_by_probe(rx, ry)) return NAN;  // The given position is in terms of the probe
648
     nx -= (X_PROBE_OFFSET_FROM_EXTRUDER);                     // Get the nozzle position
665
     nx -= (X_PROBE_OFFSET_FROM_EXTRUDER);                     // Get the nozzle position
649
     ny -= (Y_PROBE_OFFSET_FROM_EXTRUDER);
666
     ny -= (Y_PROBE_OFFSET_FROM_EXTRUDER);
667
 
684
 
668
   float measured_z = NAN;
685
   float measured_z = NAN;
669
   if (!DEPLOY_PROBE()) {
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
     if (raise_after == PROBE_PT_RAISE)
693
     if (raise_after == PROBE_PT_RAISE)
673
       do_blocking_move_to_z(current_position[Z_AXIS] + Z_CLEARANCE_BETWEEN_PROBES, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
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 查看文件

40
     PROBE_PT_STOW,  // Do a complete stow after run_z_probe
40
     PROBE_PT_STOW,  // Do a complete stow after run_z_probe
41
     PROBE_PT_RAISE  // Raise to "between" clearance after run_z_probe
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
   #define DEPLOY_PROBE() set_probe_deployed(true)
44
   #define DEPLOY_PROBE() set_probe_deployed(true)
45
   #define STOW_PROBE() set_probe_deployed(false)
45
   #define STOW_PROBE() set_probe_deployed(false)
46
 #else
46
 #else

Loading…
取消
儲存