M291 T value to return a result
-
When using the M291 with a T value for time out , i carnt seem to capture this event .
M291 R"Do you want to Run G29" P"your choice" S4 T5 J1 K{"Yes", "Reuse height map" ,"clear heightMap"} F5 if input = 0 echo input G29 ; use saved height map elif input = 1 echo input G29 S1 P"/sys/heightmap.csv"; load previous height map elif input = 2 echo input G29 S2 ; clear height map else echo "no selection pressed" ;G29 S1 ; load previous height map echo input
selection 1 returns this:-
8/31/2024, 4:02:19 PM M292 R{1} S21
1
time ouit selection nothing returned -
@moth4017 I think this is related to https://github.com/Duet3D/RepRapFirmware/issues/959. Timing out is equivalent to pressing the Cancel button, if there is one.
-
have i done this correctly to capture the "Time out"
M291 R"Do you want to Run G29" P"your choice" S4 T5 J2 K{"Yes", "Reuse height map" ,"clear heightMap"} F5 if input = 0 echo input G29 ; use saved height map elif input = 1 echo input G29 S1 P"/sys/heightmap.csv"; load previous height map elif input = 2 echo input G29 S2 ; clear height map elif input = -1 echo "no selection pressed" ;G29 S1 ; load previous height map echo input
-
@moth4017 What you are seeing is the current expected behaviour, there is a feature request to change this, but I do not think it has been implemented yet (or if there is any commitment to implement it).
-