Browse Source

Updates to support 5 extruders

Scott Lahteine 8 years ago
parent
commit
c54f6cf23d
74 changed files with 446 additions and 89 deletions
  1. 1
    1
      Marlin/Configuration.h
  2. 12
    0
      Marlin/Configuration_adv.h
  3. 9
    4
      Marlin/configuration_store.cpp
  4. 1
    1
      Marlin/example_configurations/Cartesio/Configuration.h
  5. 12
    0
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  6. 1
    1
      Marlin/example_configurations/Felix/Configuration.h
  7. 12
    0
      Marlin/example_configurations/Felix/Configuration_adv.h
  8. 1
    1
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  9. 1
    1
      Marlin/example_configurations/Hephestos/Configuration.h
  10. 12
    0
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  11. 1
    1
      Marlin/example_configurations/Hephestos_2/Configuration.h
  12. 12
    0
      Marlin/example_configurations/Hephestos_2/Configuration_adv.h
  13. 1
    1
      Marlin/example_configurations/K8200/Configuration.h
  14. 12
    0
      Marlin/example_configurations/K8200/Configuration_adv.h
  15. 1
    1
      Marlin/example_configurations/K8400/Configuration.h
  16. 12
    0
      Marlin/example_configurations/K8400/Configuration_adv.h
  17. 1
    1
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  18. 1
    1
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  19. 1
    1
      Marlin/example_configurations/RigidBot/Configuration.h
  20. 12
    0
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  21. 1
    1
      Marlin/example_configurations/SCARA/Configuration.h
  22. 12
    0
      Marlin/example_configurations/SCARA/Configuration_adv.h
  23. 1
    1
      Marlin/example_configurations/TAZ4/Configuration.h
  24. 12
    0
      Marlin/example_configurations/TAZ4/Configuration_adv.h
  25. 1
    8
      Marlin/example_configurations/TinyBoy2/Configuration.h
  26. 12
    0
      Marlin/example_configurations/TinyBoy2/Configuration_adv.h
  27. 1
    1
      Marlin/example_configurations/WITBOX/Configuration.h
  28. 12
    0
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  29. 1
    1
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  30. 1
    1
      Marlin/example_configurations/delta/flsun_kossel_mini/Configuration.h
  31. 1
    1
      Marlin/example_configurations/delta/generic/Configuration.h
  32. 30
    0
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  33. 1
    1
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  34. 30
    0
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  35. 1
    1
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  36. 12
    0
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  37. 1
    1
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  38. 12
    0
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  39. 1
    1
      Marlin/example_configurations/makibox/Configuration.h
  40. 12
    0
      Marlin/example_configurations/makibox/Configuration_adv.h
  41. 1
    1
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  42. 12
    0
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  43. 1
    0
      Marlin/language_an.h
  44. 1
    0
      Marlin/language_bg.h
  45. 1
    0
      Marlin/language_ca.h
  46. 1
    0
      Marlin/language_cn.h
  47. 1
    0
      Marlin/language_cz.h
  48. 1
    0
      Marlin/language_da.h
  49. 1
    0
      Marlin/language_de.h
  50. 1
    0
      Marlin/language_el-gr.h
  51. 1
    0
      Marlin/language_el.h
  52. 3
    0
      Marlin/language_en.h
  53. 1
    0
      Marlin/language_es.h
  54. 1
    0
      Marlin/language_eu.h
  55. 1
    0
      Marlin/language_fi.h
  56. 1
    0
      Marlin/language_fr.h
  57. 1
    0
      Marlin/language_gl.h
  58. 1
    0
      Marlin/language_hr.h
  59. 1
    0
      Marlin/language_it.h
  60. 2
    0
      Marlin/language_kana.h
  61. 1
    0
      Marlin/language_kana_utf8.h
  62. 1
    0
      Marlin/language_nl.h
  63. 1
    0
      Marlin/language_pl.h
  64. 1
    0
      Marlin/language_pt-br.h
  65. 1
    0
      Marlin/language_pt-br_utf8.h
  66. 1
    0
      Marlin/language_pt.h
  67. 1
    0
      Marlin/language_pt_utf8.h
  68. 1
    0
      Marlin/language_tr.h
  69. 1
    0
      Marlin/language_uk.h
  70. 6
    0
      Marlin/pinsDebug_list.h
  71. 7
    0
      Marlin/stepper.cpp
  72. 18
    0
      Marlin/stepper_indirection.cpp
  73. 31
    0
      Marlin/stepper_indirection.h
  74. 70
    55
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/Configuration.h View File

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/Configuration_adv.h View File

808
   //#define E1_IS_TMC
808
   //#define E1_IS_TMC
809
   //#define E2_IS_TMC
809
   //#define E2_IS_TMC
810
   //#define E3_IS_TMC
810
   //#define E3_IS_TMC
811
+  //#define E4_IS_TMC
811
 
812
 
812
   #define X_MAX_CURRENT     1000 // in mA
813
   #define X_MAX_CURRENT     1000 // in mA
813
   #define X_SENSE_RESISTOR    91 // in mOhms
814
   #define X_SENSE_RESISTOR    91 // in mOhms
849
   #define E3_SENSE_RESISTOR   91
850
   #define E3_SENSE_RESISTOR   91
850
   #define E3_MICROSTEPS       16
851
   #define E3_MICROSTEPS       16
851
 
852
 
853
+  #define E4_MAX_CURRENT    1000
854
+  #define E4_SENSE_RESISTOR   91
855
+  #define E4_MICROSTEPS       16
856
+
852
 #endif
857
 #endif
853
 
858
 
854
 // @section TMC2130
859
 // @section TMC2130
890
   //#define E1_IS_TMC2130
895
   //#define E1_IS_TMC2130
891
   //#define E2_IS_TMC2130
896
   //#define E2_IS_TMC2130
892
   //#define E3_IS_TMC2130
897
   //#define E3_IS_TMC2130
898
+  //#define E4_IS_TMC2130
893
 
899
 
894
   /**
900
   /**
895
    * Stepper driver settings
901
    * Stepper driver settings
975
   //#define E1_IS_L6470
981
   //#define E1_IS_L6470
976
   //#define E2_IS_L6470
982
   //#define E2_IS_L6470
977
   //#define E3_IS_L6470
983
   //#define E3_IS_L6470
984
+  //#define E4_IS_L6470
978
 
985
 
979
   #define X_MICROSTEPS      16 // number of microsteps
986
   #define X_MICROSTEPS      16 // number of microsteps
980
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
987
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1026
   #define E3_OVERCURRENT  2000
1033
   #define E3_OVERCURRENT  2000
1027
   #define E3_STALLCURRENT 1500
1034
   #define E3_STALLCURRENT 1500
1028
 
1035
 
1036
+  #define E4_MICROSTEPS     16
1037
+  #define E4_K_VAL          50
1038
+  #define E4_OVERCURRENT  2000
1039
+  #define E4_STALLCURRENT 1500
1040
+
1029
 #endif
1041
 #endif
1030
 
1042
 
1031
 /**
1043
 /**

+ 9
- 4
Marlin/configuration_store.cpp View File

144
  *  568  M906 E1   stepperE1 current                (uint16_t)
144
  *  568  M906 E1   stepperE1 current                (uint16_t)
145
  *  570  M906 E2   stepperE2 current                (uint16_t)
145
  *  570  M906 E2   stepperE2 current                (uint16_t)
146
  *  572  M906 E3   stepperE3 current                (uint16_t)
146
  *  572  M906 E3   stepperE3 current                (uint16_t)
147
+ *  572  M906 E4   stepperE4 current                (uint16_t)
147
  *
148
  *
148
- *  574                                Minimum end-point
149
- * 1895 (574 + 36 + 9 + 288 + 988)     Maximum end-point
149
+ *  576                                Minimum end-point
150
+ * 1897 (576 + 36 + 9 + 288 + 988)     Maximum end-point
150
  */
151
  */
151
 #include "Marlin.h"
152
 #include "Marlin.h"
152
 #include "language.h"
153
 #include "language.h"
520
       EEPROM_WRITE(val);
521
       EEPROM_WRITE(val);
521
     #else
522
     #else
522
       val = 0;
523
       val = 0;
523
-      for (uint8_t q = 0; q < 10; ++q) EEPROM_WRITE(val);
524
+      for (uint8_t q = 0; q < 11; ++q) EEPROM_WRITE(val);
524
     #endif
525
     #endif
525
 
526
 
526
     if (!eeprom_write_error) {
527
     if (!eeprom_write_error) {
824
         #if ENABLED(E3_IS_TMC2130)
825
         #if ENABLED(E3_IS_TMC2130)
825
           stepperE3.setCurrent(val, R_SENSE, HOLD_MULTIPLIER);
826
           stepperE3.setCurrent(val, R_SENSE, HOLD_MULTIPLIER);
826
         #endif
827
         #endif
828
+        EEPROM_READ(val);
829
+        #if ENABLED(E4_IS_TMC2130)
830
+          stepperE4.setCurrent(val, R_SENSE, HOLD_MULTIPLIER);
831
+        #endif
827
       #else
832
       #else
828
-        for (uint8_t q = 0; q < 10; q++) EEPROM_READ(val);
833
+        for (uint8_t q = 0; q < 11; q++) EEPROM_READ(val);
829
       #endif
834
       #endif
830
 
835
 
831
       if (eeprom_checksum == stored_checksum) {
836
       if (eeprom_checksum == stored_checksum) {

+ 1
- 1
Marlin/example_configurations/Cartesio/Configuration.h View File

143
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
144
 
144
 
145
 // This defines the number of extruders
145
 // This defines the number of extruders
146
-// :[1, 2, 3, 4]
146
+// :[1, 2, 3, 4, 5]
147
 #define EXTRUDERS 3
147
 #define EXTRUDERS 3
148
 
148
 
149
 // Enable if your E steppers or extruder gear ratios are not identical
149
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/Cartesio/Configuration_adv.h View File

805
   //#define E1_IS_TMC
805
   //#define E1_IS_TMC
806
   //#define E2_IS_TMC
806
   //#define E2_IS_TMC
807
   //#define E3_IS_TMC
807
   //#define E3_IS_TMC
808
+  //#define E4_IS_TMC
808
 
809
 
809
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_SENSE_RESISTOR    91 // in mOhms
811
   #define X_SENSE_RESISTOR    91 // in mOhms
846
   #define E3_SENSE_RESISTOR   91
847
   #define E3_SENSE_RESISTOR   91
847
   #define E3_MICROSTEPS       16
848
   #define E3_MICROSTEPS       16
848
 
849
 
850
+  #define E4_MAX_CURRENT    1000
851
+  #define E4_SENSE_RESISTOR   91
852
+  #define E4_MICROSTEPS       16
853
+
849
 #endif
854
 #endif
850
 
855
 
851
 // @section TMC2130
856
 // @section TMC2130
887
   //#define E1_IS_TMC2130
892
   //#define E1_IS_TMC2130
888
   //#define E2_IS_TMC2130
893
   //#define E2_IS_TMC2130
889
   //#define E3_IS_TMC2130
894
   //#define E3_IS_TMC2130
895
+  //#define E4_IS_TMC2130
890
 
896
 
891
   /**
897
   /**
892
    * Stepper driver settings
898
    * Stepper driver settings
972
   //#define E1_IS_L6470
978
   //#define E1_IS_L6470
973
   //#define E2_IS_L6470
979
   //#define E2_IS_L6470
974
   //#define E3_IS_L6470
980
   //#define E3_IS_L6470
981
+  //#define E4_IS_L6470
975
 
982
 
976
   #define X_MICROSTEPS      16 // number of microsteps
983
   #define X_MICROSTEPS      16 // number of microsteps
977
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
984
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1023
   #define E3_OVERCURRENT  2000
1030
   #define E3_OVERCURRENT  2000
1024
   #define E3_STALLCURRENT 1500
1031
   #define E3_STALLCURRENT 1500
1025
 
1032
 
1033
+  #define E4_MICROSTEPS     16
1034
+  #define E4_K_VAL          50
1035
+  #define E4_OVERCURRENT  2000
1036
+  #define E4_STALLCURRENT 1500
1037
+
1026
 #endif
1038
 #endif
1027
 
1039
 
1028
 /**
1040
 /**

+ 1
- 1
Marlin/example_configurations/Felix/Configuration.h View File

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/Felix/Configuration_adv.h View File

805
   //#define E1_IS_TMC
805
   //#define E1_IS_TMC
806
   //#define E2_IS_TMC
806
   //#define E2_IS_TMC
807
   //#define E3_IS_TMC
807
   //#define E3_IS_TMC
808
+  //#define E4_IS_TMC
808
 
809
 
809
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_SENSE_RESISTOR    91 // in mOhms
811
   #define X_SENSE_RESISTOR    91 // in mOhms
846
   #define E3_SENSE_RESISTOR   91
847
   #define E3_SENSE_RESISTOR   91
847
   #define E3_MICROSTEPS       16
848
   #define E3_MICROSTEPS       16
848
 
849
 
850
+  #define E4_MAX_CURRENT    1000
851
+  #define E4_SENSE_RESISTOR   91
852
+  #define E4_MICROSTEPS       16
853
+
849
 #endif
854
 #endif
850
 
855
 
851
 // @section TMC2130
856
 // @section TMC2130
887
   //#define E1_IS_TMC2130
892
   //#define E1_IS_TMC2130
888
   //#define E2_IS_TMC2130
893
   //#define E2_IS_TMC2130
889
   //#define E3_IS_TMC2130
894
   //#define E3_IS_TMC2130
895
+  //#define E4_IS_TMC2130
890
 
896
 
891
   /**
897
   /**
892
    * Stepper driver settings
898
    * Stepper driver settings
972
   //#define E1_IS_L6470
978
   //#define E1_IS_L6470
973
   //#define E2_IS_L6470
979
   //#define E2_IS_L6470
974
   //#define E3_IS_L6470
980
   //#define E3_IS_L6470
981
+  //#define E4_IS_L6470
975
 
982
 
976
   #define X_MICROSTEPS      16 // number of microsteps
983
   #define X_MICROSTEPS      16 // number of microsteps
977
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
984
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1023
   #define E3_OVERCURRENT  2000
1030
   #define E3_OVERCURRENT  2000
1024
   #define E3_STALLCURRENT 1500
1031
   #define E3_STALLCURRENT 1500
1025
 
1032
 
1033
+  #define E4_MICROSTEPS     16
1034
+  #define E4_K_VAL          50
1035
+  #define E4_OVERCURRENT  2000
1036
+  #define E4_STALLCURRENT 1500
1037
+
1026
 #endif
1038
 #endif
1027
 
1039
 
1028
 /**
1040
 /**

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

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 2
146
 #define EXTRUDERS 2
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 1
- 1
Marlin/example_configurations/Hephestos/Configuration.h View File

145
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
145
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
146
 
146
 
147
 // This defines the number of extruders
147
 // This defines the number of extruders
148
-// :[1, 2, 3, 4]
148
+// :[1, 2, 3, 4, 5]
149
 #define EXTRUDERS 1
149
 #define EXTRUDERS 1
150
 
150
 
151
 // Enable if your E steppers or extruder gear ratios are not identical
151
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/Hephestos/Configuration_adv.h View File

805
   //#define E1_IS_TMC
805
   //#define E1_IS_TMC
806
   //#define E2_IS_TMC
806
   //#define E2_IS_TMC
807
   //#define E3_IS_TMC
807
   //#define E3_IS_TMC
808
+  //#define E4_IS_TMC
808
 
809
 
809
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_SENSE_RESISTOR    91 // in mOhms
811
   #define X_SENSE_RESISTOR    91 // in mOhms
846
   #define E3_SENSE_RESISTOR   91
847
   #define E3_SENSE_RESISTOR   91
847
   #define E3_MICROSTEPS       16
848
   #define E3_MICROSTEPS       16
848
 
849
 
850
+  #define E4_MAX_CURRENT    1000
851
+  #define E4_SENSE_RESISTOR   91
852
+  #define E4_MICROSTEPS       16
853
+
849
 #endif
854
 #endif
850
 
855
 
851
 // @section TMC2130
856
 // @section TMC2130
887
   //#define E1_IS_TMC2130
892
   //#define E1_IS_TMC2130
888
   //#define E2_IS_TMC2130
893
   //#define E2_IS_TMC2130
889
   //#define E3_IS_TMC2130
894
   //#define E3_IS_TMC2130
895
+  //#define E4_IS_TMC2130
890
 
896
 
891
   /**
897
   /**
892
    * Stepper driver settings
898
    * Stepper driver settings
972
   //#define E1_IS_L6470
978
   //#define E1_IS_L6470
973
   //#define E2_IS_L6470
979
   //#define E2_IS_L6470
974
   //#define E3_IS_L6470
980
   //#define E3_IS_L6470
981
+  //#define E4_IS_L6470
975
 
982
 
976
   #define X_MICROSTEPS      16 // number of microsteps
983
   #define X_MICROSTEPS      16 // number of microsteps
977
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
984
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1023
   #define E3_OVERCURRENT  2000
1030
   #define E3_OVERCURRENT  2000
1024
   #define E3_STALLCURRENT 1500
1031
   #define E3_STALLCURRENT 1500
1025
 
1032
 
1033
+  #define E4_MICROSTEPS     16
1034
+  #define E4_K_VAL          50
1035
+  #define E4_OVERCURRENT  2000
1036
+  #define E4_STALLCURRENT 1500
1037
+
1026
 #endif
1038
 #endif
1027
 
1039
 
1028
 /**
1040
 /**

+ 1
- 1
Marlin/example_configurations/Hephestos_2/Configuration.h View File

142
 #define MACHINE_UUID "8d083632-40c5-4649-85b8-43d9ae6c5d55" // BQ Hephestos 2 standard config
142
 #define MACHINE_UUID "8d083632-40c5-4649-85b8-43d9ae6c5d55" // BQ Hephestos 2 standard config
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/Hephestos_2/Configuration_adv.h View File

789
   //#define E1_IS_TMC
789
   //#define E1_IS_TMC
790
   //#define E2_IS_TMC
790
   //#define E2_IS_TMC
791
   //#define E3_IS_TMC
791
   //#define E3_IS_TMC
792
+  //#define E4_IS_TMC
792
 
793
 
793
   #define X_MAX_CURRENT     1000 // in mA
794
   #define X_MAX_CURRENT     1000 // in mA
794
   #define X_SENSE_RESISTOR    91 // in mOhms
795
   #define X_SENSE_RESISTOR    91 // in mOhms
830
   #define E3_SENSE_RESISTOR   91
831
   #define E3_SENSE_RESISTOR   91
831
   #define E3_MICROSTEPS       16
832
   #define E3_MICROSTEPS       16
832
 
833
 
834
+  #define E4_MAX_CURRENT    1000
835
+  #define E4_SENSE_RESISTOR   91
836
+  #define E4_MICROSTEPS       16
837
+
833
 #endif
838
 #endif
834
 
839
 
835
 // @section TMC2130
840
 // @section TMC2130
871
   //#define E1_IS_TMC2130
876
   //#define E1_IS_TMC2130
872
   //#define E2_IS_TMC2130
877
   //#define E2_IS_TMC2130
873
   //#define E3_IS_TMC2130
878
   //#define E3_IS_TMC2130
879
+  //#define E4_IS_TMC2130
874
 
880
 
875
   /**
881
   /**
876
    * Stepper driver settings
882
    * Stepper driver settings
956
   //#define E1_IS_L6470
962
   //#define E1_IS_L6470
957
   //#define E2_IS_L6470
963
   //#define E2_IS_L6470
958
   //#define E3_IS_L6470
964
   //#define E3_IS_L6470
965
+  //#define E4_IS_L6470
959
 
966
 
960
   #define X_MICROSTEPS      16 // number of microsteps
967
   #define X_MICROSTEPS      16 // number of microsteps
961
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
968
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1007
   #define E3_OVERCURRENT  2000
1014
   #define E3_OVERCURRENT  2000
1008
   #define E3_STALLCURRENT 1500
1015
   #define E3_STALLCURRENT 1500
1009
 
1016
 
1017
+  #define E4_MICROSTEPS     16
1018
+  #define E4_K_VAL          50
1019
+  #define E4_OVERCURRENT  2000
1020
+  #define E4_STALLCURRENT 1500
1021
+
1010
 #endif
1022
 #endif
1011
 
1023
 
1012
 /**
1024
 /**

+ 1
- 1
Marlin/example_configurations/K8200/Configuration.h View File

162
 #endif
162
 #endif
163
 
163
 
164
 // This defines the number of extruders
164
 // This defines the number of extruders
165
-// :[1, 2, 3, 4]
165
+// :[1, 2, 3, 4, 5]
166
 #define EXTRUDERS 1
166
 #define EXTRUDERS 1
167
 
167
 
168
 // Enable if your E steppers or extruder gear ratios are not identical
168
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/K8200/Configuration_adv.h View File

818
   //#define E1_IS_TMC
818
   //#define E1_IS_TMC
819
   //#define E2_IS_TMC
819
   //#define E2_IS_TMC
820
   //#define E3_IS_TMC
820
   //#define E3_IS_TMC
821
+  //#define E4_IS_TMC
821
 
822
 
822
   #define X_MAX_CURRENT     1000 // in mA
823
   #define X_MAX_CURRENT     1000 // in mA
823
   #define X_SENSE_RESISTOR    91 // in mOhms
824
   #define X_SENSE_RESISTOR    91 // in mOhms
859
   #define E3_SENSE_RESISTOR   91
860
   #define E3_SENSE_RESISTOR   91
860
   #define E3_MICROSTEPS       16
861
   #define E3_MICROSTEPS       16
861
 
862
 
863
+  #define E4_MAX_CURRENT    1000
864
+  #define E4_SENSE_RESISTOR   91
865
+  #define E4_MICROSTEPS       16
866
+
862
 #endif
867
 #endif
863
 
868
 
864
 // @section TMC2130
869
 // @section TMC2130
900
   //#define E1_IS_TMC2130
905
   //#define E1_IS_TMC2130
901
   //#define E2_IS_TMC2130
906
   //#define E2_IS_TMC2130
902
   //#define E3_IS_TMC2130
907
   //#define E3_IS_TMC2130
908
+  //#define E4_IS_TMC2130
903
 
909
 
904
   /**
910
   /**
905
    * Stepper driver settings
911
    * Stepper driver settings
985
   //#define E1_IS_L6470
991
   //#define E1_IS_L6470
986
   //#define E2_IS_L6470
992
   //#define E2_IS_L6470
987
   //#define E3_IS_L6470
993
   //#define E3_IS_L6470
994
+  //#define E4_IS_L6470
988
 
995
 
989
   #define X_MICROSTEPS      16 // number of microsteps
996
   #define X_MICROSTEPS      16 // number of microsteps
990
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
997
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1036
   #define E3_OVERCURRENT  2000
1043
   #define E3_OVERCURRENT  2000
1037
   #define E3_STALLCURRENT 1500
1044
   #define E3_STALLCURRENT 1500
1038
 
1045
 
1046
+  #define E4_MICROSTEPS     16
1047
+  #define E4_K_VAL          50
1048
+  #define E4_OVERCURRENT  2000
1049
+  #define E4_STALLCURRENT 1500
1050
+
1039
 #endif
1051
 #endif
1040
 
1052
 
1041
 /**
1053
 /**

+ 1
- 1
Marlin/example_configurations/K8400/Configuration.h View File

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/K8400/Configuration_adv.h View File

805
   //#define E1_IS_TMC
805
   //#define E1_IS_TMC
806
   //#define E2_IS_TMC
806
   //#define E2_IS_TMC
807
   //#define E3_IS_TMC
807
   //#define E3_IS_TMC
808
+  //#define E4_IS_TMC
808
 
809
 
809
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_SENSE_RESISTOR    91 // in mOhms
811
   #define X_SENSE_RESISTOR    91 // in mOhms
846
   #define E3_SENSE_RESISTOR   91
847
   #define E3_SENSE_RESISTOR   91
847
   #define E3_MICROSTEPS       16
848
   #define E3_MICROSTEPS       16
848
 
849
 
850
+  #define E4_MAX_CURRENT    1000
851
+  #define E4_SENSE_RESISTOR   91
852
+  #define E4_MICROSTEPS       16
853
+
849
 #endif
854
 #endif
850
 
855
 
851
 // @section TMC2130
856
 // @section TMC2130
887
   //#define E1_IS_TMC2130
892
   //#define E1_IS_TMC2130
888
   //#define E2_IS_TMC2130
893
   //#define E2_IS_TMC2130
889
   //#define E3_IS_TMC2130
894
   //#define E3_IS_TMC2130
895
+  //#define E4_IS_TMC2130
890
 
896
 
891
   /**
897
   /**
892
    * Stepper driver settings
898
    * Stepper driver settings
972
   //#define E1_IS_L6470
978
   //#define E1_IS_L6470
973
   //#define E2_IS_L6470
979
   //#define E2_IS_L6470
974
   //#define E3_IS_L6470
980
   //#define E3_IS_L6470
981
+  //#define E4_IS_L6470
975
 
982
 
976
   #define X_MICROSTEPS      16 // number of microsteps
983
   #define X_MICROSTEPS      16 // number of microsteps
977
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
984
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1023
   #define E3_OVERCURRENT  2000
1030
   #define E3_OVERCURRENT  2000
1024
   #define E3_STALLCURRENT 1500
1031
   #define E3_STALLCURRENT 1500
1025
 
1032
 
1033
+  #define E4_MICROSTEPS     16
1034
+  #define E4_K_VAL          50
1035
+  #define E4_OVERCURRENT  2000
1036
+  #define E4_STALLCURRENT 1500
1037
+
1026
 #endif
1038
 #endif
1027
 
1039
 
1028
 /**
1040
 /**

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

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 2
146
 #define EXTRUDERS 2
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

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

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 1
- 1
Marlin/example_configurations/RigidBot/Configuration.h View File

145
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
145
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
146
 
146
 
147
 // This defines the number of extruders
147
 // This defines the number of extruders
148
-// :[1, 2, 3, 4]
148
+// :[1, 2, 3, 4, 5]
149
 #define EXTRUDERS 1  // Single extruder. Set to 2 for dual extruders
149
 #define EXTRUDERS 1  // Single extruder. Set to 2 for dual extruders
150
 
150
 
151
 // Enable if your E steppers or extruder gear ratios are not identical
151
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/RigidBot/Configuration_adv.h View File

805
   //#define E1_IS_TMC
805
   //#define E1_IS_TMC
806
   //#define E2_IS_TMC
806
   //#define E2_IS_TMC
807
   //#define E3_IS_TMC
807
   //#define E3_IS_TMC
808
+  //#define E4_IS_TMC
808
 
809
 
809
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_SENSE_RESISTOR    91 // in mOhms
811
   #define X_SENSE_RESISTOR    91 // in mOhms
846
   #define E3_SENSE_RESISTOR   91
847
   #define E3_SENSE_RESISTOR   91
847
   #define E3_MICROSTEPS       16
848
   #define E3_MICROSTEPS       16
848
 
849
 
850
+  #define E4_MAX_CURRENT    1000
851
+  #define E4_SENSE_RESISTOR   91
852
+  #define E4_MICROSTEPS       16
853
+
849
 #endif
854
 #endif
850
 
855
 
851
 // @section TMC2130
856
 // @section TMC2130
887
   //#define E1_IS_TMC2130
892
   //#define E1_IS_TMC2130
888
   //#define E2_IS_TMC2130
893
   //#define E2_IS_TMC2130
889
   //#define E3_IS_TMC2130
894
   //#define E3_IS_TMC2130
895
+  //#define E4_IS_TMC2130
890
 
896
 
891
   /**
897
   /**
892
    * Stepper driver settings
898
    * Stepper driver settings
972
   //#define E1_IS_L6470
978
   //#define E1_IS_L6470
973
   //#define E2_IS_L6470
979
   //#define E2_IS_L6470
974
   //#define E3_IS_L6470
980
   //#define E3_IS_L6470
981
+  //#define E4_IS_L6470
975
 
982
 
976
   #define X_MICROSTEPS      16 // number of microsteps
983
   #define X_MICROSTEPS      16 // number of microsteps
977
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
984
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1023
   #define E3_OVERCURRENT  2000
1030
   #define E3_OVERCURRENT  2000
1024
   #define E3_STALLCURRENT 1500
1031
   #define E3_STALLCURRENT 1500
1025
 
1032
 
1033
+  #define E4_MICROSTEPS     16
1034
+  #define E4_K_VAL          50
1035
+  #define E4_OVERCURRENT  2000
1036
+  #define E4_STALLCURRENT 1500
1037
+
1026
 #endif
1038
 #endif
1027
 
1039
 
1028
 /**
1040
 /**

+ 1
- 1
Marlin/example_configurations/SCARA/Configuration.h View File

174
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
174
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
175
 
175
 
176
 // This defines the number of extruders
176
 // This defines the number of extruders
177
-// :[1, 2, 3, 4]
177
+// :[1, 2, 3, 4, 5]
178
 #define EXTRUDERS 1
178
 #define EXTRUDERS 1
179
 
179
 
180
 // Enable if your E steppers or extruder gear ratios are not identical
180
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/SCARA/Configuration_adv.h View File

805
   //#define E1_IS_TMC
805
   //#define E1_IS_TMC
806
   //#define E2_IS_TMC
806
   //#define E2_IS_TMC
807
   //#define E3_IS_TMC
807
   //#define E3_IS_TMC
808
+  //#define E4_IS_TMC
808
 
809
 
809
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_SENSE_RESISTOR    91 // in mOhms
811
   #define X_SENSE_RESISTOR    91 // in mOhms
846
   #define E3_SENSE_RESISTOR   91
847
   #define E3_SENSE_RESISTOR   91
847
   #define E3_MICROSTEPS       16
848
   #define E3_MICROSTEPS       16
848
 
849
 
850
+  #define E4_MAX_CURRENT    1000
851
+  #define E4_SENSE_RESISTOR   91
852
+  #define E4_MICROSTEPS       16
853
+
849
 #endif
854
 #endif
850
 
855
 
851
 // @section TMC2130
856
 // @section TMC2130
887
   //#define E1_IS_TMC2130
892
   //#define E1_IS_TMC2130
888
   //#define E2_IS_TMC2130
893
   //#define E2_IS_TMC2130
889
   //#define E3_IS_TMC2130
894
   //#define E3_IS_TMC2130
895
+  //#define E4_IS_TMC2130
890
 
896
 
891
   /**
897
   /**
892
    * Stepper driver settings
898
    * Stepper driver settings
972
   //#define E1_IS_L6470
978
   //#define E1_IS_L6470
973
   //#define E2_IS_L6470
979
   //#define E2_IS_L6470
974
   //#define E3_IS_L6470
980
   //#define E3_IS_L6470
981
+  //#define E4_IS_L6470
975
 
982
 
976
   #define X_MICROSTEPS      16 // number of microsteps
983
   #define X_MICROSTEPS      16 // number of microsteps
977
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
984
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1023
   #define E3_OVERCURRENT  2000
1030
   #define E3_OVERCURRENT  2000
1024
   #define E3_STALLCURRENT 1500
1031
   #define E3_STALLCURRENT 1500
1025
 
1032
 
1033
+  #define E4_MICROSTEPS     16
1034
+  #define E4_K_VAL          50
1035
+  #define E4_OVERCURRENT  2000
1036
+  #define E4_STALLCURRENT 1500
1037
+
1026
 #endif
1038
 #endif
1027
 
1039
 
1028
 /**
1040
 /**

+ 1
- 1
Marlin/example_configurations/TAZ4/Configuration.h View File

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/TAZ4/Configuration_adv.h View File

813
   //#define E1_IS_TMC
813
   //#define E1_IS_TMC
814
   //#define E2_IS_TMC
814
   //#define E2_IS_TMC
815
   //#define E3_IS_TMC
815
   //#define E3_IS_TMC
816
+  //#define E4_IS_TMC
816
 
817
 
817
   #define X_MAX_CURRENT     1000 // in mA
818
   #define X_MAX_CURRENT     1000 // in mA
818
   #define X_SENSE_RESISTOR    91 // in mOhms
819
   #define X_SENSE_RESISTOR    91 // in mOhms
854
   #define E3_SENSE_RESISTOR   91
855
   #define E3_SENSE_RESISTOR   91
855
   #define E3_MICROSTEPS       16
856
   #define E3_MICROSTEPS       16
856
 
857
 
858
+  #define E4_MAX_CURRENT    1000
859
+  #define E4_SENSE_RESISTOR   91
860
+  #define E4_MICROSTEPS       16
861
+
857
 #endif
862
 #endif
858
 
863
 
859
 // @section TMC2130
864
 // @section TMC2130
895
   //#define E1_IS_TMC2130
900
   //#define E1_IS_TMC2130
896
   //#define E2_IS_TMC2130
901
   //#define E2_IS_TMC2130
897
   //#define E3_IS_TMC2130
902
   //#define E3_IS_TMC2130
903
+  //#define E4_IS_TMC2130
898
 
904
 
899
   /**
905
   /**
900
    * Stepper driver settings
906
    * Stepper driver settings
980
   //#define E1_IS_L6470
986
   //#define E1_IS_L6470
981
   //#define E2_IS_L6470
987
   //#define E2_IS_L6470
982
   //#define E3_IS_L6470
988
   //#define E3_IS_L6470
989
+  //#define E4_IS_L6470
983
 
990
 
984
   #define X_MICROSTEPS      16 // number of microsteps
991
   #define X_MICROSTEPS      16 // number of microsteps
985
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
992
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1031
   #define E3_OVERCURRENT  2000
1038
   #define E3_OVERCURRENT  2000
1032
   #define E3_STALLCURRENT 1500
1039
   #define E3_STALLCURRENT 1500
1033
 
1040
 
1041
+  #define E4_MICROSTEPS     16
1042
+  #define E4_K_VAL          50
1043
+  #define E4_OVERCURRENT  2000
1044
+  #define E4_STALLCURRENT 1500
1045
+
1034
 #endif
1046
 #endif
1035
 
1047
 
1036
 /**
1048
 /**

+ 1
- 8
Marlin/example_configurations/TinyBoy2/Configuration.h View File

164
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
164
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
165
 
165
 
166
 // This defines the number of extruders
166
 // This defines the number of extruders
167
-// :[1, 2, 3, 4]
167
+// :[1, 2, 3, 4, 5]
168
 #define EXTRUDERS 1
168
 #define EXTRUDERS 1
169
 
169
 
170
 // Enable if your E steppers or extruder gear ratios are not identical
170
 // Enable if your E steppers or extruder gear ratios are not identical
988
 
988
 
989
   //#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
989
   //#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
990
 
990
 
991
-  //#define MANUAL_BED_LEVELING  // Add display menu option for bed leveling.
992
-  #define MANUAL_PROBE_Z_RANGE 4 // Z Range centered on Z_MIN_POS for LCD Z adjustment
993
-
994
-  #if ENABLED(MANUAL_BED_LEVELING)
995
-    #define MBL_Z_STEP 0.025     // Step size while manually probing Z axis.
996
-  #endif
997
-
998
 #endif // BED_LEVELING
991
 #endif // BED_LEVELING
999
 
992
 
1000
 /**
993
 /**

+ 12
- 0
Marlin/example_configurations/TinyBoy2/Configuration_adv.h View File

789
   //#define E1_IS_TMC
789
   //#define E1_IS_TMC
790
   //#define E2_IS_TMC
790
   //#define E2_IS_TMC
791
   //#define E3_IS_TMC
791
   //#define E3_IS_TMC
792
+  //#define E4_IS_TMC
792
 
793
 
793
   #define X_MAX_CURRENT     1000 // in mA
794
   #define X_MAX_CURRENT     1000 // in mA
794
   #define X_SENSE_RESISTOR    91 // in mOhms
795
   #define X_SENSE_RESISTOR    91 // in mOhms
830
   #define E3_SENSE_RESISTOR   91
831
   #define E3_SENSE_RESISTOR   91
831
   #define E3_MICROSTEPS       16
832
   #define E3_MICROSTEPS       16
832
 
833
 
834
+  #define E4_MAX_CURRENT    1000
835
+  #define E4_SENSE_RESISTOR   91
836
+  #define E4_MICROSTEPS       16
837
+
833
 #endif
838
 #endif
834
 
839
 
835
 // @section TMC2130
840
 // @section TMC2130
871
   //#define E1_IS_TMC2130
876
   //#define E1_IS_TMC2130
872
   //#define E2_IS_TMC2130
877
   //#define E2_IS_TMC2130
873
   //#define E3_IS_TMC2130
878
   //#define E3_IS_TMC2130
879
+  //#define E4_IS_TMC2130
874
 
880
 
875
   /**
881
   /**
876
    * Stepper driver settings
882
    * Stepper driver settings
956
   //#define E1_IS_L6470
962
   //#define E1_IS_L6470
957
   //#define E2_IS_L6470
963
   //#define E2_IS_L6470
958
   //#define E3_IS_L6470
964
   //#define E3_IS_L6470
965
+  //#define E4_IS_L6470
959
 
966
 
960
   #define X_MICROSTEPS      16 // number of microsteps
967
   #define X_MICROSTEPS      16 // number of microsteps
961
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
968
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1007
   #define E3_OVERCURRENT  2000
1014
   #define E3_OVERCURRENT  2000
1008
   #define E3_STALLCURRENT 1500
1015
   #define E3_STALLCURRENT 1500
1009
 
1016
 
1017
+  #define E4_MICROSTEPS     16
1018
+  #define E4_K_VAL          50
1019
+  #define E4_OVERCURRENT  2000
1020
+  #define E4_STALLCURRENT 1500
1021
+
1010
 #endif
1022
 #endif
1011
 
1023
 
1012
 /**
1024
 /**

+ 1
- 1
Marlin/example_configurations/WITBOX/Configuration.h View File

145
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
145
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
146
 
146
 
147
 // This defines the number of extruders
147
 // This defines the number of extruders
148
-// :[1, 2, 3, 4]
148
+// :[1, 2, 3, 4, 5]
149
 #define EXTRUDERS 1
149
 #define EXTRUDERS 1
150
 
150
 
151
 // Enable if your E steppers or extruder gear ratios are not identical
151
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/WITBOX/Configuration_adv.h View File

805
   //#define E1_IS_TMC
805
   //#define E1_IS_TMC
806
   //#define E2_IS_TMC
806
   //#define E2_IS_TMC
807
   //#define E3_IS_TMC
807
   //#define E3_IS_TMC
808
+  //#define E4_IS_TMC
808
 
809
 
809
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_SENSE_RESISTOR    91 // in mOhms
811
   #define X_SENSE_RESISTOR    91 // in mOhms
846
   #define E3_SENSE_RESISTOR   91
847
   #define E3_SENSE_RESISTOR   91
847
   #define E3_MICROSTEPS       16
848
   #define E3_MICROSTEPS       16
848
 
849
 
850
+  #define E4_MAX_CURRENT    1000
851
+  #define E4_SENSE_RESISTOR   91
852
+  #define E4_MICROSTEPS       16
853
+
849
 #endif
854
 #endif
850
 
855
 
851
 // @section TMC2130
856
 // @section TMC2130
887
   //#define E1_IS_TMC2130
892
   //#define E1_IS_TMC2130
888
   //#define E2_IS_TMC2130
893
   //#define E2_IS_TMC2130
889
   //#define E3_IS_TMC2130
894
   //#define E3_IS_TMC2130
895
+  //#define E4_IS_TMC2130
890
 
896
 
891
   /**
897
   /**
892
    * Stepper driver settings
898
    * Stepper driver settings
972
   //#define E1_IS_L6470
978
   //#define E1_IS_L6470
973
   //#define E2_IS_L6470
979
   //#define E2_IS_L6470
974
   //#define E3_IS_L6470
980
   //#define E3_IS_L6470
981
+  //#define E4_IS_L6470
975
 
982
 
976
   #define X_MICROSTEPS      16 // number of microsteps
983
   #define X_MICROSTEPS      16 // number of microsteps
977
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
984
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1023
   #define E3_OVERCURRENT  2000
1030
   #define E3_OVERCURRENT  2000
1024
   #define E3_STALLCURRENT 1500
1031
   #define E3_STALLCURRENT 1500
1025
 
1032
 
1033
+  #define E4_MICROSTEPS     16
1034
+  #define E4_K_VAL          50
1035
+  #define E4_OVERCURRENT  2000
1036
+  #define E4_STALLCURRENT 1500
1037
+
1026
 #endif
1038
 #endif
1027
 
1039
 
1028
 /**
1040
 /**

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

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 1
- 1
Marlin/example_configurations/delta/flsun_kossel_mini/Configuration.h View File

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

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

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 30
- 0
Marlin/example_configurations/delta/generic/Configuration_adv.h View File

428
 #define DIGIPOT_I2C_MOTOR_CURRENTS {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}  //  AZTEEG_X3_PRO
428
 #define DIGIPOT_I2C_MOTOR_CURRENTS {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}  //  AZTEEG_X3_PRO
429
 
429
 
430
 //===========================================================================
430
 //===========================================================================
431
+//============================== Delta Settings =============================
432
+//===========================================================================
433
+
434
+#if ENABLED(DELTA_AUTO_CALIBRATION)
435
+  /**
436
+   * Set the height short (H-10) with M665 Hx.xx.
437
+   * Set the delta_radius offset (R-5, R-10, R+5, R+10) with M665 Rx.xx.
438
+   * Run G33 Cx V3 with different values (C2, C-2).
439
+   * Take the average for R_FACTOR and maximum for H_FACTOR.
440
+   * If R_FACTOR is too low accuracy is reduced. Too high reduces iteration speed.
441
+   * Run the tests with default values!!!
442
+   */
443
+  //#define DELTA_CALIBRATE_EXPERT_MODE
444
+  //#define H_FACTOR  1.02 //  1.0 < H_FACTOR <  1.11, default  1.00
445
+  //#define R_FACTOR -3.95 // -6.7 < R_FACTOR < -2.25, default -2.25
446
+#endif
447
+
448
+//===========================================================================
431
 //=============================Additional Features===========================
449
 //=============================Additional Features===========================
432
 //===========================================================================
450
 //===========================================================================
433
 
451
 
807
   //#define E1_IS_TMC
825
   //#define E1_IS_TMC
808
   //#define E2_IS_TMC
826
   //#define E2_IS_TMC
809
   //#define E3_IS_TMC
827
   //#define E3_IS_TMC
828
+  //#define E4_IS_TMC
810
 
829
 
811
   #define X_MAX_CURRENT     1000 // in mA
830
   #define X_MAX_CURRENT     1000 // in mA
812
   #define X_SENSE_RESISTOR    91 // in mOhms
831
   #define X_SENSE_RESISTOR    91 // in mOhms
848
   #define E3_SENSE_RESISTOR   91
867
   #define E3_SENSE_RESISTOR   91
849
   #define E3_MICROSTEPS       16
868
   #define E3_MICROSTEPS       16
850
 
869
 
870
+  #define E4_MAX_CURRENT    1000
871
+  #define E4_SENSE_RESISTOR   91
872
+  #define E4_MICROSTEPS       16
873
+
851
 #endif
874
 #endif
852
 
875
 
853
 // @section TMC2130
876
 // @section TMC2130
889
   //#define E1_IS_TMC2130
912
   //#define E1_IS_TMC2130
890
   //#define E2_IS_TMC2130
913
   //#define E2_IS_TMC2130
891
   //#define E3_IS_TMC2130
914
   //#define E3_IS_TMC2130
915
+  //#define E4_IS_TMC2130
892
 
916
 
893
   /**
917
   /**
894
    * Stepper driver settings
918
    * Stepper driver settings
974
   //#define E1_IS_L6470
998
   //#define E1_IS_L6470
975
   //#define E2_IS_L6470
999
   //#define E2_IS_L6470
976
   //#define E3_IS_L6470
1000
   //#define E3_IS_L6470
1001
+  //#define E4_IS_L6470
977
 
1002
 
978
   #define X_MICROSTEPS      16 // number of microsteps
1003
   #define X_MICROSTEPS      16 // number of microsteps
979
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1004
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1025
   #define E3_OVERCURRENT  2000
1050
   #define E3_OVERCURRENT  2000
1026
   #define E3_STALLCURRENT 1500
1051
   #define E3_STALLCURRENT 1500
1027
 
1052
 
1053
+  #define E4_MICROSTEPS     16
1054
+  #define E4_K_VAL          50
1055
+  #define E4_OVERCURRENT  2000
1056
+  #define E4_STALLCURRENT 1500
1057
+
1028
 #endif
1058
 #endif
1029
 
1059
 
1030
 /**
1060
 /**

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

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 30
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h View File

428
 #define DIGIPOT_I2C_MOTOR_CURRENTS {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}  //  AZTEEG_X3_PRO
428
 #define DIGIPOT_I2C_MOTOR_CURRENTS {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}  //  AZTEEG_X3_PRO
429
 
429
 
430
 //===========================================================================
430
 //===========================================================================
431
+//============================== Delta Settings =============================
432
+//===========================================================================
433
+
434
+#if ENABLED(DELTA_AUTO_CALIBRATION)
435
+  /**
436
+   * Set the height short (H-10) with M665 Hx.xx.
437
+   * Set the delta_radius offset (R-5, R-10, R+5, R+10) with M665 Rx.xx.
438
+   * Run G33 Cx V3 with different values (C2, C-2).
439
+   * Take the average for R_FACTOR and maximum for H_FACTOR.
440
+   * If R_FACTOR is too low accuracy is reduced. Too high reduces iteration speed.
441
+   * Run the tests with default values!!!
442
+   */
443
+  //#define DELTA_CALIBRATE_EXPERT_MODE
444
+  //#define H_FACTOR  1.02 //  1.0 < H_FACTOR <  1.11, default  1.00
445
+  //#define R_FACTOR -3.95 // -6.7 < R_FACTOR < -2.25, default -2.25
446
+#endif
447
+
448
+//===========================================================================
431
 //=============================Additional Features===========================
449
 //=============================Additional Features===========================
432
 //===========================================================================
450
 //===========================================================================
433
 
451
 
807
   //#define E1_IS_TMC
825
   //#define E1_IS_TMC
808
   //#define E2_IS_TMC
826
   //#define E2_IS_TMC
809
   //#define E3_IS_TMC
827
   //#define E3_IS_TMC
828
+  //#define E4_IS_TMC
810
 
829
 
811
   #define X_MAX_CURRENT     1000 // in mA
830
   #define X_MAX_CURRENT     1000 // in mA
812
   #define X_SENSE_RESISTOR    91 // in mOhms
831
   #define X_SENSE_RESISTOR    91 // in mOhms
848
   #define E3_SENSE_RESISTOR   91
867
   #define E3_SENSE_RESISTOR   91
849
   #define E3_MICROSTEPS       16
868
   #define E3_MICROSTEPS       16
850
 
869
 
870
+  #define E4_MAX_CURRENT    1000
871
+  #define E4_SENSE_RESISTOR   91
872
+  #define E4_MICROSTEPS       16
873
+
851
 #endif
874
 #endif
852
 
875
 
853
 // @section TMC2130
876
 // @section TMC2130
889
   //#define E1_IS_TMC2130
912
   //#define E1_IS_TMC2130
890
   //#define E2_IS_TMC2130
913
   //#define E2_IS_TMC2130
891
   //#define E3_IS_TMC2130
914
   //#define E3_IS_TMC2130
915
+  //#define E4_IS_TMC2130
892
 
916
 
893
   /**
917
   /**
894
    * Stepper driver settings
918
    * Stepper driver settings
974
   //#define E1_IS_L6470
998
   //#define E1_IS_L6470
975
   //#define E2_IS_L6470
999
   //#define E2_IS_L6470
976
   //#define E3_IS_L6470
1000
   //#define E3_IS_L6470
1001
+  //#define E4_IS_L6470
977
 
1002
 
978
   #define X_MICROSTEPS      16 // number of microsteps
1003
   #define X_MICROSTEPS      16 // number of microsteps
979
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1004
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1025
   #define E3_OVERCURRENT  2000
1050
   #define E3_OVERCURRENT  2000
1026
   #define E3_STALLCURRENT 1500
1051
   #define E3_STALLCURRENT 1500
1027
 
1052
 
1053
+  #define E4_MICROSTEPS     16
1054
+  #define E4_K_VAL          50
1055
+  #define E4_OVERCURRENT  2000
1056
+  #define E4_STALLCURRENT 1500
1057
+
1028
 #endif
1058
 #endif
1029
 
1059
 
1030
 /**
1060
 /**

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

146
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
146
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
147
 
147
 
148
 // This defines the number of extruders
148
 // This defines the number of extruders
149
-// :[1, 2, 3, 4]
149
+// :[1, 2, 3, 4, 5]
150
 #define EXTRUDERS 1
150
 #define EXTRUDERS 1
151
 
151
 
152
 // Enable if your E steppers or extruder gear ratios are not identical
152
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h View File

812
   //#define E1_IS_TMC
812
   //#define E1_IS_TMC
813
   //#define E2_IS_TMC
813
   //#define E2_IS_TMC
814
   //#define E3_IS_TMC
814
   //#define E3_IS_TMC
815
+  //#define E4_IS_TMC
815
 
816
 
816
   #define X_MAX_CURRENT     1000 // in mA
817
   #define X_MAX_CURRENT     1000 // in mA
817
   #define X_SENSE_RESISTOR    91 // in mOhms
818
   #define X_SENSE_RESISTOR    91 // in mOhms
853
   #define E3_SENSE_RESISTOR   91
854
   #define E3_SENSE_RESISTOR   91
854
   #define E3_MICROSTEPS       16
855
   #define E3_MICROSTEPS       16
855
 
856
 
857
+  #define E4_MAX_CURRENT    1000
858
+  #define E4_SENSE_RESISTOR   91
859
+  #define E4_MICROSTEPS       16
860
+
856
 #endif
861
 #endif
857
 
862
 
858
 // @section TMC2130
863
 // @section TMC2130
894
   //#define E1_IS_TMC2130
899
   //#define E1_IS_TMC2130
895
   //#define E2_IS_TMC2130
900
   //#define E2_IS_TMC2130
896
   //#define E3_IS_TMC2130
901
   //#define E3_IS_TMC2130
902
+  //#define E4_IS_TMC2130
897
 
903
 
898
   /**
904
   /**
899
    * Stepper driver settings
905
    * Stepper driver settings
979
   //#define E1_IS_L6470
985
   //#define E1_IS_L6470
980
   //#define E2_IS_L6470
986
   //#define E2_IS_L6470
981
   //#define E3_IS_L6470
987
   //#define E3_IS_L6470
988
+  //#define E4_IS_L6470
982
 
989
 
983
   #define X_MICROSTEPS      16 // number of microsteps
990
   #define X_MICROSTEPS      16 // number of microsteps
984
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
991
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1030
   #define E3_OVERCURRENT  2000
1037
   #define E3_OVERCURRENT  2000
1031
   #define E3_STALLCURRENT 1500
1038
   #define E3_STALLCURRENT 1500
1032
 
1039
 
1040
+  #define E4_MICROSTEPS     16
1041
+  #define E4_K_VAL          50
1042
+  #define E4_OVERCURRENT  2000
1043
+  #define E4_STALLCURRENT 1500
1044
+
1033
 #endif
1045
 #endif
1034
 
1046
 
1035
 /**
1047
 /**

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

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h View File

807
   //#define E1_IS_TMC
807
   //#define E1_IS_TMC
808
   //#define E2_IS_TMC
808
   //#define E2_IS_TMC
809
   //#define E3_IS_TMC
809
   //#define E3_IS_TMC
810
+  //#define E4_IS_TMC
810
 
811
 
811
   #define X_MAX_CURRENT     1000 // in mA
812
   #define X_MAX_CURRENT     1000 // in mA
812
   #define X_SENSE_RESISTOR    91 // in mOhms
813
   #define X_SENSE_RESISTOR    91 // in mOhms
848
   #define E3_SENSE_RESISTOR   91
849
   #define E3_SENSE_RESISTOR   91
849
   #define E3_MICROSTEPS       16
850
   #define E3_MICROSTEPS       16
850
 
851
 
852
+  #define E4_MAX_CURRENT    1000
853
+  #define E4_SENSE_RESISTOR   91
854
+  #define E4_MICROSTEPS       16
855
+
851
 #endif
856
 #endif
852
 
857
 
853
 // @section TMC2130
858
 // @section TMC2130
889
   //#define E1_IS_TMC2130
894
   //#define E1_IS_TMC2130
890
   //#define E2_IS_TMC2130
895
   //#define E2_IS_TMC2130
891
   //#define E3_IS_TMC2130
896
   //#define E3_IS_TMC2130
897
+  //#define E4_IS_TMC2130
892
 
898
 
893
   /**
899
   /**
894
    * Stepper driver settings
900
    * Stepper driver settings
974
   //#define E1_IS_L6470
980
   //#define E1_IS_L6470
975
   //#define E2_IS_L6470
981
   //#define E2_IS_L6470
976
   //#define E3_IS_L6470
982
   //#define E3_IS_L6470
983
+  //#define E4_IS_L6470
977
 
984
 
978
   #define X_MICROSTEPS      16 // number of microsteps
985
   #define X_MICROSTEPS      16 // number of microsteps
979
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
986
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1025
   #define E3_OVERCURRENT  2000
1032
   #define E3_OVERCURRENT  2000
1026
   #define E3_STALLCURRENT 1500
1033
   #define E3_STALLCURRENT 1500
1027
 
1034
 
1035
+  #define E4_MICROSTEPS     16
1036
+  #define E4_K_VAL          50
1037
+  #define E4_OVERCURRENT  2000
1038
+  #define E4_STALLCURRENT 1500
1039
+
1028
 #endif
1040
 #endif
1029
 
1041
 
1030
 /**
1042
 /**

+ 1
- 1
Marlin/example_configurations/makibox/Configuration.h View File

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/makibox/Configuration_adv.h View File

805
   //#define E1_IS_TMC
805
   //#define E1_IS_TMC
806
   //#define E2_IS_TMC
806
   //#define E2_IS_TMC
807
   //#define E3_IS_TMC
807
   //#define E3_IS_TMC
808
+  //#define E4_IS_TMC
808
 
809
 
809
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_SENSE_RESISTOR    91 // in mOhms
811
   #define X_SENSE_RESISTOR    91 // in mOhms
846
   #define E3_SENSE_RESISTOR   91
847
   #define E3_SENSE_RESISTOR   91
847
   #define E3_MICROSTEPS       16
848
   #define E3_MICROSTEPS       16
848
 
849
 
850
+  #define E4_MAX_CURRENT    1000
851
+  #define E4_SENSE_RESISTOR   91
852
+  #define E4_MICROSTEPS       16
853
+
849
 #endif
854
 #endif
850
 
855
 
851
 // @section TMC2130
856
 // @section TMC2130
887
   //#define E1_IS_TMC2130
892
   //#define E1_IS_TMC2130
888
   //#define E2_IS_TMC2130
893
   //#define E2_IS_TMC2130
889
   //#define E3_IS_TMC2130
894
   //#define E3_IS_TMC2130
895
+  //#define E4_IS_TMC2130
890
 
896
 
891
   /**
897
   /**
892
    * Stepper driver settings
898
    * Stepper driver settings
972
   //#define E1_IS_L6470
978
   //#define E1_IS_L6470
973
   //#define E2_IS_L6470
979
   //#define E2_IS_L6470
974
   //#define E3_IS_L6470
980
   //#define E3_IS_L6470
981
+  //#define E4_IS_L6470
975
 
982
 
976
   #define X_MICROSTEPS      16 // number of microsteps
983
   #define X_MICROSTEPS      16 // number of microsteps
977
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
984
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1023
   #define E3_OVERCURRENT  2000
1030
   #define E3_OVERCURRENT  2000
1024
   #define E3_STALLCURRENT 1500
1031
   #define E3_STALLCURRENT 1500
1025
 
1032
 
1033
+  #define E4_MICROSTEPS     16
1034
+  #define E4_K_VAL          50
1035
+  #define E4_OVERCURRENT  2000
1036
+  #define E4_STALLCURRENT 1500
1037
+
1026
 #endif
1038
 #endif
1027
 
1039
 
1028
 /**
1040
 /**

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

142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143
 
143
 
144
 // This defines the number of extruders
144
 // This defines the number of extruders
145
-// :[1, 2, 3, 4]
145
+// :[1, 2, 3, 4, 5]
146
 #define EXTRUDERS 1
146
 #define EXTRUDERS 1
147
 
147
 
148
 // Enable if your E steppers or extruder gear ratios are not identical
148
 // Enable if your E steppers or extruder gear ratios are not identical

+ 12
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h View File

805
   //#define E1_IS_TMC
805
   //#define E1_IS_TMC
806
   //#define E2_IS_TMC
806
   //#define E2_IS_TMC
807
   //#define E3_IS_TMC
807
   //#define E3_IS_TMC
808
+  //#define E4_IS_TMC
808
 
809
 
809
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_MAX_CURRENT     1000 // in mA
810
   #define X_SENSE_RESISTOR    91 // in mOhms
811
   #define X_SENSE_RESISTOR    91 // in mOhms
846
   #define E3_SENSE_RESISTOR   91
847
   #define E3_SENSE_RESISTOR   91
847
   #define E3_MICROSTEPS       16
848
   #define E3_MICROSTEPS       16
848
 
849
 
850
+  #define E4_MAX_CURRENT    1000
851
+  #define E4_SENSE_RESISTOR   91
852
+  #define E4_MICROSTEPS       16
853
+
849
 #endif
854
 #endif
850
 
855
 
851
 // @section TMC2130
856
 // @section TMC2130
887
   //#define E1_IS_TMC2130
892
   //#define E1_IS_TMC2130
888
   //#define E2_IS_TMC2130
893
   //#define E2_IS_TMC2130
889
   //#define E3_IS_TMC2130
894
   //#define E3_IS_TMC2130
895
+  //#define E4_IS_TMC2130
890
 
896
 
891
   /**
897
   /**
892
    * Stepper driver settings
898
    * Stepper driver settings
972
   //#define E1_IS_L6470
978
   //#define E1_IS_L6470
973
   //#define E2_IS_L6470
979
   //#define E2_IS_L6470
974
   //#define E3_IS_L6470
980
   //#define E3_IS_L6470
981
+  //#define E4_IS_L6470
975
 
982
 
976
   #define X_MICROSTEPS      16 // number of microsteps
983
   #define X_MICROSTEPS      16 // number of microsteps
977
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
984
   #define X_K_VAL           50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
1023
   #define E3_OVERCURRENT  2000
1030
   #define E3_OVERCURRENT  2000
1024
   #define E3_STALLCURRENT 1500
1031
   #define E3_STALLCURRENT 1500
1025
 
1032
 
1033
+  #define E4_MICROSTEPS     16
1034
+  #define E4_K_VAL          50
1035
+  #define E4_OVERCURRENT  2000
1036
+  #define E4_STALLCURRENT 1500
1037
+
1026
 #endif
1038
 #endif
1027
 
1039
 
1028
 /**
1040
 /**

+ 1
- 0
Marlin/language_an.h View File

112
 #define MSG_E2STEPS                         _UxGT("E2 trangos/mm")
112
 #define MSG_E2STEPS                         _UxGT("E2 trangos/mm")
113
 #define MSG_E3STEPS                         _UxGT("E3 trangos/mm")
113
 #define MSG_E3STEPS                         _UxGT("E3 trangos/mm")
114
 #define MSG_E4STEPS                         _UxGT("E4 trangos/mm")
114
 #define MSG_E4STEPS                         _UxGT("E4 trangos/mm")
115
+#define MSG_E5STEPS                         _UxGT("E5 trangos/mm")
115
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
116
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
116
 #define MSG_MOTION                          _UxGT("Movimiento")
117
 #define MSG_MOTION                          _UxGT("Movimiento")
117
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")
118
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")

+ 1
- 0
Marlin/language_bg.h View File

113
 #define MSG_E2STEPS                         _UxGT("E2 стъпки/mm")
113
 #define MSG_E2STEPS                         _UxGT("E2 стъпки/mm")
114
 #define MSG_E3STEPS                         _UxGT("E3 стъпки/mm")
114
 #define MSG_E3STEPS                         _UxGT("E3 стъпки/mm")
115
 #define MSG_E4STEPS                         _UxGT("E4 стъпки/mm")
115
 #define MSG_E4STEPS                         _UxGT("E4 стъпки/mm")
116
+#define MSG_E5STEPS                         _UxGT("E5 стъпки/mm")
116
 #define MSG_TEMPERATURE                     _UxGT("Температура")
117
 #define MSG_TEMPERATURE                     _UxGT("Температура")
117
 #define MSG_MOTION                          _UxGT("Движение")
118
 #define MSG_MOTION                          _UxGT("Движение")
118
 #define MSG_VOLUMETRIC                      _UxGT("Нишка")
119
 #define MSG_VOLUMETRIC                      _UxGT("Нишка")

+ 1
- 0
Marlin/language_ca.h View File

117
 #define MSG_E2STEPS                         _UxGT("E2passos/mm")
117
 #define MSG_E2STEPS                         _UxGT("E2passos/mm")
118
 #define MSG_E3STEPS                         _UxGT("E3passos/mm")
118
 #define MSG_E3STEPS                         _UxGT("E3passos/mm")
119
 #define MSG_E4STEPS                         _UxGT("E4passos/mm")
119
 #define MSG_E4STEPS                         _UxGT("E4passos/mm")
120
+#define MSG_E5STEPS                         _UxGT("E5passos/mm")
120
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
121
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
121
 #define MSG_MOTION                          _UxGT("Moviment")
122
 #define MSG_MOTION                          _UxGT("Moviment")
122
 #define MSG_VOLUMETRIC                      _UxGT("Filament")
123
 #define MSG_VOLUMETRIC                      _UxGT("Filament")

+ 1
- 0
Marlin/language_cn.h View File

105
 #define MSG_E2STEPS                         "E2steps/mm"
105
 #define MSG_E2STEPS                         "E2steps/mm"
106
 #define MSG_E3STEPS                         "E3steps/mm"
106
 #define MSG_E3STEPS                         "E3steps/mm"
107
 #define MSG_E4STEPS                         "E4steps/mm"
107
 #define MSG_E4STEPS                         "E4steps/mm"
108
+#define MSG_E5STEPS                         "E5steps/mm"
108
 #define MSG_TEMPERATURE                     "\xc9\xd2"
109
 #define MSG_TEMPERATURE                     "\xc9\xd2"
109
 #define MSG_MOTION                          "\xdf\xb2"
110
 #define MSG_MOTION                          "\xdf\xb2"
110
 #define MSG_VOLUMETRIC                      "Filament"
111
 #define MSG_VOLUMETRIC                      "Filament"

+ 1
- 0
Marlin/language_cz.h View File

116
 #define MSG_E2STEPS                         _UxGT("E2kroku/mm")
116
 #define MSG_E2STEPS                         _UxGT("E2kroku/mm")
117
 #define MSG_E3STEPS                         _UxGT("E3kroku/mm")
117
 #define MSG_E3STEPS                         _UxGT("E3kroku/mm")
118
 #define MSG_E4STEPS                         _UxGT("E4kroku/mm")
118
 #define MSG_E4STEPS                         _UxGT("E4kroku/mm")
119
+#define MSG_E5STEPS                         _UxGT("E5kroku/mm")
119
 #define MSG_TEMPERATURE                     _UxGT("Teplota")
120
 #define MSG_TEMPERATURE                     _UxGT("Teplota")
120
 #define MSG_MOTION                          _UxGT("Pohyb")
121
 #define MSG_MOTION                          _UxGT("Pohyb")
121
 #define MSG_VOLUMETRIC                      _UxGT("Filament")
122
 #define MSG_VOLUMETRIC                      _UxGT("Filament")

+ 1
- 0
Marlin/language_da.h View File

114
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")
114
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")
115
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")
115
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")
116
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")
116
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")
117
+#define MSG_E5STEPS                         _UxGT("E5steps/mm")
117
 #define MSG_TEMPERATURE                     _UxGT("Temperatur")
118
 #define MSG_TEMPERATURE                     _UxGT("Temperatur")
118
 #define MSG_MOTION                          _UxGT("Bevægelse")
119
 #define MSG_MOTION                          _UxGT("Bevægelse")
119
 #define MSG_VOLUMETRIC                      _UxGT("Filament")
120
 #define MSG_VOLUMETRIC                      _UxGT("Filament")

+ 1
- 0
Marlin/language_de.h View File

118
 #define MSG_E2STEPS                         _UxGT("E2 Steps/mm")
118
 #define MSG_E2STEPS                         _UxGT("E2 Steps/mm")
119
 #define MSG_E3STEPS                         _UxGT("E3 Steps/mm")
119
 #define MSG_E3STEPS                         _UxGT("E3 Steps/mm")
120
 #define MSG_E4STEPS                         _UxGT("E4 Steps/mm")
120
 #define MSG_E4STEPS                         _UxGT("E4 Steps/mm")
121
+#define MSG_E5STEPS                         _UxGT("E5 Steps/mm")
121
 #define MSG_TEMPERATURE                     _UxGT("Temperatur")
122
 #define MSG_TEMPERATURE                     _UxGT("Temperatur")
122
 #define MSG_MOTION                          _UxGT("Bewegung")
123
 #define MSG_MOTION                          _UxGT("Bewegung")
123
 #define MSG_VOLUMETRIC                      _UxGT("Filament")
124
 #define MSG_VOLUMETRIC                      _UxGT("Filament")

+ 1
- 0
Marlin/language_el-gr.h View File

112
 #define MSG_E2STEPS                         _UxGT("Bήματα Ε2 ανά μμ")
112
 #define MSG_E2STEPS                         _UxGT("Bήματα Ε2 ανά μμ")
113
 #define MSG_E3STEPS                         _UxGT("Bήματα Ε3 ανά μμ")
113
 #define MSG_E3STEPS                         _UxGT("Bήματα Ε3 ανά μμ")
114
 #define MSG_E4STEPS                         _UxGT("Bήματα Ε4 ανά μμ")
114
 #define MSG_E4STEPS                         _UxGT("Bήματα Ε4 ανά μμ")
115
+#define MSG_E5STEPS                         _UxGT("Bήματα Ε5 ανά μμ")
115
 #define MSG_TEMPERATURE                     _UxGT("Θερμοκρασία")
116
 #define MSG_TEMPERATURE                     _UxGT("Θερμοκρασία")
116
 #define MSG_MOTION                          _UxGT("Κίνηση")
117
 #define MSG_MOTION                          _UxGT("Κίνηση")
117
 #define MSG_VOLUMETRIC                      _UxGT("Νήμα")
118
 #define MSG_VOLUMETRIC                      _UxGT("Νήμα")

+ 1
- 0
Marlin/language_el.h View File

112
 #define MSG_E2STEPS                         _UxGT("Bήματα Ε2 ανά μμ")
112
 #define MSG_E2STEPS                         _UxGT("Bήματα Ε2 ανά μμ")
113
 #define MSG_E3STEPS                         _UxGT("Bήματα Ε3 ανά μμ")
113
 #define MSG_E3STEPS                         _UxGT("Bήματα Ε3 ανά μμ")
114
 #define MSG_E4STEPS                         _UxGT("Bήματα Ε4 ανά μμ")
114
 #define MSG_E4STEPS                         _UxGT("Bήματα Ε4 ανά μμ")
115
+#define MSG_E5STEPS                         _UxGT("Bήματα Ε5 ανά μμ")
115
 #define MSG_TEMPERATURE                     _UxGT("Θερμοκρασία")
116
 #define MSG_TEMPERATURE                     _UxGT("Θερμοκρασία")
116
 #define MSG_MOTION                          _UxGT("Κίνηση")
117
 #define MSG_MOTION                          _UxGT("Κίνηση")
117
 #define MSG_VOLUMETRIC                      _UxGT("Νήμα")
118
 #define MSG_VOLUMETRIC                      _UxGT("Νήμα")

+ 3
- 0
Marlin/language_en.h View File

291
 #ifndef MSG_E4STEPS
291
 #ifndef MSG_E4STEPS
292
   #define MSG_E4STEPS                         _UxGT("E4steps/mm")
292
   #define MSG_E4STEPS                         _UxGT("E4steps/mm")
293
 #endif
293
 #endif
294
+#ifndef MSG_E5STEPS
295
+  #define MSG_E5STEPS                         _UxGT("E5steps/mm")
296
+#endif
294
 #ifndef MSG_TEMPERATURE
297
 #ifndef MSG_TEMPERATURE
295
   #define MSG_TEMPERATURE                     _UxGT("Temperature")
298
   #define MSG_TEMPERATURE                     _UxGT("Temperature")
296
 #endif
299
 #endif

+ 1
- 0
Marlin/language_es.h View File

116
 #define MSG_E2STEPS                         _UxGT("E2 pasos/mm")
116
 #define MSG_E2STEPS                         _UxGT("E2 pasos/mm")
117
 #define MSG_E3STEPS                         _UxGT("E3 pasos/mm")
117
 #define MSG_E3STEPS                         _UxGT("E3 pasos/mm")
118
 #define MSG_E4STEPS                         _UxGT("E4 pasos/mm")
118
 #define MSG_E4STEPS                         _UxGT("E4 pasos/mm")
119
+#define MSG_E5STEPS                         _UxGT("E5 pasos/mm")
119
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
120
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
120
 #define MSG_MOTION                          _UxGT("Movimiento")
121
 #define MSG_MOTION                          _UxGT("Movimiento")
121
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")
122
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")

+ 1
- 0
Marlin/language_eu.h View File

103
 #define MSG_E2STEPS                         _UxGT("E2 pausoak/mm")
103
 #define MSG_E2STEPS                         _UxGT("E2 pausoak/mm")
104
 #define MSG_E3STEPS                         _UxGT("E3 pausoak/mm")
104
 #define MSG_E3STEPS                         _UxGT("E3 pausoak/mm")
105
 #define MSG_E4STEPS                         _UxGT("E4 pausoak/mm")
105
 #define MSG_E4STEPS                         _UxGT("E4 pausoak/mm")
106
+#define MSG_E5STEPS                         _UxGT("E5 pausoak/mm")
106
 #define MSG_TEMPERATURE                     _UxGT("Tenperatura")
107
 #define MSG_TEMPERATURE                     _UxGT("Tenperatura")
107
 #define MSG_MOTION                          _UxGT("Mugimendua")
108
 #define MSG_MOTION                          _UxGT("Mugimendua")
108
 #define MSG_VOLUMETRIC                      _UxGT("Filament")
109
 #define MSG_VOLUMETRIC                      _UxGT("Filament")

+ 1
- 0
Marlin/language_fi.h View File

104
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")
104
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")
105
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")
105
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")
106
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")
106
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")
107
+#define MSG_E5STEPS                         _UxGT("E5steps/mm")
107
 #define MSG_TEMPERATURE                     _UxGT("Lämpötila")
108
 #define MSG_TEMPERATURE                     _UxGT("Lämpötila")
108
 #define MSG_MOTION                          _UxGT("Liike")
109
 #define MSG_MOTION                          _UxGT("Liike")
109
 #define MSG_VOLUMETRIC                      _UxGT("Filament")
110
 #define MSG_VOLUMETRIC                      _UxGT("Filament")

+ 1
- 0
Marlin/language_fr.h View File

117
 #define MSG_E2STEPS                         _UxGT("E2pas/mm")
117
 #define MSG_E2STEPS                         _UxGT("E2pas/mm")
118
 #define MSG_E3STEPS                         _UxGT("E3pas/mm")
118
 #define MSG_E3STEPS                         _UxGT("E3pas/mm")
119
 #define MSG_E4STEPS                         _UxGT("E4pas/mm")
119
 #define MSG_E4STEPS                         _UxGT("E4pas/mm")
120
+#define MSG_E5STEPS                         _UxGT("E5pas/mm")
120
 #define MSG_TEMPERATURE                     _UxGT("Tempzrature")
121
 #define MSG_TEMPERATURE                     _UxGT("Tempzrature")
121
 #define MSG_MOTION                          _UxGT("Mouvement")
122
 #define MSG_MOTION                          _UxGT("Mouvement")
122
 #define MSG_VOLUMETRIC                      _UxGT("Filament")
123
 #define MSG_VOLUMETRIC                      _UxGT("Filament")

+ 1
- 0
Marlin/language_gl.h View File

113
 #define MSG_E2STEPS                         _UxGT("E2pasos/mm")
113
 #define MSG_E2STEPS                         _UxGT("E2pasos/mm")
114
 #define MSG_E3STEPS                         _UxGT("E3pasos/mm")
114
 #define MSG_E3STEPS                         _UxGT("E3pasos/mm")
115
 #define MSG_E4STEPS                         _UxGT("E4pasos/mm")
115
 #define MSG_E4STEPS                         _UxGT("E4pasos/mm")
116
+#define MSG_E5STEPS                         _UxGT("E5pasos/mm")
116
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
117
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
117
 #define MSG_MOTION                          _UxGT("Movemento")
118
 #define MSG_MOTION                          _UxGT("Movemento")
118
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")
119
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")

+ 1
- 0
Marlin/language_hr.h View File

112
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")
112
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")
113
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")
113
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")
114
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")
114
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")
115
+#define MSG_E5STEPS                         _UxGT("E5steps/mm")
115
 #define MSG_TEMPERATURE                     _UxGT("Temperature")
116
 #define MSG_TEMPERATURE                     _UxGT("Temperature")
116
 #define MSG_MOTION                          _UxGT("Gibanje")
117
 #define MSG_MOTION                          _UxGT("Gibanje")
117
 #define MSG_VOLUMETRIC                      _UxGT("Filament")
118
 #define MSG_VOLUMETRIC                      _UxGT("Filament")

+ 1
- 0
Marlin/language_it.h View File

120
 #define MSG_E2STEPS                         _UxGT("E2passi/mm")
120
 #define MSG_E2STEPS                         _UxGT("E2passi/mm")
121
 #define MSG_E3STEPS                         _UxGT("E3passi/mm")
121
 #define MSG_E3STEPS                         _UxGT("E3passi/mm")
122
 #define MSG_E4STEPS                         _UxGT("E4passi/mm")
122
 #define MSG_E4STEPS                         _UxGT("E4passi/mm")
123
+#define MSG_E5STEPS                         _UxGT("E5passi/mm")
123
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
124
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
124
 #define MSG_MOTION                          _UxGT("Movimento")
125
 #define MSG_MOTION                          _UxGT("Movimento")
125
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")
126
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")

+ 2
- 0
Marlin/language_kana.h View File

137
   #define MSG_E2STEPS                         "E2steps/mm"
137
   #define MSG_E2STEPS                         "E2steps/mm"
138
   #define MSG_E3STEPS                         "E3steps/mm"
138
   #define MSG_E3STEPS                         "E3steps/mm"
139
   #define MSG_E4STEPS                         "E4steps/mm"
139
   #define MSG_E4STEPS                         "E4steps/mm"
140
+  #define MSG_E5STEPS                         "E5steps/mm"
140
 #else
141
 #else
141
   #define MSG_XSTEPS                          "Xsteps"
142
   #define MSG_XSTEPS                          "Xsteps"
142
   #define MSG_YSTEPS                          "Ysteps"
143
   #define MSG_YSTEPS                          "Ysteps"
146
   #define MSG_E2STEPS                         "E2steps"
147
   #define MSG_E2STEPS                         "E2steps"
147
   #define MSG_E3STEPS                         "E3steps"
148
   #define MSG_E3STEPS                         "E3steps"
148
   #define MSG_E4STEPS                         "E4steps"
149
   #define MSG_E4STEPS                         "E4steps"
150
+  #define MSG_E5STEPS                         "E5steps"
149
 #endif
151
 #endif
150
 #define MSG_TEMPERATURE                     "\xb5\xdd\xc4\xde"                                                 // "オンド" ("Temperature")
152
 #define MSG_TEMPERATURE                     "\xb5\xdd\xc4\xde"                                                 // "オンド" ("Temperature")
151
 #define MSG_MOTION                          "\xb3\xba\xde\xb7\xbe\xaf\xc3\xb2"                                 // "ウゴキセッテイ" ("Motion")
153
 #define MSG_MOTION                          "\xb3\xba\xde\xb7\xbe\xaf\xc3\xb2"                                 // "ウゴキセッテイ" ("Motion")

+ 1
- 0
Marlin/language_kana_utf8.h View File

122
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")
122
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")
123
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")
123
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")
124
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")
124
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")
125
+#define MSG_E5STEPS                         _UxGT("E5steps/mm")
125
 #define MSG_TEMPERATURE                     _UxGT("オンド")                      // "Temperature"
126
 #define MSG_TEMPERATURE                     _UxGT("オンド")                      // "Temperature"
126
 #define MSG_MOTION                          _UxGT("ウゴキセッテイ")                // "Motion"
127
 #define MSG_MOTION                          _UxGT("ウゴキセッテイ")                // "Motion"
127
 #define MSG_VOLUMETRIC                      _UxGT("フィラメント")                   // "Filament"
128
 #define MSG_VOLUMETRIC                      _UxGT("フィラメント")                   // "Filament"

+ 1
- 0
Marlin/language_nl.h View File

112
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")
112
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")
113
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")
113
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")
114
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")
114
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")
115
+#define MSG_E5STEPS                         _UxGT("E5steps/mm")
115
 #define MSG_TEMPERATURE                     _UxGT("Temperatuur")
116
 #define MSG_TEMPERATURE                     _UxGT("Temperatuur")
116
 #define MSG_MOTION                          _UxGT("Beweging")
117
 #define MSG_MOTION                          _UxGT("Beweging")
117
 #define MSG_VOLUMETRIC                      _UxGT("Filament")
118
 #define MSG_VOLUMETRIC                      _UxGT("Filament")

+ 1
- 0
Marlin/language_pl.h View File

112
 #define MSG_E2STEPS                         _UxGT("krokiE2/mm")
112
 #define MSG_E2STEPS                         _UxGT("krokiE2/mm")
113
 #define MSG_E3STEPS                         _UxGT("krokiE3/mm")
113
 #define MSG_E3STEPS                         _UxGT("krokiE3/mm")
114
 #define MSG_E4STEPS                         _UxGT("krokiE4/mm")
114
 #define MSG_E4STEPS                         _UxGT("krokiE4/mm")
115
+#define MSG_E5STEPS                         _UxGT("krokiE5/mm")
115
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
116
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
116
 #define MSG_MOTION                          _UxGT("Ruch")
117
 #define MSG_MOTION                          _UxGT("Ruch")
117
 #define MSG_VOLUMETRIC                      _UxGT("Filament")
118
 #define MSG_VOLUMETRIC                      _UxGT("Filament")

+ 1
- 0
Marlin/language_pt-br.h View File

105
 #define MSG_E2STEPS                         "E2/mm"
105
 #define MSG_E2STEPS                         "E2/mm"
106
 #define MSG_E3STEPS                         "E3/mm"
106
 #define MSG_E3STEPS                         "E3/mm"
107
 #define MSG_E4STEPS                         "E4/mm"
107
 #define MSG_E4STEPS                         "E4/mm"
108
+#define MSG_E5STEPS                         "E5/mm"
108
 #define MSG_TEMPERATURE                     "Temperatura"
109
 #define MSG_TEMPERATURE                     "Temperatura"
109
 #define MSG_MOTION                          "Movimento"
110
 #define MSG_MOTION                          "Movimento"
110
 #define MSG_VOLUMETRIC                      "Filamento"
111
 #define MSG_VOLUMETRIC                      "Filamento"

+ 1
- 0
Marlin/language_pt-br_utf8.h View File

105
 #define MSG_E2STEPS                         _UxGT("E2/mm")
105
 #define MSG_E2STEPS                         _UxGT("E2/mm")
106
 #define MSG_E3STEPS                         _UxGT("E3/mm")
106
 #define MSG_E3STEPS                         _UxGT("E3/mm")
107
 #define MSG_E4STEPS                         _UxGT("E4/mm")
107
 #define MSG_E4STEPS                         _UxGT("E4/mm")
108
+#define MSG_E5STEPS                         _UxGT("E5/mm")
108
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
109
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
109
 #define MSG_MOTION                          _UxGT("Movimento")
110
 #define MSG_MOTION                          _UxGT("Movimento")
110
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")
111
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")

+ 1
- 0
Marlin/language_pt.h View File

109
 #define MSG_E2STEPS                         "E2 passo/mm"
109
 #define MSG_E2STEPS                         "E2 passo/mm"
110
 #define MSG_E3STEPS                         "E3 passo/mm"
110
 #define MSG_E3STEPS                         "E3 passo/mm"
111
 #define MSG_E4STEPS                         "E4 passo/mm"
111
 #define MSG_E4STEPS                         "E4 passo/mm"
112
+#define MSG_E5STEPS                         "E5 passo/mm"
112
 #define MSG_TEMPERATURE                     "Temperatura"
113
 #define MSG_TEMPERATURE                     "Temperatura"
113
 #define MSG_MOTION                          "Movimento"
114
 #define MSG_MOTION                          "Movimento"
114
 #define MSG_VOLUMETRIC                      "Filamento"
115
 #define MSG_VOLUMETRIC                      "Filamento"

+ 1
- 0
Marlin/language_pt_utf8.h View File

109
 #define MSG_E2STEPS                         _UxGT("E2 passo/mm")
109
 #define MSG_E2STEPS                         _UxGT("E2 passo/mm")
110
 #define MSG_E3STEPS                         _UxGT("E3 passo/mm")
110
 #define MSG_E3STEPS                         _UxGT("E3 passo/mm")
111
 #define MSG_E4STEPS                         _UxGT("E4 passo/mm")
111
 #define MSG_E4STEPS                         _UxGT("E4 passo/mm")
112
+#define MSG_E5STEPS                         _UxGT("E5 passo/mm")
112
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
113
 #define MSG_TEMPERATURE                     _UxGT("Temperatura")
113
 #define MSG_MOTION                          _UxGT("Movimento")
114
 #define MSG_MOTION                          _UxGT("Movimento")
114
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")
115
 #define MSG_VOLUMETRIC                      _UxGT("Filamento")

+ 1
- 0
Marlin/language_tr.h View File

117
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")                                         // E2steps/mm
117
 #define MSG_E2STEPS                         _UxGT("E2steps/mm")                                         // E2steps/mm
118
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")                                         // E3steps/mm
118
 #define MSG_E3STEPS                         _UxGT("E3steps/mm")                                         // E3steps/mm
119
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")                                         // E4steps/mm
119
 #define MSG_E4STEPS                         _UxGT("E4steps/mm")                                         // E4steps/mm
120
+#define MSG_E5STEPS                         _UxGT("E5steps/mm")                                         // E4steps/mm
120
 #define MSG_TEMPERATURE                     _UxGT("Sıcaklık")                                           // Sıcaklık
121
 #define MSG_TEMPERATURE                     _UxGT("Sıcaklık")                                           // Sıcaklık
121
 #define MSG_MOTION                          _UxGT("Hareket")                                            // Hareket
122
 #define MSG_MOTION                          _UxGT("Hareket")                                            // Hareket
122
 #define MSG_VOLUMETRIC                      _UxGT("Filaman")                                            // Filaman
123
 #define MSG_VOLUMETRIC                      _UxGT("Filaman")                                            // Filaman

+ 1
- 0
Marlin/language_uk.h View File

113
 #define MSG_E2STEPS                         _UxGT("E2кроків/мм")
113
 #define MSG_E2STEPS                         _UxGT("E2кроків/мм")
114
 #define MSG_E3STEPS                         _UxGT("E3кроків/мм")
114
 #define MSG_E3STEPS                         _UxGT("E3кроків/мм")
115
 #define MSG_E4STEPS                         _UxGT("E4кроків/мм")
115
 #define MSG_E4STEPS                         _UxGT("E4кроків/мм")
116
+#define MSG_E5STEPS                         _UxGT("E5кроків/мм")
116
 #define MSG_TEMPERATURE                     _UxGT("Температура")
117
 #define MSG_TEMPERATURE                     _UxGT("Температура")
117
 #define MSG_MOTION                          _UxGT("Рух")
118
 #define MSG_MOTION                          _UxGT("Рух")
118
 #define MSG_VOLUMETRIC                      _UxGT("Волокно")
119
 #define MSG_VOLUMETRIC                      _UxGT("Волокно")

+ 6
- 0
Marlin/pinsDebug_list.h View File

212
 #if PIN_EXISTS(E3_STEP)
212
 #if PIN_EXISTS(E3_STEP)
213
   REPORT_NAME_DIGITAL(E3_STEP_PIN, __LINE__ )
213
   REPORT_NAME_DIGITAL(E3_STEP_PIN, __LINE__ )
214
 #endif
214
 #endif
215
+#if PIN_EXISTS(E4_AUTO_FAN)
216
+  REPORT_NAME_DIGITAL(E4_AUTO_FAN_PIN, __LINE__ )
217
+#endif
215
 #if PIN_EXISTS(E4_DIR)
218
 #if PIN_EXISTS(E4_DIR)
216
   REPORT_NAME_DIGITAL(E4_DIR_PIN, __LINE__ )
219
   REPORT_NAME_DIGITAL(E4_DIR_PIN, __LINE__ )
217
 #endif
220
 #endif
434
 #if PIN_EXISTS(ORIG_E3_AUTO_FAN)
437
 #if PIN_EXISTS(ORIG_E3_AUTO_FAN)
435
   REPORT_NAME_DIGITAL(ORIG_E3_AUTO_FAN_PIN, __LINE__ )
438
   REPORT_NAME_DIGITAL(ORIG_E3_AUTO_FAN_PIN, __LINE__ )
436
 #endif
439
 #endif
440
+#if PIN_EXISTS(ORIG_E4_AUTO_FAN)
441
+  REPORT_NAME_DIGITAL(ORIG_E4_AUTO_FAN_PIN, __LINE__ )
442
+#endif
437
 #if PIN_EXISTS(PHOTOGRAPH)
443
 #if PIN_EXISTS(PHOTOGRAPH)
438
   REPORT_NAME_DIGITAL(PHOTOGRAPH_PIN, __LINE__ )
444
   REPORT_NAME_DIGITAL(PHOTOGRAPH_PIN, __LINE__ )
439
 #endif
445
 #endif

+ 7
- 0
Marlin/stepper.cpp View File

931
   #if HAS_E3_DIR
931
   #if HAS_E3_DIR
932
     E3_DIR_INIT;
932
     E3_DIR_INIT;
933
   #endif
933
   #endif
934
+  #if HAS_E4_DIR
935
+    E4_DIR_INIT;
936
+  #endif
934
 
937
 
935
   // Init Enable Pins - steppers default to disabled.
938
   // Init Enable Pins - steppers default to disabled.
936
   #if HAS_X_ENABLE
939
   #if HAS_X_ENABLE
973
     E3_ENABLE_INIT;
976
     E3_ENABLE_INIT;
974
     if (!E_ENABLE_ON) E3_ENABLE_WRITE(HIGH);
977
     if (!E_ENABLE_ON) E3_ENABLE_WRITE(HIGH);
975
   #endif
978
   #endif
979
+  #if HAS_E4_ENABLE
980
+    E4_ENABLE_INIT;
981
+    if (!E_ENABLE_ON) E4_ENABLE_WRITE(HIGH);
982
+  #endif
976
 
983
 
977
   // Init endstops and pullups
984
   // Init endstops and pullups
978
   endstops.init();
985
   endstops.init();

+ 18
- 0
Marlin/stepper_indirection.cpp View File

75
   #if ENABLED(E3_IS_TMC)
75
   #if ENABLED(E3_IS_TMC)
76
     _TMC_DEFINE(E3);
76
     _TMC_DEFINE(E3);
77
   #endif
77
   #endif
78
+  #if ENABLED(E4_IS_TMC)
79
+    _TMC_DEFINE(E4);
80
+  #endif
78
 
81
 
79
   #define _TMC_INIT(A) do{ \
82
   #define _TMC_INIT(A) do{ \
80
     stepper##A.setMicrosteps(A##_MICROSTEPS); \
83
     stepper##A.setMicrosteps(A##_MICROSTEPS); \
112
     #if ENABLED(E3_IS_TMC)
115
     #if ENABLED(E3_IS_TMC)
113
       _TMC_INIT(E3);
116
       _TMC_INIT(E3);
114
     #endif
117
     #endif
118
+    #if ENABLED(E4_IS_TMC)
119
+      _TMC_INIT(E4);
120
+    #endif
115
   }
121
   }
116
 
122
 
117
 #endif // HAVE_TMCDRIVER
123
 #endif // HAVE_TMCDRIVER
157
   #if ENABLED(E3_IS_TMC2130)
163
   #if ENABLED(E3_IS_TMC2130)
158
     _TMC2130_DEFINE(E3);
164
     _TMC2130_DEFINE(E3);
159
   #endif
165
   #endif
166
+  #if ENABLED(E4_IS_TMC2130)
167
+    _TMC2130_DEFINE(E4);
168
+  #endif
160
 
169
 
161
   // Use internal reference voltage for current calculations. This is the default.
170
   // Use internal reference voltage for current calculations. This is the default.
162
   // Following values from Trinamic's spreadsheet with values for a NEMA17 (42BYGHW609)
171
   // Following values from Trinamic's spreadsheet with values for a NEMA17 (42BYGHW609)
213
     #if ENABLED(E3_IS_TMC2130)
222
     #if ENABLED(E3_IS_TMC2130)
214
       _TMC2130_INIT(E3);
223
       _TMC2130_INIT(E3);
215
     #endif
224
     #endif
225
+    #if ENABLED(E4_IS_TMC2130)
226
+      _TMC2130_INIT(E4);
227
+    #endif
216
 
228
 
217
     TMC2130_ADV()
229
     TMC2130_ADV()
218
   }
230
   }
260
   #if ENABLED(E3_IS_L6470)
272
   #if ENABLED(E3_IS_L6470)
261
     _L6470_DEFINE(E3);
273
     _L6470_DEFINE(E3);
262
   #endif
274
   #endif
275
+  #if ENABLED(E4_IS_L6470)
276
+    _L6470_DEFINE(E4);
277
+  #endif
263
 
278
 
264
   #define _L6470_INIT(A) do{ \
279
   #define _L6470_INIT(A) do{ \
265
     stepper##A.init(A##_K_VAL); \
280
     stepper##A.init(A##_K_VAL); \
300
     #if ENABLED(E3_IS_L6470)
315
     #if ENABLED(E3_IS_L6470)
301
       _L6470_INIT(E3);
316
       _L6470_INIT(E3);
302
     #endif
317
     #endif
318
+    #if ENABLED(E4_IS_L6470)
319
+      _L6470_INIT(E4);
320
+    #endif
303
   }
321
   }
304
 
322
 
305
 #endif // HAVE_L6470DRIVER
323
 #endif // HAVE_L6470DRIVER

+ 31
- 0
Marlin/stepper_indirection.h View File

381
 #define E3_STEP_WRITE(STATE) WRITE(E3_STEP_PIN,STATE)
381
 #define E3_STEP_WRITE(STATE) WRITE(E3_STEP_PIN,STATE)
382
 #define E3_STEP_READ READ(E3_STEP_PIN)
382
 #define E3_STEP_READ READ(E3_STEP_PIN)
383
 
383
 
384
+// E4 Stepper
385
+#if ENABLED(HAVE_L6470DRIVER) && ENABLED(E4_IS_L6470)
386
+  extern L6470 stepperE4;
387
+  #define E4_ENABLE_INIT NOOP
388
+  #define E4_ENABLE_WRITE(STATE) do{ if (STATE) stepperE4.Step_Clock(stepperE4.getStatus() & STATUS_HIZ); else stepperE4.softFree(); }while(0)
389
+  #define E4_ENABLE_READ (stepperE4.getStatus() & STATUS_HIZ)
390
+  #define E4_DIR_INIT NOOP
391
+  #define E4_DIR_WRITE(STATE) stepperE4.Step_Clock(STATE)
392
+  #define E4_DIR_READ (stepperE4.getStatus() & STATUS_DIR)
393
+#else
394
+  #if ENABLED(HAVE_TMCDRIVER) && ENABLED(E4_IS_TMC)
395
+    extern TMC26XStepper stepperE4;
396
+    #define E4_ENABLE_INIT NOOP
397
+    #define E4_ENABLE_WRITE(STATE) stepperE4.setEnabled(STATE)
398
+    #define E4_ENABLE_READ stepperE4.isEnabled()
399
+  #else
400
+    #if ENABLED(HAVE_TMC2130) && ENABLED(E4_IS_TMC2130)
401
+      extern TMC2130Stepper stepperE4;
402
+    #endif
403
+    #define E4_ENABLE_INIT SET_OUTPUT(E4_ENABLE_PIN)
404
+    #define E4_ENABLE_WRITE(STATE) WRITE(E4_ENABLE_PIN,STATE)
405
+    #define E4_ENABLE_READ READ(E4_ENABLE_PIN)
406
+  #endif
407
+  #define E4_DIR_INIT SET_OUTPUT(E4_DIR_PIN)
408
+  #define E4_DIR_WRITE(STATE) WRITE(E4_DIR_PIN,STATE)
409
+  #define E4_DIR_READ READ(E4_DIR_PIN)
410
+#endif
411
+#define E4_STEP_INIT SET_OUTPUT(E4_STEP_PIN)
412
+#define E4_STEP_WRITE(STATE) WRITE(E4_STEP_PIN,STATE)
413
+#define E4_STEP_READ READ(E4_STEP_PIN)
414
+
384
 /**
415
 /**
385
  * Extruder indirection for the single E axis
416
  * Extruder indirection for the single E axis
386
  */
417
  */

+ 70
- 55
Marlin/ultralcd.cpp View File

918
   /**
918
   /**
919
    * Watch temperature callbacks
919
    * Watch temperature callbacks
920
    */
920
    */
921
-  #if WATCH_HOTENDS
922
-    #if HAS_TEMP_HOTEND
923
-      void watch_temp_callback_E0() { thermalManager.start_watching_heater(0); }
924
-      #if HOTENDS > 1
925
-        void watch_temp_callback_E1() { thermalManager.start_watching_heater(1); }
926
-        #if HOTENDS > 2
927
-          void watch_temp_callback_E2() { thermalManager.start_watching_heater(2); }
928
-          #if HOTENDS > 3
929
-            void watch_temp_callback_E3() { thermalManager.start_watching_heater(3); }
930
-            #if HOTENDS > 4
931
-              void watch_temp_callback_E4() { thermalManager.start_watching_heater(4); }
932
-            #endif // HOTENDS > 4
933
-          #endif // HOTENDS > 3
934
-        #endif // HOTENDS > 2
935
-      #endif // HOTENDS > 1
936
-    #endif
937
-  #else
938
-    #if HAS_TEMP_HOTEND
939
-      void watch_temp_callback_E0() {}
940
-      #if HOTENDS > 1
941
-        void watch_temp_callback_E1() {}
942
-        #if HOTENDS > 2
943
-          void watch_temp_callback_E2() {}
944
-          #if HOTENDS > 3
945
-            void watch_temp_callback_E3() {}
946
-            #if HOTENDS > 4
947
-              void watch_temp_callback_E4() {}
948
-            #endif // HOTENDS > 4
949
-          #endif // HOTENDS > 3
950
-        #endif // HOTENDS > 2
951
-      #endif // HOTENDS > 1
921
+  #if HAS_TEMP_HOTEND
922
+    #if WATCH_HOTENDS
923
+      #define _WATCH_FUNC(N) thermalManager.start_watching_heater(N)
924
+    #else
925
+      #define _WATCH_FUNC(N) NOOP
952
     #endif
926
     #endif
953
-  #endif
927
+    void watch_temp_callback_E0() { _WATCH_FUNC(0); }
928
+    #if HOTENDS > 1
929
+      void watch_temp_callback_E1() { _WATCH_FUNC(1); }
930
+      #if HOTENDS > 2
931
+        void watch_temp_callback_E2() { _WATCH_FUNC(2); }
932
+        #if HOTENDS > 3
933
+          void watch_temp_callback_E3() { _WATCH_FUNC(3); }
934
+          #if HOTENDS > 4
935
+            void watch_temp_callback_E4() { _WATCH_FUNC(4); }
936
+          #endif // HOTENDS > 4
937
+        #endif // HOTENDS > 3
938
+      #endif // HOTENDS > 2
939
+    #endif // HOTENDS > 1
940
+  #endif // HAS_TEMP_HOTEND
954
 
941
 
955
   #if WATCH_THE_BED
942
   #if WATCH_THE_BED
956
     void watch_temp_callback_bed() { thermalManager.start_watching_bed(); }
943
     void watch_temp_callback_bed() { thermalManager.start_watching_bed(); }
1905
             case 2: pos_label = PSTR(MSG_MOVE_E MSG_MOVE_E3); break;
1892
             case 2: pos_label = PSTR(MSG_MOVE_E MSG_MOVE_E3); break;
1906
             #if E_MANUAL > 3
1893
             #if E_MANUAL > 3
1907
               case 3: pos_label = PSTR(MSG_MOVE_E MSG_MOVE_E4); break;
1894
               case 3: pos_label = PSTR(MSG_MOVE_E MSG_MOVE_E4); break;
1908
-            #endif
1909
-          #endif
1895
+              #if E_MANUAL > 4
1896
+                case 4: pos_label = PSTR(MSG_MOVE_E MSG_MOVE_E5); break;
1897
+              #endif // E_MANUAL > 4
1898
+            #endif // E_MANUAL > 3
1899
+          #endif // E_MANUAL > 2
1910
         }
1900
         }
1911
-      #endif
1901
+      #endif // E_MANUAL > 1
1912
       lcd_implementation_drawedit(pos_label, ftostr41sign(current_position[E_AXIS]));
1902
       lcd_implementation_drawedit(pos_label, ftostr41sign(current_position[E_AXIS]));
1913
     }
1903
     }
1914
   }
1904
   }
1921
       void lcd_move_e2() { _lcd_move_e(2); }
1911
       void lcd_move_e2() { _lcd_move_e(2); }
1922
       #if E_MANUAL > 3
1912
       #if E_MANUAL > 3
1923
         void lcd_move_e3() { _lcd_move_e(3); }
1913
         void lcd_move_e3() { _lcd_move_e(3); }
1924
-      #endif
1925
-    #endif
1926
-  #endif
1914
+        #if E_MANUAL > 4
1915
+          void lcd_move_e4() { _lcd_move_e(4); }
1916
+        #endif // E_MANUAL > 4
1917
+      #endif // E_MANUAL > 3
1918
+    #endif // E_MANUAL > 2
1919
+  #endif // E_MANUAL > 1
1927
 
1920
 
1928
   /**
1921
   /**
1929
    *
1922
    *
1970
       void lcd_move_get_e2_amount()   { _lcd_move_distance_menu(E_AXIS, lcd_move_e2); }
1963
       void lcd_move_get_e2_amount()   { _lcd_move_distance_menu(E_AXIS, lcd_move_e2); }
1971
       #if E_MANUAL > 3
1964
       #if E_MANUAL > 3
1972
         void lcd_move_get_e3_amount() { _lcd_move_distance_menu(E_AXIS, lcd_move_e3); }
1965
         void lcd_move_get_e3_amount() { _lcd_move_distance_menu(E_AXIS, lcd_move_e3); }
1973
-      #endif
1974
-    #endif
1975
-  #endif
1966
+        #if E_MANUAL > 4
1967
+          void lcd_move_get_e4_amount() { _lcd_move_distance_menu(E_AXIS, lcd_move_e4); }
1968
+        #endif // E_MANUAL > 4
1969
+      #endif // E_MANUAL > 3
1970
+    #endif // E_MANUAL > 2
1971
+  #endif // E_MANUAL > 1
1976
 
1972
 
1977
   /**
1973
   /**
1978
    *
1974
    *
2033
         MENU_ITEM(submenu, MSG_MOVE_E MSG_MOVE_E3, lcd_move_get_e2_amount);
2029
         MENU_ITEM(submenu, MSG_MOVE_E MSG_MOVE_E3, lcd_move_get_e2_amount);
2034
         #if E_MANUAL > 3
2030
         #if E_MANUAL > 3
2035
           MENU_ITEM(submenu, MSG_MOVE_E MSG_MOVE_E4, lcd_move_get_e3_amount);
2031
           MENU_ITEM(submenu, MSG_MOVE_E MSG_MOVE_E4, lcd_move_get_e3_amount);
2036
-        #endif
2037
-      #endif
2038
-    #endif
2032
+          #if E_MANUAL > 4
2033
+            MENU_ITEM(submenu, MSG_MOVE_E MSG_MOVE_E5, lcd_move_get_e4_amount);
2034
+          #endif // E_MANUAL > 4
2035
+        #endif // E_MANUAL > 3
2036
+      #endif // E_MANUAL > 2
2037
+    #endif // E_MANUAL > 1
2039
 
2038
 
2040
     END_MENU();
2039
     END_MENU();
2041
   }
2040
   }
2239
     // PID-P E2, PID-I E2, PID-D E2, PID-C E2, PID Autotune E2
2238
     // PID-P E2, PID-I E2, PID-D E2, PID-C E2, PID Autotune E2
2240
     // PID-P E3, PID-I E3, PID-D E3, PID-C E3, PID Autotune E3
2239
     // PID-P E3, PID-I E3, PID-D E3, PID-C E3, PID Autotune E3
2241
     // PID-P E4, PID-I E4, PID-D E4, PID-C E4, PID Autotune E4
2240
     // PID-P E4, PID-I E4, PID-D E4, PID-C E4, PID Autotune E4
2241
+    // PID-P E5, PID-I E5, PID-D E5, PID-C E5, PID Autotune E5
2242
     //
2242
     //
2243
     #if ENABLED(PIDTEMP)
2243
     #if ENABLED(PIDTEMP)
2244
 
2244
 
2350
       void _reset_e2_acceleration_rate() { _reset_e_acceleration_rate(2); }
2350
       void _reset_e2_acceleration_rate() { _reset_e_acceleration_rate(2); }
2351
       #if E_STEPPERS > 3
2351
       #if E_STEPPERS > 3
2352
         void _reset_e3_acceleration_rate() { _reset_e_acceleration_rate(3); }
2352
         void _reset_e3_acceleration_rate() { _reset_e_acceleration_rate(3); }
2353
-      #endif
2354
-    #endif
2353
+        #if E_STEPPERS > 4
2354
+          void _reset_e4_acceleration_rate() { _reset_e_acceleration_rate(4); }
2355
+        #endif // E_STEPPERS > 4
2356
+      #endif // E_STEPPERS > 3
2357
+    #endif // E_STEPPERS > 2
2355
   #endif
2358
   #endif
2356
 
2359
 
2357
   void _planner_refresh_positioning() { planner.refresh_positioning(); }
2360
   void _planner_refresh_positioning() { planner.refresh_positioning(); }
2368
       void _planner_refresh_e2_positioning() { _reset_e_acceleration_rate(2); }
2371
       void _planner_refresh_e2_positioning() { _reset_e_acceleration_rate(2); }
2369
       #if E_STEPPERS > 3
2372
       #if E_STEPPERS > 3
2370
         void _planner_refresh_e3_positioning() { _reset_e_acceleration_rate(3); }
2373
         void _planner_refresh_e3_positioning() { _reset_e_acceleration_rate(3); }
2371
-      #endif
2372
-    #endif
2374
+        #if E_STEPPERS > 4
2375
+          void _planner_refresh_e4_positioning() { _reset_e_acceleration_rate(4); }
2376
+        #endif // E_STEPPERS > 4
2377
+      #endif // E_STEPPERS > 3
2378
+    #endif // E_STEPPERS > 2
2373
   #endif
2379
   #endif
2374
 
2380
 
2375
   /**
2381
   /**
2411
       #if E_STEPPERS > 2
2417
       #if E_STEPPERS > 2
2412
         MENU_ITEM_EDIT(float3, MSG_VMAX MSG_E3, &planner.max_feedrate_mm_s[E_AXIS + 2], 1, 999);
2418
         MENU_ITEM_EDIT(float3, MSG_VMAX MSG_E3, &planner.max_feedrate_mm_s[E_AXIS + 2], 1, 999);
2413
         #if E_STEPPERS > 3
2419
         #if E_STEPPERS > 3
2414
-          MENU_ITEM_EDIT(float3, MSG_VMAX MSG_E3, &planner.max_feedrate_mm_s[E_AXIS + 3], 1, 999);
2415
-        #endif
2416
-      #endif
2420
+          MENU_ITEM_EDIT(float3, MSG_VMAX MSG_E4, &planner.max_feedrate_mm_s[E_AXIS + 3], 1, 999);
2421
+          #if E_STEPPERS > 4
2422
+            MENU_ITEM_EDIT(float3, MSG_VMAX MSG_E5, &planner.max_feedrate_mm_s[E_AXIS + 4], 1, 999);
2423
+          #endif // E_STEPPERS > 4
2424
+        #endif // E_STEPPERS > 3
2425
+      #endif // E_STEPPERS > 2
2417
     #else
2426
     #else
2418
       MENU_ITEM_EDIT(float3, MSG_VMAX MSG_E, &planner.max_feedrate_mm_s[E_AXIS], 1, 999);
2427
       MENU_ITEM_EDIT(float3, MSG_VMAX MSG_E, &planner.max_feedrate_mm_s[E_AXIS], 1, 999);
2419
     #endif
2428
     #endif
2436
         MENU_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E3, &planner.max_acceleration_mm_per_s2[E_AXIS + 2], 100, 99000, _reset_e2_acceleration_rate);
2445
         MENU_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E3, &planner.max_acceleration_mm_per_s2[E_AXIS + 2], 100, 99000, _reset_e2_acceleration_rate);
2437
         #if E_STEPPERS > 3
2446
         #if E_STEPPERS > 3
2438
           MENU_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E4, &planner.max_acceleration_mm_per_s2[E_AXIS + 3], 100, 99000, _reset_e3_acceleration_rate);
2447
           MENU_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E4, &planner.max_acceleration_mm_per_s2[E_AXIS + 3], 100, 99000, _reset_e3_acceleration_rate);
2439
-        #endif
2440
-      #endif
2448
+          #if E_STEPPERS > 4
2449
+            MENU_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E5, &planner.max_acceleration_mm_per_s2[E_AXIS + 4], 100, 99000, _reset_e4_acceleration_rate);
2450
+          #endif // E_STEPPERS > 4
2451
+        #endif // E_STEPPERS > 3
2452
+      #endif // E_STEPPERS > 2
2441
     #else
2453
     #else
2442
       MENU_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E, &planner.max_acceleration_mm_per_s2[E_AXIS], 100, 99000, _reset_acceleration_rates);
2454
       MENU_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E, &planner.max_acceleration_mm_per_s2[E_AXIS], 100, 99000, _reset_acceleration_rates);
2443
     #endif
2455
     #endif
2460
         MENU_ITEM_EDIT_CALLBACK(float62, MSG_E3STEPS, &planner.axis_steps_per_mm[E_AXIS + 2], 5, 9999, _planner_refresh_e2_positioning);
2472
         MENU_ITEM_EDIT_CALLBACK(float62, MSG_E3STEPS, &planner.axis_steps_per_mm[E_AXIS + 2], 5, 9999, _planner_refresh_e2_positioning);
2461
         #if E_STEPPERS > 3
2473
         #if E_STEPPERS > 3
2462
           MENU_ITEM_EDIT_CALLBACK(float62, MSG_E4STEPS, &planner.axis_steps_per_mm[E_AXIS + 3], 5, 9999, _planner_refresh_e3_positioning);
2474
           MENU_ITEM_EDIT_CALLBACK(float62, MSG_E4STEPS, &planner.axis_steps_per_mm[E_AXIS + 3], 5, 9999, _planner_refresh_e3_positioning);
2463
-        #endif
2464
-      #endif
2475
+          #if E_STEPPERS > 4
2476
+            MENU_ITEM_EDIT_CALLBACK(float62, MSG_E5STEPS, &planner.axis_steps_per_mm[E_AXIS + 4], 5, 9999, _planner_refresh_e4_positioning);
2477
+          #endif // E_STEPPERS > 4
2478
+        #endif // E_STEPPERS > 3
2479
+      #endif // E_STEPPERS > 2
2465
     #else
2480
     #else
2466
       MENU_ITEM_EDIT_CALLBACK(float62, MSG_ESTEPS, &planner.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_positioning);
2481
       MENU_ITEM_EDIT_CALLBACK(float62, MSG_ESTEPS, &planner.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_positioning);
2467
     #endif
2482
     #endif

Loading…
Cancel
Save