# Resume macro doesn't heat up

**URL:** <https://klipper.discourse.group/t/resume-macro-doesnt-heat-up/15883>\
**Category:** General Discussion\
**Created:** [April 19, 2024, 2:51am UTC](https://klipper.discourse.group/t/resume-macro-doesnt-heat-up/15883 "2024-04-19T02:51:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Djripper666](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/djripper666/32/8551_2.png) [@Djripper666](https://klipper.discourse.group/u/Djripper666)\
**Post date:** [April 19, 2024, 2:51am UTC](https://klipper.discourse.group/t/resume-macro-doesnt-heat-up/15883/1 "2024-04-19T02:51:50Z")

</div>

### Basic Information:

Printer Model:  
 MCU / Printerboard:  
 Host / SBC  
 klippy.log

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_** (use zip to compress it, if too big). _Pasting your_ `printer.cfg` _is **not** needed_  
_ **Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there** _

### Describe your issue:

Hello i have a BTT Pad 7 and was wondering once my filament runs out and i insert more click resume on the screen it doesn’t heat up to the previous temp then resume. It will just try to resume and then cancels print because its not upto temp.

If i use my heat and resume print macro then i will set the temp in the macro then send the macro but it will turn off the heater and continue then when it gets too cold cancels iand says too cold. Some times if i set the temp to resume at in the macro but on the screen not through the web interface it will not do anything.

[klippy.log](https://klipper.discourse.group/uploads/short-url/yI7nazAXjCsUkb7vl4atLTQqTEN.log) (95.1 KB)

This has i believe the normal btt pad 7 screens resume button macro  
[mainsail.cfg](https://klipper.discourse.group/uploads/short-url/2GSrlZuSrNVR0CBgVvyIXeQac0h.cfg) (15.3 KB)

These are my macros that go into my macro list  
[FILAMENT\_RUNOUT.cfg](https://klipper.discourse.group/uploads/short-url/9JlrdwCUsTYXRxgnfZH37MCyKQT.cfg) (909 Bytes)  
[RESUME.cfg](https://klipper.discourse.group/uploads/short-url/8KkTtufkf8PWyqOmh9SsvWmQsYD.cfg) (2.5 KB)  
[INSERT\_FILAMENT.cfg](https://klipper.discourse.group/uploads/short-url/det1dGr4RlQovSbNYU2hN1cyvtx.cfg) (1.4 KB)  
[LOAD\_FILAMENT.cfg](https://klipper.discourse.group/uploads/short-url/ovexTDnw9FYqsmfZW7qnPigVGcB.cfg) (430 Bytes)  
[PAUSE.cfg](https://klipper.discourse.group/uploads/short-url/qw58FwtxnjlkiCq8OkE2AbKiCLI.cfg) (1015 Bytes)  
[UNLOAD\_FILAMENT.cfg](https://klipper.discourse.group/uploads/short-url/cj31PsPzzQrtBTo7ucn97BQYubT.cfg) (443 Bytes)

---

<div class="post-metadata">

**Author:** ![gaolst](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/gaolst/32/10026_2.png) [@gaolst](https://klipper.discourse.group/u/gaolst)\
**Post date:** [April 19, 2024, 2:32pm UTC](https://klipper.discourse.group/t/resume-macro-doesnt-heat-up/15883/2 "2024-04-19T14:32:02Z")

</div>

Your current setup is configured this way.

try to remove “`M104 S0`” from `runout_wait` macro

---

<div class="post-metadata">

**Author:** ![Djripper666](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/djripper666/32/8551_2.png) [@Djripper666](https://klipper.discourse.group/u/Djripper666)\
**Post date:** [April 19, 2024, 3:07pm UTC](https://klipper.discourse.group/t/resume-macro-doesnt-heat-up/15883/3 "2024-04-19T15:07:24Z")

</div>

The only reason I have it in there is because when it pauses I want to heater to cool down so if im not at the printer it doesn’t stay hot for possibly an hr or so.

---

<div class="post-metadata">

**Author:** ![theophile](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/theophile/32/31_2.png) [@theophile](https://klipper.discourse.group/u/theophile)\
**Post date:** [April 19, 2024, 3:13pm UTC](https://klipper.discourse.group/t/resume-macro-doesnt-heat-up/15883/4 "2024-04-19T15:13:26Z")

</div>

Then you’re going to have to modify your RESUME macro to bring it back up to temp.

---

<div class="post-metadata">

**Author:** ![gaolst](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/gaolst/32/10026_2.png) [@gaolst](https://klipper.discourse.group/u/gaolst)\
**Post date:** [April 19, 2024, 3:23pm UTC](https://klipper.discourse.group/t/resume-macro-doesnt-heat-up/15883/5 "2024-04-19T15:23:09Z")

</div>

The issue with `runout_wait` is following:  
it will be started after 120 seconds.

Runout processing macros is a multistage process,  
first `FILAMENT_RUNOUT` will be called which will call `PAUSE`  
PAUSE script is responsible for pushing your current temperature to RESUME script  
then `FILAMENT_RUNOUT` will order delayed execution of `runout_wait` and system will stop.

So it depends when you call `RESUME`  
if you call `RESUME` sooner than 120s - `runout_wait` will be executed after `RESUME` - and as an result it will set your temperature to 0

---

<div class="post-metadata">

**Author:** ![gaolst](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/gaolst/32/10026_2.png) [@gaolst](https://klipper.discourse.group/u/gaolst)\
**Post date:** [April 19, 2024, 3:40pm UTC](https://klipper.discourse.group/t/resume-macro-doesnt-heat-up/15883/6 "2024-04-19T15:40:27Z")

</div>

Most probably you can try to fix this issue by introducing following code in the beginning of RESUME gcode

> UPDATE\_DELAYED\_GCODE ID=runout\_wait DURATION=0

this should cancel execution of `runout_wait` if it was not launched yet.

But it’s very hard to understand what order of commands was executed in your case as your klippy.log doesn’t contain records about event, most probably you publish klippy.log file long after (few days) after you experienced this issue.  
I would suggest to reproduce it and then upload latest klippy.log with records about event’s.

---

<div class="post-metadata">

**Author:** ![Djripper666](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/djripper666/32/8551_2.png) [@Djripper666](https://klipper.discourse.group/u/Djripper666)\
**Post date:** [April 19, 2024, 3:54pm UTC](https://klipper.discourse.group/t/resume-macro-doesnt-heat-up/15883/7 "2024-04-19T15:54:13Z")

</div>

Thank you. Tomorrow I will try putting the code you suggested first and see how that works and if it doesn’t do as I want it to, then I will reproduce the fault amd upload a new klippy.log

---

<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:** [June 18, 2024, 3:54pm UTC](https://klipper.discourse.group/t/resume-macro-doesnt-heat-up/15883/8 "2024-06-18T15:54:54Z")

</div>

Closed on June 18, 2024, 3:54pm UTC

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