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

[BUG] M108 doesn't work with M701 purge #19567

Closed
dermigoe opened this issue Oct 1, 2020 · 7 comments
Closed

[BUG] M108 doesn't work with M701 purge #19567

dermigoe opened this issue Oct 1, 2020 · 7 comments

Comments

@dermigoe
Copy link

dermigoe commented Oct 1, 2020

Bug Description

After the M701 command loaded the filament my printer want to purge or continue the print. The message is "paused for user".
I can send the M108 command but there is no response. The printer send continuous "paused for user".
The only way to continue get the printer back to work is to use the LCD.

My Configurations

Config.zip

Steps to Reproduce

  1. Send M701
  2. Wait until filament is loaded an you see "paused for user" in the Terminal. The LCD show the purge screen ("Purge more" or "Continue")
  3. Send M108

Expected behavior: The printer is able to continue. The message "paused for user" is away. The LCD show the normal screen.

Actual behavior: Nothing happen. In the terminal the message "paused for user" is continuing. The LCD shows the purge screen

Additional Information

I use a SKR V1.3 Board (LPC1768).
I enabled the EMERGENCY_PARSER.
The M108 command works when M109 or M190 is active. It also works with the M701 an the hotend temperatur i to low but over the cold extrusion temperature. Then it starts to feed the filament.
It seems that i can use M108 when i see the "processing" message in the terminal but not when i see the "paused for user" message

@boelle
Copy link
Contributor

boelle commented Oct 1, 2020

Please test the bugfix-2.0.x branch to see where it stands.

@dermigoe
Copy link
Author

dermigoe commented Oct 1, 2020

I used the bugfix-2.0.x branch. Downloaded and compiled with the commits from Sep 30, 2020.

@rhapsodyv
Copy link
Sponsor Member

This is not a bug, but a feature request.

The code explicitly don't use the wait_for_user mechanism that M108 uses. Seems, M108 is intended to be used when the user just need a "click", but without any option.

M701 is not only waiting for the user, it's asking for the user to respond between two options: Purge More or Continue. M108 was not designed for that.

@thinkyhead do you see any trouble in making M108 acting "Resume Print", when marlin is wanting for PauseMenuResponse response?

@rhapsodyv
Copy link
Sponsor Member

@dermigoe

Did you try M876 S0 (purge more) or M876 S1 (continue)?

@dermigoe
Copy link
Author

No i didn't try the M876 command. I will try it in about one and a half week when i am back at my printer. Thank you for this answer.

@thinkyhead
Copy link
Member

M876 is a fairly new G-code that's meant to be used with a host (i.e., OctoPrint) that has support for "action" prompts.

Even if your connected host doesn't provide an interface for it, when you have HOST_PROMPT_SUPPORT enabled in the firmware you can send M876 (as described) from the command-line to supply a response.

We'll think about whether it makes sense to extend M108 for situations like this when there is no HOST_PROMPT_SUPPORT enabled.

@github-actions
Copy link

github-actions bot commented Jan 3, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants