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

Show information about the print progress on LCD #21

Open
probonopd opened this issue Aug 12, 2017 · 7 comments
Open

Show information about the print progress on LCD #21

probonopd opened this issue Aug 12, 2017 · 7 comments

Comments

@probonopd
Copy link
Owner

http://www.reprap.org/wiki/Firmware_Capabilities_Protocol

M531 filename - Set the filename being printed.
M532 X L - Update current print state progress (X=0..100) and layer L.

This allows a host to enable a special information mode on LCD display, so users see progress in percent, model being printed, layer being printed, and total layer count. (Hosts can also use M117 )

@GMagician
Copy link
Collaborator

GMagician commented Mar 1, 2019

@probonopd this should be addressed by version 2.0. Only thing missing is L. Cura gives info in gcode but I don't know if all slicers does this and if they does, if they uses same format

@probonopd
Copy link
Owner Author

probonopd commented Mar 3, 2019

We are already calculating the percentage for /api/job (completion), now we "just" need to find a way to send it to the LCD from time to time. I'd be fine with a "normal" M117 if we don't have L for now.

@GMagician
Copy link
Collaborator

M73 is still supported if printer report capability to handle it

@probonopd
Copy link
Owner Author

probonopd commented Mar 3, 2019

Only the last one works on the Prusa:

>M115
<FIRMWARE_NAME:Marlin V1.0.2; Sprinter/grbl mashup for gen6 FIRMWARE_URL:https://github.com/prusa3d/Prusa-i3-Plus/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Prusa i3 MK2 EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000#wait more#
<ok#ok#

>M531 filename
<Invalid M code.#wait more#
<ok#ok#

>M532 75 20
<Invalid M code.#wait more#
<ok#ok#

>M532 P75 20
<Invalid M code.#wait more#
<ok#ok#

>M73 75
<Invalid M code.#wait more#
<ok#ok#

>M73 P75
<Invalid M code.#wait more#
<ok#ok#

>M117 Printing... 75%
<ok#ok#
>M105

That's at least better than just showing "Printing...".

@probonopd
Copy link
Owner Author

Second printer, Renkforce RF100 with OEM firmware:

>M115
<FIRMWARE_NAME:Marlin V1; Sprinter/grbl mashup for gen6 FIRMWARE_URL:https://github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:3D Printer EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000#wait more#
<ok#ok#

>M531 filename
<ok#ok#

>M532 75 20
<ok#ok#

>M532 P75 20
<ok#ok#

>M73 75
<ok#ok#

>M117 Printing... 75%
<ok#ok#

We get "OK" here but no change on the LCD; only the last command does something visible.

@GMagician
Copy link
Collaborator

all of that depends on firmware...if firwmware supports them then it is supposed it will do something on LCD

@probonopd
Copy link
Owner Author

probonopd commented Mar 3, 2019

Yes, so let's use what works on all (most) printers. Then we can improve later from there.

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

2 participants