Heater timeout
-
I would be interested in seeing a configurable heater timeout. The idea would be to have heaters turn off after a set amount of time when a print is not in progress. This would be a good safety feature. It would also help reduce the scenario where the material is loaded and the hotend and is left on for a long period of time before a print is started etc. This can cause carbon build up in the nozzle if the material is sitting in a hot hotend without being extruded.
Maybe this already exists, but could not find any documentation on it.
-
@jckray That'll need conditional gcode I would have thought. Something along the lines of "if not printing, then apply timeout else keep heater on".
In normal usage, slicer start gcode will turn heaters on at the start of a print and the end gcode should turn them off again. So a configurable time out would only be of use if you are in the habit of manually turning heaters on and leaving them - probably best to avoid getting in to that bad habit I'd would suggest (unless you have a usage case that I can't off hand think of).
-
@deckingman said in Heater timeout:
(unless you have a usage case that I can't off hand think of).
Inexperienced end-users other than the poster?
-
@phaedrux said in Heater timeout:
@deckingman said in Heater timeout:
(unless you have a usage case that I can't off hand think of).
Inexperienced end-users other than the poster?
Yes, possibly. But in that case, is a user configurable timeout of any use? I guess if it's to be introduced for safety reasons, then it would need a default timeout but how and who would determine what that timeout should be? It starts to get complicated and I could forsee lots of differing conflicting opinions.
-
use octoprint to control your duet and you can have a configurable heater time out.
-
@jckray said in Heater timeout:
I would be interested in seeing a configurable heater timeout.
+1. My previous printer run sailfish firmware and this was a builtin feature that I found to be very useful.
-
maybe the adittion of an idle.g file could be a feature request, with a configurable timeout to allow more than just motor current to be reduced when left idle.
-
Yes, this is intended for an end user who is likely not messing with the config.
The idea is that it would configurable via gcode. Maybe added to M143. We could have a T parameter. Default would be T0 (no timeout), T10 would turn off the printer after 10 minutes if not printing etc. It would have to be written into the firmware since conditional gcode is not supported.
This could cause some issues with pausing prints so the firmware would have to return previous printing temps before resuming a print if paused for more than the heater timeout time.
The Prusa firmware does something like this and I think it is a great feature. It would be great to have that option in RRF.
-
@jckray But if it is configurable via gcode, then of necessity it means making changes to the configuration file - especially if the default is no timeout.
-
@deckingman I should explain. My company manufactures a 3D printer that uses the Duet. It would be configured this way from the factory. Yes, the user could go in and change it if they wanted to/knew what they are doing. I'm talking about a user base that is not writing or messing with the configuration for the most part themselves. We also push configuration updates in the form of zip files, so updating config etc, is essentially like flashing firmware from the user perspective.
I also think the hobby community that is building their own machines would benefit from the option of having a heater time out. It's just a nice feature to help keep the heaters from running when they don't need to be.
-
@jckray OK. You didn't make the case that you are an OEM in your OP. I dare say David will look at this for you. I can't see any objections as long as users can choose to use the feature or not.
Edit. What is the usage case where one of your end users could turn on a heater without printing? I can only think of loading filament, which is best done with a macro that would turn the heaters off at the end. -
Even in a change filament macro the user could get interrupted and forget about the printer.
A new mode to M291 with a blocking timeout or a more generic idle.g file could be used for this and other functions, pending conditional g-code.
-
@dc42 Any thoughts on the possibility of implementing an optional heater time out?
On a semi-related note, is there a way of calling restoring the print temp when resuming a print? For example, if the temp was set to something else during a pause, then resuming would restore the printing temp. Essentially, is there any way to call the previous printing temp?
-
@deckingman said in Heater timeout:
Edit. What is the usage case where one of your end users could turn on a heater without printing? I can only think of loading filament, which is best done with a macro that would turn the heaters off at the end.
For example, to change or clean the nozzle. Turning heaters on can be done directly in the UI and there is no enforcement that it's done in a macro.
-
@jckray said in Heater timeout:
@dc42 Any thoughts on the possibility of implementing an optional heater time out?
I will add this to the firmware wishlist. Perhaps it should be a global timeout that turns the whole printer off?
On a semi-related note, is there a way of calling restoring the print temp when resuming a print? For example, if the temp was set to something else during a pause, then resuming would restore the printing temp. Essentially, is there any way to call the previous printing temp?
You could set up a standby temperature for the tool (or for all tools), then you can use T-1 in pause.g to deselect the tool (although that would be inconvenient if you want to do any extrusion or filament loading while it is paused). Then do T R1 in resume.g to restore the active tool at the time of the pause.
-
@dc42 Has this been implemented, and if so how. My company is also using duets in our in-house built machines. We do R&D research for multiple customers and are often changing the configuration of our machines to perform specific tasks. So it is not feasible to war game out every single user error case that can occur, therefore having generic safe guards in place such as enabling a heater to time out when the machine is idle would be beneficial.
Global time out could be an option but im not a fan of that because shutting off the power would also kill power to my cooling systems, which would be a problem if the machine was in a hot state.
-
Can you use the daemon.g file to do this?
-
@dc42 I would also be interested in such a feature for safety reasons for our customers.
-
@dc42 We are very interested to have this feature as well . This is not only a security feature but also reduce chances for people to have their hotend clogging, avoid some part like shroud deforming because there is no airflow or simply reduce energy consumption. Even for an advanced user there will always be a day where you forgot about it.
If not possible, could you give us a little bit more details on how to implement this with daemon.g?
-
Perhaps you could use the idle hold timer (M84 Sxxc) in conjunction with daemon.g
So if there was no movement for specified time, turn off heaters.So something like this in daemon.g
If {(move.axes[0].current < "YourIdleThreshold") && (heat.heaters[1].state ="active")} Code to turn off heater(s)