<p>#define THERMAL_PROTECTION_HOTENDS is for thermal runaway. When the temperature &quot;should&quot; be climbing or falling at a predicable rate, or holding steady once at running temp.</p>
<p>#define HEATER_0_MAXTEMP defines the maximum temperature Marlin will allow the extruder to get to before initiating a shutdown. This is ALWAYS active for an active extruder (E0) This setting is what will throw MAXTEMP if it is exceeded.</p>
<p>MAXTEMP error when there is no heat on is usually from a short in the thermistor cable.</p>

CC BY-SA 4.0
2020-11-12T07:54:11.197Z
2020-11-12T07:54:11.197Z
Psyonic
<p><code>MAXTEMP</code> and <code>MINTEMP</code> are <strong>not</strong> part of the <a href="https://3dprinting.stackexchange.com/questions/8466/what-is-thermal-runaway-protection">Thermal Runaway Protection</a>, but separate, equally needed safety nets: Mintemp is meant to make sure that the printer does not try to run cold, Maxtemp is the operational limit of your printer - if the machine tries to go hotter, the firmware denies and shuts down. Maxtemp is usually set to about 235 °C for a lined hotend.</p>
<p>A defective thermosensor can trigger Mintemp and Maxtemp errors by virtue of either shorting or by having no connectivity. The same behavior is exploited in a simple test if the triggers are set: disconnect the leads for unlimited resistance that the board interprets as an absurd high temperature, then short the leads, as 0 Ohm registers as an insanely low temperature.</p>

CC BY-SA 4.0
2020-12-12T22:02:48.343Z
If this error keeps showing up at operating temps (e.g. 210C) would that imply that the thermistor is bad? (I'm having a similar problem with one of my printers right now).
user77232
CC BY-SA 4.0
2020-12-13T00:47:27.040Z
@user77232 it can point that out, yes. Mintemp and Maxtemp can be triggered manually by disconnecting and shorting the leads of a thermosensor
Trish
CC BY-SA 4.0
2020-12-13T13:31:21.413Z
When I restart my printer it reads 300c. What does shorting the thermistor leads actually cause the temp to read? Would it just read MAX?
user77232
CC BY-SA 4.0
2020-12-13T14:42:41.873Z
@user77232 300°C sounds abotu what a short or near short will read. It should trigger maxtemp a few seconds later.
Trish
CC BY-SA 4.0
2020-12-12T11:16:53.837Z
2020-12-13T00:53:48.457Z
2020-12-13T00:53:48.457Z
Trish
<p>I am trying to port Marlin to my Qidi Tech 1 printer which previously ran Sailfish 7.8. Everything worked fine on the old board, including the temperature sensors.</p>
<p>All cables except for power, LCD, and USB (for flashing) are disconnected. I am still very early on in testing and have yet to plug anything else in.</p>
<p>When uploading Marlin to the board, at first startup I received the following error:</p>
<pre><code>Err: MAXTEMP: E1

PRINTER HALTED
Please Reset
</code></pre>
<p>There may be a problem with my configuration. So I commented out all of the thermal runaway protection options since the bed and extruders aren't yet connected:</p>
<pre><code>//#define THERMAL_PROTECTION_HOTENDS
//#define THERMAL_PROTECTION_BED
//#define THERMAL_PROTECTION_CHAMBER
</code></pre>
<p>I rebuilt, flashed, reset, and the printer is still telling me that E1 is at MAXTEMP.</p>
<p>Why am I still getting this thermal protection message?</p>
<p>I cleared the EEPROM from the LCD menu in Sailfish before flashing.</p>
<p>This board uses an ATmega2560 and I'm using the default fuses (E:FD, H:D8, L:FF, LOCK:CF).</p>

<marlin><firmware><thermal-runaway>
"Err: MAXTEMP: E1" when THERMAL_PROTECTION_HOTENDS is disabled
Zhro
# "Err: MAXTEMP: E1" when THERMAL_PROTECTION_HOTENDS is disabled

(Asked by: username_0 on 2020-11-07)

I am trying to port Marlin to my Qidi Tech 1 printer which previously ran Sailfish 7.8. Everything worked fine on the old board, including the temperature sensors.
All cables except for power, LCD, and USB (for flashing) are disconnected. I am still very early on in testing and have yet to plug anything else in.
When uploading Marlin to the board, at first startup I received the following error:
Err: MAXTEMP: E1

PRINTER HALTED
Please Reset

There may be a problem with my configuration. So I commented out all of the thermal runaway protection options since the bed and extruders aren't yet connected:
//#define THERMAL_PROTECTION_HOTENDS
//#define THERMAL_PROTECTION_BED
//#define THERMAL_PROTECTION_CHAMBER

I rebuilt, flashed, reset, and the printer is still telling me that E1 is at MAXTEMP.
Why am I still getting this thermal protection message?
I cleared the EEPROM from the LCD menu in Sailfish before flashing.
This board uses an ATmega2560 and I'm using the default fuses (E:FD, H:D8, L:FF, LOCK:CF).

**Tags:** marlin, firmware, thermal-runaway

---

## 2 answers

### Answer by username_1 on 2020-11-12. Score: 1

#define THERMAL\_PROTECTION\_HOTENDS is for thermal runaway. When the temperature "should" be climbing or falling at a predicable rate, or holding steady once at running temp.

#define HEATER\_0\_MAXTEMP defines the maximum temperature Marlin will allow the extruder to get to before initiating a shutdown. This is ALWAYS active for an active extruder (E0) This setting is what will throw MAXTEMP if it is exceeded.

MAXTEMP error when there is no heat on is usually from a short in the thermistor cable.


---

### Answer by username_2 on 2020-12-12. Score: 0

`MAXTEMP` and `MINTEMP` are **not** part of the [Thermal Runaway Protection](https://3dprinting.stackexchange.com/questions/8466/what-is-thermal-runaway-protection), but separate, equally needed safety nets: Mintemp is meant to make sure that the printer does not try to run cold, Maxtemp is the operational limit of your printer - if the machine tries to go hotter, the firmware denies and shuts down. Maxtemp is usually set to about 235 °C for a lined hotend.

A defective thermosensor can trigger Mintemp and Maxtemp errors by virtue of either shorting or by having no connectivity. The same behavior is exploited in a simple test if the triggers are set: disconnect the leads for unlimited resistance that the board interprets as an absurd high temperature, then short the leads, as 0 Ohm registers as an insanely low temperature.

> **Comments:**
> **username_3**: If this error keeps showing up at operating temps (e.g. 210C) would that imply that the thermistor is bad? (I'm having a similar problem with one of my printers right now).  
> **username_2**: @user77232 it can point that out, yes. Mintemp and Maxtemp can be triggered manually by disconnecting and shorting the leads of a thermosensor  
> **username_3**: When I restart my printer it reads 300c. What does shorting the thermistor leads actually cause the temp to read? Would it just read MAX?  
> **username_2**: @user77232 300°C sounds abotu what a short or near short will read. It should trigger maxtemp a few seconds later.  

---

