# Printer hangs after hotend and bed reach temperature

**URL:** <https://klipper.discourse.group/t/printer-hangs-after-hotend-and-bed-reach-temperature/19517>\
**Category:** General Discussion\
**Created:** [October 20, 2024, 9:09pm UTC](https://klipper.discourse.group/t/printer-hangs-after-hotend-and-bed-reach-temperature/19517 "2024-10-20T21:09:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![antstar12](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@antstar12](https://klipper.discourse.group/u/antstar12)\
**Post date:** [October 20, 2024, 9:09pm UTC](https://klipper.discourse.group/t/printer-hangs-after-hotend-and-bed-reach-temperature/19517/1 "2024-10-20T21:09:17Z")

</div>

### Basic Information:

Printer Model: Ender 3 NG - Ender 3 to CoreXY conversion  
 MCU / Printerboard: BTT SKR 3 EZ  
 Host / SBC: BTT Pi 2  
 klippy.log  
[logs-20241020-212104.zip](https://klipper.discourse.group/uploads/short-url/veDUOLwxP5hiSAp5rAmcG6OMJ2X.zip) (478.1 KB)

### Describe your issue:

Printer hangs after heating up the hotend and bed.  
From what I can see there are no errors in the log the printer just heats the hotend up and then heats the bed up, says both have reached temp and after that it just stops, it doesn’t run any more of the gcode commands/rest of the start print macro, it just does nothing.

Some notes, I recently swapped my hotend out from a Ender 3 style hotend to the Triangle Labs TZ-E3-2.0 hotend. This uses an 80W heater in a bambu style heater block. The thermistor is a NTC 100K B3950, I have set it as Generic 3950 in my config. [https://trianglelab.net/products/tz-e3-20-hotend?VariantsId=11441](https://trianglelab.net/products/tz-e3-20-hotend?VariantsId=11441)

I have found that the heater doesn’t keep the temperature as consistent as I’d like, it seems to fluctuate ~4 degrees from 214-218. I have PID tuned for 215 but this still seems to happen. When cold the temperature stays stable so I don’t think it’s an issue with the wires, but maybe the way klipper is controlling the heater.

My only thought is that because the heater isn’t staying at a consistent temperature Klipper is waiting for it to stabilise before it starts printing.  
I have printed with this setup before but this issue now seems to be happening consistently.

I have also reapplied thermal grease to both the heater cartridge and the thermistor.

If I attempted to Pause or Cancel the print it doesn’t do anything and the only way to get it out of this state is to do a emergency stop.

Does anyone have any advice for things to try?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 21, 2024, 8:21am UTC](https://klipper.discourse.group/t/printer-hangs-after-hotend-and-bed-reach-temperature/19517/2 "2024-10-21T08:21:34Z")

</div>

> [@antstar12](#):
>
> My only thought is that because the heater isn’t staying at a consistent temperature Klipper is waiting for it to stabilise before it starts printing.  
> I have printed with this setup before but this issue now seems to be happening consistently.

Correct, your hotend temperature never stabilizes and thus the print never starts.  
Either a:

- Defect in the temperature sensor or its wiring / connector
- Defect in the heater or its wiring / connector
- No PID tuning done or somehow wrong PID values

There is no indication for a Klipper defect in this area.

---

<div class="post-metadata">

**Author:** ![antstar12](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@antstar12](https://klipper.discourse.group/u/antstar12)\
**Post date:** [October 21, 2024, 11:12am UTC](https://klipper.discourse.group/t/printer-hangs-after-hotend-and-bed-reach-temperature/19517/3 "2024-10-21T11:12:03Z")

</div>

Hi Sineos, thanks for your response.

I have ran PID tuning so I would assume it shouldn’t be that.  
The thermistor seems to read fine at lower temperatures with no deviation like what is seen at printing temperatures.  
I think some defect in the heater may be possible, I do have a 40W heater cartridge that I can swap to, so I’ll try that.

Would it be worth trying some of the additional heater settings in the extruder config like **max\_power** , **smooth\_time** or **pwm\_cycle\_time**?

---

<div class="post-metadata">

**Author:** ![antstar12](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@antstar12](https://klipper.discourse.group/u/antstar12)\
**Post date:** [October 21, 2024, 11:17am UTC](https://klipper.discourse.group/t/printer-hangs-after-hotend-and-bed-reach-temperature/19517/4 "2024-10-21T11:17:47Z")

</div>

So I did some more reading, and found someone else when a hight power hot end had had a similar issue, their fix was to run the PID tune while the cooling fan was at max speed.

Someone did suggest to them that reducing the smooth\_time value would help for that type of heater.

So I change my value from the default of 1 to 0.5. Then I ran PID tune again, and now the temperature stays much more consistent. only varying \<0.5 which is much more acceptable and I think shouldn’t cause an issue for the print to start.

I also read someone suggest not using the gcode commands for temperature wait and instead use the Klipper commands. So change from M109 SX to TEMPERATURE\_WAIT SENSOR=extruder MINIMUM=X as that just waits for the temperature to be reached not for the temperature to stabilise.

References: High power hotend unstable after PID - [https://www.youtube.com/watch?v=LZIjZobgJ7A&ab\_channel=FutureEthan](https://www.youtube.com/watch?v=LZIjZobgJ7A&ab_channel=FutureEthan)

Changing gcode commands in printer start - [Reddit - Dive into anything](https://www.reddit.com/r/klippers/comments/rrm8ar/comment/it8z9g4/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button)

---

<div class="post-metadata">

**Author:** ![nefelim4ag](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/nefelim4ag/32/2387_2.png) [@nefelim4ag](https://klipper.discourse.group/u/nefelim4ag)\
**Post date:** [October 21, 2024, 2:14pm UTC](https://klipper.discourse.group/t/printer-hangs-after-hotend-and-bed-reach-temperature/19517/5 "2024-10-21T14:14:22Z")

</div>

I humbly suggest looking here:

> [@Discussion/Proposal: small heater control improvements](https://klipper.discourse.group/t/discussion-proposal-small-heater-control-improvements/19195):
>
> This is just a proposal. Problem: PID can oscillate too much for some users. While printing because of large hot end flow changes or powerful fan, hotend can temporarily lose temperature. There are several attempts to change something in PID or propose different solutions to that problem (MPC, velocity PID, other calibration methods). I personally think there is a minority of users with such problems, and I feel like my solution is mostly “duct tape”. There are [3 patches](https://github.com/nefelim4ag/klipper/tree/heater-improvments): Allow configure…

And maybe here: [heaters: drop control delay by nefelim4ag · Pull Request #6706 · Klipper3d/klipper · GitHub](https://github.com/Klipper3d/klipper/pull/6706)

Maybe instant PWM or more frequent query of heater + shorter smooth time will improve things.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 21, 2024, 3:17pm UTC](https://klipper.discourse.group/t/printer-hangs-after-hotend-and-bed-reach-temperature/19517/6 "2024-10-21T15:17:51Z")

</div>

> [@antstar12](#):
>
> M109 SX to TEMPERATURE\_WAIT SENSOR=extruder MINIMUM=X as that just waits for the temperature to be reached not for the temperature to stabilise.

This is correct, but should not be considered a solution. It is my understanding that `M109` really makes sure that the extruder is stable to start printing, whereas `TEMPERATURE_WAIT` just looks for the given sensor name and does not care about its stability.

> [@antstar12](#):
>
> their fix was to run the PID tune while the cooling fan was at max speed.

Good point. Of course you should always limit the disturbances. For example, if I try to do a PID tune with full fans but no “silicone sock” on the hotend, PID tune will fail.

> [@antstar12](#):
>
> Someone did suggest to them that reducing the smooth\_time value would help for that type of heater.

Indeed, this sometimes can help. I have to admit, I do not understand the circumstances when it is needed. One working theory is that extremely noisy temperature measurement might need this.  
I’m running a 80W heater and never had any need to mess with this value.

---

<div class="post-metadata">

**Author:** ![antstar12](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@antstar12](https://klipper.discourse.group/u/antstar12)\
**Post date:** [November 8, 2024, 4:52pm UTC](https://klipper.discourse.group/t/printer-hangs-after-hotend-and-bed-reach-temperature/19517/7 "2024-11-08T16:52:44Z")

</div>

So i was finding that even with all the changes I was still getting large(+/- 3 degrees) fluctuations in temp during printing. I set the max\_power value of the extruder to 0.75 and reran PID turning and tried another print. This seems to be much more stable with a fluctuation range of +/- 0.5 degrees at 215 target temp.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [January 7, 2025, 4:53pm UTC](https://klipper.discourse.group/t/printer-hangs-after-hotend-and-bed-reach-temperature/19517/8 "2025-01-07T16:53:38Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
