Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M0/M1 Pause not displaying text/waiting for input #2055

Closed
msbeck opened this issue Jul 29, 2019 · 9 comments
Closed

M0/M1 Pause not displaying text/waiting for input #2055

msbeck opened this issue Jul 29, 2019 · 9 comments

Comments

@msbeck
Copy link

msbeck commented Jul 29, 2019

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 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

@michalxfanta
Copy link
Collaborator

We will fix this bug in some of the next releases, thanks for reporting.

@3d-gussner
Copy link
Collaborator

@msbeck I tried it myself on newest FW and it works with following gcode:

G28 W
G80
G1 X10.000 Y200.000 E0
M300 S440 P200
M300 S660 P250
M300 S880 P300
M1 Click to continue
G1 X200.000 Y10.000 E0
;M108 
;M105; return to current temp

As M108 isn't implemented in Prusa firmware see your link above I guess it fails because of the M108 which isn't supported.

Can you please fill in the things below if the problem still exist?

Please, before you create a new bug report, please make sure you searched in open and closed issues and couldn't find anything that matches.

Printer type - [e.g. MK3S, MK3, MK2.5S, MK2.5, MK2S, MK2]
Printer firmware version- [e.g. 3.8.1, 3.8.1-RC1, ...]

MMU Upgrade - [e.g. MMU2S, MMU2, MMU1]
**MMU upgrade firmware version [e.g. 1.0.6, 1.0.6-RC2, ...]

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Please describe steps to reproduce the behavior.

Expected behavior
A clear and concise description of what you expected to happen.

G-code
Please attach a G-code. This will make it easier for us to replicate the error.

Video
Please attach a video. It usually helps to solve the problem.

@Panayiotis-git
Copy link
Contributor

It is working for me also.

Although, the current implementation is unsafe at least.

Try to use reserved words like 'PRUSA' or any of 'M' or 'G' in your message and the command does other things...

@Panayiotis-git
Copy link
Contributor

Check also #1900

Till now, the only reliable implementation is what is proposed at the #2380, to enclose the text into double quotes to all these custom message commands.

@3d-gussner
Copy link
Collaborator

@Panayiotis-git Thanks for the test and update. I can confirm that M0/M1 with a message starting with a G doesn't work. M0 More Coffee on the other side works.

3d-gussner added a commit to 3d-gussner/Prusa-Firmware that referenced this issue Sep 30, 2020
@sarf2k4
Copy link

sarf2k4 commented Oct 20, 2020

I don't see anything on the lcd when I issued M0/M1 S20 wait me from octoprint terminal, I'm using the latest octoprint and mk3s firmware as of this writing

@sarf2k4
Copy link

sarf2k4 commented May 7, 2021

Just flashed my mk3s mmu2s to the latest, 3.10.0-4481, sending M0/M1 S10 wait me shows default text of Waiting for user... message instead of custom. But M1 wait me will show WAIT ME and requires the user to press the knob to continue.

I am sending the gcode via octoprint terminal. My intention to use this command is to cooldown the nozzle by a set period of time while displaying a message.

I also assume that this bug are partially fixed

@github-actions
Copy link

This issue has been flagged as stale because it has been open for 60 days with no activity. The issue will be closed in 7 days unless someone removes the "stale" label or adds a comment.

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

This issue has been closed due to lack of recent activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants