Option to cancel shutdown procedure
Piet last edited by Piet
I'm curious if there is a way to know if a message sent with M291 has been acknowledged or timed out. What I'm trying to achieve is a shutdown procedure where if stop.g is called after a print it sets the temperatures to their standby temperatures and waits a certain amount of time before it shuts down the motors and heaters. In this timeframe i want to be able to cancel the shutdown if i want to do another print.
The ideal way for this to work is if M291 S2 or S3 had a timeout which after that time expired it would automatically cancel the message. Now I'm pretty sure that doesn't work so I'm looking for other ways to achieve this but i can't think of a way to do this. One option would be if i can check a variable that can tell me whether the "ok" has or hasn't been pressed in the non blocking M291 S1 message. I don't think this is available though.
Any help would be appreciated.
Thanks in advance,
@piet moved to firmware wishlist because I am not aware of a way to confirm if M291 has been acknowledged or timed out.