WirelessPrinting icon indicating copy to clipboard operation
WirelessPrinting copied to clipboard

Show information about the print progress on LCD

Open probonopd opened this issue 7 years ago • 7 comments

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

M531 filename - Set the filename being printed. M532 X L<curLayer> - 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 )

probonopd avatar Aug 12 '17 11:08 probonopd

@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

GMagician avatar Mar 01 '19 11:03 GMagician

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.

probonopd avatar Mar 03 '19 00:03 probonopd

M73 is still supported if printer report capability to handle it

GMagician avatar Mar 03 '19 11:03 GMagician

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 avatar Mar 03 '19 12:03 probonopd

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.

probonopd avatar Mar 03 '19 12:03 probonopd

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

GMagician avatar Mar 03 '19 14:03 GMagician

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

probonopd avatar Mar 03 '19 14:03 probonopd