M291 J2 =-1 ?
-
RRF 3.5.1
Duet WIFI Server 2.1.0
DWC 3.5.1
HW Duet2 WIFI/Duex5Is there any update on the M291 request with a J2 to return "-1"? I need timeouts to do something other than abort macro. Please add my voice asking to get it implemented.
This is what I would like to work:
M291 R"XYU already Homed" P"Home XYU Again" S4 K{"yes","no"} T5 J2 if input = 1 echo "Skip Home XYU" if input = 0 echo "Home XYU" if input = -1 echo "Timed Out, Home XYU Anyway, or do something else" echo input
I need the timeout to set the input = -1 but it always aborts. I thought my issue had been sorted out based on DC42’s comments in the post Meta gcode result variable inconsistent with docs but now realize this was just a feature request. I had hoped 3.5.1 with all the work done on M291 that J2=-1 might this incorporated too, but no.
I need any timeout, when with a J2, to set the input = -1, or at least some approach to implement a timeout of a question that is not abort.
Thanks for any input, I've been going in circles.
-
@Strider007 As far as I'm aware, @dc42 hasn't progressed this feature request yet.
Ian
-
@droftarts , Yes I realize that now. I found feature request #959 and want to add my voice to the ones requesting this modification. I feel this change could add significant flexibility to M291 by opens up many different options regarding how a query is responded to, or not. Note that is my case I don't even need or want the extra cancel box, but I would live with it if I could get the cancel/timeout to work the way I want it to.
My reason for this request is that I want to reduce the amount of machine cycling as I call macros that contain activity that has already been done and has set flags as to have been completed. The idea is to go ahead and do the extra cycling if there is no response to the query, as a safety mechanism.