M0/M1 Pause not displaying text/waiting for input
M1 Hello World Waits until user presses the knob. "Hello World" message is shown as LCD status message.
https://github.com/prusa3d/Prusa-Firmware/wiki/Supported-G-codes
M0 and M1 do not seem to prompt the user with text when pausing. They also do not wait for user input to resume.
G1 X10.000 Y200.000 E0
M300 S440 P200
M300 S660 P250
M300 S880 P300
M1 Click to continue
M108
M105; return to current temp
I would expect the printer to move out of the way, play the beeps, pause, display "Click to Continue" and wait until the LCD button is clicked. Instead, it just pauses, does now show message, and does not resume when button is clicked (standard Prusa menu is up).
The only way to restart is to click Restart in Octoprint, which is not ideal when the pause is one that requires user interaction AT the printer.
This is experienced while printing through OctoPrint on an MK3s. It doesn't work embedded in GCODE nor through the terminal in Octoprint.
Is there another way to go about pausing and waiting for user input?
Thank you
RE: M0/M1 Pause not displaying text/waiting for input
there is some of my code for pausing mid print, in the middle of this video
regards Joan
I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK
RE: M0/M1 Pause not displaying text/waiting for input
That's actually where I got the code! Thanks for that snippet. ^_^
The issue is that neither M1 nor M0 are prompting me for user input. They are just pausing but I can't restart from he menu.
RE: M0/M1 Pause not displaying text/waiting for input
hmmm... no idea, are you using octoprint or pronterface?
they need a resume command...
I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK
RE: M0/M1 Pause not displaying text/waiting for input
There is a resume command in octoprint, yes. But shouldn't the M0/M1 commands make the prusa itself wait for a push button per the firmware? Or does that only happen with an SD print?
M1 Not Prompting for Resume at the Printer
I'm wondering the same thing. Did you ever get an answer?
There is a resume command in octoprint, yes. But shouldn't the M0/M1 commands make the prusa itself wait for a push button per the firmware? Or does that only happen with an SD print?
Special g-codes
Prusa does use custom commands for pause (M601) and resume (M602).
Special g-codes
Thank you. If I may ask, do you know what effect M601 will have when using Octoprint?
Prusa does use custom commands for pause (M601) and resume (M602).
Octoprint settings
In Octoprint Printer/serial connection settings go to firmware/protocol settings and add M601 to the pause command list. Then it should work just fine.
M601
Thanks. What I'm wondering is will I be able to resume from M601 using the printer interface while Octoprint is active? For example, I start a print with Octoprint on a laptop and leave home with the laptop. When the job pauses, would someone at home be able to restart the print from the printer?
You might want to read this https://github.com/prusa3d/Prusa-Firmware/issues/3148#issuecomment-855201971 as it may cast some light on the subject