Skip to content
New issue

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

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

Already on GitHub? # to your account

[FR] Support M73 R gcode #208

Closed
Sebazzz opened this issue Mar 2, 2021 · 5 comments
Closed

[FR] Support M73 R gcode #208

Sebazzz opened this issue Mar 2, 2021 · 5 comments
Labels
area:dwin-interop Area - DWIN interop t:enhancement New feature or request

Comments

@Sebazzz
Copy link
Collaborator

Sebazzz commented Mar 2, 2021

Description

Description of the bug or requested feature
image

PrusaSlicer supports this feature, and although it isn't documented Marlin supports it under the hood.

How would it work

When M73 R[time] is used then the time is set using the regular status messages.

@Sebazzz Sebazzz added area:dwin-interop Area - DWIN interop t:enhancement New feature or request labels Mar 2, 2021
@Sebazzz
Copy link
Collaborator Author

Sebazzz commented Mar 2, 2021

Relevant PR upstream: MarlinFirmware#15549

@Sebazzz
Copy link
Collaborator Author

Sebazzz commented Mar 2, 2021

Okay, this works but currently "abuses" the M117 status message to push the remaining print time.
I'd rather have a separate time control for that. For instance: as a sub line below the main print time.

Sebazzz added a commit to CR6Community/CR-6-touchscreen that referenced this issue Mar 2, 2021
Sebazzz added a commit to CR6Community/CR-6-touchscreen that referenced this issue Mar 2, 2021
@Sebazzz
Copy link
Collaborator Author

Sebazzz commented Mar 2, 2021

Touch screen is in a rough shape right now.

Looping in @grobux and @ztakis because I've edited the bitmaps for this prototype and not the PSD.

@Sebazzz
Copy link
Collaborator Author

Sebazzz commented Mar 3, 2021

Okay this works fine when your gcode slicer (PrusaSlicer) or host (Octoprint with Detailed Progress) supports it, but if your gcode doesn't support it, then the default estimation of Marlin is wildly inaccurate.

Calibration cube example:

image

Eventually it does come around, but still:

image

So I'm going to hide the "remaining" when there is no estimate and re-align the main print progress.

Sebazzz added a commit to CR6Community/CR-6-touchscreen that referenced this issue Mar 3, 2021
Sebazzz added a commit to CR6Community/CR-6-touchscreen that referenced this issue Mar 3, 2021
Sebazzz added a commit to CR6Community/CR-6-touchscreen that referenced this issue Mar 3, 2021
Sebazzz added a commit to CR6Community/CR-6-touchscreen that referenced this issue Mar 3, 2021
The only way I can make this piece of work behave. I tried everything else:
- Stack pointers refuse to operate, even on colors (though it worked fine for other screens)
- I can't unset the VP
- I can't do a text length change
- I can't change the position

CR6Community/Marlin#208
@Sebazzz
Copy link
Collaborator Author

Sebazzz commented Mar 3, 2021

Okay, I had a good fight with the DWIN touch screen now the entire evening, but I got it now.

If no M73 R is issued:

image

When a M73 R is issued then:

image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area:dwin-interop Area - DWIN interop t:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant