Browse Source

Merge pull request #4528 from thinkyhead/rc_make_it_so

Z-Height options replace Z-Raise options
Scott Lahteine 9 years ago
parent
commit
dddaeb3f8c
26 changed files with 133 additions and 133 deletions
  1. 10
    10
      Marlin/Conditionals_post.h
  2. 4
    4
      Marlin/Configuration.h
  3. 15
    19
      Marlin/Marlin_main.cpp
  4. 16
    12
      Marlin/SanityCheck.h
  5. 4
    4
      Marlin/example_configurations/Cartesio/Configuration.h
  6. 4
    4
      Marlin/example_configurations/Felix/Configuration.h
  7. 4
    4
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  8. 4
    4
      Marlin/example_configurations/Hephestos/Configuration.h
  9. 4
    4
      Marlin/example_configurations/Hephestos_2/Configuration.h
  10. 4
    4
      Marlin/example_configurations/K8200/Configuration.h
  11. 4
    4
      Marlin/example_configurations/K8400/Configuration.h
  12. 4
    4
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  13. 4
    4
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  14. 4
    4
      Marlin/example_configurations/RigidBot/Configuration.h
  15. 4
    4
      Marlin/example_configurations/SCARA/Configuration.h
  16. 4
    4
      Marlin/example_configurations/TAZ4/Configuration.h
  17. 4
    4
      Marlin/example_configurations/WITBOX/Configuration.h
  18. 4
    4
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  19. 4
    4
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  20. 4
    4
      Marlin/example_configurations/delta/generic/Configuration.h
  21. 4
    4
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  22. 4
    4
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  23. 4
    4
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  24. 4
    4
      Marlin/example_configurations/makibox/Configuration.h
  25. 4
    4
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  26. 4
    4
      Marlin/ultralcd.cpp

+ 10
- 10
Marlin/Conditionals_post.h View File

575
         #define XY_PROBE_SPEED 4000
575
         #define XY_PROBE_SPEED 4000
576
       #endif
576
       #endif
577
     #endif
577
     #endif
578
-    #if Z_RAISE_BETWEEN_PROBINGS > Z_RAISE_PROBE_DEPLOY_STOW
579
-      #define _Z_RAISE_PROBE_DEPLOY_STOW Z_RAISE_BETWEEN_PROBINGS
578
+    #if Z_PROBE_TRAVEL_HEIGHT > Z_PROBE_DEPLOY_HEIGHT
579
+      #define _Z_PROBE_DEPLOY_HEIGHT Z_PROBE_TRAVEL_HEIGHT
580
     #else
580
     #else
581
-      #define _Z_RAISE_PROBE_DEPLOY_STOW Z_RAISE_PROBE_DEPLOY_STOW
581
+      #define _Z_PROBE_DEPLOY_HEIGHT Z_PROBE_DEPLOY_HEIGHT
582
     #endif
582
     #endif
583
   #else
583
   #else
584
     #undef X_PROBE_OFFSET_FROM_EXTRUDER
584
     #undef X_PROBE_OFFSET_FROM_EXTRUDER
647
   #endif
647
   #endif
648
 
648
 
649
   /**
649
   /**
650
-   * MIN_Z_HEIGHT_FOR_HOMING / Z_RAISE_BETWEEN_PROBINGS
650
+   * Z_HOMING_HEIGHT / Z_PROBE_TRAVEL_HEIGHT
651
    */
651
    */
652
-  #ifndef MIN_Z_HEIGHT_FOR_HOMING
653
-    #ifndef Z_RAISE_BETWEEN_PROBINGS
654
-      #define MIN_Z_HEIGHT_FOR_HOMING 0
652
+  #ifndef Z_HOMING_HEIGHT
653
+    #ifndef Z_PROBE_TRAVEL_HEIGHT
654
+      #define Z_HOMING_HEIGHT 0
655
     #else
655
     #else
656
-      #define MIN_Z_HEIGHT_FOR_HOMING Z_RAISE_BETWEEN_PROBINGS
656
+      #define Z_HOMING_HEIGHT Z_PROBE_TRAVEL_HEIGHT
657
     #endif
657
     #endif
658
   #endif
658
   #endif
659
-  #ifndef Z_RAISE_BETWEEN_PROBINGS
660
-    #define Z_RAISE_BETWEEN_PROBING MIN_Z_HEIGHT_FOR_HOMING
659
+  #ifndef Z_PROBE_TRAVEL_HEIGHT
660
+    #define Z_PROBE_TRAVEL_HEIGHT Z_HOMING_HEIGHT
661
   #endif
661
   #endif
662
 
662
 
663
 #endif // CONDITIONALS_POST_H
663
 #endif // CONDITIONALS_POST_H

+ 4
- 4
Marlin/Configuration.h View File

543
 //
543
 //
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
545
 //
545
 //
546
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
547
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
546
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
547
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
548
 
548
 
549
 //
549
 //
550
 // For M851 give a range for adjusting the Z probe offset
550
 // For M851 give a range for adjusting the Z probe offset
589
 
589
 
590
 // @section homing
590
 // @section homing
591
 
591
 
592
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
592
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
+                             // Be sure you have this distance over your Z_MAX_POS in case.
594
 
594
 
595
 // ENDSTOP SETTINGS:
595
 // ENDSTOP SETTINGS:
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 15
- 19
Marlin/Marlin_main.cpp View File

1802
       }
1802
       }
1803
     #endif
1803
     #endif
1804
     float z_dest = LOGICAL_Z_POSITION(z_raise);
1804
     float z_dest = LOGICAL_Z_POSITION(z_raise);
1805
-
1806
-    if (zprobe_zoffset < 0)
1807
-      z_dest -= zprobe_zoffset;
1808
-
1809
     if (z_dest > current_position[Z_AXIS])
1805
     if (z_dest > current_position[Z_AXIS])
1810
       do_blocking_move_to_z(z_dest);
1806
       do_blocking_move_to_z(z_dest);
1811
   }
1807
   }
2054
     if (endstops.z_probe_enabled == deploy) return false;
2050
     if (endstops.z_probe_enabled == deploy) return false;
2055
 
2051
 
2056
     // Make room for probe
2052
     // Make room for probe
2057
-    do_probe_raise(_Z_RAISE_PROBE_DEPLOY_STOW);
2053
+    do_probe_raise(_Z_PROBE_DEPLOY_HEIGHT);
2058
 
2054
 
2059
     #if ENABLED(Z_PROBE_SLED)
2055
     #if ENABLED(Z_PROBE_SLED)
2060
       if (axis_unhomed_error(true, false, false)) { stop(); return true; }
2056
       if (axis_unhomed_error(true, false, false)) { stop(); return true; }
2163
     float old_feedrate_mm_m = feedrate_mm_m;
2159
     float old_feedrate_mm_m = feedrate_mm_m;
2164
 
2160
 
2165
     // Ensure a minimum height before moving the probe
2161
     // Ensure a minimum height before moving the probe
2166
-    do_probe_raise(Z_RAISE_BETWEEN_PROBINGS);
2162
+    do_probe_raise(Z_PROBE_TRAVEL_HEIGHT);
2167
 
2163
 
2168
     // Move to the XY where we shall probe
2164
     // Move to the XY where we shall probe
2169
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2165
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2193
       #if ENABLED(DEBUG_LEVELING_FEATURE)
2189
       #if ENABLED(DEBUG_LEVELING_FEATURE)
2194
         if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> do_probe_raise");
2190
         if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> do_probe_raise");
2195
       #endif
2191
       #endif
2196
-      do_probe_raise(Z_RAISE_BETWEEN_PROBINGS);
2192
+      do_probe_raise(Z_PROBE_TRAVEL_HEIGHT);
2197
     }
2193
     }
2198
 
2194
 
2199
     if (verbose_level > 2) {
2195
     if (verbose_level > 2) {
2971
 
2967
 
2972
       if (home_all_axis || homeX || homeY) {
2968
       if (home_all_axis || homeX || homeY) {
2973
         // Raise Z before homing any other axes and z is not already high enough (never lower z)
2969
         // Raise Z before homing any other axes and z is not already high enough (never lower z)
2974
-        destination[Z_AXIS] = LOGICAL_Z_POSITION(MIN_Z_HEIGHT_FOR_HOMING);
2970
+        destination[Z_AXIS] = LOGICAL_Z_POSITION(Z_HOMING_HEIGHT);
2975
         if (destination[Z_AXIS] > current_position[Z_AXIS]) {
2971
         if (destination[Z_AXIS] > current_position[Z_AXIS]) {
2976
 
2972
 
2977
           #if ENABLED(DEBUG_LEVELING_FEATURE)
2973
           #if ENABLED(DEBUG_LEVELING_FEATURE)
3052
           if (home_all_axis) {
3048
           if (home_all_axis) {
3053
 
3049
 
3054
             /**
3050
             /**
3055
-             * At this point we already have Z at MIN_Z_HEIGHT_FOR_HOMING height
3051
+             * At this point we already have Z at Z_HOMING_HEIGHT height
3056
              * No need to move Z any more as this height should already be safe
3052
              * No need to move Z any more as this height should already be safe
3057
              * enough to reach Z_SAFE_HOMING XY positions.
3053
              * enough to reach Z_SAFE_HOMING XY positions.
3058
              * Just make sure the planner is in sync.
3054
              * Just make sure the planner is in sync.
3216
     feedrate_mm_m = homing_feedrate_mm_m[X_AXIS];
3212
     feedrate_mm_m = homing_feedrate_mm_m[X_AXIS];
3217
 
3213
 
3218
     current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
3214
     current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
3219
-      #if Z_RAISE_BETWEEN_PROBINGS > MIN_Z_HEIGHT_FOR_HOMING
3220
-        + Z_RAISE_BETWEEN_PROBINGS
3221
-      #elif MIN_Z_HEIGHT_FOR_HOMING > 0
3222
-        + MIN_Z_HEIGHT_FOR_HOMING
3215
+      #if Z_PROBE_TRAVEL_HEIGHT > Z_HOMING_HEIGHT
3216
+        + Z_PROBE_TRAVEL_HEIGHT
3217
+      #elif Z_HOMING_HEIGHT > 0
3218
+        + Z_HOMING_HEIGHT
3223
       #endif
3219
       #endif
3224
     ;
3220
     ;
3225
     line_to_current_position();
3221
     line_to_current_position();
3228
     current_position[Y_AXIS] = LOGICAL_Y_POSITION(y);
3224
     current_position[Y_AXIS] = LOGICAL_Y_POSITION(y);
3229
     line_to_current_position();
3225
     line_to_current_position();
3230
 
3226
 
3231
-    #if Z_RAISE_BETWEEN_PROBINGS > 0 || MIN_Z_HEIGHT_FOR_HOMING > 0
3227
+    #if Z_PROBE_TRAVEL_HEIGHT > 0 || Z_HOMING_HEIGHT > 0
3232
       current_position[Z_AXIS] = LOGICAL_Z_POSITION(MESH_HOME_SEARCH_Z);
3228
       current_position[Z_AXIS] = LOGICAL_Z_POSITION(MESH_HOME_SEARCH_Z);
3233
       line_to_current_position();
3229
       line_to_current_position();
3234
     #endif
3230
     #endif
3324
         else {
3320
         else {
3325
           // One last "return to the bed" (as originally coded) at completion
3321
           // One last "return to the bed" (as originally coded) at completion
3326
           current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
3322
           current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
3327
-            #if Z_RAISE_BETWEEN_PROBINGS > MIN_Z_HEIGHT_FOR_HOMING
3328
-              + Z_RAISE_BETWEEN_PROBINGS
3329
-            #elif MIN_Z_HEIGHT_FOR_HOMING > 0
3330
-              + MIN_Z_HEIGHT_FOR_HOMING
3323
+            #if Z_PROBE_TRAVEL_HEIGHT > Z_HOMING_HEIGHT
3324
+              + Z_PROBE_TRAVEL_HEIGHT
3325
+            #elif Z_HOMING_HEIGHT > 0
3326
+              + Z_HOMING_HEIGHT
3331
             #endif
3327
             #endif
3332
           ;
3328
           ;
3333
           line_to_current_position();
3329
           line_to_current_position();
3661
 
3657
 
3662
     #endif // !AUTO_BED_LEVELING_GRID
3658
     #endif // !AUTO_BED_LEVELING_GRID
3663
 
3659
 
3664
-    // Raise to _Z_RAISE_PROBE_DEPLOY_STOW. Stow the probe.
3660
+    // Raise to _Z_PROBE_DEPLOY_HEIGHT. Stow the probe.
3665
     if (STOW_PROBE()) return;
3661
     if (STOW_PROBE()) return;
3666
 
3662
 
3667
     // Restore state after probing
3663
     // Restore state after probing

+ 16
- 12
Marlin/SanityCheck.h View File

334
   /**
334
   /**
335
    * Make sure Z raise values are set
335
    * Make sure Z raise values are set
336
    */
336
    */
337
-  #if defined(Z_RAISE_BEFORE_PROBING) || defined(Z_RAISE_AFTER_PROBING)
338
-    #error "Z_RAISE_(BEFORE|AFTER)_PROBING are deprecated. Use Z_RAISE_PROBE_DEPLOY_STOW instead."
339
-  #elif !defined(Z_RAISE_PROBE_DEPLOY_STOW)
340
-    #error "You must set Z_RAISE_PROBE_DEPLOY_STOW in your configuration."
341
-  #elif !defined(Z_RAISE_BETWEEN_PROBINGS)
342
-    #error "You must set Z_RAISE_BETWEEN_PROBINGS in your configuration."
343
-  #elif Z_RAISE_PROBE_DEPLOY_STOW < 0
344
-    #error "Probes need Z_RAISE_PROBE_DEPLOY_STOW >= 0."
345
-  #elif Z_RAISE_BETWEEN_PROBINGS < 0
346
-    #error "Probes need Z_RAISE_BETWEEN_PROBINGS >= 0."
337
+  #if !defined(Z_PROBE_DEPLOY_HEIGHT)
338
+    #error "You must set Z_PROBE_DEPLOY_HEIGHT in your configuration."
339
+  #elif !defined(Z_PROBE_TRAVEL_HEIGHT)
340
+    #error "You must set Z_PROBE_TRAVEL_HEIGHT in your configuration."
341
+  #elif Z_PROBE_DEPLOY_HEIGHT < 0
342
+    #error "Probes need Z_PROBE_DEPLOY_HEIGHT >= 0."
343
+  #elif Z_PROBE_TRAVEL_HEIGHT < 0
344
+    #error "Probes need Z_PROBE_TRAVEL_HEIGHT >= 0."
347
   #endif
345
   #endif
348
 
346
 
349
 #else
347
 #else
681
   #error "SDSLOW deprecated. Set SPI_SPEED to SPI_HALF_SPEED instead."
679
   #error "SDSLOW deprecated. Set SPI_SPEED to SPI_HALF_SPEED instead."
682
 #elif defined(SDEXTRASLOW)
680
 #elif defined(SDEXTRASLOW)
683
   #error "SDEXTRASLOW deprecated. Set SPI_SPEED to SPI_QUARTER_SPEED instead."
681
   #error "SDEXTRASLOW deprecated. Set SPI_SPEED to SPI_QUARTER_SPEED instead."
684
-#elif defined(Z_RAISE_BEFORE_HOMING)
685
-  #error "Z_RAISE_BEFORE_HOMING is deprecated. Use MIN_Z_HEIGHT_FOR_HOMING instead."
686
 #elif defined(FILAMENT_SENSOR)
682
 #elif defined(FILAMENT_SENSOR)
687
   #error "FILAMENT_SENSOR is deprecated. Use FILAMENT_WIDTH_SENSOR instead."
683
   #error "FILAMENT_SENSOR is deprecated. Use FILAMENT_WIDTH_SENSOR instead."
688
 #elif defined(DISABLE_MAX_ENDSTOPS) || defined(DISABLE_MIN_ENDSTOPS)
684
 #elif defined(DISABLE_MAX_ENDSTOPS) || defined(DISABLE_MIN_ENDSTOPS)
729
   #error "MANUAL_HOME_POSITIONS is deprecated. Set MANUAL_[XYZ]_HOME_POS as-needed instead."
725
   #error "MANUAL_HOME_POSITIONS is deprecated. Set MANUAL_[XYZ]_HOME_POS as-needed instead."
730
 #elif defined(PID_ADD_EXTRUSION_RATE)
726
 #elif defined(PID_ADD_EXTRUSION_RATE)
731
   #error "PID_ADD_EXTRUSION_RATE is now PID_EXTRUSION_SCALING and is DISABLED by default. Are you sure you want to use this option? Please update your configuration."
727
   #error "PID_ADD_EXTRUSION_RATE is now PID_EXTRUSION_SCALING and is DISABLED by default. Are you sure you want to use this option? Please update your configuration."
728
+#elif defined(Z_RAISE_BEFORE_HOMING)
729
+  #error "Z_RAISE_BEFORE_HOMING is now Z_HOMING_HEIGHT. Please update your configuration."
730
+#elif defined(MIN_Z_HEIGHT_FOR_HOMING)
731
+  #error "MIN_Z_HEIGHT_FOR_HOMING is now Z_HOMING_HEIGHT. Please update your configuration."
732
+#elif defined(Z_RAISE_BEFORE_PROBING) || defined(Z_RAISE_AFTER_PROBING)
733
+  #error "Z_RAISE_(BEFORE|AFTER)_PROBING are deprecated. Use Z_PROBE_DEPLOY_HEIGHT instead."
734
+#elif defined(Z_RAISE_PROBE_DEPLOY_STOW) || defined(Z_RAISE_BETWEEN_PROBINGS)
735
+  #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."
732
 #endif
736
 #endif

+ 4
- 4
Marlin/example_configurations/Cartesio/Configuration.h View File

543
 //
543
 //
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
545
 //
545
 //
546
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
547
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
546
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
547
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
548
 
548
 
549
 //
549
 //
550
 // For M851 give a range for adjusting the Z probe offset
550
 // For M851 give a range for adjusting the Z probe offset
589
 
589
 
590
 // @section homing
590
 // @section homing
591
 
591
 
592
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
592
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
+                             // Be sure you have this distance over your Z_MAX_POS in case.
594
 
594
 
595
 // ENDSTOP SETTINGS:
595
 // ENDSTOP SETTINGS:
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/Felix/Configuration.h View File

525
 //
525
 //
526
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
526
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
527
 //
527
 //
528
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
529
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
528
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
529
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
530
 
530
 
531
 //
531
 //
532
 // For M851 give a range for adjusting the Z probe offset
532
 // For M851 give a range for adjusting the Z probe offset
571
 
571
 
572
 // @section homing
572
 // @section homing
573
 
573
 
574
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
575
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
574
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
575
+                             // Be sure you have this distance over your Z_MAX_POS in case.
576
 
576
 
577
 // ENDSTOP SETTINGS:
577
 // ENDSTOP SETTINGS:
578
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
578
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

523
 //
523
 //
524
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
524
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
525
 //
525
 //
526
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
527
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
526
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
527
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
528
 
528
 
529
 //
529
 //
530
 // For M851 give a range for adjusting the Z probe offset
530
 // For M851 give a range for adjusting the Z probe offset
569
 
569
 
570
 // @section homing
570
 // @section homing
571
 
571
 
572
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
573
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
572
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
573
+                             // Be sure you have this distance over your Z_MAX_POS in case.
574
 
574
 
575
 // ENDSTOP SETTINGS:
575
 // ENDSTOP SETTINGS:
576
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
576
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/Hephestos/Configuration.h View File

535
 //
535
 //
536
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
536
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
537
 //
537
 //
538
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
539
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
538
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
539
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
540
 
540
 
541
 //
541
 //
542
 // For M851 give a range for adjusting the Z probe offset
542
 // For M851 give a range for adjusting the Z probe offset
581
 
581
 
582
 // @section homing
582
 // @section homing
583
 
583
 
584
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
585
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
584
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
585
+                             // Be sure you have this distance over your Z_MAX_POS in case.
586
 
586
 
587
 // ENDSTOP SETTINGS:
587
 // ENDSTOP SETTINGS:
588
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
588
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/Hephestos_2/Configuration.h View File

537
 //
537
 //
538
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
538
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
539
 //
539
 //
540
-#define Z_RAISE_PROBE_DEPLOY_STOW  5 // Raise to make room for the probe to deploy / stow
541
-#define Z_RAISE_BETWEEN_PROBINGS 2  // Raise between probing points.
540
+#define Z_PROBE_DEPLOY_HEIGHT  5 // Raise to make room for the probe to deploy / stow
541
+#define Z_PROBE_TRAVEL_HEIGHT 2  // Raise between probing points.
542
 
542
 
543
 //
543
 //
544
 // For M851 give a range for adjusting the Z probe offset
544
 // For M851 give a range for adjusting the Z probe offset
583
 
583
 
584
 // @section homing
584
 // @section homing
585
 
585
 
586
-#define MIN_Z_HEIGHT_FOR_HOMING 5   // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
587
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
586
+#define Z_HOMING_HEIGHT 5    // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
587
+                             // Be sure you have this distance over your Z_MAX_POS in case.
588
 
588
 
589
 // ENDSTOP SETTINGS:
589
 // ENDSTOP SETTINGS:
590
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
590
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/K8200/Configuration.h View File

560
 //
560
 //
561
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
561
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
562
 //
562
 //
563
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
564
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
563
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
564
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
565
 
565
 
566
 //
566
 //
567
 // For M851 give a range for adjusting the Z probe offset
567
 // For M851 give a range for adjusting the Z probe offset
606
 
606
 
607
 // @section homing
607
 // @section homing
608
 
608
 
609
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
610
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
609
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
610
+                             // Be sure you have this distance over your Z_MAX_POS in case.
611
 
611
 
612
 // ENDSTOP SETTINGS:
612
 // ENDSTOP SETTINGS:
613
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
613
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/K8400/Configuration.h View File

543
 //
543
 //
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
545
 //
545
 //
546
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
547
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
546
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
547
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
548
 
548
 
549
 //
549
 //
550
 // For M851 give a range for adjusting the Z probe offset
550
 // For M851 give a range for adjusting the Z probe offset
589
 
589
 
590
 // @section homing
590
 // @section homing
591
 
591
 
592
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
592
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
+                             // Be sure you have this distance over your Z_MAX_POS in case.
594
 
594
 
595
 // ENDSTOP SETTINGS:
595
 // ENDSTOP SETTINGS:
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/K8400/Dual-head/Configuration.h View File

543
 //
543
 //
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
545
 //
545
 //
546
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
547
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
546
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
547
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
548
 
548
 
549
 //
549
 //
550
 // For M851 give a range for adjusting the Z probe offset
550
 // For M851 give a range for adjusting the Z probe offset
589
 
589
 
590
 // @section homing
590
 // @section homing
591
 
591
 
592
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
592
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
+                             // Be sure you have this distance over your Z_MAX_POS in case.
594
 
594
 
595
 // ENDSTOP SETTINGS:
595
 // ENDSTOP SETTINGS:
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

543
 //
543
 //
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
545
 //
545
 //
546
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
547
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
546
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
547
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
548
 
548
 
549
 //
549
 //
550
 // For M851 give a range for adjusting the Z probe offset
550
 // For M851 give a range for adjusting the Z probe offset
589
 
589
 
590
 // @section homing
590
 // @section homing
591
 
591
 
592
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
592
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
+                             // Be sure you have this distance over your Z_MAX_POS in case.
594
 
594
 
595
 // ENDSTOP SETTINGS:
595
 // ENDSTOP SETTINGS:
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/RigidBot/Configuration.h View File

540
 //
540
 //
541
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
541
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
542
 //
542
 //
543
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
544
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
543
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
544
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
545
 
545
 
546
 //
546
 //
547
 // For M851 give a range for adjusting the Z probe offset
547
 // For M851 give a range for adjusting the Z probe offset
586
 
586
 
587
 // @section homing
587
 // @section homing
588
 
588
 
589
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
590
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
589
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
590
+                             // Be sure you have this distance over your Z_MAX_POS in case.
591
 
591
 
592
 // ENDSTOP SETTINGS:
592
 // ENDSTOP SETTINGS:
593
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
593
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/SCARA/Configuration.h View File

551
 //
551
 //
552
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
552
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
553
 //
553
 //
554
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
555
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
554
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
555
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
556
 
556
 
557
 //
557
 //
558
 // For M851 give a range for adjusting the Z probe offset
558
 // For M851 give a range for adjusting the Z probe offset
597
 
597
 
598
 // @section homing
598
 // @section homing
599
 
599
 
600
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
601
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
600
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
601
+                             // Be sure you have this distance over your Z_MAX_POS in case.
602
 
602
 
603
 // ENDSTOP SETTINGS:
603
 // ENDSTOP SETTINGS:
604
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
604
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/TAZ4/Configuration.h View File

564
 //
564
 //
565
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
565
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
566
 //
566
 //
567
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
568
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
567
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
568
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
569
 
569
 
570
 //
570
 //
571
 // For M851 give a range for adjusting the Z probe offset
571
 // For M851 give a range for adjusting the Z probe offset
610
 
610
 
611
 // @section homing
611
 // @section homing
612
 
612
 
613
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
614
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
613
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
614
+                             // Be sure you have this distance over your Z_MAX_POS in case.
615
 
615
 
616
 // ENDSTOP SETTINGS:
616
 // ENDSTOP SETTINGS:
617
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
617
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/WITBOX/Configuration.h View File

535
 //
535
 //
536
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
536
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
537
 //
537
 //
538
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
539
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
538
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
539
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
540
 
540
 
541
 //
541
 //
542
 // For M851 give a range for adjusting the Z probe offset
542
 // For M851 give a range for adjusting the Z probe offset
581
 
581
 
582
 // @section homing
582
 // @section homing
583
 
583
 
584
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
585
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
584
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
585
+                             // Be sure you have this distance over your Z_MAX_POS in case.
586
 
586
 
587
 // ENDSTOP SETTINGS:
587
 // ENDSTOP SETTINGS:
588
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
588
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

543
 //
543
 //
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
544
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
545
 //
545
 //
546
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
547
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
546
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
547
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
548
 
548
 
549
 //
549
 //
550
 // For M851 give a range for adjusting the Z probe offset
550
 // For M851 give a range for adjusting the Z probe offset
589
 
589
 
590
 // @section homing
590
 // @section homing
591
 
591
 
592
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
592
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593
+                             // Be sure you have this distance over your Z_MAX_POS in case.
594
 
594
 
595
 // ENDSTOP SETTINGS:
595
 // ENDSTOP SETTINGS:
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
596
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

632
 //
632
 //
633
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
633
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
634
 //
634
 //
635
-#define Z_RAISE_PROBE_DEPLOY_STOW 50 // Raise to make room for the probe to deploy / stow
636
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
635
+#define Z_PROBE_DEPLOY_HEIGHT 50 // Raise to make room for the probe to deploy / stow
636
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
637
 
637
 
638
 //
638
 //
639
 // For M851 give a range for adjusting the Z probe offset
639
 // For M851 give a range for adjusting the Z probe offset
678
 
678
 
679
 // @section homing
679
 // @section homing
680
 
680
 
681
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
682
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
681
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
682
+                             // Be sure you have this distance over your Z_MAX_POS in case.
683
 
683
 
684
 // ENDSTOP SETTINGS:
684
 // ENDSTOP SETTINGS:
685
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
685
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/delta/generic/Configuration.h View File

626
 //
626
 //
627
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
627
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
628
 //
628
 //
629
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
630
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
629
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
630
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
631
 
631
 
632
 //
632
 //
633
 // For M851 give a range for adjusting the Z probe offset
633
 // For M851 give a range for adjusting the Z probe offset
672
 
672
 
673
 // @section homing
673
 // @section homing
674
 
674
 
675
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
676
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
675
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
676
+                             // Be sure you have this distance over your Z_MAX_POS in case.
677
 
677
 
678
 // ENDSTOP SETTINGS:
678
 // ENDSTOP SETTINGS:
679
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
679
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

629
 //
629
 //
630
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
630
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
631
 //
631
 //
632
-#define Z_RAISE_PROBE_DEPLOY_STOW 50 // Raise to make room for the probe to deploy / stow
633
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
632
+#define Z_PROBE_DEPLOY_HEIGHT 50 // Raise to make room for the probe to deploy / stow
633
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
634
 
634
 
635
 //
635
 //
636
 // For M851 give a range for adjusting the Z probe offset
636
 // For M851 give a range for adjusting the Z probe offset
675
 
675
 
676
 // @section homing
676
 // @section homing
677
 
677
 
678
-//#define MIN_Z_HEIGHT_FOR_HOMING 15// (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
679
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
678
+//#define Z_HOMING_HEIGHT 15 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
679
+                             // Be sure you have this distance over your Z_MAX_POS in case.
680
 
680
 
681
 // ENDSTOP SETTINGS:
681
 // ENDSTOP SETTINGS:
682
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
682
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

623
 //
623
 //
624
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
624
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
625
 //
625
 //
626
-#define Z_RAISE_PROBE_DEPLOY_STOW 100 // Raise to make room for the probe to deploy / stow
627
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
626
+#define Z_PROBE_DEPLOY_HEIGHT 100 // Raise to make room for the probe to deploy / stow
627
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
628
 
628
 
629
 //
629
 //
630
 // For M851 give a range for adjusting the Z probe offset
630
 // For M851 give a range for adjusting the Z probe offset
669
 
669
 
670
 // @section homing
670
 // @section homing
671
 
671
 
672
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
673
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
672
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
673
+                             // Be sure you have this distance over your Z_MAX_POS in case.
674
 
674
 
675
 // ENDSTOP SETTINGS:
675
 // ENDSTOP SETTINGS:
676
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
676
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

624
 //
624
 //
625
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
625
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
626
 //
626
 //
627
-#define Z_RAISE_PROBE_DEPLOY_STOW 20 // Raise to make room for the probe to deploy / stow
628
-#define Z_RAISE_BETWEEN_PROBINGS 10 // Raise between probing points.
627
+#define Z_PROBE_DEPLOY_HEIGHT 20 // Raise to make room for the probe to deploy / stow
628
+#define Z_PROBE_TRAVEL_HEIGHT 10 // Raise between probing points.
629
 
629
 
630
 //
630
 //
631
 // For M851 give a range for adjusting the Z probe offset
631
 // For M851 give a range for adjusting the Z probe offset
670
 
670
 
671
 // @section homing
671
 // @section homing
672
 
672
 
673
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
674
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
673
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
674
+                             // Be sure you have this distance over your Z_MAX_POS in case.
675
 
675
 
676
 // ENDSTOP SETTINGS:
676
 // ENDSTOP SETTINGS:
677
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
677
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/makibox/Configuration.h View File

546
 //
546
 //
547
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
547
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
548
 //
548
 //
549
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
550
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
549
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
550
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
551
 
551
 
552
 //
552
 //
553
 // For M851 give a range for adjusting the Z probe offset
553
 // For M851 give a range for adjusting the Z probe offset
592
 
592
 
593
 // @section homing
593
 // @section homing
594
 
594
 
595
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
596
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
595
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
596
+                             // Be sure you have this distance over your Z_MAX_POS in case.
597
 
597
 
598
 // ENDSTOP SETTINGS:
598
 // ENDSTOP SETTINGS:
599
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
599
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

533
 //
533
 //
534
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
534
 // Probe Raise options provide clearance for the probe to deploy, stow, and travel.
535
 //
535
 //
536
-#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
537
-#define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
536
+#define Z_PROBE_DEPLOY_HEIGHT 15 // Raise to make room for the probe to deploy / stow
537
+#define Z_PROBE_TRAVEL_HEIGHT 5  // Raise between probing points.
538
 
538
 
539
 //
539
 //
540
 // For M851 give a range for adjusting the Z probe offset
540
 // For M851 give a range for adjusting the Z probe offset
579
 
579
 
580
 // @section homing
580
 // @section homing
581
 
581
 
582
-//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
583
-                                    // Be sure you have this distance over your Z_MAX_POS in case.
582
+//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
583
+                             // Be sure you have this distance over your Z_MAX_POS in case.
584
 
584
 
585
 // ENDSTOP SETTINGS:
585
 // ENDSTOP SETTINGS:
586
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
586
 // Sets direction of endstops when homing; 1=MAX, -1=MIN

+ 4
- 4
Marlin/ultralcd.cpp View File

985
     static uint8_t _lcd_level_bed_position;
985
     static uint8_t _lcd_level_bed_position;
986
 
986
 
987
     // Utility to go to the next mesh point
987
     // Utility to go to the next mesh point
988
-    // A raise is added between points if MIN_Z_HEIGHT_FOR_HOMING is in use
988
+    // A raise is added between points if Z_HOMING_HEIGHT is in use
989
     // Note: During Manual Bed Leveling the homed Z position is MESH_HOME_SEARCH_Z
989
     // Note: During Manual Bed Leveling the homed Z position is MESH_HOME_SEARCH_Z
990
     // Z position will be restored with the final action, a G28
990
     // Z position will be restored with the final action, a G28
991
     inline void _mbl_goto_xy(float x, float y) {
991
     inline void _mbl_goto_xy(float x, float y) {
992
-      current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + MIN_Z_HEIGHT_FOR_HOMING;
992
+      current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + Z_HOMING_HEIGHT;
993
       line_to_current(Z_AXIS);
993
       line_to_current(Z_AXIS);
994
       current_position[X_AXIS] = x + home_offset[X_AXIS];
994
       current_position[X_AXIS] = x + home_offset[X_AXIS];
995
       current_position[Y_AXIS] = y + home_offset[Y_AXIS];
995
       current_position[Y_AXIS] = y + home_offset[Y_AXIS];
996
       line_to_current(manual_feedrate_mm_m[X_AXIS] <= manual_feedrate_mm_m[Y_AXIS] ? X_AXIS : Y_AXIS);
996
       line_to_current(manual_feedrate_mm_m[X_AXIS] <= manual_feedrate_mm_m[Y_AXIS] ? X_AXIS : Y_AXIS);
997
-      #if MIN_Z_HEIGHT_FOR_HOMING > 0
997
+      #if Z_HOMING_HEIGHT > 0
998
         current_position[Z_AXIS] = MESH_HOME_SEARCH_Z; // How do condition and action match?
998
         current_position[Z_AXIS] = MESH_HOME_SEARCH_Z; // How do condition and action match?
999
         line_to_current(Z_AXIS);
999
         line_to_current(Z_AXIS);
1000
       #endif
1000
       #endif
1045
           if (_lcd_level_bed_position == (MESH_NUM_X_POINTS) * (MESH_NUM_Y_POINTS)) {
1045
           if (_lcd_level_bed_position == (MESH_NUM_X_POINTS) * (MESH_NUM_Y_POINTS)) {
1046
             lcd_goto_screen(_lcd_level_bed_done, true);
1046
             lcd_goto_screen(_lcd_level_bed_done, true);
1047
 
1047
 
1048
-            current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + MIN_Z_HEIGHT_FOR_HOMING;
1048
+            current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + Z_HOMING_HEIGHT;
1049
             line_to_current(Z_AXIS);
1049
             line_to_current(Z_AXIS);
1050
             stepper.synchronize();
1050
             stepper.synchronize();
1051
 
1051
 

Loading…
Cancel
Save