浏览代码

Patch filament change options and beep code

Scott Lahteine 7 年前
父节点
当前提交
8eb29f91e6

+ 4
- 4
Marlin/Configuration_adv.h 查看文件

@@ -762,10 +762,10 @@
762 762
                                               // 0 to disable for manual extrusion
763 763
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
764 764
                                               // or until outcoming filament color is not clear for filament color change
765
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
766
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
767
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
768
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
765
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
766
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
767
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
768
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
769 769
 #endif
770 770
 
771 771
 // @section tmc

+ 15
- 9
Marlin/Marlin_main.cpp 查看文件

@@ -7217,10 +7217,12 @@ inline void gcode_M503() {
7217 7217
 
7218 7218
 #if ENABLED(FILAMENT_CHANGE_FEATURE)
7219 7219
 
7220
-  millis_t next_buzz = 0;
7221
-  unsigned long int runout_beep = 0;
7220
+  void filament_change_beep(const bool init=false) {
7221
+    static millis_t next_buzz = 0;
7222
+    static uint16_t runout_beep = 0;
7223
+
7224
+    if (init) next_buzz = runout_beep = 0;
7222 7225
 
7223
-  void filament_change_beep() {
7224 7226
     const millis_t ms = millis();
7225 7227
     if (ELAPSED(ms, next_buzz)) {
7226 7228
       if (runout_beep <= FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS + 5) { // Only beep as long as we're supposed to
@@ -7334,20 +7336,22 @@ inline void gcode_M503() {
7334 7336
     disable_e3();
7335 7337
     delay(100);
7336 7338
 
7337
-    millis_t nozzle_timeout = millis() + FILAMENT_CHANGE_NOZZLE_TIMEOUT * 1000L;
7339
+    millis_t nozzle_timeout = millis() + (millis_t)(FILAMENT_CHANGE_NOZZLE_TIMEOUT) * 1000L;
7338 7340
     bool nozzle_timed_out = false;
7339 7341
     float temps[4];
7340 7342
 
7341 7343
     // Wait for filament insert by user and press button
7342 7344
     lcd_filament_change_show_message(FILAMENT_CHANGE_MESSAGE_INSERT);
7343 7345
 
7346
+    #if HAS_BUZZER
7347
+      filament_change_beep(true);
7348
+    #endif
7349
+
7344 7350
     idle();
7345 7351
 
7346
-    wait_for_user = true;    // LCD click or M108 will clear this
7347
-    next_buzz = 0;
7348
-    runout_beep = 0;
7349 7352
     HOTEND_LOOP() temps[e] = thermalManager.target_temperature[e]; // Save nozzle temps
7350 7353
 
7354
+    wait_for_user = true;    // LCD click or M108 will clear this
7351 7355
     while (wait_for_user) {
7352 7356
       millis_t current_ms = millis();
7353 7357
       if (nozzle_timed_out)
@@ -7389,9 +7393,11 @@ inline void gcode_M503() {
7389 7393
     if (nozzle_timed_out)
7390 7394
       lcd_filament_change_show_message(FILAMENT_CHANGE_MESSAGE_INSERT);
7391 7395
 
7396
+    #if HAS_BUZZER
7397
+      filament_change_beep(true);
7398
+    #endif
7399
+
7392 7400
     wait_for_user = true;    // LCD click or M108 will clear this
7393
-    next_buzz = 0;
7394
-    runout_beep = 0;
7395 7401
     while (wait_for_user && nozzle_timed_out) {
7396 7402
       #if HAS_BUZZER
7397 7403
         filament_change_beep();

+ 4
- 4
Marlin/example_configurations/Cartesio/Configuration_adv.h 查看文件

@@ -752,10 +752,10 @@
752 752
                                               // 0 to disable for manual extrusion
753 753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754 754
                                               // or until outcoming filament color is not clear for filament color change
755
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
757
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
758
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
755
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
757
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
758
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
759 759
 #endif
760 760
 
761 761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/Felix/Configuration_adv.h 查看文件

@@ -752,10 +752,10 @@
752 752
                                               // 0 to disable for manual extrusion
753 753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754 754
                                               // or until outcoming filament color is not clear for filament color change
755
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
757
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
758
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
755
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
757
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
758
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
759 759
 #endif
760 760
 
761 761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/Hephestos/Configuration_adv.h 查看文件

@@ -752,10 +752,10 @@
752 752
                                               // 0 to disable for manual extrusion
753 753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754 754
                                               // or until outcoming filament color is not clear for filament color change
755
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
757
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
758
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
755
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
757
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
758
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
759 759
 #endif
760 760
 
761 761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/Hephestos_2/Configuration_adv.h 查看文件

@@ -735,10 +735,10 @@
735 735
                                               // 0 to disable for manual extrusion
736 736
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
737 737
                                               // or until outcoming filament color is not clear for filament color change
738
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
739
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
740
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
741
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
738
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
739
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
740
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
741
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
742 742
 #endif
743 743
 
744 744
 // @section tmc

+ 4
- 4
Marlin/example_configurations/K8200/Configuration_adv.h 查看文件

@@ -765,10 +765,10 @@
765 765
                                               // 0 to disable for manual extrusion
766 766
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
767 767
                                               // or until outcoming filament color is not clear for filament color change
768
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
769
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
770
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
771
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
768
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
769
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
770
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
771
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
772 772
 #endif
773 773
 
774 774
 // @section tmc

+ 4
- 4
Marlin/example_configurations/K8400/Configuration_adv.h 查看文件

@@ -752,10 +752,10 @@
752 752
                                               // 0 to disable for manual extrusion
753 753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754 754
                                               // or until outcoming filament color is not clear for filament color change
755
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
757
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
758
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
755
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
757
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
758
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
759 759
 #endif
760 760
 
761 761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/RigidBot/Configuration_adv.h 查看文件

@@ -752,10 +752,10 @@
752 752
                                               // 0 to disable for manual extrusion
753 753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754 754
                                               // or until outcoming filament color is not clear for filament color change
755
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
757
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
758
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
755
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
757
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
758
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
759 759
 #endif
760 760
 
761 761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/SCARA/Configuration_adv.h 查看文件

@@ -752,10 +752,10 @@
752 752
                                               // 0 to disable for manual extrusion
753 753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754 754
                                               // or until outcoming filament color is not clear for filament color change
755
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
757
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
758
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
755
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
757
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
758
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
759 759
 #endif
760 760
 
761 761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/TAZ4/Configuration_adv.h 查看文件

@@ -760,10 +760,10 @@
760 760
                                               // 0 to disable for manual extrusion
761 761
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
762 762
                                               // or until outcoming filament color is not clear for filament color change
763
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
764
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
765
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
766
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
763
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
764
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
765
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
766
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
767 767
 #endif
768 768
 
769 769
 // @section tmc

+ 4
- 4
Marlin/example_configurations/WITBOX/Configuration_adv.h 查看文件

@@ -752,10 +752,10 @@
752 752
                                               // 0 to disable for manual extrusion
753 753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754 754
                                               // or until outcoming filament color is not clear for filament color change
755
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
757
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
758
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
755
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
757
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
758
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
759 759
 #endif
760 760
 
761 761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/delta/flsun_kossel_mini/Configuration_adv.h 查看文件

@@ -757,10 +757,10 @@
757 757
                                               // 0 to disable for manual extrusion
758 758
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
759 759
                                               // or until outcoming filament color is not clear for filament color change
760
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
761
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
762
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
763
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
760
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
761
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
762
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
763
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
764 764
 #endif
765 765
 
766 766
 // @section tmc

+ 4
- 4
Marlin/example_configurations/delta/generic/Configuration_adv.h 查看文件

@@ -754,10 +754,10 @@
754 754
                                               // 0 to disable for manual extrusion
755 755
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
756 756
                                               // or until outcoming filament color is not clear for filament color change
757
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
758
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
759
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
760
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
757
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
758
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
759
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
760
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
761 761
 #endif
762 762
 
763 763
 // @section tmc

+ 4
- 4
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h 查看文件

@@ -754,10 +754,10 @@
754 754
                                               // 0 to disable for manual extrusion
755 755
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
756 756
                                               // or until outcoming filament color is not clear for filament color change
757
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
758
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
759
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
760
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
757
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
758
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
759
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
760
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
761 761
 #endif
762 762
 
763 763
 // @section tmc

+ 4
- 4
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h 查看文件

@@ -759,10 +759,10 @@
759 759
                                               // 0 to disable for manual extrusion
760 760
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
761 761
                                               // or until outcoming filament color is not clear for filament color change
762
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
763
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
764
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
765
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
762
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
763
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
764
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
765
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
766 766
 #endif
767 767
 
768 768
 // @section tmc

+ 4
- 4
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h 查看文件

@@ -754,10 +754,10 @@
754 754
                                               // 0 to disable for manual extrusion
755 755
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
756 756
                                               // or until outcoming filament color is not clear for filament color change
757
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
758
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
759
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
760
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
757
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
758
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
759
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
760
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
761 761
 #endif
762 762
 
763 763
 // @section tmc

+ 4
- 4
Marlin/example_configurations/makibox/Configuration_adv.h 查看文件

@@ -752,10 +752,10 @@
752 752
                                               // 0 to disable for manual extrusion
753 753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754 754
                                               // or until outcoming filament color is not clear for filament color change
755
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
757
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
758
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
755
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
757
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
758
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
759 759
 #endif
760 760
 
761 761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h 查看文件

@@ -752,10 +752,10 @@
752 752
                                               // 0 to disable for manual extrusion
753 753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754 754
                                               // or until outcoming filament color is not clear for filament color change
755
-  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45L  // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
-  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS  5L  // Number of alert beeps before printer goes quiet
757
-  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT         // Enable to have stepper motors hold position during filament change
758
-                                                     // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
755
+  #define FILAMENT_CHANGE_NOZZLE_TIMEOUT 45   // Turn off nozzle if user doesn't change filament within this time limit in seconds
756
+  #define FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS 5 // Number of alert beeps before printer goes quiet
757
+  #define FILAMENT_CHANGE_NO_STEPPER_TIMEOUT  // Enable to have stepper motors hold position during filament change
758
+                                              // even if it takes longer than DEFAULT_STEPPER_DEACTIVE_TIME.
759 759
 #endif
760 760
 
761 761
 // @section tmc

正在加载...
取消
保存