Browse Source

Combine Z raise before/after options

Scott Lahteine 8 years ago
parent
commit
10da7ac86c

+ 8
- 0
Marlin/Conditionals.h View File

@@ -796,6 +796,14 @@
796 796
         #define XY_PROBE_SPEED 4000
797 797
       #endif
798 798
     #endif
799
+    #ifndef Z_RAISE_PROBE_DEPLOY_STOW
800
+      #if defined(Z_RAISE_BEFORE_PROBING) && defined(Z_RAISE_AFTER_PROBING)
801
+        #define Z_RAISE_PROBE_DEPLOY_STOW (max(Z_RAISE_BEFORE_PROBING, Z_RAISE_AFTER_PROBING))
802
+      #else
803
+        #error "You must set Z_RAISE_PROBE_DEPLOY_STOW in your configuration."
804
+      #endif
805
+    #endif
806
+    #define _Z_RAISE_PROBE_DEPLOY_STOW (max(Z_RAISE_PROBE_DEPLOY_STOW, Z_RAISE_BETWEEN_PROBINGS))
799 807
   #endif
800 808
 
801 809
   /**

+ 2
- 5
Marlin/Configuration.h View File

@@ -509,12 +509,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
509 509
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
510 510
 
511 511
 //
512
-// Probe Raise options provide clearance for the probe to deploy and stow.
512
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
513 513
 //
514
-// For G28 these apply when the probe deploys and stows.
515
-// For G29 these apply before and after the full procedure.
516
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
517
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
514
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
518 515
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
519 516
 
520 517
 //

+ 10
- 10
Marlin/Marlin_main.cpp View File

@@ -1767,8 +1767,8 @@ static void clean_up_after_endstop_or_probe_move() {
1767 1767
     float oldXpos = current_position[X_AXIS]; // save x position
1768 1768
     float old_feedrate = feedrate;
1769 1769
     if (dock) {
1770
-      #if Z_RAISE_AFTER_PROBING > 0
1771
-        do_probe_raise(Z_RAISE_AFTER_PROBING);
1770
+      #if _Z_RAISE_PROBE_DEPLOY_STOW > 0
1771
+        do_probe_raise(_Z_RAISE_PROBE_DEPLOY_STOW);
1772 1772
       #endif
1773 1773
       // Dock sled a bit closer to ensure proper capturing
1774 1774
       feedrate = XY_PROBE_FEEDRATE;
@@ -1778,7 +1778,7 @@ static void clean_up_after_endstop_or_probe_move() {
1778 1778
     else {
1779 1779
       feedrate = XY_PROBE_FEEDRATE;
1780 1780
       float z_loc = current_position[Z_AXIS];
1781
-      if (z_loc < Z_RAISE_BEFORE_PROBING + 5) z_loc = Z_RAISE_BEFORE_PROBING;
1781
+      if (z_loc < _Z_RAISE_PROBE_DEPLOY_STOW + 5) z_loc = _Z_RAISE_PROBE_DEPLOY_STOW;
1782 1782
       do_blocking_move_to(X_MAX_POS + SLED_DOCKING_OFFSET + offset, current_position[Y_AXIS], z_loc); // this also updates current_position
1783 1783
       digitalWrite(SLED_PIN, HIGH); // turn on magnet
1784 1784
     }
@@ -1800,8 +1800,8 @@ static void clean_up_after_endstop_or_probe_move() {
1800 1800
     if (endstops.z_probe_enabled) return;
1801 1801
 
1802 1802
     // Make room for probe
1803
-    #if Z_RAISE_BEFORE_PROBING > 0
1804
-      do_probe_raise(Z_RAISE_BEFORE_PROBING);
1803
+    #if _Z_RAISE_PROBE_DEPLOY_STOW > 0
1804
+      do_probe_raise(_Z_RAISE_PROBE_DEPLOY_STOW);
1805 1805
     #endif
1806 1806
 
1807 1807
     #if ENABLED(Z_PROBE_SLED)
@@ -1904,8 +1904,8 @@ static void clean_up_after_endstop_or_probe_move() {
1904 1904
     if (!endstops.z_probe_enabled) return;
1905 1905
 
1906 1906
     // Make more room for the servo
1907
-    #if Z_RAISE_AFTER_PROBING > 0
1908
-      do_probe_raise(Z_RAISE_AFTER_PROBING);
1907
+    #if _Z_RAISE_PROBE_DEPLOY_STOW > 0
1908
+      do_probe_raise(_Z_RAISE_PROBE_DEPLOY_STOW);
1909 1909
     #endif
1910 1910
 
1911 1911
     #if ENABLED(Z_PROBE_SLED)
@@ -1924,8 +1924,8 @@ static void clean_up_after_endstop_or_probe_move() {
1924 1924
       // Move up for safety
1925 1925
       feedrate = Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE;
1926 1926
 
1927
-      #if Z_RAISE_AFTER_PROBING > 0
1928
-        destination[Z_AXIS] = current_position[Z_AXIS] + Z_RAISE_AFTER_PROBING;
1927
+      #if _Z_RAISE_PROBE_DEPLOY_STOW > 0
1928
+        destination[Z_AXIS] = current_position[Z_AXIS] + _Z_RAISE_PROBE_DEPLOY_STOW;
1929 1929
         prepare_move_to_destination_raw(); // this will also set_current_to_destination
1930 1930
       #endif
1931 1931
 
@@ -3596,7 +3596,7 @@ inline void gcode_G28() {
3596 3596
 
3597 3597
     #endif // !AUTO_BED_LEVELING_GRID
3598 3598
 
3599
-    // Raise to Z_RAISE_AFTER_PROBING. Stow the probe.
3599
+    // Raise to _Z_RAISE_PROBE_DEPLOY_STOW. Stow the probe.
3600 3600
     stow_z_probe();
3601 3601
 
3602 3602
     // Restore state after probing

+ 2
- 5
Marlin/example_configurations/Cartesio/Configuration.h View File

@@ -508,12 +508,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
508 508
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
509 509
 
510 510
 //
511
-// Probe Raise options provide clearance for the probe to deploy and stow.
511
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
512 512
 //
513
-// For G28 these apply when the probe deploys and stows.
514
-// For G29 these apply before and after the full procedure.
515
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
516
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
513
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
517 514
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
518 515
 
519 516
 //

+ 2
- 5
Marlin/example_configurations/Felix/Configuration.h View File

@@ -491,12 +491,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
491 491
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
492 492
 
493 493
 //
494
-// Probe Raise options provide clearance for the probe to deploy and stow.
494
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
495 495
 //
496
-// For G28 these apply when the probe deploys and stows.
497
-// For G29 these apply before and after the full procedure.
498
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
499
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
496
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
500 497
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
501 498
 
502 499
 //

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

@@ -489,12 +489,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
489 489
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
490 490
 
491 491
 //
492
-// Probe Raise options provide clearance for the probe to deploy and stow.
492
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
493 493
 //
494
-// For G28 these apply when the probe deploys and stows.
495
-// For G29 these apply before and after the full procedure.
496
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
497
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
494
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
498 495
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
499 496
 
500 497
 //

+ 2
- 5
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -501,12 +501,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
501 501
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
502 502
 
503 503
 //
504
-// Probe Raise options provide clearance for the probe to deploy and stow.
504
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
505 505
 //
506
-// For G28 these apply when the probe deploys and stows.
507
-// For G29 these apply before and after the full procedure.
508
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
509
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
506
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
510 507
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
511 508
 
512 509
 //

+ 2
- 5
Marlin/example_configurations/Hephestos_2/Configuration.h View File

@@ -503,12 +503,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
503 503
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
504 504
 
505 505
 //
506
-// Probe Raise options provide clearance for the probe to deploy and stow.
506
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
507 507
 //
508
-// For G28 these apply when the probe deploys and stows.
509
-// For G29 these apply before and after the full procedure.
510
-#define Z_RAISE_BEFORE_PROBING 5    // Raise before probe deploy (e.g., the first probe).
511
-#define Z_RAISE_AFTER_PROBING 5     // Raise before probe stow (e.g., the last probe).
508
+#define Z_RAISE_PROBE_DEPLOY_STOW  5 // Raise to make room for the probe to deploy / stow
512 509
 #define Z_RAISE_BETWEEN_PROBINGS 2  // Raise between probing points.
513 510
 
514 511
 //

+ 2
- 5
Marlin/example_configurations/K8200/Configuration.h View File

@@ -526,12 +526,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
526 526
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
527 527
 
528 528
 //
529
-// Probe Raise options provide clearance for the probe to deploy and stow.
529
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
530 530
 //
531
-// For G28 these apply when the probe deploys and stows.
532
-// For G29 these apply before and after the full procedure.
533
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
534
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
531
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
535 532
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
536 533
 
537 534
 //

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

@@ -509,12 +509,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
509 509
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
510 510
 
511 511
 //
512
-// Probe Raise options provide clearance for the probe to deploy and stow.
512
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
513 513
 //
514
-// For G28 these apply when the probe deploys and stows.
515
-// For G29 these apply before and after the full procedure.
516
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
517
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
514
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
518 515
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
519 516
 
520 517
 //

+ 2
- 5
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -503,12 +503,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
503 503
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
504 504
 
505 505
 //
506
-// Probe Raise options provide clearance for the probe to deploy and stow.
506
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
507 507
 //
508
-// For G28 these apply when the probe deploys and stows.
509
-// For G29 these apply before and after the full procedure.
510
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
511
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
508
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
512 509
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
513 510
 
514 511
 //

+ 2
- 5
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -517,12 +517,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
517 517
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
518 518
 
519 519
 //
520
-// Probe Raise options provide clearance for the probe to deploy and stow.
520
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
521 521
 //
522
-// For G28 these apply when the probe deploys and stows.
523
-// For G29 these apply before and after the full procedure.
524
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
525
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
522
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
526 523
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
527 524
 
528 525
 //

+ 2
- 5
Marlin/example_configurations/TAZ4/Configuration.h View File

@@ -530,12 +530,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
530 530
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
531 531
 
532 532
 //
533
-// Probe Raise options provide clearance for the probe to deploy and stow.
533
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
534 534
 //
535
-// For G28 these apply when the probe deploys and stows.
536
-// For G29 these apply before and after the full procedure.
537
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
538
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
535
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
539 536
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
540 537
 
541 538
 //

+ 2
- 5
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -501,12 +501,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
501 501
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
502 502
 
503 503
 //
504
-// Probe Raise options provide clearance for the probe to deploy and stow.
504
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
505 505
 //
506
-// For G28 these apply when the probe deploys and stows.
507
-// For G29 these apply before and after the full procedure.
508
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
509
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
506
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
510 507
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
511 508
 
512 509
 //

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

@@ -509,12 +509,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
509 509
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
510 510
 
511 511
 //
512
-// Probe Raise options provide clearance for the probe to deploy and stow.
512
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
513 513
 //
514
-// For G28 these apply when the probe deploys and stows.
515
-// For G29 these apply before and after the full procedure.
516
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
517
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
514
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
518 515
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
519 516
 
520 517
 //

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

@@ -588,12 +588,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
588 588
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
589 589
 
590 590
 //
591
-// Probe Raise options provide clearance for the probe to deploy and stow.
591
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
592 592
 //
593
-// For G28 these apply when the probe deploys and stows.
594
-// For G29 these apply before and after the full procedure.
595
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
596
-#define Z_RAISE_AFTER_PROBING 50    // Raise before probe stow (e.g., the last probe).
593
+#define Z_RAISE_PROBE_DEPLOY_STOW 50 // Raise to make room for the probe to deploy / stow
597 594
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
598 595
 
599 596
 //

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

@@ -582,12 +582,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
582 582
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
583 583
 
584 584
 //
585
-// Probe Raise options provide clearance for the probe to deploy and stow.
585
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
586 586
 //
587
-// For G28 these apply when the probe deploys and stows.
588
-// For G29 these apply before and after the full procedure.
589
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
590
-#define Z_RAISE_AFTER_PROBING 50    // Raise before probe stow (e.g., the last probe).
587
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
591 588
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
592 589
 
593 590
 //

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

@@ -585,12 +585,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
585 585
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
586 586
 
587 587
 //
588
-// Probe Raise options provide clearance for the probe to deploy and stow.
588
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
589 589
 //
590
-// For G28 these apply when the probe deploys and stows.
591
-// For G29 these apply before and after the full procedure.
592
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
593
-#define Z_RAISE_AFTER_PROBING 50    // Raise before probe stow (e.g., the last probe).
590
+#define Z_RAISE_PROBE_DEPLOY_STOW 50 // Raise to make room for the probe to deploy / stow
594 591
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
595 592
 
596 593
 //

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

@@ -579,12 +579,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
579 579
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
580 580
 
581 581
 //
582
-// Probe Raise options provide clearance for the probe to deploy and stow.
582
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
583 583
 //
584
-// For G28 these apply when the probe deploys and stows.
585
-// For G29 these apply before and after the full procedure.
586
-#define Z_RAISE_BEFORE_PROBING 100  // Raise before probe deploy (e.g., the first probe).
587
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
584
+#define Z_RAISE_PROBE_DEPLOY_STOW 100 // Raise to make room for the probe to deploy / stow
588 585
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
589 586
 
590 587
 //

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

@@ -580,12 +580,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
580 580
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
581 581
 
582 582
 //
583
-// Probe Raise options provide clearance for the probe to deploy and stow.
583
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
584 584
 //
585
-// For G28 these apply when the probe deploys and stows.
586
-// For G29 these apply before and after the full procedure.
587
-#define Z_RAISE_BEFORE_PROBING 20   // Raise before probe deploy (e.g., the first probe).
588
-#define Z_RAISE_AFTER_PROBING 20    // Raise before probe stow (e.g., the last probe).
585
+#define Z_RAISE_PROBE_DEPLOY_STOW 20 // Raise to make room for the probe to deploy / stow
589 586
 #define Z_RAISE_BETWEEN_PROBINGS 10 // Raise between probing points.
590 587
 
591 588
 //

+ 2
- 5
Marlin/example_configurations/makibox/Configuration.h View File

@@ -512,12 +512,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
512 512
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
513 513
 
514 514
 //
515
-// Probe Raise options provide clearance for the probe to deploy and stow.
515
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
516 516
 //
517
-// For G28 these apply when the probe deploys and stows.
518
-// For G29 these apply before and after the full procedure.
519
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
520
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
517
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
521 518
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
522 519
 
523 520
 //

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

@@ -499,12 +499,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
499 499
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
500 500
 
501 501
 //
502
-// Probe Raise options provide clearance for the probe to deploy and stow.
502
+// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
503 503
 //
504
-// For G28 these apply when the probe deploys and stows.
505
-// For G29 these apply before and after the full procedure.
506
-#define Z_RAISE_BEFORE_PROBING 15   // Raise before probe deploy (e.g., the first probe).
507
-#define Z_RAISE_AFTER_PROBING 15    // Raise before probe stow (e.g., the last probe).
504
+#define Z_RAISE_PROBE_DEPLOY_STOW 15 // Raise to make room for the probe to deploy / stow
508 505
 #define Z_RAISE_BETWEEN_PROBINGS 5  // Raise between probing points.
509 506
 
510 507
 //

Loading…
Cancel
Save