Notifications
Clear all

M0/M1 Pause not displaying text/waiting for input  

  RSS
msbekk
(@msbekk)
New Member
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

Publié : 29/07/2019 4:50 pm
JoanTabb
(@joantabb)
Veteran Member Moderator
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

Publié : 29/07/2019 6:10 pm
msbekk
(@msbekk)
New Member
Topic starter answered:
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.

Publié : 30/07/2019 3:30 am
JoanTabb
(@joantabb)
Veteran Member Moderator
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

Publié : 30/07/2019 11:22 am
msbekk
(@msbekk)
New Member
Topic starter answered:
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?

Publié : 30/07/2019 3:06 pm
hermes_actual
(@hermes_actual)
New Member
M1 Not Prompting for Resume at the Printer

I'm wondering the same thing. Did you ever get an answer?

Posted by: @swhale

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?

 

Publié : 09/09/2021 1:49 pm
Lichtjaeger
(@lichtjaeger)
Noble Member
Special g-codes

Prusa does use custom commands for pause (M601) and resume (M602).

Publié : 09/09/2021 1:58 pm
hermes_actual
(@hermes_actual)
New Member
Special g-codes

Thank you. If I may ask, do you know what effect M601 will have when using Octoprint?

Posted by: @lichtjaeger

Prusa does use custom commands for pause (M601) and resume (M602).

 

Publié : 09/09/2021 2:59 pm
Lichtjaeger
(@lichtjaeger)
Noble Member
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.

Publié : 09/09/2021 3:43 pm
hermes_actual
(@hermes_actual)
New Member
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?

Publié : 09/09/2021 3:48 pm
Neophyl
(@neophyl)
Illustrious Member

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

Publié : 09/09/2021 7:35 pm
Partager :