Przeglądaj źródła

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

Thomas Buck 8 lat temu
rodzic
commit
e7d3cb0dc4
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4
    4
      Marlin/Configuration.h

+ 4
- 4
Marlin/Configuration.h Wyświetl plik

589
 
589
 
590
 // @section homing
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
                              // Be sure you have this distance over your Z_MAX_POS in case.
593
                              // Be sure you have this distance over your Z_MAX_POS in case.
594
 
594
 
595
 // ENDSTOP SETTINGS:
595
 // ENDSTOP SETTINGS:
731
 // - If stepper drivers time out, it will need X and Y homing again before Z homing.
731
 // - If stepper drivers time out, it will need X and Y homing again before Z homing.
732
 // - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
732
 // - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
733
 // - Prevent Z homing when the Z probe is outside bed area.
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
 #if ENABLED(Z_SAFE_HOMING)
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
 #endif
739
 #endif
740
 
740
 
741
 // Homing speeds (mm/m)
741
 // Homing speeds (mm/m)

Ładowanie…
Anuluj
Zapisz