Bläddra i källkod

Set fixed XY position for Z homing so nothing crashes into the heated print bed wiring.

Thomas Buck 8 år sedan
förälder
incheckning
e7d3cb0dc4
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4
    4
      Marlin/Configuration.h

+ 4
- 4
Marlin/Configuration.h Visa fil

@@ -589,7 +589,7 @@
589 589
 
590 590
 // @section homing
591 591
 
592
-//#define Z_HOMING_HEIGHT 4  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
592
+#define Z_HOMING_HEIGHT 0  // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
593 593
                              // Be sure you have this distance over your Z_MAX_POS in case.
594 594
 
595 595
 // ENDSTOP SETTINGS:
@@ -731,11 +731,11 @@
731 731
 // - If stepper drivers time out, it will need X and Y homing again before Z homing.
732 732
 // - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
733 733
 // - Prevent Z homing when the Z probe is outside bed area.
734
-//#define Z_SAFE_HOMING
734
+#define Z_SAFE_HOMING
735 735
 
736 736
 #if ENABLED(Z_SAFE_HOMING)
737
-  #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)    // X point for Z homing when homing all axis (G28).
738
-  #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
737
+  #define Z_SAFE_HOMING_X_POINT (25)    // X point for Z homing when homing all axis (G28).
738
+  #define Z_SAFE_HOMING_Y_POINT (MANUAL_Y_HOME_POS)    // Y point for Z homing when homing all axis (G28).
739 739
 #endif
740 740
 
741 741
 // Homing speeds (mm/m)

Laddar…
Avbryt
Spara