Parcourir la source

Merge remote-tracking branch 'MarlinFirmware/RCBugFix' into EMartinez-Changes

emartinez167 il y a 7 ans
Parent
révision
3dee35888e
40 fichiers modifiés avec 657 ajouts et 534 suppressions
  1. 10
    8
      Marlin/Configuration.h
  2. 32
    27
      Marlin/Configuration_adv.h
  3. 4
    8
      Marlin/Marlin_main.cpp
  4. 8
    2
      Marlin/SanityCheck.h
  5. 10
    0
      Marlin/Sd2Card.cpp
  6. 10
    8
      Marlin/example_configurations/Cartesio/Configuration.h
  7. 10
    8
      Marlin/example_configurations/Felix/Configuration.h
  8. 32
    27
      Marlin/example_configurations/Felix/Configuration_adv.h
  9. 10
    8
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  10. 10
    8
      Marlin/example_configurations/Hephestos/Configuration.h
  11. 32
    27
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  12. 10
    8
      Marlin/example_configurations/Hephestos_2/Configuration.h
  13. 32
    27
      Marlin/example_configurations/Hephestos_2/Configuration_adv.h
  14. 10
    8
      Marlin/example_configurations/K8200/Configuration.h
  15. 10
    8
      Marlin/example_configurations/K8400/Configuration.h
  16. 10
    8
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  17. 10
    8
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  18. 10
    8
      Marlin/example_configurations/RigidBot/Configuration.h
  19. 32
    27
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  20. 10
    8
      Marlin/example_configurations/SCARA/Configuration.h
  21. 32
    27
      Marlin/example_configurations/SCARA/Configuration_adv.h
  22. 10
    8
      Marlin/example_configurations/TAZ4/Configuration.h
  23. 10
    8
      Marlin/example_configurations/WITBOX/Configuration.h
  24. 32
    27
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  25. 10
    8
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  26. 10
    8
      Marlin/example_configurations/delta/generic/Configuration.h
  27. 32
    27
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  28. 10
    8
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  29. 32
    27
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  30. 10
    8
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  31. 32
    27
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  32. 10
    8
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  33. 32
    27
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  34. 10
    8
      Marlin/example_configurations/makibox/Configuration.h
  35. 32
    27
      Marlin/example_configurations/makibox/Configuration_adv.h
  36. 10
    8
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  37. 32
    27
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  38. 1
    0
      Marlin/pins_K8400.h
  39. 6
    3
      Marlin/pins_RIGIDBOARD.h
  40. 2
    2
      Marlin/ultralcd.cpp

+ 10
- 8
Marlin/Configuration.h Voir le fichier

@@ -725,13 +725,15 @@
725 725
 #define Y_MAX_POS 200
726 726
 #define Z_MAX_POS 200
727 727
 
728
-//===========================================================================
729
-//========================= Filament Runout Sensor ==========================
730
-//===========================================================================
731
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
732
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
733
-                                 // It is assumed that when logic high = filament available
734
-                                 //                    when logic  low = filament ran out
728
+/**
729
+ * Filament Runout Sensor
730
+ * A mechanical or opto endstop is used to check for the presence of filament.
731
+ *
732
+ * RAMPS-based boards use SERVO3_PIN.
733
+ * For other boards you may need to define FIL_RUNOUT_PIN.
734
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
735
+ */
736
+//#define FILAMENT_RUNOUT_SENSOR
735 737
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
736 738
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
737 739
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1418,7 +1420,7 @@
1418 1420
 //
1419 1421
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1420 1422
 
1421
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1423
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1422 1424
 // 300ms is a good value but you can try less delay.
1423 1425
 // If the servo can't reach the requested position, increase it.
1424 1426
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/Configuration_adv.h Voir le fichier

@@ -659,33 +659,38 @@
659 659
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
660 660
 #endif
661 661
 
662
-// Add support for experimental filament exchange support M600; requires display
663
-#if ENABLED(ULTIPANEL)
664
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
665
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
666
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
667
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
668
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
669
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
670
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
671
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
672
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
673
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
674
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
675
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
676
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
677
-                                                // 0 to disable unloading for manual unloading
678
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
679
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
680
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
681
-                                                // Short or zero length for printers without bowden where loading is not used
682
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
683
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
684
-                                                // 0 to disable for manual extrusion
685
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
686
-                                                // or until outcoming filament color is not clear for filament color change
687
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
688
-  #endif
662
+/**
663
+ * Filament Change
664
+ * Experimental filament change support.
665
+ * Adds the GCode M600 for initiating filament change.
666
+ *
667
+ * Requires an LCD display.
668
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
669
+ */
670
+//#define FILAMENT_CHANGE_FEATURE
671
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
672
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
673
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
674
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
675
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
676
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
677
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
678
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
679
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
680
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
681
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
682
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
683
+                                              // 0 to disable unloading for manual unloading
684
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
685
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
686
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
687
+                                              // Short or zero length for printers without bowden where loading is not used
688
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
689
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
690
+                                              // 0 to disable for manual extrusion
691
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
692
+                                              // or until outcoming filament color is not clear for filament color change
693
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
689 694
 #endif
690 695
 
691 696
 /******************************************************************************\

+ 4
- 8
Marlin/Marlin_main.cpp Voir le fichier

@@ -1189,15 +1189,11 @@ inline bool code_has_value() {
1189 1189
 }
1190 1190
 
1191 1191
 inline float code_value_float() {
1192
-  float ret;
1193 1192
   char* e = strchr(seen_pointer, 'E');
1194
-  if (e) {
1195
-    *e = 0;
1196
-    ret = strtod(seen_pointer + 1, NULL);
1197
-    *e = 'E';
1198
-  }
1199
-  else
1200
-    ret = strtod(seen_pointer + 1, NULL);
1193
+  if (!e) return strtod(seen_pointer + 1, NULL);
1194
+  *e = 0;
1195
+  float ret = strtod(seen_pointer + 1, NULL);
1196
+  *e = 'E';
1201 1197
   return ret;
1202 1198
 }
1203 1199
 

+ 8
- 2
Marlin/SanityCheck.h Voir le fichier

@@ -244,14 +244,20 @@
244 244
     #error "FILAMENT_RUNOUT_SENSOR requires FIL_RUNOUT_PIN."
245 245
   #elif DISABLED(SDSUPPORT) && DISABLED(PRINTJOB_TIMER_AUTOSTART)
246 246
     #error "FILAMENT_RUNOUT_SENSOR requires SDSUPPORT or PRINTJOB_TIMER_AUTOSTART."
247
+  #elif DISABLED(FILAMENT_CHANGE_FEATURE)
248
+    static_assert(NULL == strstr(FILAMENT_RUNOUT_SCRIPT, "M600"), "FILAMENT_CHANGE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.");
247 249
   #endif
248 250
 #endif
249 251
 
250 252
 /**
251 253
  * Filament Change with Extruder Runout Prevention
252 254
  */
253
-#if ENABLED(FILAMENT_CHANGE_FEATURE) && ENABLED(EXTRUDER_RUNOUT_PREVENT)
254
-  #error "EXTRUDER_RUNOUT_PREVENT is incompatible with FILAMENT_CHANGE_FEATURE."
255
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
256
+  #if DISABLED(ULTIPANEL)
257
+    #error "FILAMENT_CHANGE_FEATURE currently requires an LCD controller."
258
+  #elif ENABLED(EXTRUDER_RUNOUT_PREVENT)
259
+    #error "EXTRUDER_RUNOUT_PREVENT is incompatible with FILAMENT_CHANGE_FEATURE."
260
+  #endif
255 261
 #endif
256 262
 
257 263
 /**

+ 10
- 0
Marlin/Sd2Card.cpp Voir le fichier

@@ -31,6 +31,10 @@
31 31
 #if ENABLED(SDSUPPORT)
32 32
 #include "Sd2Card.h"
33 33
 
34
+#if ENABLED(USE_WATCHDOG)
35
+  #include "watchdog.h"
36
+#endif
37
+
34 38
 //------------------------------------------------------------------------------
35 39
 #if DISABLED(SOFTWARE_SPI)
36 40
   // functions for hardware SPI
@@ -299,6 +303,12 @@ bool Sd2Card::init(uint8_t sckRateID, uint8_t chipSelectPin) {
299 303
   uint16_t t0 = (uint16_t)millis();
300 304
   uint32_t arg;
301 305
 
306
+  // If init takes more than 4s it could trigger
307
+  // watchdog leading to a reboot loop.
308
+  #if ENABLED(USE_WATCHDOG)
309
+    watchdog_reset();
310
+  #endif
311
+
302 312
   // set pin modes
303 313
   pinMode(chipSelectPin_, OUTPUT);
304 314
   chipSelectHigh();

+ 10
- 8
Marlin/example_configurations/Cartesio/Configuration.h Voir le fichier

@@ -725,13 +725,15 @@
725 725
 #define Y_MAX_POS 270
726 726
 #define Z_MAX_POS 400
727 727
 
728
-//===========================================================================
729
-//========================= Filament Runout Sensor ==========================
730
-//===========================================================================
731
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
732
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
733
-                                 // It is assumed that when logic high = filament available
734
-                                 //                    when logic  low = filament ran out
728
+/**
729
+ * Filament Runout Sensor
730
+ * A mechanical or opto endstop is used to check for the presence of filament.
731
+ *
732
+ * RAMPS-based boards use SERVO3_PIN.
733
+ * For other boards you may need to define FIL_RUNOUT_PIN.
734
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
735
+ */
736
+//#define FILAMENT_RUNOUT_SENSOR
735 737
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
736 738
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
737 739
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1418,7 +1420,7 @@
1418 1420
 //
1419 1421
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1420 1422
 
1421
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1423
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1422 1424
 // 300ms is a good value but you can try less delay.
1423 1425
 // If the servo can't reach the requested position, increase it.
1424 1426
 #define SERVO_DELAY 300

+ 10
- 8
Marlin/example_configurations/Felix/Configuration.h Voir le fichier

@@ -708,13 +708,15 @@
708 708
 #define Y_MAX_POS 205
709 709
 #define Z_MAX_POS 235
710 710
 
711
-//===========================================================================
712
-//========================= Filament Runout Sensor ==========================
713
-//===========================================================================
714
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
715
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
716
-                                 // It is assumed that when logic high = filament available
717
-                                 //                    when logic  low = filament ran out
711
+/**
712
+ * Filament Runout Sensor
713
+ * A mechanical or opto endstop is used to check for the presence of filament.
714
+ *
715
+ * RAMPS-based boards use SERVO3_PIN.
716
+ * For other boards you may need to define FIL_RUNOUT_PIN.
717
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
718
+ */
719
+//#define FILAMENT_RUNOUT_SENSOR
718 720
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
719 721
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
720 722
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1401,7 +1403,7 @@
1401 1403
 //
1402 1404
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1403 1405
 
1404
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1406
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1405 1407
 // 300ms is a good value but you can try less delay.
1406 1408
 // If the servo can't reach the requested position, increase it.
1407 1409
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/Felix/Configuration_adv.h Voir le fichier

@@ -659,33 +659,38 @@
659 659
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
660 660
 #endif
661 661
 
662
-// Add support for experimental filament exchange support M600; requires display
663
-#if ENABLED(ULTIPANEL)
664
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
665
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
666
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
667
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
668
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
669
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
670
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
671
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
672
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
673
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
674
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
675
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
676
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
677
-                                                // 0 to disable unloading for manual unloading
678
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
679
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
680
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
681
-                                                // Short or zero length for printers without bowden where loading is not used
682
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
683
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
684
-                                                // 0 to disable for manual extrusion
685
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
686
-                                                // or until outcoming filament color is not clear for filament color change
687
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
688
-  #endif
662
+/**
663
+ * Filament Change
664
+ * Experimental filament change support.
665
+ * Adds the GCode M600 for initiating filament change.
666
+ *
667
+ * Requires an LCD display.
668
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
669
+ */
670
+//#define FILAMENT_CHANGE_FEATURE
671
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
672
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
673
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
674
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
675
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
676
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
677
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
678
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
679
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
680
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
681
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
682
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
683
+                                              // 0 to disable unloading for manual unloading
684
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
685
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
686
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
687
+                                              // Short or zero length for printers without bowden where loading is not used
688
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
689
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
690
+                                              // 0 to disable for manual extrusion
691
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
692
+                                              // or until outcoming filament color is not clear for filament color change
693
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
689 694
 #endif
690 695
 
691 696
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/Felix/DUAL/Configuration.h Voir le fichier

@@ -708,13 +708,15 @@
708 708
 #define Y_MAX_POS 205
709 709
 #define Z_MAX_POS 235
710 710
 
711
-//===========================================================================
712
-//========================= Filament Runout Sensor ==========================
713
-//===========================================================================
714
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
715
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
716
-                                 // It is assumed that when logic high = filament available
717
-                                 //                    when logic  low = filament ran out
711
+/**
712
+ * Filament Runout Sensor
713
+ * A mechanical or opto endstop is used to check for the presence of filament.
714
+ *
715
+ * RAMPS-based boards use SERVO3_PIN.
716
+ * For other boards you may need to define FIL_RUNOUT_PIN.
717
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
718
+ */
719
+//#define FILAMENT_RUNOUT_SENSOR
718 720
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
719 721
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
720 722
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1401,7 +1403,7 @@
1401 1403
 //
1402 1404
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1403 1405
 
1404
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1406
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1405 1407
 // 300ms is a good value but you can try less delay.
1406 1408
 // If the servo can't reach the requested position, increase it.
1407 1409
 #define SERVO_DELAY 300

+ 10
- 8
Marlin/example_configurations/Hephestos/Configuration.h Voir le fichier

@@ -717,13 +717,15 @@
717 717
 #define Y_MAX_POS 210
718 718
 #define Z_MAX_POS 180
719 719
 
720
-//===========================================================================
721
-//========================= Filament Runout Sensor ==========================
722
-//===========================================================================
723
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
724
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
725
-                                 // It is assumed that when logic high = filament available
726
-                                 //                    when logic  low = filament ran out
720
+/**
721
+ * Filament Runout Sensor
722
+ * A mechanical or opto endstop is used to check for the presence of filament.
723
+ *
724
+ * RAMPS-based boards use SERVO3_PIN.
725
+ * For other boards you may need to define FIL_RUNOUT_PIN.
726
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
727
+ */
728
+//#define FILAMENT_RUNOUT_SENSOR
727 729
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
728 730
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
729 731
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1410,7 +1412,7 @@
1410 1412
 //
1411 1413
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1412 1414
 
1413
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1415
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1414 1416
 // 300ms is a good value but you can try less delay.
1415 1417
 // If the servo can't reach the requested position, increase it.
1416 1418
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/Hephestos/Configuration_adv.h Voir le fichier

@@ -659,33 +659,38 @@
659 659
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
660 660
 #endif
661 661
 
662
-// Add support for experimental filament exchange support M600; requires display
663
-#if ENABLED(ULTIPANEL)
664
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
665
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
666
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
667
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
668
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
669
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
670
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
671
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
672
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
673
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
674
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
675
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
676
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
677
-                                                // 0 to disable unloading for manual unloading
678
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
679
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
680
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
681
-                                                // Short or zero length for printers without bowden where loading is not used
682
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
683
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
684
-                                                // 0 to disable for manual extrusion
685
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
686
-                                                // or until outcoming filament color is not clear for filament color change
687
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
688
-  #endif
662
+/**
663
+ * Filament Change
664
+ * Experimental filament change support.
665
+ * Adds the GCode M600 for initiating filament change.
666
+ *
667
+ * Requires an LCD display.
668
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
669
+ */
670
+//#define FILAMENT_CHANGE_FEATURE
671
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
672
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
673
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
674
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
675
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
676
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
677
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
678
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
679
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
680
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
681
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
682
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
683
+                                              // 0 to disable unloading for manual unloading
684
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
685
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
686
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
687
+                                              // Short or zero length for printers without bowden where loading is not used
688
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
689
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
690
+                                              // 0 to disable for manual extrusion
691
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
692
+                                              // or until outcoming filament color is not clear for filament color change
693
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
689 694
 #endif
690 695
 
691 696
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/Hephestos_2/Configuration.h Voir le fichier

@@ -719,13 +719,15 @@
719 719
 #define Y_MAX_POS 297
720 720
 #define Z_MAX_POS 210
721 721
 
722
-//===========================================================================
723
-//========================= Filament Runout Sensor ==========================
724
-//===========================================================================
725
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
726
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
727
-                                 // It is assumed that when logic high = filament available
728
-                                 //                    when logic  low = filament ran out
722
+/**
723
+ * Filament Runout Sensor
724
+ * A mechanical or opto endstop is used to check for the presence of filament.
725
+ *
726
+ * RAMPS-based boards use SERVO3_PIN.
727
+ * For other boards you may need to define FIL_RUNOUT_PIN.
728
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
729
+ */
730
+//#define FILAMENT_RUNOUT_SENSOR
729 731
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
730 732
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
731 733
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1412,7 +1414,7 @@
1412 1414
 //
1413 1415
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1414 1416
 
1415
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1417
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1416 1418
 // 300ms is a good value but you can try less delay.
1417 1419
 // If the servo can't reach the requested position, increase it.
1418 1420
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/Hephestos_2/Configuration_adv.h Voir le fichier

@@ -642,33 +642,38 @@
642 642
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
643 643
 #endif
644 644
 
645
-// Add support for experimental filament exchange support M600; requires display
646
-#if ENABLED(ULTIPANEL)
647
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
648
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
649
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
650
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
651
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
652
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
653
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
654
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
655
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
656
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
657
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
658
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
659
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
660
-                                                // 0 to disable unloading for manual unloading
661
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
662
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
663
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
664
-                                                // Short or zero length for printers without bowden where loading is not used
665
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
666
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
667
-                                                // 0 to disable for manual extrusion
668
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
669
-                                                // or until outcoming filament color is not clear for filament color change
670
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
671
-  #endif
645
+/**
646
+ * Filament Change
647
+ * Experimental filament change support.
648
+ * Adds the GCode M600 for initiating filament change.
649
+ *
650
+ * Requires an LCD display.
651
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
652
+ */
653
+//#define FILAMENT_CHANGE_FEATURE
654
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
655
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
656
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
657
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
658
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
659
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
660
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
661
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
662
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
663
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
664
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
665
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
666
+                                              // 0 to disable unloading for manual unloading
667
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
668
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
669
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
670
+                                              // Short or zero length for printers without bowden where loading is not used
671
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
672
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
673
+                                              // 0 to disable for manual extrusion
674
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
675
+                                              // or until outcoming filament color is not clear for filament color change
676
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
672 677
 #endif
673 678
 
674 679
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/K8200/Configuration.h Voir le fichier

@@ -754,13 +754,15 @@
754 754
 #define Y_MAX_POS 200
755 755
 #define Z_MAX_POS 200
756 756
 
757
-//===========================================================================
758
-//========================= Filament Runout Sensor ==========================
759
-//===========================================================================
760
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
761
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
762
-                                 // It is assumed that when logic high = filament available
763
-                                 //                    when logic  low = filament ran out
757
+/**
758
+ * Filament Runout Sensor
759
+ * A mechanical or opto endstop is used to check for the presence of filament.
760
+ *
761
+ * RAMPS-based boards use SERVO3_PIN.
762
+ * For other boards you may need to define FIL_RUNOUT_PIN.
763
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
764
+ */
765
+//#define FILAMENT_RUNOUT_SENSOR
764 766
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
765 767
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
766 768
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1452,7 +1454,7 @@
1452 1454
 //
1453 1455
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1454 1456
 
1455
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1457
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1456 1458
 // 300ms is a good value but you can try less delay.
1457 1459
 // If the servo can't reach the requested position, increase it.
1458 1460
 #define SERVO_DELAY 300

+ 10
- 8
Marlin/example_configurations/K8400/Configuration.h Voir le fichier

@@ -725,13 +725,15 @@
725 725
 #define Y_MAX_POS 200
726 726
 #define Z_MAX_POS 190
727 727
 
728
-//===========================================================================
729
-//========================= Filament Runout Sensor ==========================
730
-//===========================================================================
731
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
732
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
733
-                                 // It is assumed that when logic high = filament available
734
-                                 //                    when logic  low = filament ran out
728
+/**
729
+ * Filament Runout Sensor
730
+ * A mechanical or opto endstop is used to check for the presence of filament.
731
+ *
732
+ * RAMPS-based boards use SERVO3_PIN.
733
+ * For other boards you may need to define FIL_RUNOUT_PIN.
734
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
735
+ */
736
+//#define FILAMENT_RUNOUT_SENSOR
735 737
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
736 738
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
737 739
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1418,7 +1420,7 @@
1418 1420
 //
1419 1421
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1420 1422
 
1421
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1423
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1422 1424
 // 300ms is a good value but you can try less delay.
1423 1425
 // If the servo can't reach the requested position, increase it.
1424 1426
 #define SERVO_DELAY 300

+ 10
- 8
Marlin/example_configurations/K8400/Dual-head/Configuration.h Voir le fichier

@@ -725,13 +725,15 @@
725 725
 #define Y_MAX_POS 200
726 726
 #define Z_MAX_POS 190
727 727
 
728
-//===========================================================================
729
-//========================= Filament Runout Sensor ==========================
730
-//===========================================================================
731
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
732
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
733
-                                 // It is assumed that when logic high = filament available
734
-                                 //                    when logic  low = filament ran out
728
+/**
729
+ * Filament Runout Sensor
730
+ * A mechanical or opto endstop is used to check for the presence of filament.
731
+ *
732
+ * RAMPS-based boards use SERVO3_PIN.
733
+ * For other boards you may need to define FIL_RUNOUT_PIN.
734
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
735
+ */
736
+//#define FILAMENT_RUNOUT_SENSOR
735 737
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
736 738
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
737 739
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1418,7 +1420,7 @@
1418 1420
 //
1419 1421
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1420 1422
 
1421
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1423
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1422 1424
 // 300ms is a good value but you can try less delay.
1423 1425
 // If the servo can't reach the requested position, increase it.
1424 1426
 #define SERVO_DELAY 300

+ 10
- 8
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Voir le fichier

@@ -725,13 +725,15 @@
725 725
 #define Y_MAX_POS 200
726 726
 #define Z_MAX_POS 200
727 727
 
728
-//===========================================================================
729
-//========================= Filament Runout Sensor ==========================
730
-//===========================================================================
731
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
732
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
733
-                                 // It is assumed that when logic high = filament available
734
-                                 //                    when logic  low = filament ran out
728
+/**
729
+ * Filament Runout Sensor
730
+ * A mechanical or opto endstop is used to check for the presence of filament.
731
+ *
732
+ * RAMPS-based boards use SERVO3_PIN.
733
+ * For other boards you may need to define FIL_RUNOUT_PIN.
734
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
735
+ */
736
+//#define FILAMENT_RUNOUT_SENSOR
735 737
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
736 738
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
737 739
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1418,7 +1420,7 @@
1418 1420
 //
1419 1421
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1420 1422
 
1421
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1423
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1422 1424
 // 300ms is a good value but you can try less delay.
1423 1425
 // If the servo can't reach the requested position, increase it.
1424 1426
 #define SERVO_DELAY 300

+ 10
- 8
Marlin/example_configurations/RigidBot/Configuration.h Voir le fichier

@@ -724,13 +724,15 @@
724 724
 #define Y_MAX_POS 248  // RigidBot regular is 248mm, RigitBot Big is 304mm
725 725
 #define Z_MAX_POS 254  // RigidBot regular and Big are 254mm
726 726
 
727
-//===========================================================================
728
-//========================= Filament Runout Sensor ==========================
729
-//===========================================================================
730
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
731
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
732
-                                 // It is assumed that when logic high = filament available
733
-                                 //                    when logic  low = filament ran out
727
+/**
728
+ * Filament Runout Sensor
729
+ * A mechanical or opto endstop is used to check for the presence of filament.
730
+ *
731
+ * RAMPS-based boards use SERVO3_PIN.
732
+ * For other boards you may need to define FIL_RUNOUT_PIN.
733
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
734
+ */
735
+//#define FILAMENT_RUNOUT_SENSOR
734 736
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
735 737
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
736 738
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1419,7 +1421,7 @@
1419 1421
 //
1420 1422
 #define NUM_SERVOS 0 // DGlass3D - Servo index starts with 0 for M280 command
1421 1423
 
1422
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1424
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1423 1425
 // 300ms is a good value but you can try less delay.
1424 1426
 // If the servo can't reach the requested position, increase it.
1425 1427
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/RigidBot/Configuration_adv.h Voir le fichier

@@ -659,33 +659,38 @@
659 659
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
660 660
 #endif
661 661
 
662
-// Add support for experimental filament exchange support M600; requires display
663
-#if ENABLED(ULTIPANEL)
664
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
665
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
666
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
667
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
668
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
669
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
670
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
671
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
672
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
673
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
674
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
675
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
676
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
677
-                                                // 0 to disable unloading for manual unloading
678
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
679
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
680
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
681
-                                                // Short or zero length for printers without bowden where loading is not used
682
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
683
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
684
-                                                // 0 to disable for manual extrusion
685
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
686
-                                                // or until outcoming filament color is not clear for filament color change
687
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
688
-  #endif
662
+/**
663
+ * Filament Change
664
+ * Experimental filament change support.
665
+ * Adds the GCode M600 for initiating filament change.
666
+ *
667
+ * Requires an LCD display.
668
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
669
+ */
670
+//#define FILAMENT_CHANGE_FEATURE
671
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
672
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
673
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
674
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
675
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
676
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
677
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
678
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
679
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
680
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
681
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
682
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
683
+                                              // 0 to disable unloading for manual unloading
684
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
685
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
686
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
687
+                                              // Short or zero length for printers without bowden where loading is not used
688
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
689
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
690
+                                              // 0 to disable for manual extrusion
691
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
692
+                                              // or until outcoming filament color is not clear for filament color change
693
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
689 694
 #endif
690 695
 
691 696
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/SCARA/Configuration.h Voir le fichier

@@ -740,13 +740,15 @@
740 740
 #define Y_MAX_POS 200
741 741
 #define Z_MAX_POS 225
742 742
 
743
-//===========================================================================
744
-//========================= Filament Runout Sensor ==========================
745
-//===========================================================================
746
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
747
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
748
-                                 // It is assumed that when logic high = filament available
749
-                                 //                    when logic  low = filament ran out
743
+/**
744
+ * Filament Runout Sensor
745
+ * A mechanical or opto endstop is used to check for the presence of filament.
746
+ *
747
+ * RAMPS-based boards use SERVO3_PIN.
748
+ * For other boards you may need to define FIL_RUNOUT_PIN.
749
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
750
+ */
751
+//#define FILAMENT_RUNOUT_SENSOR
750 752
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
751 753
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
752 754
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1433,7 +1435,7 @@
1433 1435
 //
1434 1436
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1435 1437
 
1436
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1438
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1437 1439
 // 300ms is a good value but you can try less delay.
1438 1440
 // If the servo can't reach the requested position, increase it.
1439 1441
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/SCARA/Configuration_adv.h Voir le fichier

@@ -659,33 +659,38 @@
659 659
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
660 660
 #endif
661 661
 
662
-// Add support for experimental filament exchange support M600; requires display
663
-#if ENABLED(ULTIPANEL)
664
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
665
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
666
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
667
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
668
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
669
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
670
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
671
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
672
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
673
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
674
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
675
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
676
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
677
-                                                // 0 to disable unloading for manual unloading
678
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
679
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
680
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
681
-                                                // Short or zero length for printers without bowden where loading is not used
682
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
683
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
684
-                                                // 0 to disable for manual extrusion
685
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
686
-                                                // or until outcoming filament color is not clear for filament color change
687
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
688
-  #endif
662
+/**
663
+ * Filament Change
664
+ * Experimental filament change support.
665
+ * Adds the GCode M600 for initiating filament change.
666
+ *
667
+ * Requires an LCD display.
668
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
669
+ */
670
+//#define FILAMENT_CHANGE_FEATURE
671
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
672
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
673
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
674
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
675
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
676
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
677
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
678
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
679
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
680
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
681
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
682
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
683
+                                              // 0 to disable unloading for manual unloading
684
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
685
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
686
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
687
+                                              // Short or zero length for printers without bowden where loading is not used
688
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
689
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
690
+                                              // 0 to disable for manual extrusion
691
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
692
+                                              // or until outcoming filament color is not clear for filament color change
693
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
689 694
 #endif
690 695
 
691 696
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/TAZ4/Configuration.h Voir le fichier

@@ -746,13 +746,15 @@
746 746
 #define Y_MAX_POS 275
747 747
 #define Z_MAX_POS 250
748 748
 
749
-//===========================================================================
750
-//========================= Filament Runout Sensor ==========================
751
-//===========================================================================
752
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
753
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
754
-                                 // It is assumed that when logic high = filament available
755
-                                 //                    when logic  low = filament ran out
749
+/**
750
+ * Filament Runout Sensor
751
+ * A mechanical or opto endstop is used to check for the presence of filament.
752
+ *
753
+ * RAMPS-based boards use SERVO3_PIN.
754
+ * For other boards you may need to define FIL_RUNOUT_PIN.
755
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
756
+ */
757
+//#define FILAMENT_RUNOUT_SENSOR
756 758
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
757 759
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
758 760
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1439,7 +1441,7 @@
1439 1441
 //
1440 1442
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1441 1443
 
1442
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1444
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1443 1445
 // 300ms is a good value but you can try less delay.
1444 1446
 // If the servo can't reach the requested position, increase it.
1445 1447
 #define SERVO_DELAY 300

+ 10
- 8
Marlin/example_configurations/WITBOX/Configuration.h Voir le fichier

@@ -717,13 +717,15 @@
717 717
 #define Y_MAX_POS 210
718 718
 #define Z_MAX_POS 200
719 719
 
720
-//===========================================================================
721
-//========================= Filament Runout Sensor ==========================
722
-//===========================================================================
723
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
724
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
725
-                                 // It is assumed that when logic high = filament available
726
-                                 //                    when logic  low = filament ran out
720
+/**
721
+ * Filament Runout Sensor
722
+ * A mechanical or opto endstop is used to check for the presence of filament.
723
+ *
724
+ * RAMPS-based boards use SERVO3_PIN.
725
+ * For other boards you may need to define FIL_RUNOUT_PIN.
726
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
727
+ */
728
+//#define FILAMENT_RUNOUT_SENSOR
727 729
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
728 730
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
729 731
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1410,7 +1412,7 @@
1410 1412
 //
1411 1413
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1412 1414
 
1413
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1415
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1414 1416
 // 300ms is a good value but you can try less delay.
1415 1417
 // If the servo can't reach the requested position, increase it.
1416 1418
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/WITBOX/Configuration_adv.h Voir le fichier

@@ -659,33 +659,38 @@
659 659
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
660 660
 #endif
661 661
 
662
-// Add support for experimental filament exchange support M600; requires display
663
-#if ENABLED(ULTIPANEL)
664
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
665
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
666
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
667
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
668
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
669
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
670
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
671
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
672
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
673
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
674
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
675
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
676
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
677
-                                                // 0 to disable unloading for manual unloading
678
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
679
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
680
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
681
-                                                // Short or zero length for printers without bowden where loading is not used
682
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
683
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
684
-                                                // 0 to disable for manual extrusion
685
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
686
-                                                // or until outcoming filament color is not clear for filament color change
687
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
688
-  #endif
662
+/**
663
+ * Filament Change
664
+ * Experimental filament change support.
665
+ * Adds the GCode M600 for initiating filament change.
666
+ *
667
+ * Requires an LCD display.
668
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
669
+ */
670
+//#define FILAMENT_CHANGE_FEATURE
671
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
672
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
673
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
674
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
675
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
676
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
677
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
678
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
679
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
680
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
681
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
682
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
683
+                                              // 0 to disable unloading for manual unloading
684
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
685
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
686
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
687
+                                              // Short or zero length for printers without bowden where loading is not used
688
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
689
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
690
+                                              // 0 to disable for manual extrusion
691
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
692
+                                              // or until outcoming filament color is not clear for filament color change
693
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
689 694
 #endif
690 695
 
691 696
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/adafruit/ST7565/Configuration.h Voir le fichier

@@ -725,13 +725,15 @@
725 725
 #define Y_MAX_POS 200
726 726
 #define Z_MAX_POS 200
727 727
 
728
-//===========================================================================
729
-//========================= Filament Runout Sensor ==========================
730
-//===========================================================================
731
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
732
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
733
-                                 // It is assumed that when logic high = filament available
734
-                                 //                    when logic  low = filament ran out
728
+/**
729
+ * Filament Runout Sensor
730
+ * A mechanical or opto endstop is used to check for the presence of filament.
731
+ *
732
+ * RAMPS-based boards use SERVO3_PIN.
733
+ * For other boards you may need to define FIL_RUNOUT_PIN.
734
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
735
+ */
736
+//#define FILAMENT_RUNOUT_SENSOR
735 737
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
736 738
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
737 739
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1418,7 +1420,7 @@
1418 1420
 //
1419 1421
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1420 1422
 
1421
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1423
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1422 1424
 // 300ms is a good value but you can try less delay.
1423 1425
 // If the servo can't reach the requested position, increase it.
1424 1426
 #define SERVO_DELAY 300

+ 10
- 8
Marlin/example_configurations/delta/generic/Configuration.h Voir le fichier

@@ -811,13 +811,15 @@
811 811
 #define Y_MAX_POS DELTA_PRINTABLE_RADIUS
812 812
 #define Z_MAX_POS MANUAL_Z_HOME_POS
813 813
 
814
-//===========================================================================
815
-//========================= Filament Runout Sensor ==========================
816
-//===========================================================================
817
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
818
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
819
-                                 // It is assumed that when logic high = filament available
820
-                                 //                    when logic  low = filament ran out
814
+/**
815
+ * Filament Runout Sensor
816
+ * A mechanical or opto endstop is used to check for the presence of filament.
817
+ *
818
+ * RAMPS-based boards use SERVO3_PIN.
819
+ * For other boards you may need to define FIL_RUNOUT_PIN.
820
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
821
+ */
822
+//#define FILAMENT_RUNOUT_SENSOR
821 823
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
822 824
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
823 825
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1505,7 +1507,7 @@
1505 1507
 //
1506 1508
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1507 1509
 
1508
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1510
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1509 1511
 // 300ms is a good value but you can try less delay.
1510 1512
 // If the servo can't reach the requested position, increase it.
1511 1513
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/delta/generic/Configuration_adv.h Voir le fichier

@@ -661,33 +661,38 @@
661 661
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
662 662
 #endif
663 663
 
664
-// Add support for experimental filament exchange support M600; requires display
665
-#if ENABLED(ULTIPANEL)
666
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
667
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
668
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
669
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
670
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
671
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
672
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
673
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
674
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
675
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
676
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
677
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
678
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
679
-                                                // 0 to disable unloading for manual unloading
680
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
681
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
682
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
683
-                                                // Short or zero length for printers without bowden where loading is not used
684
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
685
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
686
-                                                // 0 to disable for manual extrusion
687
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
688
-                                                // or until outcoming filament color is not clear for filament color change
689
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
690
-  #endif
664
+/**
665
+ * Filament Change
666
+ * Experimental filament change support.
667
+ * Adds the GCode M600 for initiating filament change.
668
+ *
669
+ * Requires an LCD display.
670
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
671
+ */
672
+//#define FILAMENT_CHANGE_FEATURE
673
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
674
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
675
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
676
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
677
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
678
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
679
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
680
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
681
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
682
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
683
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
684
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
685
+                                              // 0 to disable unloading for manual unloading
686
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
687
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
688
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
689
+                                              // Short or zero length for printers without bowden where loading is not used
690
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
691
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
692
+                                              // 0 to disable for manual extrusion
693
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
694
+                                              // or until outcoming filament color is not clear for filament color change
695
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
691 696
 #endif
692 697
 
693 698
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/delta/kossel_mini/Configuration.h Voir le fichier

@@ -814,13 +814,15 @@
814 814
 #define Y_MAX_POS DELTA_PRINTABLE_RADIUS
815 815
 #define Z_MAX_POS MANUAL_Z_HOME_POS
816 816
 
817
-//===========================================================================
818
-//========================= Filament Runout Sensor ==========================
819
-//===========================================================================
820
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
821
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
822
-                                 // It is assumed that when logic high = filament available
823
-                                 //                    when logic  low = filament ran out
817
+/**
818
+ * Filament Runout Sensor
819
+ * A mechanical or opto endstop is used to check for the presence of filament.
820
+ *
821
+ * RAMPS-based boards use SERVO3_PIN.
822
+ * For other boards you may need to define FIL_RUNOUT_PIN.
823
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
824
+ */
825
+//#define FILAMENT_RUNOUT_SENSOR
824 826
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
825 827
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
826 828
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1508,7 +1510,7 @@
1508 1510
 //
1509 1511
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1510 1512
 
1511
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1513
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1512 1514
 // 300ms is a good value but you can try less delay.
1513 1515
 // If the servo can't reach the requested position, increase it.
1514 1516
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h Voir le fichier

@@ -661,33 +661,38 @@
661 661
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
662 662
 #endif
663 663
 
664
-// Add support for experimental filament exchange support M600; requires display
665
-#if ENABLED(ULTIPANEL)
666
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
667
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
668
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
669
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
670
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
671
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
672
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
673
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
674
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
675
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
676
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
677
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
678
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
679
-                                                // 0 to disable unloading for manual unloading
680
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
681
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
682
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
683
-                                                // Short or zero length for printers without bowden where loading is not used
684
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
685
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
686
-                                                // 0 to disable for manual extrusion
687
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
688
-                                                // or until outcoming filament color is not clear for filament color change
689
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
690
-  #endif
664
+/**
665
+ * Filament Change
666
+ * Experimental filament change support.
667
+ * Adds the GCode M600 for initiating filament change.
668
+ *
669
+ * Requires an LCD display.
670
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
671
+ */
672
+//#define FILAMENT_CHANGE_FEATURE
673
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
674
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
675
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
676
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
677
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
678
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
679
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
680
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
681
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
682
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
683
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
684
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
685
+                                              // 0 to disable unloading for manual unloading
686
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
687
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
688
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
689
+                                              // Short or zero length for printers without bowden where loading is not used
690
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
691
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
692
+                                              // 0 to disable for manual extrusion
693
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
694
+                                              // or until outcoming filament color is not clear for filament color change
695
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
691 696
 #endif
692 697
 
693 698
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/delta/kossel_pro/Configuration.h Voir le fichier

@@ -813,13 +813,15 @@
813 813
 #define Y_MAX_POS DELTA_PRINTABLE_RADIUS
814 814
 #define Z_MAX_POS MANUAL_Z_HOME_POS
815 815
 
816
-//===========================================================================
817
-//========================= Filament Runout Sensor ==========================
818
-//===========================================================================
819
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
820
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
821
-                                 // It is assumed that when logic high = filament available
822
-                                 //                    when logic  low = filament ran out
816
+/**
817
+ * Filament Runout Sensor
818
+ * A mechanical or opto endstop is used to check for the presence of filament.
819
+ *
820
+ * RAMPS-based boards use SERVO3_PIN.
821
+ * For other boards you may need to define FIL_RUNOUT_PIN.
822
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
823
+ */
824
+//#define FILAMENT_RUNOUT_SENSOR
823 825
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
824 826
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
825 827
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1507,7 +1509,7 @@
1507 1509
 //
1508 1510
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1509 1511
 
1510
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1512
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1511 1513
 // 300ms is a good value but you can try less delay.
1512 1514
 // If the servo can't reach the requested position, increase it.
1513 1515
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h Voir le fichier

@@ -666,33 +666,38 @@
666 666
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
667 667
 #endif
668 668
 
669
-// Add support for experimental filament exchange support M600; requires display
670
-#if ENABLED(ULTIPANEL)
671
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
672
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
673
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
674
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
675
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
676
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
677
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
678
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
679
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
680
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
681
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
682
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
683
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
684
-                                                // 0 to disable unloading for manual unloading
685
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
686
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
687
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
688
-                                                // Short or zero length for printers without bowden where loading is not used
689
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
690
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
691
-                                                // 0 to disable for manual extrusion
692
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
693
-                                                // or until outcoming filament color is not clear for filament color change
694
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
695
-  #endif
669
+/**
670
+ * Filament Change
671
+ * Experimental filament change support.
672
+ * Adds the GCode M600 for initiating filament change.
673
+ *
674
+ * Requires an LCD display.
675
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
676
+ */
677
+//#define FILAMENT_CHANGE_FEATURE
678
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
679
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
680
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
681
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
682
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
683
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
684
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
685
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
686
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
687
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
688
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
689
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
690
+                                              // 0 to disable unloading for manual unloading
691
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
692
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
693
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
694
+                                              // Short or zero length for printers without bowden where loading is not used
695
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
696
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
697
+                                              // 0 to disable for manual extrusion
698
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
699
+                                              // or until outcoming filament color is not clear for filament color change
700
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
696 701
 #endif
697 702
 
698 703
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/delta/kossel_xl/Configuration.h Voir le fichier

@@ -817,13 +817,15 @@
817 817
 #define Y_MAX_POS DELTA_PRINTABLE_RADIUS
818 818
 #define Z_MAX_POS MANUAL_Z_HOME_POS
819 819
 
820
-//===========================================================================
821
-//========================= Filament Runout Sensor ==========================
822
-//===========================================================================
823
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
824
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
825
-                                 // It is assumed that when logic high = filament available
826
-                                 //                    when logic  low = filament ran out
820
+/**
821
+ * Filament Runout Sensor
822
+ * A mechanical or opto endstop is used to check for the presence of filament.
823
+ *
824
+ * RAMPS-based boards use SERVO3_PIN.
825
+ * For other boards you may need to define FIL_RUNOUT_PIN.
826
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
827
+ */
828
+//#define FILAMENT_RUNOUT_SENSOR
827 829
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
828 830
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
829 831
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1511,7 +1513,7 @@
1511 1513
 //
1512 1514
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1513 1515
 
1514
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1516
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1515 1517
 // 300ms is a good value but you can try less delay.
1516 1518
 // If the servo can't reach the requested position, increase it.
1517 1519
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h Voir le fichier

@@ -661,33 +661,38 @@
661 661
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
662 662
 #endif
663 663
 
664
-// Add support for experimental filament exchange support M600; requires display
665
-#if ENABLED(ULTIPANEL)
666
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
667
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
668
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
669
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
670
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
671
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
672
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
673
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
674
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
675
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
676
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
677
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
678
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
679
-                                                // 0 to disable unloading for manual unloading
680
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
681
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
682
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
683
-                                                // Short or zero length for printers without bowden where loading is not used
684
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
685
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
686
-                                                // 0 to disable for manual extrusion
687
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
688
-                                                // or until outcoming filament color is not clear for filament color change
689
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
690
-  #endif
664
+/**
665
+ * Filament Change
666
+ * Experimental filament change support.
667
+ * Adds the GCode M600 for initiating filament change.
668
+ *
669
+ * Requires an LCD display.
670
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
671
+ */
672
+//#define FILAMENT_CHANGE_FEATURE
673
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
674
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
675
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
676
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
677
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
678
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
679
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
680
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
681
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
682
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
683
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
684
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
685
+                                              // 0 to disable unloading for manual unloading
686
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
687
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
688
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
689
+                                              // Short or zero length for printers without bowden where loading is not used
690
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
691
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
692
+                                              // 0 to disable for manual extrusion
693
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
694
+                                              // or until outcoming filament color is not clear for filament color change
695
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
691 696
 #endif
692 697
 
693 698
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/makibox/Configuration.h Voir le fichier

@@ -728,13 +728,15 @@
728 728
 #define Y_MAX_POS 150
729 729
 #define Z_MAX_POS 86
730 730
 
731
-//===========================================================================
732
-//========================= Filament Runout Sensor ==========================
733
-//===========================================================================
734
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
735
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
736
-                                 // It is assumed that when logic high = filament available
737
-                                 //                    when logic  low = filament ran out
731
+/**
732
+ * Filament Runout Sensor
733
+ * A mechanical or opto endstop is used to check for the presence of filament.
734
+ *
735
+ * RAMPS-based boards use SERVO3_PIN.
736
+ * For other boards you may need to define FIL_RUNOUT_PIN.
737
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
738
+ */
739
+//#define FILAMENT_RUNOUT_SENSOR
738 740
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
739 741
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
740 742
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1421,7 +1423,7 @@
1421 1423
 //
1422 1424
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1423 1425
 
1424
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1426
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1425 1427
 // 300ms is a good value but you can try less delay.
1426 1428
 // If the servo can't reach the requested position, increase it.
1427 1429
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/makibox/Configuration_adv.h Voir le fichier

@@ -659,33 +659,38 @@
659 659
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
660 660
 #endif
661 661
 
662
-// Add support for experimental filament exchange support M600; requires display
663
-#if ENABLED(ULTIPANEL)
664
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
665
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
666
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
667
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
668
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
669
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
670
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
671
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
672
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
673
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
674
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
675
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
676
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
677
-                                                // 0 to disable unloading for manual unloading
678
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
679
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
680
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
681
-                                                // Short or zero length for printers without bowden where loading is not used
682
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
683
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
684
-                                                // 0 to disable for manual extrusion
685
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
686
-                                                // or until outcoming filament color is not clear for filament color change
687
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
688
-  #endif
662
+/**
663
+ * Filament Change
664
+ * Experimental filament change support.
665
+ * Adds the GCode M600 for initiating filament change.
666
+ *
667
+ * Requires an LCD display.
668
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
669
+ */
670
+//#define FILAMENT_CHANGE_FEATURE
671
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
672
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
673
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
674
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
675
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
676
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
677
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
678
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
679
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
680
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
681
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
682
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
683
+                                              // 0 to disable unloading for manual unloading
684
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
685
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
686
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
687
+                                              // Short or zero length for printers without bowden where loading is not used
688
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
689
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
690
+                                              // 0 to disable for manual extrusion
691
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
692
+                                              // or until outcoming filament color is not clear for filament color change
693
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
689 694
 #endif
690 695
 
691 696
 /******************************************************************************\

+ 10
- 8
Marlin/example_configurations/tvrrug/Round2/Configuration.h Voir le fichier

@@ -721,13 +721,15 @@
721 721
 #define Y_MAX_POS 205
722 722
 #define Z_MAX_POS 120
723 723
 
724
-//===========================================================================
725
-//========================= Filament Runout Sensor ==========================
726
-//===========================================================================
727
-//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
728
-                                 // RAMPS-based boards use SERVO3_PIN. For other boards you may need to define FIL_RUNOUT_PIN.
729
-                                 // It is assumed that when logic high = filament available
730
-                                 //                    when logic  low = filament ran out
724
+/**
725
+ * Filament Runout Sensor
726
+ * A mechanical or opto endstop is used to check for the presence of filament.
727
+ *
728
+ * RAMPS-based boards use SERVO3_PIN.
729
+ * For other boards you may need to define FIL_RUNOUT_PIN.
730
+ * By default the firmware assumes HIGH = has filament, LOW = ran out
731
+ */
732
+//#define FILAMENT_RUNOUT_SENSOR
731 733
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
732 734
   #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
733 735
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
@@ -1414,7 +1416,7 @@
1414 1416
 //
1415 1417
 //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
1416 1418
 
1417
-// Delay (in microseconds) before the next move will start, to give the servo time to reach its target angle.
1419
+// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
1418 1420
 // 300ms is a good value but you can try less delay.
1419 1421
 // If the servo can't reach the requested position, increase it.
1420 1422
 #define SERVO_DELAY 300

+ 32
- 27
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h Voir le fichier

@@ -659,33 +659,38 @@
659 659
   #define RETRACT_RECOVER_FEEDRATE 8     //default feedrate for recovering from retraction (mm/s)
660 660
 #endif
661 661
 
662
-// Add support for experimental filament exchange support M600; requires display
663
-#if ENABLED(ULTIPANEL)
664
-  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
665
-  #if ENABLED(FILAMENT_CHANGE_FEATURE)
666
-    #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
667
-    #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
668
-    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
669
-    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
670
-    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
671
-    #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
672
-                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
673
-    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
674
-    #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
675
-                                                // Longer length for bowden printers to unload filament from whole bowden tube,
676
-                                                // shorter lenght for printers without bowden to unload filament from extruder only,
677
-                                                // 0 to disable unloading for manual unloading
678
-    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
679
-    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
680
-                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
681
-                                                // Short or zero length for printers without bowden where loading is not used
682
-    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
683
-    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
684
-                                                // 0 to disable for manual extrusion
685
-                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
686
-                                                // or until outcoming filament color is not clear for filament color change
687
-    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
688
-  #endif
662
+/**
663
+ * Filament Change
664
+ * Experimental filament change support.
665
+ * Adds the GCode M600 for initiating filament change.
666
+ *
667
+ * Requires an LCD display.
668
+ * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
669
+ */
670
+//#define FILAMENT_CHANGE_FEATURE
671
+#if ENABLED(FILAMENT_CHANGE_FEATURE)
672
+  #define FILAMENT_CHANGE_X_POS 3             // X position of hotend
673
+  #define FILAMENT_CHANGE_Y_POS 3             // Y position of hotend
674
+  #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
675
+  #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
676
+  #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
677
+  #define FILAMENT_CHANGE_RETRACT_LENGTH 2    // Initial retract in mm
678
+                                              // It is a short retract used immediately after print interrupt before move to filament exchange position
679
+  #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
680
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH 100   // Unload filament length from hotend in mm
681
+                                              // Longer length for bowden printers to unload filament from whole bowden tube,
682
+                                              // shorter lenght for printers without bowden to unload filament from extruder only,
683
+                                              // 0 to disable unloading for manual unloading
684
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
685
+  #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
686
+                                              // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
687
+                                              // Short or zero length for printers without bowden where loading is not used
688
+  #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
689
+  #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
690
+                                              // 0 to disable for manual extrusion
691
+                                              // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
692
+                                              // or until outcoming filament color is not clear for filament color change
693
+  #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
689 694
 #endif
690 695
 
691 696
 /******************************************************************************\

+ 1
- 0
Marlin/pins_K8400.h Voir le fichier

@@ -65,3 +65,4 @@
65 65
 //
66 66
 #undef PS_ON_PIN
67 67
 #undef KILL_PIN
68
+#undef SD_DETECT_PIN

+ 6
- 3
Marlin/pins_RIGIDBOARD.h Voir le fichier

@@ -33,6 +33,12 @@
33 33
   #define Z_MIN_PROBE_PIN  19    // Z-MAX pin J14 End Stops
34 34
 #endif
35 35
 
36
+//
37
+// MOSFET changes
38
+//
39
+#define RAMPS_D10_PIN       9 // EXTRUDER 1
40
+#define MOSFET_D_PIN       12 // EXTRUDER 2 or FAN
41
+
36 42
 #include "pins_RAMPS.h"
37 43
 
38 44
 //
@@ -76,9 +82,6 @@
76 82
 //
77 83
 // Heaters / Fans
78 84
 //
79
-#define RAMPS_D10_PIN       9 // EXTRUDER 1
80
-#define MOSFET_D_PIN       12 // EXTRUDER 2 or FAN
81
-
82 85
 #undef  HEATER_BED_PIN
83 86
 #define HEATER_BED_PIN     10
84 87
 

+ 2
- 2
Marlin/ultralcd.cpp Voir le fichier

@@ -444,7 +444,7 @@ uint16_t max_display_update_time = 0;
444 444
   inline void lcd_wait_for_homing() {
445 445
     no_reentrance = true;
446 446
     while (!axis_homed[X_AXIS] || !axis_homed[Y_AXIS] || !axis_homed[Z_AXIS]) idle();
447
-    no_reentrance = true;
447
+    no_reentrance = false;
448 448
   }
449 449
 
450 450
   void lcd_return_to_status() { lcd_goto_screen(lcd_status_screen); }
@@ -1403,7 +1403,7 @@ KeepDrawing:
1403 1403
     // Cooldown
1404 1404
     //
1405 1405
     bool has_heat = false;
1406
-    HOTEND_LOOP() if (thermalManager.target_temperature[e]) { has_heat = true; break; }
1406
+    HOTEND_LOOP() if (thermalManager.target_temperature[HOTEND_INDEX]) { has_heat = true; }
1407 1407
     #if HAS_TEMP_BED
1408 1408
       if (thermalManager.target_temperature_bed) has_heat = true;
1409 1409
     #endif

Chargement…
Annuler
Enregistrer