M24 in macro not resuming print
-
Hi, I'm setting up filament change during print with M600 code. This is my filament-change.g :
;Change filament during print M83 ; relative extruder moves G1 E-10 F2000 ; retract 10mm of filament G91 ; relative positioning G1 Z5 F360 ; lift Z by 5mm G90 ; absolute positioning G1 X10 Y10 F3000 ; go to X=10 Y=10 G1 E-150 F1500 ; Retract 150mm of filament at 1500 mm/min M400 ; Wait for the moves to finish M300 S2000 P100 ; Beep G4 P200 M300 S2000 P100 G4 P200 M300 S2000 P100 G4 P200 M300 S2000 P100 G4 P200 M300 S2000 P100 M291 P"Insert new filament" R"Filament change" S2 G1 E40 F100 ; Feed 40mm of filament at 100mm/min M400 ; Wait for the moves to finish M291 P"Press OK to resume" R"Filament change" S2 G1 E-10 F3600 ; retract 10mm of filament M400 ; Wait for the moves to finish M24 ; Resume print
The problem is that M24 wont resume print. However, if I enter M24 in web console, or hit resume on LCD it resumes. I'm running version 2.02(RTOS) (2018-12-24b1) on Maestro.
Am I doing something wrong here ? Thanks. -
I've put this on my list to investigate. What I think is happening is that the status gets set to 'pausing' while filament-change.g is running, and 'paused' when it finishes. In which case, we'll need to handle M24 when executed within filament-change.g or pause.g specially.