Преглед изворни кода

Merge pull request #4189 from esenapaj/Follow-up-the-PR-#3662

Follow-up the PR #3662 (Rewritten FILAMENT_CHANGE_ENABLE feature)
Scott Lahteine пре 8 година
родитељ
комит
1236a3b3ab
1 измењених фајлова са 24 додато и 10 уклоњено
  1. 24
    10
      Marlin/example_configurations/Cartesio/Configuration_adv.h

+ 24
- 10
Marlin/example_configurations/Cartesio/Configuration_adv.h Прегледај датотеку

@@ -551,16 +551,30 @@ const unsigned int dropsegments = 5; //everything with less than this number of
551 551
 
552 552
 // Add support for experimental filament exchange support M600; requires display
553 553
 #if ENABLED(ULTIPANEL)
554
-  //#define FILAMENTCHANGEENABLE
555
-  #if ENABLED(FILAMENTCHANGEENABLE)
556
-    #define FILAMENTCHANGE_XPOS 30
557
-    #define FILAMENTCHANGE_YPOS 10
558
-    #define FILAMENTCHANGE_ZADD 10
559
-    #define FILAMENTCHANGE_FIRSTRETRACT -1
560
-    //#define FILAMENTCHANGE_FINALRETRACT -100
561
-    //#define AUTO_FILAMENT_CHANGE                //This extrude filament until you press the button on LCD
562
-    //#define AUTO_FILAMENT_CHANGE_LENGTH 0.04    //Extrusion length on automatic extrusion loop
563
-    //#define AUTO_FILAMENT_CHANGE_FEEDRATE 300   //Extrusion feedrate (mm/min) on automatic extrusion loop
554
+  // #define FILAMENT_CHANGE_FEATURE             // Enable filament exchange menu and M600 g-code (used for runout sensor too)
555
+  #if ENABLED(FILAMENT_CHANGE_FEATURE)
556
+    #define FILAMENT_CHANGE_X_POS 30            // X position of hotend
557
+    #define FILAMENT_CHANGE_Y_POS 10            // Y position of hotend
558
+    #define FILAMENT_CHANGE_Z_ADD 10            // Z addition of hotend (lift)
559
+    #define FILAMENT_CHANGE_XY_FEEDRATE 100     // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
560
+    #define FILAMENT_CHANGE_Z_FEEDRATE 5        // Z axis feedrate in mm/s (not used for delta printers)
561
+    #define FILAMENT_CHANGE_RETRACT_LENGTH 1    // Initial retract in mm
562
+                                                // It is a short retract used immediately after print interrupt before move to filament exchange position
563
+    #define FILAMENT_CHANGE_RETRACT_FEEDRATE 60 // Initial retract feedrate in mm/s
564
+    //#define FILAMENT_CHANGE_UNLOAD_LENGTH 100 // Unload filament length from hotend in mm
565
+                                                // Longer length for bowden printers to unload filament from whole bowden tube,
566
+                                                // shorter lenght for printers without bowden to unload filament from extruder only,
567
+                                                // 0 to disable unloading for manual unloading
568
+    #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10  // Unload filament feedrate in mm/s - filament unloading can be fast
569
+    #define FILAMENT_CHANGE_LOAD_LENGTH 0       // Load filament length over hotend in mm
570
+                                                // Longer length for bowden printers to fast load filament into whole bowden tube over the hotend,
571
+                                                // Short or zero length for printers without bowden where loading is not used
572
+    #define FILAMENT_CHANGE_LOAD_FEEDRATE 10    // Load filament feedrate in mm/s - filament loading into the bowden tube can be fast
573
+    #define FILAMENT_CHANGE_EXTRUDE_LENGTH 50   // Extrude filament length in mm after filament is load over the hotend,
574
+                                                // 0 to disable for manual extrusion
575
+                                                // Filament can be extruded repeatedly from the filament exchange menu to fill the hotend,
576
+                                                // or until outcoming filament color is not clear for filament color change
577
+    #define FILAMENT_CHANGE_EXTRUDE_FEEDRATE 3  // Extrude filament feedrate in mm/s - must be slower than load feedrate
564 578
   #endif
565 579
 #endif
566 580
 

Loading…
Откажи
Сачувај