@falco22 said in Below 4°:
@deckingman I find a problem with that solution. It only works for 4 degrees. Is there any way to formulate the equation to fit any temperature between room temperature and 0C? Thank you.
I'm not an expert on conditional gcode so someone else might have a better answer. But do you mean if the temperature is within a range from (say) 20 to 0? In which case you could use something like
while {sensors.analog[1].lastReading >0} & {sensors.analog[1].lastReading <20}
or do you mean a fixed temperature but one that you can define? In which case you could use a global variable that you define elsewhere - e.g. in a separate macro or config.g.
so something like
global dispenserTemp = nn (where "nn" is the temperature value)
then the expression would become something like
while sensors.analog[1].lastReading > {global.dispenserTemp}.
But as I said, I'm not expert and may have got something wrong. Suggest you check out the documentation https://duet3d.dozuki.com/Wiki/GCode_Meta_Commands#main