|
@@ -292,6 +292,43 @@
|
292
|
292
|
#define EXTRUDE_MINTEMP 150
|
293
|
293
|
#define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances.
|
294
|
294
|
|
|
295
|
+/*================== Thermal Runaway Protection ==============================
|
|
296
|
+This is a feature to protect your printer from burn up in flames if it has
|
|
297
|
+a thermistor coming off place (this happened to a friend of mine recently and
|
|
298
|
+motivated me writing this feature).
|
|
299
|
+
|
|
300
|
+The issue: If a thermistor come off, it will read a lower temperature than actual.
|
|
301
|
+The system will turn the heater on forever, burning up the filament and anything
|
|
302
|
+else around.
|
|
303
|
+
|
|
304
|
+After the temperature reaches the target for the first time, this feature will
|
|
305
|
+start measuring for how long the current temperature stays below the target
|
|
306
|
+minus _HYSTERESIS (set_temperature - THERMAL_RUNAWAY_PROTECTION_HYSTERESIS).
|
|
307
|
+
|
|
308
|
+If it stays longer than _PERIOD, it means the thermistor temperature
|
|
309
|
+cannot catch up with the target, so something *may be* wrong. Then, to be on the
|
|
310
|
+safe side, the system will he halt.
|
|
311
|
+
|
|
312
|
+Bear in mind the count down will just start AFTER the first time the
|
|
313
|
+thermistor temperature is over the target, so you will have no problem if
|
|
314
|
+your extruder heater takes 2 minutes to hit the target on heating.
|
|
315
|
+
|
|
316
|
+*/
|
|
317
|
+// If you want to enable this feature for all your extruder heaters,
|
|
318
|
+// uncomment the 2 defines below:
|
|
319
|
+
|
|
320
|
+// Parameters for all extruder heaters
|
|
321
|
+//#define THERMAL_RUNAWAY_PROTECTION_PERIOD 40 //in seconds
|
|
322
|
+//#define THERMAL_RUNAWAY_PROTECTION_HYSTERESIS 4 // in degree Celsius
|
|
323
|
+
|
|
324
|
+// If you want to enable this feature for your bed heater,
|
|
325
|
+// uncomment the 2 defines below:
|
|
326
|
+
|
|
327
|
+// Parameters for the bed heater
|
|
328
|
+//#define THERMAL_RUNAWAY_PROTECTION_BED_PERIOD 20 //in seconds
|
|
329
|
+//#define THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS 2 // in degree Celsius
|
|
330
|
+//===========================================================================
|
|
331
|
+
|
295
|
332
|
//===========================================================================
|
296
|
333
|
//=============================Mechanical Settings===========================
|
297
|
334
|
//===========================================================================
|