Переглянути джерело

Merge pull request #4358 from thinkyhead/rc_individual_homing_rates

Set homing feedrates individually
Scott Lahteine 9 роки тому
джерело
коміт
792fff5771
25 змінених файлів з 145 додано та 150 видалено
  1. 2
    2
      Marlin/Conditionals.h
  2. 6
    6
      Marlin/Configuration.h
  3. 8
    1
      Marlin/Marlin_main.cpp
  4. 2
    0
      Marlin/SanityCheck.h
  5. 6
    6
      Marlin/example_configurations/Cartesio/Configuration.h
  6. 6
    6
      Marlin/example_configurations/Felix/Configuration.h
  7. 6
    6
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  8. 6
    6
      Marlin/example_configurations/Hephestos/Configuration.h
  9. 6
    6
      Marlin/example_configurations/Hephestos_2/Configuration.h
  10. 6
    6
      Marlin/example_configurations/K8200/Configuration.h
  11. 6
    6
      Marlin/example_configurations/K8400/Configuration.h
  12. 6
    6
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  13. 6
    6
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  14. 6
    6
      Marlin/example_configurations/RigidBot/Configuration.h
  15. 6
    6
      Marlin/example_configurations/SCARA/Configuration.h
  16. 6
    6
      Marlin/example_configurations/TAZ4/Configuration.h
  17. 6
    6
      Marlin/example_configurations/WITBOX/Configuration.h
  18. 6
    6
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  19. 6
    9
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  20. 6
    9
      Marlin/example_configurations/delta/generic/Configuration.h
  21. 6
    9
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  22. 6
    9
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  23. 7
    9
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  24. 6
    6
      Marlin/example_configurations/makibox/Configuration.h
  25. 6
    6
      Marlin/example_configurations/tvrrug/Round2/Configuration.h

+ 2
- 2
Marlin/Conditionals.h Переглянути файл

829
       #define Z_PROBE_OFFSET_RANGE_MAX 20
829
       #define Z_PROBE_OFFSET_RANGE_MAX 20
830
     #endif
830
     #endif
831
     #ifndef XY_PROBE_SPEED
831
     #ifndef XY_PROBE_SPEED
832
-      #ifdef HOMING_FEEDRATE_XYZ
833
-        #define XY_PROBE_SPEED HOMING_FEEDRATE_XYZ
832
+      #ifdef HOMING_FEEDRATE_XY
833
+        #define XY_PROBE_SPEED HOMING_FEEDRATE_XY
834
       #else
834
       #else
835
         #define XY_PROBE_SPEED 4000
835
         #define XY_PROBE_SPEED 4000
836
       #endif
836
       #endif

+ 6
- 6
Marlin/Configuration.h Переглянути файл

749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
750
 #endif
750
 #endif
751
 
751
 
752
+// Homing speeds (mm/m)
753
+#define HOMING_FEEDRATE_XY (50*60)
754
+#define HOMING_FEEDRATE_Z  (4*60)
752
 
755
 
756
+//
757
+// MOVEMENT SETTINGS
753
 // @section motion
758
 // @section motion
754
-
755
-/**
756
- * MOVEMENT SETTINGS
757
- */
758
-
759
-#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}  // set the homing speeds (mm/min)
759
+//
760
 
760
 
761
 // default settings
761
 // default settings
762
 
762
 

+ 8
- 1
Marlin/Marlin_main.cpp Переглянути файл

306
  * Feed rates are often configured with mm/m
306
  * Feed rates are often configured with mm/m
307
  * but the planner and stepper like mm/s units.
307
  * but the planner and stepper like mm/s units.
308
  */
308
  */
309
-const float homing_feedrate_mm_m[] = HOMING_FEEDRATE;
309
+const float homing_feedrate_mm_m[] = {
310
+  #if ENABLED(DELTA)
311
+    HOMING_FEEDRATE_Z, HOMING_FEEDRATE_Z,
312
+  #else
313
+    HOMING_FEEDRATE_XY, HOMING_FEEDRATE_XY,
314
+  #endif
315
+  HOMING_FEEDRATE_Z, 0
316
+};
310
 static float feedrate_mm_m = 1500.0, saved_feedrate_mm_m;
317
 static float feedrate_mm_m = 1500.0, saved_feedrate_mm_m;
311
 int feedrate_percentage = 100, saved_feedrate_percentage;
318
 int feedrate_percentage = 100, saved_feedrate_percentage;
312
 
319
 

+ 2
- 0
Marlin/SanityCheck.h Переглянути файл

682
   #error "ABS_PREHEAT_FAN_SPEED is now PREHEAT_2_FAN_SPEED. Please update your configuration."
682
   #error "ABS_PREHEAT_FAN_SPEED is now PREHEAT_2_FAN_SPEED. Please update your configuration."
683
 #elif defined(ENDSTOPS_ONLY_FOR_HOMING)
683
 #elif defined(ENDSTOPS_ONLY_FOR_HOMING)
684
   #error "ENDSTOPS_ONLY_FOR_HOMING is deprecated. Use (disable) ENDSTOPS_ALWAYS_ON_DEFAULT instead."
684
   #error "ENDSTOPS_ONLY_FOR_HOMING is deprecated. Use (disable) ENDSTOPS_ALWAYS_ON_DEFAULT instead."
685
+#elif defined(HOMING_FEEDRATE)
686
+  #error "HOMING_FEEDRATE is deprecated. Set individual rates with HOMING_FEEDRATE_(XY|Z|E) instead."
685
 #endif
687
 #endif
686
 
688
 
687
 #endif //SANITYCHECK_H
689
 #endif //SANITYCHECK_H

+ 6
- 6
Marlin/example_configurations/Cartesio/Configuration.h Переглянути файл

749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
750
 #endif
750
 #endif
751
 
751
 
752
+// Homing speeds (mm/m)
753
+#define HOMING_FEEDRATE_XY (50*60)
754
+#define HOMING_FEEDRATE_Z  (10*60)
752
 
755
 
756
+//
757
+// MOVEMENT SETTINGS
753
 // @section motion
758
 // @section motion
754
-
755
-/**
756
- * MOVEMENT SETTINGS
757
- */
758
-
759
-#define HOMING_FEEDRATE  {3000, 3000, 600, 20}   // set the homing speeds (mm/min)
759
+//
760
 
760
 
761
 // default settings
761
 // default settings
762
 
762
 

+ 6
- 6
Marlin/example_configurations/Felix/Configuration.h Переглянути файл

731
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
731
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
732
 #endif
732
 #endif
733
 
733
 
734
+// Homing speeds (mm/m)
735
+#define HOMING_FEEDRATE_XY (50*60)
736
+#define HOMING_FEEDRATE_Z  (4*60)
734
 
737
 
738
+//
739
+// MOVEMENT SETTINGS
735
 // @section motion
740
 // @section motion
736
-
737
-/**
738
- * MOVEMENT SETTINGS
739
- */
740
-
741
-#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}  // set the homing speeds (mm/min)
741
+//
742
 
742
 
743
 // default settings
743
 // default settings
744
 
744
 

+ 6
- 6
Marlin/example_configurations/Felix/DUAL/Configuration.h Переглянути файл

729
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
729
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
730
 #endif
730
 #endif
731
 
731
 
732
+// Homing speeds (mm/m)
733
+#define HOMING_FEEDRATE_XY (50*60)
734
+#define HOMING_FEEDRATE_Z  (4*60)
732
 
735
 
736
+//
737
+// MOVEMENT SETTINGS
733
 // @section motion
738
 // @section motion
734
-
735
-/**
736
- * MOVEMENT SETTINGS
737
- */
738
-
739
-#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}  // set the homing speeds (mm/min)
739
+//
740
 
740
 
741
 // default settings
741
 // default settings
742
 
742
 

+ 6
- 6
Marlin/example_configurations/Hephestos/Configuration.h Переглянути файл

741
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
741
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
742
 #endif
742
 #endif
743
 
743
 
744
+// Homing speeds (mm/m)
745
+#define HOMING_FEEDRATE_XY 2000
746
+#define HOMING_FEEDRATE_Z  150
744
 
747
 
748
+//
749
+// MOVEMENT SETTINGS
745
 // @section motion
750
 // @section motion
746
-
747
-/**
748
- * MOVEMENT SETTINGS
749
- */
750
-
751
-#define HOMING_FEEDRATE {2000, 2000, 150, 0}  // set the homing speeds (mm/min)
751
+//
752
 
752
 
753
 // default settings
753
 // default settings
754
 
754
 

+ 6
- 6
Marlin/example_configurations/Hephestos_2/Configuration.h Переглянути файл

743
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
743
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
744
 #endif
744
 #endif
745
 
745
 
746
+// Homing speeds (mm/m)
747
+#define HOMING_FEEDRATE_XY (150*60)
748
+#define HOMING_FEEDRATE_Z  200
746
 
749
 
750
+//
751
+// MOVEMENT SETTINGS
747
 // @section motion
752
 // @section motion
748
-
749
-/**
750
- * MOVEMENT SETTINGS
751
- */
752
-
753
-#define HOMING_FEEDRATE {150*60, 150*60, 3.3*60, 0}  // set the homing speeds (mm/min)
753
+//
754
 
754
 
755
 // default settings
755
 // default settings
756
 
756
 

+ 6
- 6
Marlin/example_configurations/K8200/Configuration.h Переглянути файл

766
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
766
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
767
 #endif
767
 #endif
768
 
768
 
769
+// Homing speeds (mm/m)
770
+#define HOMING_FEEDRATE_XY (50*60)
771
+#define HOMING_FEEDRATE_Z  (4*60)
769
 
772
 
773
+//
774
+// MOVEMENT SETTINGS
770
 // @section motion
775
 // @section motion
771
-
772
-/**
773
- * MOVEMENT SETTINGS
774
- */
775
-
776
-#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}  // set the homing speeds (mm/min)
776
+//
777
 
777
 
778
 // default settings
778
 // default settings
779
 
779
 

+ 6
- 6
Marlin/example_configurations/K8400/Configuration.h Переглянути файл

749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
750
 #endif
750
 #endif
751
 
751
 
752
+// Homing speeds (mm/m)
753
+#define HOMING_FEEDRATE_XY (50*60)
754
+#define HOMING_FEEDRATE_Z  (8*60)
752
 
755
 
756
+//
757
+// MOVEMENT SETTINGS
753
 // @section motion
758
 // @section motion
754
-
755
-/**
756
- * MOVEMENT SETTINGS
757
- */
758
-
759
-#define HOMING_FEEDRATE {50*60, 50*60, 8*60, 0}  // set the homing speeds (mm/min)
759
+//
760
 
760
 
761
 // default settings
761
 // default settings
762
 
762
 

+ 6
- 6
Marlin/example_configurations/K8400/Dual-head/Configuration.h Переглянути файл

749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
750
 #endif
750
 #endif
751
 
751
 
752
+// Homing speeds (mm/m)
753
+#define HOMING_FEEDRATE_XY (50*60)
754
+#define HOMING_FEEDRATE_Z  (8*60)
752
 
755
 
756
+//
757
+// MOVEMENT SETTINGS
753
 // @section motion
758
 // @section motion
754
-
755
-/**
756
- * MOVEMENT SETTINGS
757
- */
758
-
759
-#define HOMING_FEEDRATE {50*60, 50*60, 8*60, 0}  // set the homing speeds (mm/min)
759
+//
760
 
760
 
761
 // default settings
761
 // default settings
762
 
762
 

+ 6
- 6
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Переглянути файл

749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
750
 #endif
750
 #endif
751
 
751
 
752
+// Homing speeds (mm/m)
753
+#define HOMING_FEEDRATE_XY (50*60)
754
+#define HOMING_FEEDRATE_Z  (4*60)
752
 
755
 
756
+//
757
+// MOVEMENT SETTINGS
753
 // @section motion
758
 // @section motion
754
-
755
-/**
756
- * MOVEMENT SETTINGS
757
- */
758
-
759
-#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}  // set the homing speeds (mm/min)
759
+//
760
 
760
 
761
 // default settings
761
 // default settings
762
 
762
 

+ 6
- 6
Marlin/example_configurations/RigidBot/Configuration.h Переглянути файл

746
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
746
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
747
 #endif
747
 #endif
748
 
748
 
749
+// Homing speeds (mm/m)
750
+#define HOMING_FEEDRATE_XY (50*60)
751
+#define HOMING_FEEDRATE_Z  (15*60)
749
 
752
 
753
+//
754
+// MOVEMENT SETTINGS
750
 // @section motion
755
 // @section motion
751
-
752
-/**
753
- * MOVEMENT SETTINGS
754
- */
755
-
756
-#define HOMING_FEEDRATE {50*60, 50*60, 15*60, 0}  // set the homing speeds (mm/min)
756
+//
757
 
757
 
758
 // default settings
758
 // default settings
759
 
759
 

+ 6
- 6
Marlin/example_configurations/SCARA/Configuration.h Переглянути файл

757
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
757
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
758
 #endif
758
 #endif
759
 
759
 
760
+// Homing speeds (mm/m)
761
+#define HOMING_FEEDRATE_XY (40*60)
762
+#define HOMING_FEEDRATE_Z  (10*60)
760
 
763
 
764
+//
765
+// MOVEMENT SETTINGS
761
 // @section motion
766
 // @section motion
762
-
763
-/**
764
- * MOVEMENT SETTINGS
765
- */
766
-
767
-#define HOMING_FEEDRATE {40*60, 40*60, 10*60, 0}  // set the homing speeds (mm/min)
767
+//
768
 
768
 
769
 // default settings
769
 // default settings
770
 
770
 

+ 6
- 6
Marlin/example_configurations/TAZ4/Configuration.h Переглянути файл

770
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
770
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
771
 #endif
771
 #endif
772
 
772
 
773
+// Homing speeds (mm/m)
774
+#define HOMING_FEEDRATE_XY (50*60)
775
+#define HOMING_FEEDRATE_Z  (8*60)
773
 
776
 
777
+//
778
+// MOVEMENT SETTINGS
774
 // @section motion
779
 // @section motion
775
-
776
-/**
777
- * MOVEMENT SETTINGS
778
- */
779
-
780
-#define HOMING_FEEDRATE {50*60, 50*60, 8*60, 0}  // set the homing speeds (mm/min)
780
+//
781
 
781
 
782
 // default settings
782
 // default settings
783
 
783
 

+ 6
- 6
Marlin/example_configurations/WITBOX/Configuration.h Переглянути файл

741
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
741
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
742
 #endif
742
 #endif
743
 
743
 
744
+// Homing speeds (mm/m)
745
+#define HOMING_FEEDRATE_XY (120*60)
746
+#define HOMING_FEEDRATE_Z  432
744
 
747
 
748
+//
749
+// MOVEMENT SETTINGS
745
 // @section motion
750
 // @section motion
746
-
747
-/**
748
- * MOVEMENT SETTINGS
749
- */
750
-
751
-#define HOMING_FEEDRATE {120*60, 120*60, 7.2*60, 0}  // set the homing speeds (mm/min)
751
+//
752
 
752
 
753
 // default settings
753
 // default settings
754
 
754
 

+ 6
- 6
Marlin/example_configurations/adafruit/ST7565/Configuration.h Переглянути файл

749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
749
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
750
 #endif
750
 #endif
751
 
751
 
752
+// Homing speeds (mm/m)
753
+#define HOMING_FEEDRATE_XY (50*60)
754
+#define HOMING_FEEDRATE_Z  (4*60)
752
 
755
 
756
+//
757
+// MOVEMENT SETTINGS
753
 // @section motion
758
 // @section motion
754
-
755
-/**
756
- * MOVEMENT SETTINGS
757
- */
758
-
759
-#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}  // set the homing speeds (mm/min)
759
+//
760
 
760
 
761
 // default settings
761
 // default settings
762
 
762
 

+ 6
- 9
Marlin/example_configurations/delta/biv2.5/Configuration.h Переглянути файл

842
 #endif
842
 #endif
843
 
843
 
844
 
844
 
845
-// @section motion
846
-
847
-/**
848
- * MOVEMENT SETTINGS
849
- */
845
+// Delta only homes to Z
846
+#define HOMING_FEEDRATE_Z  (200*30)
850
 
847
 
851
-// delta homing speeds must be the same on xyz
852
-#define HOMING_FEEDRATE_XYZ (200*30)
853
-#define HOMING_FEEDRATE_E 0
854
-#define HOMING_FEEDRATE { HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_E }
848
+//
849
+// MOVEMENT SETTINGS
850
+// @section motion
851
+//
855
 
852
 
856
 // default settings
853
 // default settings
857
 // delta speeds must be the same on xyz
854
 // delta speeds must be the same on xyz

+ 6
- 9
Marlin/example_configurations/delta/generic/Configuration.h Переглянути файл

836
 #endif
836
 #endif
837
 
837
 
838
 
838
 
839
-// @section motion
840
-
841
-/**
842
- * MOVEMENT SETTINGS
843
- */
839
+// Delta only homes to Z
840
+#define HOMING_FEEDRATE_Z  (200*60)
844
 
841
 
845
-// delta homing speeds must be the same on xyz
846
-#define HOMING_FEEDRATE_XYZ (200*60)
847
-#define HOMING_FEEDRATE_E 0
848
-#define HOMING_FEEDRATE { HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_E }
842
+//
843
+// MOVEMENT SETTINGS
844
+// @section motion
845
+//
849
 
846
 
850
 // default settings
847
 // default settings
851
 // delta speeds must be the same on xyz
848
 // delta speeds must be the same on xyz

+ 6
- 9
Marlin/example_configurations/delta/kossel_mini/Configuration.h Переглянути файл

839
 #endif
839
 #endif
840
 
840
 
841
 
841
 
842
-// @section motion
843
-
844
-/**
845
- * MOVEMENT SETTINGS
846
- */
842
+// Delta only homes to Z
843
+#define HOMING_FEEDRATE_Z  (200*60)
847
 
844
 
848
-// delta homing speeds must be the same on xyz
849
-#define HOMING_FEEDRATE_XYZ (200*60)
850
-#define HOMING_FEEDRATE_E 0
851
-#define HOMING_FEEDRATE { HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_E }
845
+//
846
+// MOVEMENT SETTINGS
847
+// @section motion
848
+//
852
 
849
 
853
 // default settings
850
 // default settings
854
 // delta speeds must be the same on xyz
851
 // delta speeds must be the same on xyz

+ 6
- 9
Marlin/example_configurations/delta/kossel_pro/Configuration.h Переглянути файл

833
 #endif
833
 #endif
834
 
834
 
835
 
835
 
836
-// @section motion
837
-
838
-/**
839
- * MOVEMENT SETTINGS
840
- */
836
+// Delta only homes to Z
837
+#define HOMING_FEEDRATE_Z  (200*60)
841
 
838
 
842
-// delta homing speeds must be the same on xyz
843
-#define HOMING_FEEDRATE_XYZ (200*60)
844
-#define HOMING_FEEDRATE_E 0
845
-#define HOMING_FEEDRATE { HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_E }
839
+//
840
+// MOVEMENT SETTINGS
841
+// @section motion
842
+//
846
 
843
 
847
 #define XYZ_FULL_STEPS_PER_ROTATION 200
844
 #define XYZ_FULL_STEPS_PER_ROTATION 200
848
 #define XYZ_MICROSTEPS 32
845
 #define XYZ_MICROSTEPS 32

+ 7
- 9
Marlin/example_configurations/delta/kossel_xl/Configuration.h Переглянути файл

833
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
833
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
834
 #endif
834
 #endif
835
 
835
 
836
+// Delta only homes to Z
837
+#define HOMING_FEEDRATE_Z  (60*60)
836
 
838
 
839
+//
840
+// MOVEMENT SETTINGS
837
 // @section motion
841
 // @section motion
838
-
839
-/**
840
- * MOVEMENT SETTINGS
841
- */
842
-
843
-// delta homing speeds must be the same on xyz
844
-#define HOMING_FEEDRATE_XYZ (60*60)
845
-#define HOMING_FEEDRATE_E 0
846
-#define HOMING_FEEDRATE { HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_XYZ, HOMING_FEEDRATE_E }
842
+//
847
 
843
 
848
 // variables to calculate steps
844
 // variables to calculate steps
849
 #define XYZ_FULL_STEPS_PER_ROTATION 200
845
 #define XYZ_FULL_STEPS_PER_ROTATION 200
854
 // delta speeds must be the same on xyz
850
 // delta speeds must be the same on xyz
855
 #define XYZ_STEPS (XYZ_FULL_STEPS_PER_ROTATION * XYZ_MICROSTEPS / double(XYZ_BELT_PITCH) / double(XYZ_PULLEY_TEETH))
851
 #define XYZ_STEPS (XYZ_FULL_STEPS_PER_ROTATION * XYZ_MICROSTEPS / double(XYZ_BELT_PITCH) / double(XYZ_PULLEY_TEETH))
856
 
852
 
853
+// default settings
854
+
857
 #define DEFAULT_AXIS_STEPS_PER_UNIT   {XYZ_STEPS, XYZ_STEPS, XYZ_STEPS, 158}   // default steps per unit for PowerWasp
855
 #define DEFAULT_AXIS_STEPS_PER_UNIT   {XYZ_STEPS, XYZ_STEPS, XYZ_STEPS, 158}   // default steps per unit for PowerWasp
858
 #define DEFAULT_MAX_FEEDRATE          {200, 200, 200, 25}    // (mm/sec)
856
 #define DEFAULT_MAX_FEEDRATE          {200, 200, 200, 25}    // (mm/sec)
859
 #define DEFAULT_MAX_ACCELERATION      {9000,9000,9000,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot.
857
 #define DEFAULT_MAX_ACCELERATION      {9000,9000,9000,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot.

+ 6
- 6
Marlin/example_configurations/makibox/Configuration.h Переглянути файл

752
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
752
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
753
 #endif
753
 #endif
754
 
754
 
755
+// Homing speeds (mm/m)
756
+#define HOMING_FEEDRATE_XY 1500
757
+#define HOMING_FEEDRATE_Z  (2*60)
755
 
758
 
759
+//
760
+// MOVEMENT SETTINGS
756
 // @section motion
761
 // @section motion
757
-
758
-/**
759
- * MOVEMENT SETTINGS
760
- */
761
-
762
-#define HOMING_FEEDRATE {1500, 1500, 120, 0}  // set the homing speeds (mm/min)   ***** MakiBox A6 *****
762
+//
763
 
763
 
764
 // default settings
764
 // default settings
765
 
765
 

+ 6
- 6
Marlin/example_configurations/tvrrug/Round2/Configuration.h Переглянути файл

739
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
739
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
740
 #endif
740
 #endif
741
 
741
 
742
+// Homing speeds (mm/m)
743
+#define HOMING_FEEDRATE_XY (50*60)
744
+#define HOMING_FEEDRATE_Z  (4*60)
742
 
745
 
746
+//
747
+// MOVEMENT SETTINGS
743
 // @section motion
748
 // @section motion
744
-
745
-/**
746
- * MOVEMENT SETTINGS
747
- */
748
-
749
-#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}  // set the homing speeds (mm/min)
749
+//
750
 
750
 
751
 // default settings
751
 // default settings
752
 
752
 

Завантаження…
Відмінити
Зберегти