Переглянути джерело

Revert to Probe Raise rather than Probe Height

Scott Lahteine 8 роки тому
джерело
коміт
0e7d638a7a
25 змінених файлів з 387 додано та 167 видалено
  1. 8
    8
      Marlin/Conditionals_post.h
  2. 16
    6
      Marlin/Configuration.h
  3. 15
    17
      Marlin/Marlin_main.cpp
  4. 12
    10
      Marlin/SanityCheck.h
  5. 16
    6
      Marlin/example_configurations/Cartesio/Configuration.h
  6. 16
    6
      Marlin/example_configurations/Felix/Configuration.h
  7. 16
    6
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  8. 16
    6
      Marlin/example_configurations/Hephestos/Configuration.h
  9. 16
    6
      Marlin/example_configurations/Hephestos_2/Configuration.h
  10. 16
    6
      Marlin/example_configurations/K8200/Configuration.h
  11. 16
    6
      Marlin/example_configurations/K8400/Configuration.h
  12. 16
    6
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  13. 16
    6
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  14. 16
    6
      Marlin/example_configurations/RigidBot/Configuration.h
  15. 16
    6
      Marlin/example_configurations/SCARA/Configuration.h
  16. 16
    6
      Marlin/example_configurations/TAZ4/Configuration.h
  17. 16
    6
      Marlin/example_configurations/WITBOX/Configuration.h
  18. 16
    6
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  19. 16
    6
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  20. 16
    6
      Marlin/example_configurations/delta/generic/Configuration.h
  21. 16
    6
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  22. 16
    6
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  23. 16
    6
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  24. 16
    6
      Marlin/example_configurations/makibox/Configuration.h
  25. 16
    6
      Marlin/example_configurations/tvrrug/Round2/Configuration.h

+ 8
- 8
Marlin/Conditionals_post.h Переглянути файл

602
         #define XY_PROBE_SPEED 4000
602
         #define XY_PROBE_SPEED 4000
603
       #endif
603
       #endif
604
     #endif
604
     #endif
605
-    #if Z_PROBE_TRAVEL_HEIGHT > Z_PROBE_DEPLOY_HEIGHT
606
-      #define _Z_PROBE_DEPLOY_HEIGHT Z_PROBE_TRAVEL_HEIGHT
605
+    #if Z_RAISE_BETWEEN_PROBES > Z_RAISE_DEPLOY_PROBE
606
+      #define _Z_RAISE_DEPLOY_PROBE Z_RAISE_BETWEEN_PROBES
607
     #else
607
     #else
608
-      #define _Z_PROBE_DEPLOY_HEIGHT Z_PROBE_DEPLOY_HEIGHT
608
+      #define _Z_RAISE_DEPLOY_PROBE Z_RAISE_DEPLOY_PROBE
609
     #endif
609
     #endif
610
   #else
610
   #else
611
     #undef X_PROBE_OFFSET_FROM_EXTRUDER
611
     #undef X_PROBE_OFFSET_FROM_EXTRUDER
681
   #endif
681
   #endif
682
 
682
 
683
   /**
683
   /**
684
-   * Z_HOMING_HEIGHT / Z_PROBE_TRAVEL_HEIGHT
684
+   * Z_HOMING_HEIGHT / Z_RAISE_BETWEEN_PROBES
685
    */
685
    */
686
   #ifndef Z_HOMING_HEIGHT
686
   #ifndef Z_HOMING_HEIGHT
687
-    #ifndef Z_PROBE_TRAVEL_HEIGHT
687
+    #ifndef Z_RAISE_BETWEEN_PROBES
688
       #define Z_HOMING_HEIGHT 0
688
       #define Z_HOMING_HEIGHT 0
689
     #else
689
     #else
690
-      #define Z_HOMING_HEIGHT Z_PROBE_TRAVEL_HEIGHT
690
+      #define Z_HOMING_HEIGHT Z_RAISE_BETWEEN_PROBES
691
     #endif
691
     #endif
692
   #endif
692
   #endif
693
-  #ifndef Z_PROBE_TRAVEL_HEIGHT
694
-    #define Z_PROBE_TRAVEL_HEIGHT Z_HOMING_HEIGHT
693
+  #ifndef Z_RAISE_BETWEEN_PROBES
694
+    #define Z_RAISE_BETWEEN_PROBES Z_HOMING_HEIGHT
695
   #endif
695
   #endif
696
 
696
 
697
   #if IS_KINEMATIC
697
   #if IS_KINEMATIC

+ 16
- 6
Marlin/Configuration.h Переглянути файл

619
 // Enable Z Probe Repeatability test to see how accurate your probe is
619
 // Enable Z Probe Repeatability test to see how accurate your probe is
620
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
620
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
621
 
621
 
622
-//
623
-// Minimum heights for the probe to deploy/stow and travel.
624
-// These values specify the distance from the NOZZLE to the BED.
625
-//
626
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
627
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
622
+/**
623
+ * Z probes require clearance when deploying, stowing, and moving between
624
+ * probe points to avoid hitting the bed and other hardware.
625
+ * Servo-mounted probes require extra space for the arm to rotate.
626
+ * Inductive probes need space to keep from triggering early.
627
+ *
628
+ * Use these settings to specify the distance (mm) to raise the probe (or
629
+ * lower the bed). The values set here apply over and above any (negative)
630
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
631
+ * Only integer values >= 1 are valid here.
632
+ *
633
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
634
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
635
+ */
636
+#define Z_RAISE_DEPLOY_PROBE   10 // Z Raise for Deploy/Stow
637
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
628
 
638
 
629
 //
639
 //
630
 // For M851 give a range for adjusting the Z probe offset
640
 // For M851 give a range for adjusting the Z probe offset

+ 15
- 17
Marlin/Marlin_main.cpp Переглянути файл

1631
         SERIAL_ECHOLNPGM(")");
1631
         SERIAL_ECHOLNPGM(")");
1632
       }
1632
       }
1633
     #endif
1633
     #endif
1634
+
1634
     float z_dest = LOGICAL_Z_POSITION(z_raise);
1635
     float z_dest = LOGICAL_Z_POSITION(z_raise);
1636
+    if (zprobe_zoffset < 0) z_dest -= zprobe_zoffset;
1637
+
1635
     if (z_dest > current_position[Z_AXIS])
1638
     if (z_dest > current_position[Z_AXIS])
1636
       do_blocking_move_to_z(z_dest);
1639
       do_blocking_move_to_z(z_dest);
1637
   }
1640
   }
1879
     if (endstops.z_probe_enabled == deploy) return false;
1882
     if (endstops.z_probe_enabled == deploy) return false;
1880
 
1883
 
1881
     // Make room for probe
1884
     // Make room for probe
1882
-    do_probe_raise(_Z_PROBE_DEPLOY_HEIGHT);
1885
+    do_probe_raise(_Z_RAISE_DEPLOY_PROBE);
1883
 
1886
 
1884
     // Check BLTOUCH probe status for an error
1887
     // Check BLTOUCH probe status for an error
1885
     #if ENABLED(BLTOUCH)
1888
     #if ENABLED(BLTOUCH)
1988
 
1991
 
1989
       // If the nozzle is above the travel height then
1992
       // If the nozzle is above the travel height then
1990
       // move down quickly before doing the slow probe
1993
       // move down quickly before doing the slow probe
1991
-      float z = LOGICAL_Z_POSITION(Z_PROBE_TRAVEL_HEIGHT);
1994
+      float z = LOGICAL_Z_POSITION(Z_RAISE_BETWEEN_PROBES);
1992
       if (z < current_position[Z_AXIS])
1995
       if (z < current_position[Z_AXIS])
1993
         do_blocking_move_to_z(z, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
1996
         do_blocking_move_to_z(z, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
1994
 
1997
 
2027
     float old_feedrate_mm_s = feedrate_mm_s;
2030
     float old_feedrate_mm_s = feedrate_mm_s;
2028
 
2031
 
2029
     // Ensure a minimum height before moving the probe
2032
     // Ensure a minimum height before moving the probe
2030
-    do_probe_raise(Z_PROBE_TRAVEL_HEIGHT);
2033
+    do_probe_raise(Z_RAISE_BETWEEN_PROBES);
2031
 
2034
 
2032
     // Move to the XY where we shall probe
2035
     // Move to the XY where we shall probe
2033
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2036
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2047
 
2050
 
2048
     float measured_z = run_z_probe();
2051
     float measured_z = run_z_probe();
2049
 
2052
 
2050
-    if (stow) {
2053
+    if (!stow)
2054
+      do_probe_raise(Z_RAISE_BETWEEN_PROBES);
2055
+    else
2051
       if (STOW_PROBE()) return NAN;
2056
       if (STOW_PROBE()) return NAN;
2052
-    }
2053
-    else {
2054
-      #if ENABLED(DEBUG_LEVELING_FEATURE)
2055
-        if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> do_probe_raise");
2056
-      #endif
2057
-      do_probe_raise(Z_PROBE_TRAVEL_HEIGHT);
2058
-    }
2059
 
2057
 
2060
     if (verbose_level > 2) {
2058
     if (verbose_level > 2) {
2061
       SERIAL_PROTOCOLPGM("Bed X: ");
2059
       SERIAL_PROTOCOLPGM("Bed X: ");
3099
     feedrate_mm_s = homing_feedrate_mm_s[X_AXIS];
3097
     feedrate_mm_s = homing_feedrate_mm_s[X_AXIS];
3100
 
3098
 
3101
     current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
3099
     current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
3102
-      #if Z_PROBE_TRAVEL_HEIGHT > Z_HOMING_HEIGHT
3103
-        + Z_PROBE_TRAVEL_HEIGHT
3100
+      #if Z_RAISE_BETWEEN_PROBES > Z_HOMING_HEIGHT
3101
+        + Z_RAISE_BETWEEN_PROBES
3104
       #elif Z_HOMING_HEIGHT > 0
3102
       #elif Z_HOMING_HEIGHT > 0
3105
         + Z_HOMING_HEIGHT
3103
         + Z_HOMING_HEIGHT
3106
       #endif
3104
       #endif
3111
     current_position[Y_AXIS] = LOGICAL_Y_POSITION(y);
3109
     current_position[Y_AXIS] = LOGICAL_Y_POSITION(y);
3112
     line_to_current_position();
3110
     line_to_current_position();
3113
 
3111
 
3114
-    #if Z_PROBE_TRAVEL_HEIGHT > 0 || Z_HOMING_HEIGHT > 0
3112
+    #if Z_RAISE_BETWEEN_PROBES > 0 || Z_HOMING_HEIGHT > 0
3115
       current_position[Z_AXIS] = LOGICAL_Z_POSITION(MESH_HOME_SEARCH_Z);
3113
       current_position[Z_AXIS] = LOGICAL_Z_POSITION(MESH_HOME_SEARCH_Z);
3116
       line_to_current_position();
3114
       line_to_current_position();
3117
     #endif
3115
     #endif
3206
         else {
3204
         else {
3207
           // One last "return to the bed" (as originally coded) at completion
3205
           // One last "return to the bed" (as originally coded) at completion
3208
           current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
3206
           current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
3209
-            #if Z_PROBE_TRAVEL_HEIGHT > Z_HOMING_HEIGHT
3210
-              + Z_PROBE_TRAVEL_HEIGHT
3207
+            #if Z_RAISE_BETWEEN_PROBES > Z_HOMING_HEIGHT
3208
+              + Z_RAISE_BETWEEN_PROBES
3211
             #elif Z_HOMING_HEIGHT > 0
3209
             #elif Z_HOMING_HEIGHT > 0
3212
               + Z_HOMING_HEIGHT
3210
               + Z_HOMING_HEIGHT
3213
             #endif
3211
             #endif
3560
 
3558
 
3561
     #endif // AUTO_BED_LEVELING_3POINT
3559
     #endif // AUTO_BED_LEVELING_3POINT
3562
 
3560
 
3563
-    // Raise to _Z_PROBE_DEPLOY_HEIGHT. Stow the probe.
3561
+    // Raise to _Z_RAISE_DEPLOY_PROBE. Stow the probe.
3564
     if (STOW_PROBE()) return;
3562
     if (STOW_PROBE()) return;
3565
 
3563
 
3566
     // Restore state after probing
3564
     // Restore state after probing

+ 12
- 10
Marlin/SanityCheck.h Переглянути файл

130
 #elif defined(MIN_Z_HEIGHT_FOR_HOMING)
130
 #elif defined(MIN_Z_HEIGHT_FOR_HOMING)
131
   #error "MIN_Z_HEIGHT_FOR_HOMING is now Z_HOMING_HEIGHT. Please update your configuration."
131
   #error "MIN_Z_HEIGHT_FOR_HOMING is now Z_HOMING_HEIGHT. Please update your configuration."
132
 #elif defined(Z_RAISE_BEFORE_PROBING) || defined(Z_RAISE_AFTER_PROBING)
132
 #elif defined(Z_RAISE_BEFORE_PROBING) || defined(Z_RAISE_AFTER_PROBING)
133
-  #error "Z_RAISE_(BEFORE|AFTER)_PROBING are deprecated. Use Z_PROBE_DEPLOY_HEIGHT instead."
133
+  #error "Z_RAISE_(BEFORE|AFTER)_PROBING are deprecated. Use Z_RAISE_DEPLOY_PROBE instead."
134
 #elif defined(Z_RAISE_PROBE_DEPLOY_STOW) || defined(Z_RAISE_BETWEEN_PROBINGS)
134
 #elif defined(Z_RAISE_PROBE_DEPLOY_STOW) || defined(Z_RAISE_BETWEEN_PROBINGS)
135
-  #error "Z_RAISE_PROBE_DEPLOY_STOW and Z_RAISE_BETWEEN_PROBINGS are now Z_PROBE_DEPLOY_HEIGHT and Z_PROBE_TRAVEL_HEIGHT Please update your configuration."
135
+  #error "Z_RAISE_PROBE_DEPLOY_STOW and Z_RAISE_BETWEEN_PROBINGS are now Z_RAISE_DEPLOY_PROBE and Z_RAISE_BETWEEN_PROBES. Please update your configuration."
136
+#elif defined(Z_PROBE_DEPLOY_HEIGHT) || defined(Z_PROBE_TRAVEL_HEIGHT)
137
+  #error "Z_PROBE_DEPLOY_HEIGHT and Z_PROBE_TRAVEL_HEIGHT are now Z_RAISE_DEPLOY_PROBE and Z_RAISE_BETWEEN_PROBES. Please update your configuration."
136
 #elif !defined(MIN_STEPS_PER_SEGMENT)
138
 #elif !defined(MIN_STEPS_PER_SEGMENT)
137
   #error Please replace "const int dropsegments" with "#define MIN_STEPS_PER_SEGMENT" (and increase by 1) in Configuration_adv.h.
139
   #error Please replace "const int dropsegments" with "#define MIN_STEPS_PER_SEGMENT" (and increase by 1) in Configuration_adv.h.
138
 #elif defined(PREVENT_DANGEROUS_EXTRUDE)
140
 #elif defined(PREVENT_DANGEROUS_EXTRUDE)
425
   /**
427
   /**
426
    * Make sure Z raise values are set
428
    * Make sure Z raise values are set
427
    */
429
    */
428
-  #if !defined(Z_PROBE_DEPLOY_HEIGHT)
429
-    #error "You must set Z_PROBE_DEPLOY_HEIGHT in your configuration."
430
-  #elif !defined(Z_PROBE_TRAVEL_HEIGHT)
431
-    #error "You must set Z_PROBE_TRAVEL_HEIGHT in your configuration."
432
-  #elif Z_PROBE_DEPLOY_HEIGHT < 0
433
-    #error "Probes need Z_PROBE_DEPLOY_HEIGHT >= 0."
434
-  #elif Z_PROBE_TRAVEL_HEIGHT < 0
435
-    #error "Probes need Z_PROBE_TRAVEL_HEIGHT >= 0."
430
+  #if !defined(Z_RAISE_DEPLOY_PROBE)
431
+    #error "You must define Z_RAISE_DEPLOY_PROBE in your configuration."
432
+  #elif !defined(Z_RAISE_BETWEEN_PROBES)
433
+    #error "You must define Z_RAISE_BETWEEN_PROBES in your configuration."
434
+  #elif Z_RAISE_DEPLOY_PROBE < 0
435
+    #error "Probes need Z_RAISE_DEPLOY_PROBE >= 0."
436
+  #elif Z_RAISE_BETWEEN_PROBES < 0
437
+    #error "Probes need Z_RAISE_BETWEEN_PROBES >= 0."
436
   #endif
438
   #endif
437
 
439
 
438
 #else
440
 #else

+ 16
- 6
Marlin/example_configurations/Cartesio/Configuration.h Переглянути файл

602
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 // Enable Z Probe Repeatability test to see how accurate your probe is
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
604
 
604
 
605
-//
606
-// Minimum heights for the probe to deploy/stow and travel.
607
-// These values specify the distance from the NOZZLE to the BED.
608
-//
609
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
610
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
605
+/**
606
+ * Z probes require clearance when deploying, stowing, and moving between
607
+ * probe points to avoid hitting the bed and other hardware.
608
+ * Servo-mounted probes require extra space for the arm to rotate.
609
+ * Inductive probes need space to keep from triggering early.
610
+ *
611
+ * Use these settings to specify the distance (mm) to raise the probe (or
612
+ * lower the bed). The values set here apply over and above any (negative)
613
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
614
+ * Only integer values >= 1 are valid here.
615
+ *
616
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
617
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
618
+ */
619
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
620
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
611
 
621
 
612
 //
622
 //
613
 // For M851 give a range for adjusting the Z probe offset
623
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/Felix/Configuration.h Переглянути файл

585
 // Enable Z Probe Repeatability test to see how accurate your probe is
585
 // Enable Z Probe Repeatability test to see how accurate your probe is
586
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
586
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
587
 
587
 
588
-//
589
-// Minimum heights for the probe to deploy/stow and travel.
590
-// These values specify the distance from the NOZZLE to the BED.
591
-//
592
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
593
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
588
+/**
589
+ * Z probes require clearance when deploying, stowing, and moving between
590
+ * probe points to avoid hitting the bed and other hardware.
591
+ * Servo-mounted probes require extra space for the arm to rotate.
592
+ * Inductive probes need space to keep from triggering early.
593
+ *
594
+ * Use these settings to specify the distance (mm) to raise the probe (or
595
+ * lower the bed). The values set here apply over and above any (negative)
596
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
597
+ * Only integer values >= 1 are valid here.
598
+ *
599
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
600
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
601
+ */
602
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
603
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
594
 
604
 
595
 //
605
 //
596
 // For M851 give a range for adjusting the Z probe offset
606
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/Felix/DUAL/Configuration.h Переглянути файл

583
 // Enable Z Probe Repeatability test to see how accurate your probe is
583
 // Enable Z Probe Repeatability test to see how accurate your probe is
584
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
584
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
585
 
585
 
586
-//
587
-// Minimum heights for the probe to deploy/stow and travel.
588
-// These values specify the distance from the NOZZLE to the BED.
589
-//
590
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
591
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
586
+/**
587
+ * Z probes require clearance when deploying, stowing, and moving between
588
+ * probe points to avoid hitting the bed and other hardware.
589
+ * Servo-mounted probes require extra space for the arm to rotate.
590
+ * Inductive probes need space to keep from triggering early.
591
+ *
592
+ * Use these settings to specify the distance (mm) to raise the probe (or
593
+ * lower the bed). The values set here apply over and above any (negative)
594
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
595
+ * Only integer values >= 1 are valid here.
596
+ *
597
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
598
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
599
+ */
600
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
601
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
592
 
602
 
593
 //
603
 //
594
 // For M851 give a range for adjusting the Z probe offset
604
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/Hephestos/Configuration.h Переглянути файл

594
 // Enable Z Probe Repeatability test to see how accurate your probe is
594
 // Enable Z Probe Repeatability test to see how accurate your probe is
595
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
595
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
596
 
596
 
597
-//
598
-// Minimum heights for the probe to deploy/stow and travel.
599
-// These values specify the distance from the NOZZLE to the BED.
600
-//
601
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
602
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
597
+/**
598
+ * Z probes require clearance when deploying, stowing, and moving between
599
+ * probe points to avoid hitting the bed and other hardware.
600
+ * Servo-mounted probes require extra space for the arm to rotate.
601
+ * Inductive probes need space to keep from triggering early.
602
+ *
603
+ * Use these settings to specify the distance (mm) to raise the probe (or
604
+ * lower the bed). The values set here apply over and above any (negative)
605
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
606
+ * Only integer values >= 1 are valid here.
607
+ *
608
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
609
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
610
+ */
611
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
612
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
603
 
613
 
604
 //
614
 //
605
 // For M851 give a range for adjusting the Z probe offset
615
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/Hephestos_2/Configuration.h Переглянути файл

596
 // Enable Z Probe Repeatability test to see how accurate your probe is
596
 // Enable Z Probe Repeatability test to see how accurate your probe is
597
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
597
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
598
 
598
 
599
-//
600
-// Minimum heights for the probe to deploy/stow and travel.
601
-// These values specify the distance from the NOZZLE to the BED.
602
-//
603
-#define Z_PROBE_DEPLOY_HEIGHT  5 // Z position for the probe to deploy/stow
604
-#define Z_PROBE_TRAVEL_HEIGHT  2 // Z position for travel between points
599
+/**
600
+ * Z probes require clearance when deploying, stowing, and moving between
601
+ * probe points to avoid hitting the bed and other hardware.
602
+ * Servo-mounted probes require extra space for the arm to rotate.
603
+ * Inductive probes need space to keep from triggering early.
604
+ *
605
+ * Use these settings to specify the distance (mm) to raise the probe (or
606
+ * lower the bed). The values set here apply over and above any (negative)
607
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
608
+ * Only integer values >= 1 are valid here.
609
+ *
610
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
611
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
612
+ */
613
+#define Z_RAISE_DEPLOY_PROBE   5 // Z Raise for Deploy/Stow
614
+#define Z_RAISE_BETWEEN_PROBES 2 // Z Raise between probe points
605
 
615
 
606
 //
616
 //
607
 // For M851 give a range for adjusting the Z probe offset
617
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/K8200/Configuration.h Переглянути файл

619
 // Enable Z Probe Repeatability test to see how accurate your probe is
619
 // Enable Z Probe Repeatability test to see how accurate your probe is
620
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
620
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
621
 
621
 
622
-//
623
-// Minimum heights for the probe to deploy/stow and travel.
624
-// These values specify the distance from the NOZZLE to the BED.
625
-//
626
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
627
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
622
+/**
623
+ * Z probes require clearance when deploying, stowing, and moving between
624
+ * probe points to avoid hitting the bed and other hardware.
625
+ * Servo-mounted probes require extra space for the arm to rotate.
626
+ * Inductive probes need space to keep from triggering early.
627
+ *
628
+ * Use these settings to specify the distance (mm) to raise the probe (or
629
+ * lower the bed). The values set here apply over and above any (negative)
630
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
631
+ * Only integer values >= 1 are valid here.
632
+ *
633
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
634
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
635
+ */
636
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
637
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
628
 
638
 
629
 //
639
 //
630
 // For M851 give a range for adjusting the Z probe offset
640
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/K8400/Configuration.h Переглянути файл

602
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 // Enable Z Probe Repeatability test to see how accurate your probe is
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
604
 
604
 
605
-//
606
-// Minimum heights for the probe to deploy/stow and travel.
607
-// These values specify the distance from the NOZZLE to the BED.
608
-//
609
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
610
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
605
+/**
606
+ * Z probes require clearance when deploying, stowing, and moving between
607
+ * probe points to avoid hitting the bed and other hardware.
608
+ * Servo-mounted probes require extra space for the arm to rotate.
609
+ * Inductive probes need space to keep from triggering early.
610
+ *
611
+ * Use these settings to specify the distance (mm) to raise the probe (or
612
+ * lower the bed). The values set here apply over and above any (negative)
613
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
614
+ * Only integer values >= 1 are valid here.
615
+ *
616
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
617
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
618
+ */
619
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
620
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
611
 
621
 
612
 //
622
 //
613
 // For M851 give a range for adjusting the Z probe offset
623
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/K8400/Dual-head/Configuration.h Переглянути файл

602
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 // Enable Z Probe Repeatability test to see how accurate your probe is
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
604
 
604
 
605
-//
606
-// Minimum heights for the probe to deploy/stow and travel.
607
-// These values specify the distance from the NOZZLE to the BED.
608
-//
609
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
610
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
605
+/**
606
+ * Z probes require clearance when deploying, stowing, and moving between
607
+ * probe points to avoid hitting the bed and other hardware.
608
+ * Servo-mounted probes require extra space for the arm to rotate.
609
+ * Inductive probes need space to keep from triggering early.
610
+ *
611
+ * Use these settings to specify the distance (mm) to raise the probe (or
612
+ * lower the bed). The values set here apply over and above any (negative)
613
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
614
+ * Only integer values >= 1 are valid here.
615
+ *
616
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
617
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
618
+ */
619
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
620
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
611
 
621
 
612
 //
622
 //
613
 // For M851 give a range for adjusting the Z probe offset
623
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Переглянути файл

602
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 // Enable Z Probe Repeatability test to see how accurate your probe is
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
604
 
604
 
605
-//
606
-// Minimum heights for the probe to deploy/stow and travel.
607
-// These values specify the distance from the NOZZLE to the BED.
608
-//
609
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
610
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
605
+/**
606
+ * Z probes require clearance when deploying, stowing, and moving between
607
+ * probe points to avoid hitting the bed and other hardware.
608
+ * Servo-mounted probes require extra space for the arm to rotate.
609
+ * Inductive probes need space to keep from triggering early.
610
+ *
611
+ * Use these settings to specify the distance (mm) to raise the probe (or
612
+ * lower the bed). The values set here apply over and above any (negative)
613
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
614
+ * Only integer values >= 1 are valid here.
615
+ *
616
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
617
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
618
+ */
619
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
620
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
611
 
621
 
612
 //
622
 //
613
 // For M851 give a range for adjusting the Z probe offset
623
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/RigidBot/Configuration.h Переглянути файл

600
 // Enable Z Probe Repeatability test to see how accurate your probe is
600
 // Enable Z Probe Repeatability test to see how accurate your probe is
601
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
601
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
602
 
602
 
603
-//
604
-// Minimum heights for the probe to deploy/stow and travel.
605
-// These values specify the distance from the NOZZLE to the BED.
606
-//
607
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
608
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
603
+/**
604
+ * Z probes require clearance when deploying, stowing, and moving between
605
+ * probe points to avoid hitting the bed and other hardware.
606
+ * Servo-mounted probes require extra space for the arm to rotate.
607
+ * Inductive probes need space to keep from triggering early.
608
+ *
609
+ * Use these settings to specify the distance (mm) to raise the probe (or
610
+ * lower the bed). The values set here apply over and above any (negative)
611
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
612
+ * Only integer values >= 1 are valid here.
613
+ *
614
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
615
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
616
+ */
617
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
618
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
609
 
619
 
610
 //
620
 //
611
 // For M851 give a range for adjusting the Z probe offset
621
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/SCARA/Configuration.h Переглянути файл

612
 // Enable Z Probe Repeatability test to see how accurate your probe is
612
 // Enable Z Probe Repeatability test to see how accurate your probe is
613
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
613
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
614
 
614
 
615
-//
616
-// Minimum heights for the probe to deploy/stow and travel.
617
-// These values specify the distance from the NOZZLE to the BED.
618
-//
619
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
620
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
615
+/**
616
+ * Z probes require clearance when deploying, stowing, and moving between
617
+ * probe points to avoid hitting the bed and other hardware.
618
+ * Servo-mounted probes require extra space for the arm to rotate.
619
+ * Inductive probes need space to keep from triggering early.
620
+ *
621
+ * Use these settings to specify the distance (mm) to raise the probe (or
622
+ * lower the bed). The values set here apply over and above any (negative)
623
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
624
+ * Only integer values >= 1 are valid here.
625
+ *
626
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
627
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
628
+ */
629
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
630
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
621
 
631
 
622
 //
632
 //
623
 // For M851 give a range for adjusting the Z probe offset
633
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/TAZ4/Configuration.h Переглянути файл

623
 // Enable Z Probe Repeatability test to see how accurate your probe is
623
 // Enable Z Probe Repeatability test to see how accurate your probe is
624
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
624
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
625
 
625
 
626
-//
627
-// Minimum heights for the probe to deploy/stow and travel.
628
-// These values specify the distance from the NOZZLE to the BED.
629
-//
630
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
631
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
626
+/**
627
+ * Z probes require clearance when deploying, stowing, and moving between
628
+ * probe points to avoid hitting the bed and other hardware.
629
+ * Servo-mounted probes require extra space for the arm to rotate.
630
+ * Inductive probes need space to keep from triggering early.
631
+ *
632
+ * Use these settings to specify the distance (mm) to raise the probe (or
633
+ * lower the bed). The values set here apply over and above any (negative)
634
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
635
+ * Only integer values >= 1 are valid here.
636
+ *
637
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
638
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
639
+ */
640
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
641
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
632
 
642
 
633
 //
643
 //
634
 // For M851 give a range for adjusting the Z probe offset
644
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/WITBOX/Configuration.h Переглянути файл

594
 // Enable Z Probe Repeatability test to see how accurate your probe is
594
 // Enable Z Probe Repeatability test to see how accurate your probe is
595
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
595
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
596
 
596
 
597
-//
598
-// Minimum heights for the probe to deploy/stow and travel.
599
-// These values specify the distance from the NOZZLE to the BED.
600
-//
601
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
602
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
597
+/**
598
+ * Z probes require clearance when deploying, stowing, and moving between
599
+ * probe points to avoid hitting the bed and other hardware.
600
+ * Servo-mounted probes require extra space for the arm to rotate.
601
+ * Inductive probes need space to keep from triggering early.
602
+ *
603
+ * Use these settings to specify the distance (mm) to raise the probe (or
604
+ * lower the bed). The values set here apply over and above any (negative)
605
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
606
+ * Only integer values >= 1 are valid here.
607
+ *
608
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
609
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
610
+ */
611
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
612
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
603
 
613
 
604
 //
614
 //
605
 // For M851 give a range for adjusting the Z probe offset
615
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/adafruit/ST7565/Configuration.h Переглянути файл

602
 // Enable Z Probe Repeatability test to see how accurate your probe is
602
 // Enable Z Probe Repeatability test to see how accurate your probe is
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
603
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
604
 
604
 
605
-//
606
-// Minimum heights for the probe to deploy/stow and travel.
607
-// These values specify the distance from the NOZZLE to the BED.
608
-//
609
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
610
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
605
+/**
606
+ * Z probes require clearance when deploying, stowing, and moving between
607
+ * probe points to avoid hitting the bed and other hardware.
608
+ * Servo-mounted probes require extra space for the arm to rotate.
609
+ * Inductive probes need space to keep from triggering early.
610
+ *
611
+ * Use these settings to specify the distance (mm) to raise the probe (or
612
+ * lower the bed). The values set here apply over and above any (negative)
613
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
614
+ * Only integer values >= 1 are valid here.
615
+ *
616
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
617
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
618
+ */
619
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
620
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
611
 
621
 
612
 //
622
 //
613
 // For M851 give a range for adjusting the Z probe offset
623
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/delta/biv2.5/Configuration.h Переглянути файл

692
 // Enable Z Probe Repeatability test to see how accurate your probe is
692
 // Enable Z Probe Repeatability test to see how accurate your probe is
693
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
693
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
694
 
694
 
695
-//
696
-// Minimum heights for the probe to deploy/stow and travel.
697
-// These values specify the distance from the NOZZLE to the BED.
698
-//
699
-#define Z_PROBE_DEPLOY_HEIGHT 50 // Z position for the probe to deploy/stow
700
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
695
+/**
696
+ * Z probes require clearance when deploying, stowing, and moving between
697
+ * probe points to avoid hitting the bed and other hardware.
698
+ * Servo-mounted probes require extra space for the arm to rotate.
699
+ * Inductive probes need space to keep from triggering early.
700
+ *
701
+ * Use these settings to specify the distance (mm) to raise the probe (or
702
+ * lower the bed). The values set here apply over and above any (negative)
703
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
704
+ * Only integer values >= 1 are valid here.
705
+ *
706
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
707
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
708
+ */
709
+#define Z_RAISE_DEPLOY_PROBE   50 // Z Raise for Deploy/Stow
710
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
701
 
711
 
702
 //
712
 //
703
 // For M851 give a range for adjusting the Z probe offset
713
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/delta/generic/Configuration.h Переглянути файл

686
 // Enable Z Probe Repeatability test to see how accurate your probe is
686
 // Enable Z Probe Repeatability test to see how accurate your probe is
687
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
687
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
688
 
688
 
689
-//
690
-// Minimum heights for the probe to deploy/stow and travel.
691
-// These values specify the distance from the NOZZLE to the BED.
692
-//
693
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
694
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
689
+/**
690
+ * Z probes require clearance when deploying, stowing, and moving between
691
+ * probe points to avoid hitting the bed and other hardware.
692
+ * Servo-mounted probes require extra space for the arm to rotate.
693
+ * Inductive probes need space to keep from triggering early.
694
+ *
695
+ * Use these settings to specify the distance (mm) to raise the probe (or
696
+ * lower the bed). The values set here apply over and above any (negative)
697
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
698
+ * Only integer values >= 1 are valid here.
699
+ *
700
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
701
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
702
+ */
703
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
704
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
695
 
705
 
696
 //
706
 //
697
 // For M851 give a range for adjusting the Z probe offset
707
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/delta/kossel_mini/Configuration.h Переглянути файл

689
 // Enable Z Probe Repeatability test to see how accurate your probe is
689
 // Enable Z Probe Repeatability test to see how accurate your probe is
690
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
690
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
691
 
691
 
692
-//
693
-// Minimum heights for the probe to deploy/stow and travel.
694
-// These values specify the distance from the NOZZLE to the BED.
695
-//
696
-#define Z_PROBE_DEPLOY_HEIGHT 50 // Z position for the probe to deploy/stow
697
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
692
+/**
693
+ * Z probes require clearance when deploying, stowing, and moving between
694
+ * probe points to avoid hitting the bed and other hardware.
695
+ * Servo-mounted probes require extra space for the arm to rotate.
696
+ * Inductive probes need space to keep from triggering early.
697
+ *
698
+ * Use these settings to specify the distance (mm) to raise the probe (or
699
+ * lower the bed). The values set here apply over and above any (negative)
700
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
701
+ * Only integer values >= 1 are valid here.
702
+ *
703
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
704
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
705
+ */
706
+#define Z_RAISE_DEPLOY_PROBE   50 // Z Raise for Deploy/Stow
707
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
698
 
708
 
699
 //
709
 //
700
 // For M851 give a range for adjusting the Z probe offset
710
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/delta/kossel_pro/Configuration.h Переглянути файл

690
 // Enable Z Probe Repeatability test to see how accurate your probe is
690
 // Enable Z Probe Repeatability test to see how accurate your probe is
691
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
691
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
692
 
692
 
693
-//
694
-// Minimum heights for the probe to deploy/stow and travel.
695
-// These values specify the distance from the NOZZLE to the BED.
696
-//
697
-#define Z_PROBE_DEPLOY_HEIGHT 100 // Z position for the probe to deploy/stow
698
-#define Z_PROBE_TRAVEL_HEIGHT   5 // Z position for travel between points
693
+/**
694
+ * Z probes require clearance when deploying, stowing, and moving between
695
+ * probe points to avoid hitting the bed and other hardware.
696
+ * Servo-mounted probes require extra space for the arm to rotate.
697
+ * Inductive probes need space to keep from triggering early.
698
+ *
699
+ * Use these settings to specify the distance (mm) to raise the probe (or
700
+ * lower the bed). The values set here apply over and above any (negative)
701
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
702
+ * Only integer values >= 1 are valid here.
703
+ *
704
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
705
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
706
+ */
707
+#define Z_RAISE_DEPLOY_PROBE   100 // Z Raise for Deploy/Stow
708
+#define Z_RAISE_BETWEEN_PROBES   5 // Z Raise between probe points
699
 
709
 
700
 //
710
 //
701
 // For M851 give a range for adjusting the Z probe offset
711
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/delta/kossel_xl/Configuration.h Переглянути файл

692
 // Enable Z Probe Repeatability test to see how accurate your probe is
692
 // Enable Z Probe Repeatability test to see how accurate your probe is
693
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
693
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
694
 
694
 
695
-//
696
-// Minimum heights for the probe to deploy/stow and travel.
697
-// These values specify the distance from the NOZZLE to the BED.
698
-//
699
-#define Z_PROBE_DEPLOY_HEIGHT 20 // Z position for the probe to deploy/stow
700
-#define Z_PROBE_TRAVEL_HEIGHT 10 // Z position for travel between points
695
+/**
696
+ * Z probes require clearance when deploying, stowing, and moving between
697
+ * probe points to avoid hitting the bed and other hardware.
698
+ * Servo-mounted probes require extra space for the arm to rotate.
699
+ * Inductive probes need space to keep from triggering early.
700
+ *
701
+ * Use these settings to specify the distance (mm) to raise the probe (or
702
+ * lower the bed). The values set here apply over and above any (negative)
703
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
704
+ * Only integer values >= 1 are valid here.
705
+ *
706
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
707
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
708
+ */
709
+#define Z_RAISE_DEPLOY_PROBE   20 // Z Raise for Deploy/Stow
710
+#define Z_RAISE_BETWEEN_PROBES 10 // Z Raise between probe points
701
 
711
 
702
 //
712
 //
703
 // For M851 give a range for adjusting the Z probe offset
713
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/makibox/Configuration.h Переглянути файл

605
 // Enable Z Probe Repeatability test to see how accurate your probe is
605
 // Enable Z Probe Repeatability test to see how accurate your probe is
606
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
606
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
607
 
607
 
608
-//
609
-// Minimum heights for the probe to deploy/stow and travel.
610
-// These values specify the distance from the NOZZLE to the BED.
611
-//
612
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
613
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
608
+/**
609
+ * Z probes require clearance when deploying, stowing, and moving between
610
+ * probe points to avoid hitting the bed and other hardware.
611
+ * Servo-mounted probes require extra space for the arm to rotate.
612
+ * Inductive probes need space to keep from triggering early.
613
+ *
614
+ * Use these settings to specify the distance (mm) to raise the probe (or
615
+ * lower the bed). The values set here apply over and above any (negative)
616
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
617
+ * Only integer values >= 1 are valid here.
618
+ *
619
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
620
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
621
+ */
622
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
623
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
614
 
624
 
615
 //
625
 //
616
 // For M851 give a range for adjusting the Z probe offset
626
 // For M851 give a range for adjusting the Z probe offset

+ 16
- 6
Marlin/example_configurations/tvrrug/Round2/Configuration.h Переглянути файл

598
 // Enable Z Probe Repeatability test to see how accurate your probe is
598
 // Enable Z Probe Repeatability test to see how accurate your probe is
599
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
599
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
600
 
600
 
601
-//
602
-// Minimum heights for the probe to deploy/stow and travel.
603
-// These values specify the distance from the NOZZLE to the BED.
604
-//
605
-#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
606
-#define Z_PROBE_TRAVEL_HEIGHT  5 // Z position for travel between points
601
+/**
602
+ * Z probes require clearance when deploying, stowing, and moving between
603
+ * probe points to avoid hitting the bed and other hardware.
604
+ * Servo-mounted probes require extra space for the arm to rotate.
605
+ * Inductive probes need space to keep from triggering early.
606
+ *
607
+ * Use these settings to specify the distance (mm) to raise the probe (or
608
+ * lower the bed). The values set here apply over and above any (negative)
609
+ * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER, M851, or the LCD.
610
+ * Only integer values >= 1 are valid here.
611
+ *
612
+ * Example: `M851 Z-5` with a RAISE of 4  =>  9mm from bed to nozzle.
613
+ *     But: `M851 Z+1` with a RAISE of 2  =>  2mm from bed to nozzle.
614
+ */
615
+#define Z_RAISE_DEPLOY_PROBE   15 // Z Raise for Deploy/Stow
616
+#define Z_RAISE_BETWEEN_PROBES  5 // Z Raise between probe points
607
 
617
 
608
 //
618
 //
609
 // For M851 give a range for adjusting the Z probe offset
619
 // For M851 give a range for adjusting the Z probe offset

Завантаження…
Відмінити
Зберегти