Add M109 Deadband - #120
Conversation
Allows the user to specify a range that is acceptable for the print to progress whenever M109 is sent. Based on jimmyjon711's deadband implementation.
|
I also been running this with latest change and is working fantastic, Having deadband in print_start for me is a nice upgrade, Quicker heat up to get them primed while keeping a smaller power supply. This is a great feature! |
|
I am going to attempt to try this out, I'm having an issue where I get a 2-3 second stall on tool changes as it waits for the tool to settle back to temp, but i think it wouldn't even matter if it was 100% settled as over all the movements and prime, it will settle regardless. |
|
I do not mean to question the effort here, but what is the key difference between a deadband setting and using Klipper's built-in TEMPERATURE_WAIT command with its MIN/MAX parameters ? or even just accept a slight temperature variation due to overshoot and optimize for speed |
|
That would be a really useful enhancement to speed up tool changes. |
Allows the user to specify a range that is acceptable for the print to progress whenever M109 is sent.
Can be set for all tools adding
deadbandto the toolchanger section, per tool by addingdeadbandto the tool section or per use of M109 by adding the D parameter to M109.For example,
M109 T1 S255 D10will allow the printer to progress once the temp is within 5 degrees above or below 255.This has the advantage of letting toolchanges progress if within a range the user deems acceptable and can help reduce oozing.
Another use case is if you like to preheat all tools to prime before a print you can run a loop with a high value deadband making sure the current draw of the hotend has reduced before the next tool starts heating.
For example, this would wait until the tools heater is within 100 degrees of its target temp before heating the next.
Based on jimmyjon711's deadband implementation.
Cheers.