Weird M291 Fxxx default results RRF 3.5.0b1+
-
I've noticed a weird bug when using the new M291 options.
If I run any of these following commands from the console, the default value is displayed correctly.
However if I run them consecutively in a macro, the default values are not displayed on all message boxes.
If I put the S7 box first, then none of the defaults are displayed on any S5 or S6 message boxes.
If I put the S7 box last, then all the S5 or S6 boxes appear with defaults, but the S7 box does not.M291 S7 L4 H20 P"Enter print file name" R"File" F"random-moves-test.g" var FileName = directories.gCodes ^ input ; set output file name - will be placed in gcodes directory M291 P"Enter minimum X position for moves" R"Min X" F80 L{move.axes[0].min} H{move.axes[0].max} S6 var MinXPos = input ; minimum X position M291 S6 P"Enter maximum X position for moves" R"Max X" L{var.MinXPos} H{move.axes[0].max} F120 var MaxXPos = input ; maximum X position M291 S6 P"Enter minimum Y position for moves" R"Min Y" L{move.axes[1].min} H{move.axes[1].max} F80 var MinYPos = input ; minimum Y position M291 S6 P"Enter maximum Y position for moves" R"Max Y" L{var.MinYPos} H{move.axes[1].max} F120 var MaxYPos = input ; maximum Y position
-
@OwenD this turned out to be a DWC bug, and it has now been fixed.
-
@OwenD thanks for reporting this. I have spotted a race condition that may be causing this. I will fix it in time for 3.5beta2.
-
@OwenD this turned out to be a DWC bug, and it has now been fixed.
-