# Bed Heating Code

**URL:** <https://forum.snapmaker.com/t/bed-heating-code/42565>\
**Category:** U1 Toolchanger\
**Created:** [July 19, 2026, 11:03am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565 "2026-07-19T11:03:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon79306136](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon79306136](https://forum.snapmaker.com/u/anon79306136)\
**Post date:** [July 19, 2026, 11:03am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/1 "2026-07-19T11:03:44Z")

</div>

I’m not very good when it comes to the code side of things, but I’ve noticed the U1 does a 1 minute count down “pre-heating” the bed before each print.

I run smooth cool plates so rarely go above 55c, which the plate is comfortably at before his countdown starts & its not tied to temp it does it regardless

So I’m looking for help as to what the code might be for this (in printer.cfg?) to remove it if possible?

---

<div class="post-metadata">

**Author:** ![xchrisd](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/xchrisd/32/1503_2.png) [@xchrisd](https://forum.snapmaker.com/u/xchrisd)\
**Post date:** [July 19, 2026, 12:04pm UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/2 "2026-07-19T12:04:51Z")

</div>

I know this only from the guide side, it’s defined in your slicer profile which temperature to reach before starting the print.

---

<div class="post-metadata">

**Author:** ![anon79306136](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon79306136](https://forum.snapmaker.com/u/anon79306136)\
**Post date:** [July 19, 2026, 12:17pm UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/3 "2026-07-19T12:17:15Z")

</div>

Yeah, you can see it do it in the console via fluuid, its not temp controlled as it does it regardless of what temp the bed is already at & it doesn’t cut it short if/when the temp is reached

Its just a PITA when doing short prints that effectively my U1 is sitting doing nothing for a minute each time that seemingly isn’t needed?

not the end of the world of course!

---

<div class="post-metadata">

**Author:** ![Manfredo52](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Manfredo52](https://forum.snapmaker.com/u/Manfredo52)\
**Post date:** [July 19, 2026, 3:04pm UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/4 "2026-07-19T15:04:16Z")

</div>

See this entry in the printer.cfg

There is the entry PAUSE\_TIME and a value of 120000 - should be 2 Minutes as the value is ms.

Suggest to amend this to something less.

Or just uncomment this G4 P{pause\_time} with a hastag like #G4 P{pause\_time}

gcode\_macro AUTO\_BED\_MESH\_CALIBRATE

gcode:  
{ set bed\_temp = params.TEMP|default(55)|float }  
{ set pause\_time = params.PAUSE\_TIME|default(120000)|int }  
G90  
M140 S{bed\_temp}  
G0 Z2  
M190 S{bed\_temp}  
G4 P{pause\_time}  
BED\_MESH\_CALIBRATE

---

<div class="post-metadata">

**Author:** ![anon79306136](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon79306136](https://forum.snapmaker.com/u/anon79306136)\
**Post date:** [July 19, 2026, 3:11pm UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/5 "2026-07-19T15:11:17Z")

</div>

Thanks, I don’t believe that’s the one I’m looking for as it counts down from 59secs every time, I’ll take a screenshot so I can see the code infront (if any)

---

<div class="post-metadata">

**Author:** ![anon79306136](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon79306136](https://forum.snapmaker.com/u/anon79306136)\
**Post date:** [July 19, 2026, 3:16pm UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/6 "2026-07-19T15:16:04Z")

</div>

![Screenshot 2026-07-19 at 16.12.23](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/3X/f/6/f6bc0ba693b8d360a0f71066ec4f34cc6c9d1fde.jpeg)

 ![Screenshot 2026-07-19 at 16.12.04](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/3X/8/5/85742418afd3cd79a4e944d4ef06a462272d0f3c.jpeg)

---

<div class="post-metadata">

**Author:** ![anon79306136](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon79306136](https://forum.snapmaker.com/u/anon79306136)\
**Post date:** [July 19, 2026, 3:22pm UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/7 "2026-07-19T15:22:53Z")

</div>

Uploaded wrong way round but you get the idea, I can’t find anything bed\_prescanning etc in printer.cfg & it doesn’t look like any of the “bed” search are anything to do with it either?

Might just have to live with it as don’t wanna raise a ticket for something that isn’t a major issue…

---

<div class="post-metadata">

**Author:** ![CrazyIvan](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@CrazyIvan](https://forum.snapmaker.com/u/CrazyIvan)\
**Post date:** [July 19, 2026, 3:49pm UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/8 "2026-07-19T15:49:53Z")

</div>

I’m away from home at the moment, but I’ll have a look tomorrow.

---

<div class="post-metadata">

**Author:** ![Zoe\_M](https://avatars.discourse-cdn.com/v4/letter/z/8491ac/32.png) [@Zoe\_M](https://forum.snapmaker.com/u/Zoe_M)\
**Post date:** [July 20, 2026, 10:32am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/9 "2026-07-20T10:32:43Z")

</div>

Hi, I consulted the engineer and he shared two methods to edit the `preheat_duration`. You can test whether they help:  
Directly remove or edit the preheat\_duration in the in `printer.cfg`.

 ![img_v3_0213p_96c7cd63-e74b-4291-8482-54e2476e7c5g](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/3X/2/e/2ee332e7401768fcf9b55e126f2491301f5e9513.jpeg)

Or edit the start G‑code to change the wait‑time parameter (`PREHEAT_DURATION`) right after the bed leveling.

 ![img_v3_0213p_be57c999-58c2-4702-b3e4-abeb68e313fg](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/3X/0/8/0839f5032e236b005ff9b737ba354029598551e6.jpeg)

---

<div class="post-metadata">

**Author:** ![hho](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/hho/32/30857_2.png) [@hho](https://forum.snapmaker.com/u/hho)\
**Post date:** [July 20, 2026, 11:23am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/10 "2026-07-20T11:23:40Z")

</div>

Thank you! Tips like these are very helpful!

---

<div class="post-metadata">

**Author:** ![anon79306136](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon79306136](https://forum.snapmaker.com/u/anon79306136)\
**Post date:** [July 20, 2026, 4:01pm UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/11 "2026-07-20T16:01:11Z")

</div>

Thanks for asking @Zoe_M Interestingly I don’t have the line preheat\_duration in my printer.cfg? I will try adding it shortly and see if it changes the timing

---

<div class="post-metadata">

**Author:** ![anon79306136](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon79306136](https://forum.snapmaker.com/u/anon79306136)\
**Post date:** [July 20, 2026, 4:13pm UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/12 "2026-07-20T16:13:10Z")

</div>

OK added the line as above, but set it for 10secs and it works, so all good 🙂

---

<div class="post-metadata">

**Author:** ![Manfredo52](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Manfredo52](https://forum.snapmaker.com/u/Manfredo52)\
**Post date:** [July 20, 2026, 4:18pm UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/13 "2026-07-20T16:18:14Z")

</div>

Same. Added the line in the printer.cfg, set to 15 secs and it works.

Thanks for the help @Zoe_M

---

<div class="post-metadata">

**Author:** ![demprints](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@demprints](https://forum.snapmaker.com/u/demprints)\
**Post date:** [July 24, 2026, 1:41am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/14 "2026-07-24T01:41:56Z")

</div>

Solid! This is what I was looking for.

---

<div class="post-metadata">

**Author:** ![Kalle\_BMW1](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@Kalle\_BMW1](https://forum.snapmaker.com/u/Kalle_BMW1)\
**Post date:** [July 25, 2026, 9:52am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/15 "2026-07-25T09:52:19Z")

</div>

I entered this in the startup code in the slicer. 15 seconds works. I was also surprised by the 60 seconds in the original setup. It felt too long.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/3X/5/7/57b870c643c14593931e4dc1cac907ce516f5e1a.png)

ok, at higher bed temperatures, you could extend the time a bit so that the bed heats up more evenly before the Bed Mesh.

---

<div class="post-metadata">

**Author:** ![anon79306136](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon79306136](https://forum.snapmaker.com/u/anon79306136)\
**Post date:** [July 25, 2026, 10:19am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/16 "2026-07-25T10:19:04Z")

</div>

Yeah, I couldn’t understand why its not tied to the actual bed temp required, so it heats automatically from 1-60 sec to achieve the required temp?

I set mine to 2sec in the end and will just alter it before needing an ASA or ABS print

---

<div class="post-metadata">

**Author:** ![Kalle\_BMW1](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@Kalle\_BMW1](https://forum.snapmaker.com/u/Kalle_BMW1)\
**Post date:** [August 2, 2026, 7:23am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/17 "2026-08-02T07:23:37Z")

</div>

This behavior would be ideal for a firmware update:

A calculated heating time, dependent on the current bed temperature, to reach the desired target temperature as quickly as possible.

This could reduce the wait time before printing starts.

---

<div class="post-metadata">

**Author:** ![CrazyIvan](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@CrazyIvan](https://forum.snapmaker.com/u/CrazyIvan)\
**Post date:** [August 2, 2026, 7:32am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/18 "2026-08-02T07:32:21Z")

</div>

I admit I am more familiar with Marlin than Klipper, but I don’t understand why this is an issue. There is a G-Code for “set temperature and wait until it is reached”… does that only apply to the nozzle temperature?

---

<div class="post-metadata">

**Author:** ![RepairAndTinker](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/repairandtinker/32/32623_2.png) [@RepairAndTinker](https://forum.snapmaker.com/u/RepairAndTinker)\
**Post date:** [August 2, 2026, 8:47am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/19 "2026-08-02T08:47:48Z")

</div>

I assume the purpose it takes a minute is to heat soak the bed and make sure the bed is more uniformly heated. I don’t know where the sensor for bed temp is located, probably in the middle, but the edges often take longer to reach set temperature.

---

<div class="post-metadata">

**Author:** ![CrazyIvan](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@CrazyIvan](https://forum.snapmaker.com/u/CrazyIvan)\
**Post date:** [August 2, 2026, 9:01am UTC](https://forum.snapmaker.com/t/bed-heating-code/42565/20 "2026-08-02T09:01:19Z")

</div>

That makes sense.

[Next page](https://forum.snapmaker.com/t/bed-heating-code/42565.md?page=2)
