|
@ -17,6 +17,20 @@ |
|
|
/**
|
|
|
/**
|
|
|
* Thermal Protection parameters |
|
|
* Thermal Protection parameters |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
/**
|
|
|
|
|
|
* Thermal Protection protects your printer from damage and fire if a |
|
|
|
|
|
* thermistor falls out or temperature sensors fail in any way. |
|
|
|
|
|
* |
|
|
|
|
|
* The issue: If a thermistor falls out or a temperature sensor fails, |
|
|
|
|
|
* Marlin can no longer sense the actual temperature. Since a disconnected |
|
|
|
|
|
* thermistor reads as a low temperature, the firmware will keep the heater on. |
|
|
|
|
|
* |
|
|
|
|
|
* The solution: Once the temperature reaches the target, start observing. |
|
|
|
|
|
* If the temperature stays too far below the target (hysteresis) for too long (period), |
|
|
|
|
|
* the firmware will halt the machine as a safety precaution. |
|
|
|
|
|
* |
|
|
|
|
|
* If you get false positives for "Thermal Runaway" increase THERMAL_PROTECTION_HYSTERESIS and/or THERMAL_PROTECTION_PERIOD |
|
|
|
|
|
*/ |
|
|
#if ENABLED(THERMAL_PROTECTION_HOTENDS) |
|
|
#if ENABLED(THERMAL_PROTECTION_HOTENDS) |
|
|
#define THERMAL_PROTECTION_PERIOD 40 // Seconds
|
|
|
#define THERMAL_PROTECTION_PERIOD 40 // Seconds
|
|
|
#define THERMAL_PROTECTION_HYSTERESIS 4 // Degrees Celsius
|
|
|
#define THERMAL_PROTECTION_HYSTERESIS 4 // Degrees Celsius
|
|
@ -26,11 +40,19 @@ |
|
|
* WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE |
|
|
* WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE |
|
|
* degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109, |
|
|
* degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109, |
|
|
* but only if the current temperature is far enough below the target for a reliable test. |
|
|
* but only if the current temperature is far enough below the target for a reliable test. |
|
|
|
|
|
* |
|
|
|
|
|
* If you get false positives for "Heating failed" increase WATCH_TEMP_PERIOD and/or decrease WATCH_TEMP_INCREASE |
|
|
|
|
|
* WATCH_TEMP_INCREASE should not be below 2. |
|
|
*/ |
|
|
*/ |
|
|
#define WATCH_TEMP_PERIOD 16 // Seconds
|
|
|
#define WATCH_TEMP_PERIOD 16 // Seconds
|
|
|
#define WATCH_TEMP_INCREASE 4 // Degrees Celsius
|
|
|
#define WATCH_TEMP_INCREASE 4 // Degrees Celsius
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Thermal Protection parameters for the bed |
|
|
|
|
|
* are like the above for the hotends. |
|
|
|
|
|
* WATCH_TEMP_BED_PERIOD and WATCH_TEMP_BED_INCREASE are not imlemented now. |
|
|
|
|
|
*/ |
|
|
#if ENABLED(THERMAL_PROTECTION_BED) |
|
|
#if ENABLED(THERMAL_PROTECTION_BED) |
|
|
#define THERMAL_PROTECTION_BED_PERIOD 120 // Seconds
|
|
|
#define THERMAL_PROTECTION_BED_PERIOD 120 // Seconds
|
|
|
#define THERMAL_PROTECTION_BED_HYSTERESIS 4 // Degrees Celsius
|
|
|
#define THERMAL_PROTECTION_BED_HYSTERESIS 4 // Degrees Celsius
|
|
|