Bed Heating Code

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?

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

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!

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

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)

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…

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

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.

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

Thank you! Tips like these are very helpful!

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

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

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

Thanks for the help @Zoe_M

Solid! This is what I was looking for.

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.

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

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

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.

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?

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.

That makes sense.