After update to 3.4.1 - M226 pause in GCODE is not working
-
Hi guys,
Recently I updated from 3.1.1 to 3.4.1., and PanelDue V3 (7") to 3.4.1
Often I need to put M226 before a layer in GCODE to pause the print, so I can insert metal nuts or magnets into prints and then resume printing over them.
But unfortunately now the printer just continues printing after that line.
When I click on the pause on the PanelDue it pauses the print, but says - the printer is already in the pause state (eventhough it's still printing).
My pause.g is still from 3.1.1 - here it is :
; pause.g
; called when a print from SD card is paused
;
; generated by RepRapFirmware Configuration Tool v3.1.1 on Sun May 31 2020 19:03:43 GMT+0200 (Central European Summer Time)
M83 ; relative extruder moves
G1 E-10 F3600 ; retract 10mm of filament
G91 ; relative positioning
G1 Z5 F360 ; lift Z by 5mm
G90 ; absolute positioning
G1 X0 Y0 F6000 ; go to X=0 Y=0If anyone has an idea how to solve it, please help.
Thanks
-
Check out M600 instead
https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m600-filament-change-pause
-
Thanks for the answer!
I use the "Pause at height" postprocess script in Cura 5.0.1, and it defaults to M226 (don't see any way how to change it).
I can manually edit GCODE to replace M226 to M600, but M226 used to work great, and as far as I can see the only difference is that M600 prefers "filament-change.g" to "pause.g", if it exists?
Maybe I'm doing something wrong.... I switched to Cura relatively recently (from IdeaMaker), when Cura 5 came out, so I am using pause from cura for the first time actually....
-
So you are saying that the print will pause, but the paneldue still shows that it is active, and instead of a resume button, you have a pause button on the panel?
-
The print does not pause, it continues printing past the M226 command.
But when I hit "pause" on PanelDue it does indeed pause the print, but gives me a message that the printer is already in the pause state.
I do have the resume button, and it works. The only problem is that I cannot pause it automatically via Gcode, only via the PanelDue.
-
Can you share the gcode file being printed? Or at least a section of it that shows the M226
-
Of course, here is an example attached.
The M226 should happen before the Layer 22 starts printing.
-
The only change to M226 between 3.1.1 and 3.4.1 I can find is in 3.3
M25, M226 and M601 all accept a P0 parameter, which causes pause.g not to be run. M24 accepts a P0 parameter, which causes resume.g not to be run. Caution: in RRF 3.4 this is likely to be replaced by a P"filename" parameter.
Though that doesn't seem to be captured in the gcode wiki for those gcodes.
-
@phaedrux
UPDATE :Your suggestion of replacing M226 with M600 manually in gcode - actually worked!
The printer paused correctly, inserted the nuts and resumed the print....
Guess this is a workaround for now, until I figure out why M226 is not working.
Thanks again!