Browse Source

Apply fixed EXTRUDER_RUNOUT_PREVENT

Scott Lahteine 7 years ago
parent
commit
9b0931ef74

+ 9
- 7
Marlin/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 8
- 9
Marlin/Marlin_main.cpp View File

@@ -8608,11 +8608,11 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
8608 8608
   #if ENABLED(EXTRUDER_RUNOUT_PREVENT)
8609 8609
     if (ELAPSED(ms, previous_cmd_ms + (EXTRUDER_RUNOUT_SECONDS) * 1000UL)
8610 8610
       && thermalManager.degHotend(active_extruder) > EXTRUDER_RUNOUT_MINTEMP) {
8611
+      bool oldstatus;
8611 8612
       #if ENABLED(SWITCHING_EXTRUDER)
8612
-        bool oldstatus = E0_ENABLE_READ;
8613
+        oldstatus = E0_ENABLE_READ;
8613 8614
         enable_e0();
8614 8615
       #else // !SWITCHING_EXTRUDER
8615
-        bool oldstatus;
8616 8616
         switch (active_extruder) {
8617 8617
           case 0:
8618 8618
             oldstatus = E0_ENABLE_READ;
@@ -8639,15 +8639,14 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
8639 8639
         }
8640 8640
       #endif // !SWITCHING_EXTRUDER
8641 8641
 
8642
-      float oldepos = current_position[E_AXIS], oldedes = destination[E_AXIS];
8643
-      planner.buffer_line(destination[X_AXIS], destination[Y_AXIS], destination[Z_AXIS],
8644
-                       destination[E_AXIS] + (EXTRUDER_RUNOUT_EXTRUDE) * (EXTRUDER_RUNOUT_ESTEPS) * planner.steps_to_mm[E_AXIS],
8645
-                       MMM_TO_MMS(EXTRUDER_RUNOUT_SPEED) * (EXTRUDER_RUNOUT_ESTEPS) * planner.steps_to_mm[E_AXIS], active_extruder);
8646
-      current_position[E_AXIS] = oldepos;
8647
-      destination[E_AXIS] = oldedes;
8648
-      planner.set_e_position_mm(oldepos);
8649 8642
       previous_cmd_ms = ms; // refresh_cmd_timeout()
8643
+      planner.buffer_line(
8644
+        current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS],
8645
+        current_position[E_AXIS] + EXTRUDER_RUNOUT_EXTRUDE,
8646
+        MMM_TO_MMS(EXTRUDER_RUNOUT_SPEED), active_extruder
8647
+      );
8650 8648
       stepper.synchronize();
8649
+      planner.set_e_position_mm(current_position[E_AXIS]);
8651 8650
       #if ENABLED(SWITCHING_EXTRUDER)
8652 8651
         E0_ENABLE_WRITE(oldstatus);
8653 8652
       #else

+ 9
- 7
Marlin/example_configurations/Cartesio/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 9
- 7
Marlin/example_configurations/Felix/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 9
- 7
Marlin/example_configurations/Hephestos/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 9
- 7
Marlin/example_configurations/Hephestos_2/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 9
- 7
Marlin/example_configurations/K8200/Configuration_adv.h View File

@@ -174,14 +174,16 @@
174 174
 
175 175
 // @section extruder
176 176
 
177
-//  extruder run-out prevention.
178
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
177
+// Extruder runout prevention.
178
+// If the machine is idle and the temperature over MINTEMP
179
+// then extrude some filament every couple of SECONDS.
179 180
 //#define EXTRUDER_RUNOUT_PREVENT
180
-#define EXTRUDER_RUNOUT_MINTEMP 190
181
-#define EXTRUDER_RUNOUT_SECONDS 30
182
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
183
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
184
-#define EXTRUDER_RUNOUT_EXTRUDE 100
181
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
182
+  #define EXTRUDER_RUNOUT_MINTEMP 190
183
+  #define EXTRUDER_RUNOUT_SECONDS 30
184
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
185
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
186
+#endif
185 187
 
186 188
 // @section temperature
187 189
 

+ 9
- 7
Marlin/example_configurations/K8400/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 9
- 7
Marlin/example_configurations/RigidBot/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 9
- 7
Marlin/example_configurations/SCARA/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 180
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 180   // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 180  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5  // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 9
- 7
Marlin/example_configurations/TAZ4/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 9
- 7
Marlin/example_configurations/WITBOX/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 9
- 7
Marlin/example_configurations/delta/biv2.5/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

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

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

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

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

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

@@ -173,14 +173,16 @@
173 173
 
174 174
 // @section extruder
175 175
 
176
-//  extruder run-out prevention.
177
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
176
+// Extruder runout prevention.
177
+// If the machine is idle and the temperature over MINTEMP
178
+// then extrude some filament every couple of SECONDS.
178 179
 //#define EXTRUDER_RUNOUT_PREVENT
179
-#define EXTRUDER_RUNOUT_MINTEMP 190
180
-#define EXTRUDER_RUNOUT_SECONDS 30
181
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
182
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
183
-#define EXTRUDER_RUNOUT_EXTRUDE 100
180
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
181
+  #define EXTRUDER_RUNOUT_MINTEMP 190
182
+  #define EXTRUDER_RUNOUT_SECONDS 30
183
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
184
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
185
+#endif
184 186
 
185 187
 // @section temperature
186 188
 

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

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

+ 9
- 7
Marlin/example_configurations/makibox/Configuration_adv.h View File

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

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

@@ -168,14 +168,16 @@
168 168
 
169 169
 // @section extruder
170 170
 
171
-//  extruder run-out prevention.
172
-//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
171
+// Extruder runout prevention.
172
+// If the machine is idle and the temperature over MINTEMP
173
+// then extrude some filament every couple of SECONDS.
173 174
 //#define EXTRUDER_RUNOUT_PREVENT
174
-#define EXTRUDER_RUNOUT_MINTEMP 190
175
-#define EXTRUDER_RUNOUT_SECONDS 30
176
-#define EXTRUDER_RUNOUT_ESTEPS 14   // mm filament
177
-#define EXTRUDER_RUNOUT_SPEED 1500  // extrusion speed
178
-#define EXTRUDER_RUNOUT_EXTRUDE 100
175
+#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
176
+  #define EXTRUDER_RUNOUT_MINTEMP 190
177
+  #define EXTRUDER_RUNOUT_SECONDS 30
178
+  #define EXTRUDER_RUNOUT_SPEED 1500  // mm/m
179
+  #define EXTRUDER_RUNOUT_EXTRUDE 5   // mm
180
+#endif
179 181
 
180 182
 // @section temperature
181 183
 

Loading…
Cancel
Save