Browse Source

Merge pull request #4453 from thinkyhead/rc_better_manual_home

Improved MANUAL_[XYZ]_HOME_POS
Scott Lahteine 9 years ago
parent
commit
c677d2ac56
24 changed files with 196 additions and 270 deletions
  1. 18
    11
      Marlin/Conditionals_post.h
  2. 8
    12
      Marlin/Configuration.h
  3. 2
    0
      Marlin/SanityCheck.h
  4. 8
    12
      Marlin/example_configurations/Cartesio/Configuration.h
  5. 8
    12
      Marlin/example_configurations/Felix/Configuration.h
  6. 8
    12
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  7. 8
    12
      Marlin/example_configurations/Hephestos/Configuration.h
  8. 8
    12
      Marlin/example_configurations/Hephestos_2/Configuration.h
  9. 8
    12
      Marlin/example_configurations/K8200/Configuration.h
  10. 8
    12
      Marlin/example_configurations/K8400/Configuration.h
  11. 8
    12
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  12. 8
    12
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  13. 8
    12
      Marlin/example_configurations/RigidBot/Configuration.h
  14. 8
    12
      Marlin/example_configurations/SCARA/Configuration.h
  15. 8
    12
      Marlin/example_configurations/TAZ4/Configuration.h
  16. 8
    12
      Marlin/example_configurations/WITBOX/Configuration.h
  17. 8
    12
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  18. 8
    11
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  19. 8
    11
      Marlin/example_configurations/delta/generic/Configuration.h
  20. 8
    11
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  21. 8
    11
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  22. 8
    11
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  23. 8
    12
      Marlin/example_configurations/makibox/Configuration.h
  24. 8
    12
      Marlin/example_configurations/tvrrug/Round2/Configuration.h

+ 18
- 11
Marlin/Conditionals_post.h View File

94
   #endif
94
   #endif
95
 
95
 
96
   /**
96
   /**
97
-   * AUTOSET LOCATIONS OF LIMIT SWITCHES
97
+   * Set the home position based on settings or manual overrides
98
    */
98
    */
99
-  #if ENABLED(MANUAL_HOME_POSITIONS)  // Use manual limit switch locations
99
+  #ifdef MANUAL_X_HOME_POS
100
     #define X_HOME_POS MANUAL_X_HOME_POS
100
     #define X_HOME_POS MANUAL_X_HOME_POS
101
+  #elif ENABLED(BED_CENTER_AT_0_0)
102
+    #define X_HOME_POS ((X_MAX_LENGTH) * (X_HOME_DIR) * 0.5)
103
+  #else
104
+    #define X_HOME_POS (X_HOME_DIR < 0 ? X_MIN_POS : X_MAX_POS)
105
+  #endif
106
+
107
+  #ifdef MANUAL_Y_HOME_POS
101
     #define Y_HOME_POS MANUAL_Y_HOME_POS
108
     #define Y_HOME_POS MANUAL_Y_HOME_POS
109
+  #elif ENABLED(BED_CENTER_AT_0_0)
110
+    #define Y_HOME_POS ((Y_MAX_LENGTH) * (Y_HOME_DIR) * 0.5)
111
+  #else
112
+    #define Y_HOME_POS (Y_HOME_DIR < 0 ? Y_MIN_POS : Y_MAX_POS)
113
+  #endif
114
+
115
+  #ifdef MANUAL_Z_HOME_POS
102
     #define Z_HOME_POS MANUAL_Z_HOME_POS
116
     #define Z_HOME_POS MANUAL_Z_HOME_POS
103
-  #else //!MANUAL_HOME_POSITIONS – Use home switch positions based on homing direction and travel limits
104
-    #if ENABLED(BED_CENTER_AT_0_0)
105
-      #define X_HOME_POS (X_MAX_LENGTH) * (X_HOME_DIR) * 0.5
106
-      #define Y_HOME_POS (Y_MAX_LENGTH) * (Y_HOME_DIR) * 0.5
107
-    #else
108
-      #define X_HOME_POS (X_HOME_DIR < 0 ? X_MIN_POS : X_MAX_POS)
109
-      #define Y_HOME_POS (Y_HOME_DIR < 0 ? Y_MIN_POS : Y_MAX_POS)
110
-    #endif
117
+  #else
111
     #define Z_HOME_POS (Z_HOME_DIR < 0 ? Z_MIN_POS : Z_MAX_POS)
118
     #define Z_HOME_POS (Z_HOME_DIR < 0 ? Z_MIN_POS : Z_MAX_POS)
112
-  #endif //!MANUAL_HOME_POSITIONS
119
+  #endif
113
 
120
 
114
   /**
121
   /**
115
    * The BLTouch Probe emulates a servo probe
122
    * The BLTouch Probe emulates a servo probe

+ 8
- 12
Marlin/Configuration.h View File

716
 
716
 
717
 // @section homing
717
 // @section homing
718
 
718
 
719
-// The position of the homing switches
720
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
721
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
722
-
723
-// Manual homing switch locations:
724
-// For deltabots this means top and center of the Cartesian print volume.
725
-#if ENABLED(MANUAL_HOME_POSITIONS)
726
-  #define MANUAL_X_HOME_POS 0
727
-  #define MANUAL_Y_HOME_POS 0
728
-  #define MANUAL_Z_HOME_POS 0
729
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
730
-#endif
719
+// The center of the bed is at (X=0, Y=0)
720
+//#define BED_CENTER_AT_0_0
721
+
722
+// Manually set the home position. Leave these undefined for automatic settings.
723
+// For DELTA this is the top-center of the Cartesian print volume.
724
+//#define MANUAL_X_HOME_POS 0
725
+//#define MANUAL_Y_HOME_POS 0
726
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
731
 
727
 
732
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
728
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
733
 //
729
 //

+ 2
- 0
Marlin/SanityCheck.h View File

728
   #error "ENDSTOPS_ONLY_FOR_HOMING is deprecated. Use (disable) ENDSTOPS_ALWAYS_ON_DEFAULT instead."
728
   #error "ENDSTOPS_ONLY_FOR_HOMING is deprecated. Use (disable) ENDSTOPS_ALWAYS_ON_DEFAULT instead."
729
 #elif defined(HOMING_FEEDRATE)
729
 #elif defined(HOMING_FEEDRATE)
730
   #error "HOMING_FEEDRATE is deprecated. Set individual rates with HOMING_FEEDRATE_(XY|Z|E) instead."
730
   #error "HOMING_FEEDRATE is deprecated. Set individual rates with HOMING_FEEDRATE_(XY|Z|E) instead."
731
+#elif defined(MANUAL_HOME_POSITIONS)
732
+  #error "MANUAL_HOME_POSITIONS is deprecated. Set MANUAL_[XYZ]_HOME_POS as-needed instead."
731
 #endif
733
 #endif

+ 8
- 12
Marlin/example_configurations/Cartesio/Configuration.h View File

717
 
717
 
718
 // @section homing
718
 // @section homing
719
 
719
 
720
-// The position of the homing switches
721
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
722
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
723
-
724
-// Manual homing switch locations:
725
-// For deltabots this means top and center of the Cartesian print volume.
726
-#if ENABLED(MANUAL_HOME_POSITIONS)
727
-  #define MANUAL_X_HOME_POS 0
728
-  #define MANUAL_Y_HOME_POS 0
729
-  #define MANUAL_Z_HOME_POS 0
730
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
731
-#endif
720
+// The center of the bed is at (X=0, Y=0)
721
+//#define BED_CENTER_AT_0_0
722
+
723
+// Manually set the home position. Leave these undefined for automatic settings.
724
+// For DELTA this is the top-center of the Cartesian print volume.
725
+//#define MANUAL_X_HOME_POS 0
726
+//#define MANUAL_Y_HOME_POS 0
727
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
732
 
728
 
733
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
729
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
734
 //
730
 //

+ 8
- 12
Marlin/example_configurations/Felix/Configuration.h View File

699
 
699
 
700
 // @section homing
700
 // @section homing
701
 
701
 
702
-// The position of the homing switches
703
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
704
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
705
-
706
-// Manual homing switch locations:
707
-// For deltabots this means top and center of the Cartesian print volume.
708
-#if ENABLED(MANUAL_HOME_POSITIONS)
709
-  #define MANUAL_X_HOME_POS 0
710
-  #define MANUAL_Y_HOME_POS 0
711
-  #define MANUAL_Z_HOME_POS 0
712
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
713
-#endif
702
+// The center of the bed is at (X=0, Y=0)
703
+//#define BED_CENTER_AT_0_0
704
+
705
+// Manually set the home position. Leave these undefined for automatic settings.
706
+// For DELTA this is the top-center of the Cartesian print volume.
707
+//#define MANUAL_X_HOME_POS 0
708
+//#define MANUAL_Y_HOME_POS 0
709
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
714
 
710
 
715
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
711
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
716
 //
712
 //

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

697
 
697
 
698
 // @section homing
698
 // @section homing
699
 
699
 
700
-// The position of the homing switches
701
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
702
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
703
-
704
-// Manual homing switch locations:
705
-// For deltabots this means top and center of the Cartesian print volume.
706
-#if ENABLED(MANUAL_HOME_POSITIONS)
707
-  #define MANUAL_X_HOME_POS 0
708
-  #define MANUAL_Y_HOME_POS 0
709
-  #define MANUAL_Z_HOME_POS 0
710
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
711
-#endif
700
+// The center of the bed is at (X=0, Y=0)
701
+//#define BED_CENTER_AT_0_0
702
+
703
+// Manually set the home position. Leave these undefined for automatic settings.
704
+// For DELTA this is the top-center of the Cartesian print volume.
705
+//#define MANUAL_X_HOME_POS 0
706
+//#define MANUAL_Y_HOME_POS 0
707
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
712
 
708
 
713
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
709
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
714
 //
710
 //

+ 8
- 12
Marlin/example_configurations/Hephestos/Configuration.h View File

709
 
709
 
710
 // @section homing
710
 // @section homing
711
 
711
 
712
-// The position of the homing switches
713
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
714
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
715
-
716
-// Manual homing switch locations:
717
-// For deltabots this means top and center of the Cartesian print volume.
718
-#if ENABLED(MANUAL_HOME_POSITIONS)
719
-  #define MANUAL_X_HOME_POS 0
720
-  #define MANUAL_Y_HOME_POS 0
721
-  #define MANUAL_Z_HOME_POS 0
722
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
723
-#endif
712
+// The center of the bed is at (X=0, Y=0)
713
+//#define BED_CENTER_AT_0_0
714
+
715
+// Manually set the home position. Leave these undefined for automatic settings.
716
+// For DELTA this is the top-center of the Cartesian print volume.
717
+//#define MANUAL_X_HOME_POS 0
718
+//#define MANUAL_Y_HOME_POS 0
719
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
724
 
720
 
725
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
721
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
726
 //
722
 //

+ 8
- 12
Marlin/example_configurations/Hephestos_2/Configuration.h View File

710
 
710
 
711
 // @section homing
711
 // @section homing
712
 
712
 
713
-// The position of the homing switches
714
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
715
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
716
-
717
-// Manual homing switch locations:
718
-// For deltabots this means top and center of the Cartesian print volume.
719
-#if ENABLED(MANUAL_HOME_POSITIONS)
720
-  #define MANUAL_X_HOME_POS 0
721
-  #define MANUAL_Y_HOME_POS 0
722
-  #define MANUAL_Z_HOME_POS 0
723
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
724
-#endif
713
+// The center of the bed is at (X=0, Y=0)
714
+//#define BED_CENTER_AT_0_0
715
+
716
+// Manually set the home position. Leave these undefined for automatic settings.
717
+// For DELTA this is the top-center of the Cartesian print volume.
718
+//#define MANUAL_X_HOME_POS 0
719
+//#define MANUAL_Y_HOME_POS 0
720
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
725
 
721
 
726
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
722
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
727
 //
723
 //

+ 8
- 12
Marlin/example_configurations/K8200/Configuration.h View File

734
 
734
 
735
 // @section homing
735
 // @section homing
736
 
736
 
737
-// The position of the homing switches
738
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
739
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
740
-
741
-// Manual homing switch locations:
742
-// For deltabots this means top and center of the Cartesian print volume.
743
-#if ENABLED(MANUAL_HOME_POSITIONS)
744
-  #define MANUAL_X_HOME_POS 0
745
-  #define MANUAL_Y_HOME_POS 0
746
-  #define MANUAL_Z_HOME_POS 0
747
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
748
-#endif
737
+// The center of the bed is at (X=0, Y=0)
738
+//#define BED_CENTER_AT_0_0
739
+
740
+// Manually set the home position. Leave these undefined for automatic settings.
741
+// For DELTA this is the top-center of the Cartesian print volume.
742
+//#define MANUAL_X_HOME_POS 0
743
+//#define MANUAL_Y_HOME_POS 0
744
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
749
 
745
 
750
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
746
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
751
 //
747
 //

+ 8
- 12
Marlin/example_configurations/K8400/Configuration.h View File

717
 
717
 
718
 // @section homing
718
 // @section homing
719
 
719
 
720
-// The position of the homing switches
721
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
722
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
723
-
724
-// Manual homing switch locations:
725
-// For deltabots this means top and center of the Cartesian print volume.
726
-#if ENABLED(MANUAL_HOME_POSITIONS)
727
-  #define MANUAL_X_HOME_POS 0
728
-  #define MANUAL_Y_HOME_POS 0
729
-  #define MANUAL_Z_HOME_POS 0
730
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
731
-#endif
720
+// The center of the bed is at (X=0, Y=0)
721
+//#define BED_CENTER_AT_0_0
722
+
723
+// Manually set the home position. Leave these undefined for automatic settings.
724
+// For DELTA this is the top-center of the Cartesian print volume.
725
+//#define MANUAL_X_HOME_POS 0
726
+//#define MANUAL_Y_HOME_POS 0
727
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
732
 
728
 
733
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
729
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
734
 //
730
 //

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

717
 
717
 
718
 // @section homing
718
 // @section homing
719
 
719
 
720
-// The position of the homing switches
721
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
722
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
723
-
724
-// Manual homing switch locations:
725
-// For deltabots this means top and center of the Cartesian print volume.
726
-#if ENABLED(MANUAL_HOME_POSITIONS)
727
-  #define MANUAL_X_HOME_POS 0
728
-  #define MANUAL_Y_HOME_POS 0
729
-  #define MANUAL_Z_HOME_POS 0
730
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
731
-#endif
720
+// The center of the bed is at (X=0, Y=0)
721
+//#define BED_CENTER_AT_0_0
722
+
723
+// Manually set the home position. Leave these undefined for automatic settings.
724
+// For DELTA this is the top-center of the Cartesian print volume.
725
+//#define MANUAL_X_HOME_POS 0
726
+//#define MANUAL_Y_HOME_POS 0
727
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
732
 
728
 
733
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
729
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
734
 //
730
 //

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

717
 
717
 
718
 // @section homing
718
 // @section homing
719
 
719
 
720
-// The position of the homing switches
721
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
722
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
723
-
724
-// Manual homing switch locations:
725
-// For deltabots this means top and center of the Cartesian print volume.
726
-#if ENABLED(MANUAL_HOME_POSITIONS)
727
-  #define MANUAL_X_HOME_POS 0
728
-  #define MANUAL_Y_HOME_POS 0
729
-  #define MANUAL_Z_HOME_POS 0
730
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
731
-#endif
720
+// The center of the bed is at (X=0, Y=0)
721
+//#define BED_CENTER_AT_0_0
722
+
723
+// Manually set the home position. Leave these undefined for automatic settings.
724
+// For DELTA this is the top-center of the Cartesian print volume.
725
+//#define MANUAL_X_HOME_POS 0
726
+//#define MANUAL_Y_HOME_POS 0
727
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
732
 
728
 
733
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
729
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
734
 //
730
 //

+ 8
- 12
Marlin/example_configurations/RigidBot/Configuration.h View File

714
 
714
 
715
 // @section homing
715
 // @section homing
716
 
716
 
717
-// The position of the homing switches
718
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
719
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
720
-
721
-// Manual homing switch locations:
722
-// For deltabots this means top and center of the Cartesian print volume.
723
-#if ENABLED(MANUAL_HOME_POSITIONS)
724
-  #define MANUAL_X_HOME_POS 0
725
-  #define MANUAL_Y_HOME_POS 0
726
-  #define MANUAL_Z_HOME_POS 0
727
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
728
-#endif
717
+// The center of the bed is at (X=0, Y=0)
718
+//#define BED_CENTER_AT_0_0
719
+
720
+// Manually set the home position. Leave these undefined for automatic settings.
721
+// For DELTA this is the top-center of the Cartesian print volume.
722
+//#define MANUAL_X_HOME_POS 0
723
+//#define MANUAL_Y_HOME_POS 0
724
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
729
 
725
 
730
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
726
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
731
 //
727
 //

+ 8
- 12
Marlin/example_configurations/SCARA/Configuration.h View File

725
 
725
 
726
 // @section homing
726
 // @section homing
727
 
727
 
728
-// The position of the homing switches
729
-#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
730
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
731
-
732
-// Manual homing switch locations:
733
-// For deltabots this means top and center of the Cartesian print volume.
734
-#if ENABLED(MANUAL_HOME_POSITIONS)
735
-  // For SCARA: Offset between HomingPosition and Bed X=0 / Y=0
736
-  #define MANUAL_X_HOME_POS -22.
737
-  #define MANUAL_Y_HOME_POS -52.
738
-  #define MANUAL_Z_HOME_POS 0.1  // Distance between nozzle and print surface after homing.
739
-#endif
728
+// The center of the bed is at (X=0, Y=0)
729
+//#define BED_CENTER_AT_0_0
730
+
731
+// Manually set the home position. Leave these undefined for automatic settings.
732
+// For DELTA this is the top-center of the Cartesian print volume.
733
+#define MANUAL_X_HOME_POS -22
734
+#define MANUAL_Y_HOME_POS -52
735
+#define MANUAL_Z_HOME_POS 0.1 // Distance between the nozzle to printbed after homing
740
 
736
 
741
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
737
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
742
 //
738
 //

+ 8
- 12
Marlin/example_configurations/TAZ4/Configuration.h View File

738
 
738
 
739
 // @section homing
739
 // @section homing
740
 
740
 
741
-// The position of the homing switches
742
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
743
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
744
-
745
-// Manual homing switch locations:
746
-// For deltabots this means top and center of the Cartesian print volume.
747
-#if ENABLED(MANUAL_HOME_POSITIONS)
748
-  #define MANUAL_X_HOME_POS 0
749
-  #define MANUAL_Y_HOME_POS 0
750
-  #define MANUAL_Z_HOME_POS 0
751
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
752
-#endif
741
+// The center of the bed is at (X=0, Y=0)
742
+//#define BED_CENTER_AT_0_0
743
+
744
+// Manually set the home position. Leave these undefined for automatic settings.
745
+// For DELTA this is the top-center of the Cartesian print volume.
746
+//#define MANUAL_X_HOME_POS 0
747
+//#define MANUAL_Y_HOME_POS 0
748
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
753
 
749
 
754
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
750
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
755
 //
751
 //

+ 8
- 12
Marlin/example_configurations/WITBOX/Configuration.h View File

708
 
708
 
709
 // @section homing
709
 // @section homing
710
 
710
 
711
-// The position of the homing switches
712
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
713
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
714
-
715
-// Manual homing switch locations:
716
-// For deltabots this means top and center of the Cartesian print volume.
717
-#if ENABLED(MANUAL_HOME_POSITIONS)
718
-  #define MANUAL_X_HOME_POS 0
719
-  #define MANUAL_Y_HOME_POS 0
720
-  #define MANUAL_Z_HOME_POS 0
721
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
722
-#endif
711
+// The center of the bed is at (X=0, Y=0)
712
+//#define BED_CENTER_AT_0_0
713
+
714
+// Manually set the home position. Leave these undefined for automatic settings.
715
+// For DELTA this is the top-center of the Cartesian print volume.
716
+//#define MANUAL_X_HOME_POS 0
717
+//#define MANUAL_Y_HOME_POS 0
718
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
723
 
719
 
724
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
720
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
725
 //
721
 //

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

717
 
717
 
718
 // @section homing
718
 // @section homing
719
 
719
 
720
-// The position of the homing switches
721
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
722
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
723
-
724
-// Manual homing switch locations:
725
-// For deltabots this means top and center of the Cartesian print volume.
726
-#if ENABLED(MANUAL_HOME_POSITIONS)
727
-  #define MANUAL_X_HOME_POS 0
728
-  #define MANUAL_Y_HOME_POS 0
729
-  #define MANUAL_Z_HOME_POS 0
730
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
731
-#endif
720
+// The center of the bed is at (X=0, Y=0)
721
+//#define BED_CENTER_AT_0_0
722
+
723
+// Manually set the home position. Leave these undefined for automatic settings.
724
+// For DELTA this is the top-center of the Cartesian print volume.
725
+//#define MANUAL_X_HOME_POS 0
726
+//#define MANUAL_Y_HOME_POS 0
727
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
732
 
728
 
733
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
729
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
734
 //
730
 //

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

810
 
810
 
811
 // @section homing
811
 // @section homing
812
 
812
 
813
-// The position of the homing switches
814
-#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
815
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
816
-
817
-// Manual homing switch locations:
818
-// For deltabots this means top and center of the Cartesian print volume.
819
-#if ENABLED(MANUAL_HOME_POSITIONS)
820
-  #define MANUAL_X_HOME_POS 0
821
-  #define MANUAL_Y_HOME_POS 0
822
-  #define MANUAL_Z_HOME_POS 405 // For delta: Distance between nozzle and print surface after homing.
823
-#endif
813
+// The center of the bed is at (X=0, Y=0)
814
+#define BED_CENTER_AT_0_0
815
+
816
+// Manually set the home position. Leave these undefined for automatic settings.
817
+// For DELTA this is the top-center of the Cartesian print volume.
818
+//#define MANUAL_X_HOME_POS 0
819
+//#define MANUAL_Y_HOME_POS 0
820
+#define MANUAL_Z_HOME_POS 405 // Distance between the nozzle to printbed after homing
824
 
821
 
825
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
822
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
826
 //
823
 //

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

804
 
804
 
805
 // @section homing
805
 // @section homing
806
 
806
 
807
-// The position of the homing switches
808
-#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
809
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
810
-
811
-// Manual homing switch locations:
812
-// For deltabots this means top and center of the Cartesian print volume.
813
-#if ENABLED(MANUAL_HOME_POSITIONS)
814
-  #define MANUAL_X_HOME_POS 0
815
-  #define MANUAL_Y_HOME_POS 0
816
-  #define MANUAL_Z_HOME_POS 250 // For delta: Distance between nozzle and print surface after homing.
817
-#endif
807
+// The center of the bed is at (X=0, Y=0)
808
+#define BED_CENTER_AT_0_0
809
+
810
+// Manually set the home position. Leave these undefined for automatic settings.
811
+// For DELTA this is the top-center of the Cartesian print volume.
812
+//#define MANUAL_X_HOME_POS 0
813
+//#define MANUAL_Y_HOME_POS 0
814
+#define MANUAL_Z_HOME_POS 250 // Distance between the nozzle to printbed after homing
818
 
815
 
819
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
816
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
820
 //
817
 //

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

807
 
807
 
808
 // @section homing
808
 // @section homing
809
 
809
 
810
-// The position of the homing switches
811
-#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
812
-#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
813
-
814
-// Manual homing switch locations:
815
-// For deltabots this means top and center of the Cartesian print volume.
816
-#if ENABLED(MANUAL_HOME_POSITIONS)
817
-  #define MANUAL_X_HOME_POS 0
818
-  #define MANUAL_Y_HOME_POS 0
819
-  #define MANUAL_Z_HOME_POS 250 // For delta: Distance between nozzle and print surface after homing.
820
-#endif
810
+// The center of the bed is at (X=0, Y=0)
811
+#define BED_CENTER_AT_0_0
812
+
813
+// Manually set the home position. Leave these undefined for automatic settings.
814
+// For DELTA this is the top-center of the Cartesian print volume.
815
+//#define MANUAL_X_HOME_POS 0
816
+//#define MANUAL_Y_HOME_POS 0
817
+#define MANUAL_Z_HOME_POS 250 // Distance between the nozzle to printbed after homing
821
 
818
 
822
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
819
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
823
 //
820
 //

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

801
 
801
 
802
 // @section homing
802
 // @section homing
803
 
803
 
804
-// The position of the homing switches
805
-#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
806
-#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
807
-
808
-// Manual homing switch locations:
809
-// For deltabots this means top and center of the Cartesian print volume.
810
-#if ENABLED(MANUAL_HOME_POSITIONS)
811
-  #define MANUAL_X_HOME_POS 0
812
-  #define MANUAL_Y_HOME_POS 0
813
-  #define MANUAL_Z_HOME_POS 277 // For delta: Distance between nozzle and print surface after homing.
814
-#endif
804
+// The center of the bed is at (X=0, Y=0)
805
+#define BED_CENTER_AT_0_0
806
+
807
+// Manually set the home position. Leave these undefined for automatic settings.
808
+// For DELTA this is the top-center of the Cartesian print volume.
809
+//#define MANUAL_X_HOME_POS 0
810
+//#define MANUAL_Y_HOME_POS 0
811
+#define MANUAL_Z_HOME_POS 277 // Distance between the nozzle to printbed after homing
815
 
812
 
816
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
813
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
817
 //
814
 //

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

802
 
802
 
803
 // @section homing
803
 // @section homing
804
 
804
 
805
-// The position of the homing switches
806
-#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
807
-#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
808
-
809
-// Manual homing switch locations:
810
-// For deltabots this means top and center of the Cartesian print volume.
811
-#if ENABLED(MANUAL_HOME_POSITIONS)
812
-  #define MANUAL_X_HOME_POS 0
813
-  #define MANUAL_Y_HOME_POS 0
814
-  #define MANUAL_Z_HOME_POS 381.4 // For delta: Distance between nozzle and print surface after homing.
815
-#endif
805
+// The center of the bed is at (X=0, Y=0)
806
+#define BED_CENTER_AT_0_0
807
+
808
+// Manually set the home position. Leave these undefined for automatic settings.
809
+// For DELTA this is the top-center of the Cartesian print volume.
810
+//#define MANUAL_X_HOME_POS 0
811
+//#define MANUAL_Y_HOME_POS 0
812
+#define MANUAL_Z_HOME_POS 381.4 // Distance between the nozzle to printbed after homing
816
 
813
 
817
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
814
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
818
 //
815
 //

+ 8
- 12
Marlin/example_configurations/makibox/Configuration.h View File

720
 
720
 
721
 // @section homing
721
 // @section homing
722
 
722
 
723
-// The position of the homing switches
724
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
725
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
726
-
727
-// Manual homing switch locations:
728
-// For deltabots this means top and center of the Cartesian print volume.
729
-#if ENABLED(MANUAL_HOME_POSITIONS)
730
-  #define MANUAL_X_HOME_POS 0
731
-  #define MANUAL_Y_HOME_POS 0
732
-  #define MANUAL_Z_HOME_POS 0
733
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
734
-#endif
723
+// The center of the bed is at (X=0, Y=0)
724
+//#define BED_CENTER_AT_0_0
725
+
726
+// Manually set the home position. Leave these undefined for automatic settings.
727
+// For DELTA this is the top-center of the Cartesian print volume.
728
+//#define MANUAL_X_HOME_POS 0
729
+//#define MANUAL_Y_HOME_POS 0
730
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
735
 
731
 
736
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
732
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
737
 //
733
 //

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

706
 
706
 
707
 // @section homing
707
 // @section homing
708
 
708
 
709
-// The position of the homing switches
710
-//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
711
-//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
712
-
713
-// Manual homing switch locations:
714
-// For deltabots this means top and center of the Cartesian print volume.
715
-#if ENABLED(MANUAL_HOME_POSITIONS)
716
-  #define MANUAL_X_HOME_POS 0
717
-  #define MANUAL_Y_HOME_POS 0
718
-  #define MANUAL_Z_HOME_POS 0
719
-  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
720
-#endif
709
+// The center of the bed is at (X=0, Y=0)
710
+//#define BED_CENTER_AT_0_0
711
+
712
+// Manually set the home position. Leave these undefined for automatic settings.
713
+// For DELTA this is the top-center of the Cartesian print volume.
714
+//#define MANUAL_X_HOME_POS 0
715
+//#define MANUAL_Y_HOME_POS 0
716
+//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing
721
 
717
 
722
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
718
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
723
 //
719
 //

Loading…
Cancel
Save