prusa3d / Prusa-Firmware-Buddy

Firmware for the Original Prusa MINI, Original Prusa MK4 and the Original Prusa XL 3D printers by Prusa Research.
Other
1.11k stars 217 forks source link

[BFW-5832] [BUG] M73 G-Code status report not correct #4089

Open samdurnxn opened 1 month ago

samdurnxn commented 1 month ago

Printer model

Mini+

Firmware version

6.0.0, 6.0.3

Upgrades and modifications

None

Printing from...

Prusa Link

Describe the bug

In PrusaSlicer, the option to send progress("Printers -> general -> Supports remaining time") is correctly tick.

For my purpose, I create a python script which read serial data from the printer, every 60s I'd like to know the progress, the remain time and the time until the next change (break or color change). As it's explain in this article, you can get the progress by sending the M73 G-Code without any parameters.

The printer answer this code with : M73 Progress: 5% Time left: 0m Change: 10m

But the values for time left and change are not updated.

How to reproduce

You can reproduce this issue like this :

Expected behavior

Normally, the time left value and the time of next change have to be update like the progress value.

Files

No response

danopernis commented 1 month ago

Hi @samdurnxn thanks for the report. I confirm the issue is present, we will work on fixing it.

samdurnxn commented 2 weeks ago

just for my information, any news on the fix ?

danopernis commented 2 weeks ago

@samdurnxn the fix was merged into 6.1.0, which was just released for mk4s; release for other printers will follow "in near future" - probably in several weeks.

samdurnxn commented 2 weeks ago

My bad, I check the release summary not the comparaison with previous release. I will wait for the MK4 version of it. Thanks for your works!

danopernis commented 2 weeks ago

Nah, it is OK to ask. Nobody expects you to read 1000 commit messages. I would personally prefer smaller releases more often, but that's the way it is :slightly_smiling_face:

samdurnxn commented 2 weeks ago

I fully understand as I'm an developer too ;)

danopernis commented 1 week ago

@samdurnxn new version of the firmware 6.1.2 should contain the fix, can you test that?

samdurnxn commented 1 week ago

Hello, Response of M73 is OK for the time left now but not for the next change.

T:231.06/230.00 B:59.98/60.00 X:37.75/36.00 A:50.31/0.00 @:101 B@:67 HBR@:255
> echo: M73 Progress: 1%;
> Time left: 36m;
> Change: 0m;
> ok
> T:230.51/230.00 B:59.93/60.00 X:37.55/36.00 A:50.39/0.00 @:109 B@:64 HBR@:255
> T:230.25/230.00 B:60.06/60.00 X:37.08/36.00 A:50.39/0.00 @:104 B@:20 HBR@:249
> T:230.08/230.00 B:60.05/60.00 X:36.98/36.00 A:50.44/0.00 @:107 B@:40 HBR@:248
> T:229.85/230.00 B:60.06/60.00 X:36.93/36.00 A:50.50/0.00 @:113 B@:27 HBR@:245
.....
> T:229.85/230.00 B:60.00/60.00 X:36.95/36.00 A:50.69/0.00 @:111 B@:50 HBR@:255
> T:229.92/230.00 B:59.98/60.00 X:36.91/36.00 A:50.69/0.00 @:109 B@:53 HBR@:255
> X:122.03 Y:108.91 Z:0.20 E:0.00 Count X:12581 Y:10482 Z:45
> T:230.06/230.00 B:59.94/60.00 X:37.17/36.00 A:50.75/0.00 @:105 B@:57 HBR@:255
> echo:busy: processing
> T:229.68/220.00 B:59.89/55.00 X:37.40/36.00 A:50.80/0.00 @:0 B@:0 HBR@:255
> echo: M73 Progress: 4%;
> Time left: 35m;
> Change: 0m;

And on the printer screen, the next change value is "N/A". Strange because I add little box in PrusaSlicer with many colors changes with the MMU3. Picture and bgcode attached Shape-BoxTestM73.zip screenshot

samdurnxn commented 1 week ago

Update from my previous test with the 6.1.2 firmware. With a new print, I have to insert break to put magnets during printing, and the remaining time works. I have the remaining time both on serial link(M73) and on screen when I use M601 gcode.

@danopernis can you confirm that for the moment the remaing time is handle only with M6xx gcode ? I think this because with the MMU3, the colors changes are done with a Tx gcode and not a M600.

If I'm right, can you add the Tx gcode support for the remaining time for a future version ?