Unable to set Enclosure heater temp after a print completes

If i set the temp it will be zero'd back out after a few seconds ( some times less ) the previous print had set enclosure temp to be off but the print is now finished and i need to heat the enclosure for the next print. I'm not getting any errors, its as if it still thinks its printing, if i reset firmware i can set the enclosure temp to whatever i want like expected START_PRINT (with expected params ) and END_PRINT exist in the Gcode
Solution:
just wanted to thank you both again, with your help i was able to print PPA-CF zero issues, entire enclosure properly heated with no manual intervention. It. Was. Glorious.
Jump to solution
70 Replies
MDFPereira
MDFPereiraβ€’3w ago
can you try setting the chamber temp on after END_PRINT? you just need END_PRINT CHAMBER_TEMP=[chamber_temperature] or whatever temp you want to keep
lordgufi
lordgufiOPβ€’3w ago
i'll try and see if i can set it right after this print ends. this didnt start until recently when i added the chamber params to the start_print line for machine... wonder if previous settings for start enclosure temp are being held and thats why? i'll check that too
MDFPereira
MDFPereiraβ€’3w ago
the param on start print are for before printing, not after... END_PRINT disables all heaters, including chamber sending the command after end_print will not lock the machine like if it is still printing
lordgufi
lordgufiOPβ€’3w ago
END_PRINT for sure gets hit in the g-code, but i'll let ya know here in about an hour when this print ends
MDFPereira
MDFPereiraβ€’3w ago
If you have it in the slicer end code, it will be there for sure πŸ˜‰
lordgufi
lordgufiOPβ€’3w ago
it is lol, in most cases i dont know what my next print is, i've just been kinda printing back to back lately. Slowly learning how to do my own macros, i didnt realize that i could code them past what generic g-code could do ( its been 4-5 years since i used klipper last ). so this is kinda itching my dev brain to do things like set the start enclosure temp to the generic "what my enclosure can easily get to or some % of enclosure temp if below that value" ( none of this has been done yet but eventually will be )
lordgufi
lordgufiOPβ€’3w ago
print finished tried setting 80C to chamber heater, it held for about 2 seconds then set 0 in the text box and state off
No description
MDFPereira
MDFPereiraβ€’3w ago
gotcha!!! Back to back it is nice to have the chamber ready... with the endcode?
lordgufi
lordgufiOPβ€’3w ago
nah just directly
MDFPereira
MDFPereiraβ€’3w ago
you set it by hand/command. If that does not work, it will not work via endcode... can you share byour ratos-debug.zip?
lordgufi
lordgufiOPβ€’3w ago
SET_HEATER_TEMPERATURE doesnt work it seems but CHAMBER_HEATER_ON does interesting i dont like using that macro though because it forces a wait
MDFPereira
MDFPereiraβ€’3w ago
chamber heater on is a macro to enable the heater. what are you using? external heater or bed?
lordgufi
lordgufiOPβ€’3w ago
external
MDFPereira
MDFPereiraβ€’3w ago
can you share printer.cfg?
MDFPereira
MDFPereiraβ€’3w ago
can you try changing [heater_fan chamber_heater_fan] to [fan_generic chamber_heater_extra_fan] stating only the fan pin? nervermind... that's for an extra fan
lordgufi
lordgufiOPβ€’3w ago
oof these macros seems to need some work... they've got no way to bail if theyre in a wait
MDFPereira
MDFPereiraβ€’3w ago
they are made for heating before printing not maintaining a temp can you try this: _USER_START_PRINT_HEAT_CHAMBER CHAMBER_TEMP=80 if it works, you just need this after END_PRINT _USER_START_PRINT_HEAT_CHAMBER CHAMBER_TEMP=[chamber_temperature]
lordgufi
lordgufiOPβ€’3w ago
nothing happened
MDFPereira
MDFPereiraβ€’3w ago
@Helge Keck can you help, please? Is there a way to keep the chamber temp after a print finishes?
lordgufi
lordgufiOPβ€’3w ago
its less important to have it happen after the print just purely that if i finish printing, i cant set the temp at all
lordgufi
lordgufiOPβ€’3w ago
say if the enclosure got back to room temp 12 hours later, unless i reset firmware setting chamber temps doesn't work ( via this )
No description
MDFPereira
MDFPereiraβ€’3w ago
maybe using [gcode_macro _USER_END_PRINT_AFTER_HEATERS_OFF] gcode: whatever...
lordgufi
lordgufiOPβ€’3w ago
i dont want to use the chamber heater macro button because of its wait + required to hit the set temp ( my enclosure leaks heat quite bad and will never hit the heater set temp )
MDFPereira
MDFPereiraβ€’3w ago
hmmm can you hit the macro button and tell me what comes on the console? then you can use _USER_END_PRINT_AFTER_HEATERS_OFF
Helge Keck
Helge Keckβ€’3w ago
you need to override the END_PRINT macro and remove that line at the end
No description
Helge Keck
Helge Keckβ€’3w ago
or wait, i have something better
lordgufi
lordgufiOPβ€’3w ago
what i'd really like ( for my terrible enclosure at the moment ) is set heater to 80, and wait for chamber temp to hit like 45C, leaving the heater on but move forward with start printing
MDFPereira
MDFPereiraβ€’3w ago
_USER_END_PRINT_FINISHED ?
Helge Keck
Helge Keckβ€’3w ago
[gcode_macro _USER_END_PRINT_FINISHED]
description: User hook for when the print is finished after gcode state has been restored.
gcode:
CHAMBER_HEATER_ON START_CHAMBER_TEMP={start_chamber_temp} CHAMBER_TEMP={chamber_temp}
[gcode_macro _USER_END_PRINT_FINISHED]
description: User hook for when the print is finished after gcode state has been restored.
gcode:
CHAMBER_HEATER_ON START_CHAMBER_TEMP={start_chamber_temp} CHAMBER_TEMP={chamber_temp}
and one sec, something is missing
MDFPereira
MDFPereiraβ€’3w ago
_USER_END_PRINT_AFTER_HEATERS_OFF is before _CHAMBER_HEATER_OFF. Would never work πŸ˜‰
Helge Keck
Helge Keckβ€’3w ago
you need to also pass the chaber temp aprameter to the END_PRINT macro in the slicer config, analog to the START_PRINT macro
MDFPereira
MDFPereiraβ€’3w ago
END_PRINT START_CHAMBER_TEMP=[chamber_temperature] CHAMBER_TEMP=[chamber_temperature]
Helge Keck
Helge Keckβ€’3w ago
ive never tried to pass these parameters in the end print macro, there is a chance these variables are not available there, you need to test it
lordgufi
lordgufiOPβ€’3w ago
these are all nice and such... but doesn't explain why SET_HEATER_TEMPERATURE HEATER=chamber_heater TARGET=somevalue doesn't work after a print has finished which is root issue πŸ™‚
MDFPereira
MDFPereiraβ€’3w ago
@lordgufi needs it πŸ˜‰
lordgufi
lordgufiOPβ€’3w ago
i'm trying to manually set the temp after a print has finished not automated πŸ™‚
Helge Keck
Helge Keckβ€’3w ago
use CHAMBER_HEATER_ON CHAMBER_TEMP=50
MDFPereira
MDFPereiraβ€’3w ago
this is not an usual heater like bed or hotend. needs to be treated differently you need to enable the heater and then set the temp...Like what Helge just said
lordgufi
lordgufiOPβ€’3w ago
i dont want to use that macro because my enclosure will never hit CHAMBER_TEMP due to leaky meaning i'll never be able to print πŸ™‚
Helge Keck
Helge Keckβ€’3w ago
then you need to add a temp that is available for your setup
MDFPereira
MDFPereiraβ€’3w ago
you da man!!! thank you!
lordgufi
lordgufiOPβ€’3w ago
i can set 35C and the heater will never get the enclosure there... if i set 80C it will get me to 55C and once the print starts it will easily maintain it with just the bed alone
MDFPereira
MDFPereiraβ€’3w ago
Very small heater then…
lordgufi
lordgufiOPβ€’3w ago
its a 1500W heater with a 120 mm fan on it so not really
MDFPereira
MDFPereiraβ€’3w ago
I use a 600w office heater (for a 300 machine) and 10 minutes gets it to 70C
lordgufi
lordgufiOPβ€’3w ago
i'm working around a leaky enclosure which the real answer is "fix that" but not in the cards at the moment
MDFPereira
MDFPereiraβ€’3w ago
Silicone πŸ˜›
lordgufi
lordgufiOPβ€’3w ago
by leaky i dont mean there are air gaps, the material i used just transfers heat too well ( 1/4 fiber board for now )
MDFPereira
MDFPereiraβ€’3w ago
Oh, ok. Dissipates a lot Try the command above
Helge Keck
Helge Keckβ€’3w ago
chamber temp is not the chamber heater temp if you set the chamber temp to 50 for example, then the ehater will heat up to 150Β° you can configure this value
lordgufi
lordgufiOPβ€’3w ago
.... ??? mine has never done that
Helge Keck
Helge Keckβ€’3w ago
bc you are using the wrong command you tried to set tzhe ehater directly, that is nto correct ratos handles everything for you, jsut use the provided macros
lordgufi
lordgufiOPβ€’3w ago
if i use this button it wont even do that:
No description
lordgufi
lordgufiOPβ€’3w ago
which is that macro
Helge Keck
Helge Keckβ€’3w ago
i highly recommend to read the RatOS chamber heater documentation it will for sure if you have the hardware setup correct done
MDFPereira
MDFPereiraβ€’3w ago
found it... maybe variable_chamber_heater_preheating_temp: 50
Helge Keck
Helge Keckβ€’3w ago
No description
lordgufi
lordgufiOPβ€’3w ago
hahahaha Thats the ticket!
Helge Keck
Helge Keckβ€’3w ago
this is the temp the heater will set to, not the target chamber temp
MDFPereira
MDFPereiraβ€’3w ago
heater is not full blast
Helge Keck
Helge Keckβ€’3w ago
i mean it even explains it
No description
MDFPereira
MDFPereiraβ€’3w ago
yep
MDFPereira
MDFPereiraβ€’3w ago
with that manual???????? we need a new one πŸ˜›
lordgufi
lordgufiOPβ€’3w ago
while true, it was never clear ( while setting this up ) that the heater temp was what it would set vs the chamber temp it makes sense the more i know now but i forgot i set this when i first did everything thanks yall, This works and i just configured it wrong.
Solution
lordgufi
lordgufiβ€’3w ago
just wanted to thank you both again, with your help i was able to print PPA-CF zero issues, entire enclosure properly heated with no manual intervention. It. Was. Glorious.
Helge Keck
Helge Keckβ€’3w ago
great

Did you find this page helpful?