Browse Source

Patch filament change options and beep code

Scott Lahteine 7 years ago
parent
commit
8eb29f91e6

+ 4
- 4
Marlin/Configuration_adv.h View File

762
                                               // 0 to disable for manual extrusion
762
                                               // 0 to disable for manual extrusion
763
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
763
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
764
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
769
 #endif
770
 
770
 
771
 // @section tmc
771
 // @section tmc

+ 15
- 9
Marlin/Marlin_main.cpp View File

7217
 
7217
 
7218
 #if ENABLED(FILAMENT_CHANGE_FEATURE)
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
     const millis_t ms = millis();
7226
     const millis_t ms = millis();
7225
     if (ELAPSED(ms, next_buzz)) {
7227
     if (ELAPSED(ms, next_buzz)) {
7226
       if (runout_beep <= FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS + 5) { // Only beep as long as we're supposed to
7228
       if (runout_beep <= FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS + 5) { // Only beep as long as we're supposed to
7334
     disable_e3();
7336
     disable_e3();
7335
     delay(100);
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
     bool nozzle_timed_out = false;
7340
     bool nozzle_timed_out = false;
7339
     float temps[4];
7341
     float temps[4];
7340
 
7342
 
7341
     // Wait for filament insert by user and press button
7343
     // Wait for filament insert by user and press button
7342
     lcd_filament_change_show_message(FILAMENT_CHANGE_MESSAGE_INSERT);
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
     idle();
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
     HOTEND_LOOP() temps[e] = thermalManager.target_temperature[e]; // Save nozzle temps
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
     while (wait_for_user) {
7355
     while (wait_for_user) {
7352
       millis_t current_ms = millis();
7356
       millis_t current_ms = millis();
7353
       if (nozzle_timed_out)
7357
       if (nozzle_timed_out)
7389
     if (nozzle_timed_out)
7393
     if (nozzle_timed_out)
7390
       lcd_filament_change_show_message(FILAMENT_CHANGE_MESSAGE_INSERT);
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
     wait_for_user = true;    // LCD click or M108 will clear this
7400
     wait_for_user = true;    // LCD click or M108 will clear this
7393
-    next_buzz = 0;
7394
-    runout_beep = 0;
7395
     while (wait_for_user && nozzle_timed_out) {
7401
     while (wait_for_user && nozzle_timed_out) {
7396
       #if HAS_BUZZER
7402
       #if HAS_BUZZER
7397
         filament_change_beep();
7403
         filament_change_beep();

+ 4
- 4
Marlin/example_configurations/Cartesio/Configuration_adv.h View File

752
                                               // 0 to disable for manual extrusion
752
                                               // 0 to disable for manual extrusion
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
759
 #endif
760
 
760
 
761
 // @section tmc
761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/Felix/Configuration_adv.h View File

752
                                               // 0 to disable for manual extrusion
752
                                               // 0 to disable for manual extrusion
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
759
 #endif
760
 
760
 
761
 // @section tmc
761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/Hephestos/Configuration_adv.h View File

752
                                               // 0 to disable for manual extrusion
752
                                               // 0 to disable for manual extrusion
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
759
 #endif
760
 
760
 
761
 // @section tmc
761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/Hephestos_2/Configuration_adv.h View File

735
                                               // 0 to disable for manual extrusion
735
                                               // 0 to disable for manual extrusion
736
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
736
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
737
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
742
 #endif
743
 
743
 
744
 // @section tmc
744
 // @section tmc

+ 4
- 4
Marlin/example_configurations/K8200/Configuration_adv.h View File

765
                                               // 0 to disable for manual extrusion
765
                                               // 0 to disable for manual extrusion
766
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
766
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
767
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
772
 #endif
773
 
773
 
774
 // @section tmc
774
 // @section tmc

+ 4
- 4
Marlin/example_configurations/K8400/Configuration_adv.h View File

752
                                               // 0 to disable for manual extrusion
752
                                               // 0 to disable for manual extrusion
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
759
 #endif
760
 
760
 
761
 // @section tmc
761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/RigidBot/Configuration_adv.h View File

752
                                               // 0 to disable for manual extrusion
752
                                               // 0 to disable for manual extrusion
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
759
 #endif
760
 
760
 
761
 // @section tmc
761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/SCARA/Configuration_adv.h View File

752
                                               // 0 to disable for manual extrusion
752
                                               // 0 to disable for manual extrusion
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
759
 #endif
760
 
760
 
761
 // @section tmc
761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/TAZ4/Configuration_adv.h View File

760
                                               // 0 to disable for manual extrusion
760
                                               // 0 to disable for manual extrusion
761
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
761
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
762
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
767
 #endif
768
 
768
 
769
 // @section tmc
769
 // @section tmc

+ 4
- 4
Marlin/example_configurations/WITBOX/Configuration_adv.h View File

752
                                               // 0 to disable for manual extrusion
752
                                               // 0 to disable for manual extrusion
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
759
 #endif
760
 
760
 
761
 // @section tmc
761
 // @section tmc

+ 4
- 4
Marlin/example_configurations/delta/flsun_kossel_mini/Configuration_adv.h View File

757
                                               // 0 to disable for manual extrusion
757
                                               // 0 to disable for manual extrusion
758
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
758
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
759
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
764
 #endif
765
 
765
 
766
 // @section tmc
766
 // @section tmc

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

754
                                               // 0 to disable for manual extrusion
754
                                               // 0 to disable for manual extrusion
755
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
755
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
756
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
761
 #endif
762
 
762
 
763
 // @section tmc
763
 // @section tmc

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

754
                                               // 0 to disable for manual extrusion
754
                                               // 0 to disable for manual extrusion
755
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
755
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
756
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
761
 #endif
762
 
762
 
763
 // @section tmc
763
 // @section tmc

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

759
                                               // 0 to disable for manual extrusion
759
                                               // 0 to disable for manual extrusion
760
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
760
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
761
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
766
 #endif
767
 
767
 
768
 // @section tmc
768
 // @section tmc

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

754
                                               // 0 to disable for manual extrusion
754
                                               // 0 to disable for manual extrusion
755
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
755
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
756
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
761
 #endif
762
 
762
 
763
 // @section tmc
763
 // @section tmc

+ 4
- 4
Marlin/example_configurations/makibox/Configuration_adv.h View File

752
                                               // 0 to disable for manual extrusion
752
                                               // 0 to disable for manual extrusion
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
759
 #endif
760
 
760
 
761
 // @section tmc
761
 // @section tmc

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

752
                                               // 0 to disable for manual extrusion
752
                                               // 0 to disable for manual extrusion
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
753
                                               // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
754
                                               // or until outcoming filament color is not clear for filament color change
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
 #endif
759
 #endif
760
 
760
 
761
 // @section tmc
761
 // @section tmc

Loading…
Cancel
Save