How to display time remaining on an Ender 5 series?
 
Notifications
Clear all

How to display time remaining on an Ender 5 series?  

  RSS
Dinierto
(@dinierto)
Active Member
How to display time remaining on an Ender 5 series?

I have an Ender 5 and 5 Pro and neither one displays the time remaining when I print from GCODE sliced with Prusa Slicer.  However I know someone who does the same thing and has the time showing but they don't know what they did.  I've checked "supports remaining times" in Printer Settings but it didn't seem to help.

Best Answer by Neophyl:

The Prusa firmware on something like a MK3 uses the following is designed to use the following as an example-
M73 P0 R106
M73 Q0 S106
The R and S are the remaining times in normal and stealth modes I believe.  The Prusa printer firmware knows those values are remaining times and depending on the mode it is in displays that time.  The firmware is specifically set up to do that.

An M117 code is just a print to screen command so if Cura is adding those lines then that's why it will display from Cura generated code.

Posted : 17/02/2021 4:51 pm
Neophyl
(@neophyl)
Illustrious Member
RE: How to display time remaining on an Ender 5 series?

The remaining times use a specific gcode which I don’t think the ender range supports in their firmware. 

Posted : 17/02/2021 5:56 pm
Dinierto liked
Dinierto
(@dinierto)
Active Member
Topic starter answered:
RE: How to display time remaining on an Ender 5 series?

@neophyl

and yet I know someone who has it working... also, when using the time remaining plugin from Cura, it works.  I'm not sure what method Cura uses though.  So there's some way of doing it, I would love to find out how

Posted : 17/02/2021 7:41 pm
Dinierto
(@dinierto)
Active Member
Topic starter answered:
RE: How to display time remaining on an Ender 5 series?

@neophyl

and yet I know someone who has it working... also, when using the time remaining plugin from Cura, it works.  I'm not sure what method Cura uses though.  So there's some way of doing it, I would love to find out how

Edit:  I looked at Gcode from Cura and it has the following line:

M117 Time Left 8h47m40s

I can't find a line in my Prusa-generated code that looks similar.  The only lines that don't have annotation are to turn off the fan and to set print percentage; what line does Prusa Slicer normally use?

Posted : 17/02/2021 7:48 pm
bobstro
(@bobstro)
Illustrious Member
RE: How to display time remaining on an Ender 5 series?

If one of the users is running OctoPrint, it can insert time remaining messages during a print.

My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Posted : 17/02/2021 9:03 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: How to display time remaining on an Ender 5 series?
Posted by: @dinierto

I have an Ender 5 and 5 Pro and neither one displays the time remaining when I print from GCODE sliced with Prusa Slicer.  However I know someone who does the same thing and has the time showing but they don't know what they did.  I've checked "supports remaining times" in Printer Settings but it didn't seem to help.

You can output this with Prusa Slicer or S3D either via a message M117 per layer or via the function M73 per layer. However, the firmware must be able to implement this.

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Posted : 17/02/2021 9:40 pm
Dinierto
(@dinierto)
Active Member
Topic starter answered:
RE: How to display time remaining on an Ender 5 series?

@karl-herbert

So there's no way to have Prusa automate an M117?  Because my firmware does seem to support it as shown by Cura.  

Is M73 the code Prusa uses?  Because there is an M73 line.  So that must be the difference between the slicers

Posted : 18/02/2021 2:28 am
Neophyl
(@neophyl)
Illustrious Member
RE: How to display time remaining on an Ender 5 series?

The Prusa firmware on something like a MK3 uses the following is designed to use the following as an example-
M73 P0 R106
M73 Q0 S106
The R and S are the remaining times in normal and stealth modes I believe.  The Prusa printer firmware knows those values are remaining times and depending on the mode it is in displays that time.  The firmware is specifically set up to do that.

An M117 code is just a print to screen command so if Cura is adding those lines then that's why it will display from Cura generated code.

Posted : 18/02/2021 8:18 am
Dinierto liked
karl-herbert
(@karl-herbert)
Illustrious Member
RE: How to display time remaining on an Ender 5 series?

Marlin_main.cpp:

case 73: //M73 show percent done and time remaining

if(code_seen('P')) print_percent_done_normal = code_value();

if(code_seen('R')) print_time_remaining_normal = code_value();

if(code_seen('Q')) print_percent_done_silent = code_value();

if(code_seen('S')) print_time_remaining_silent = code_value();

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Posted : 18/02/2021 9:46 am
Dinierto
(@dinierto)
Active Member
Topic starter answered:
RE: How to display time remaining on an Ender 5 series?

@neophyl

Thank you that was very informative!  I'm doing more googling and research now.  There's a script for Prusa Slicer to convert but I can't get it to work, it throws back an error.

http://phoenix.yizimg.com/scheric/Prusaslicer-M73-to-M117-macro

I installed Python and copied the script to a directory, and pasted the links inside the quotes.  It gave me an error code 1, lol.

Posted : 18/02/2021 2:54 pm
Neophyl
(@neophyl)
Illustrious Member
RE: How to display time remaining on an Ender 5 series?

@dinierto

Both Bob and Karl could probably help you with your script issues, unfortunately I don’t use any so am not familiar with the in and outs. I’m in the same boat as you, ie looking it up on google lol. 

Posted : 18/02/2021 3:57 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: How to display time remaining on an Ender 5 series?

@dinierto

I have just tested this on my W10 machine. Installed Python 3.8, added the following line to the PS output:

The following result (normal mode only):

Python 3.8 for Windows: https://www.python.org/downloads/release/python-385/

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Posted : 18/02/2021 4:38 pm
Dinierto
(@dinierto)
Active Member
Topic starter answered:
RE: How to display time remaining on an Ender 5 series?

@karl-herbert

I did the same and got an error, I don't know what I'm doing wrong.  Here's the links I added to mine

Posted : 20/02/2021 9:38 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: How to display time remaining on an Ender 5 series?

@dinierto

What error exactly did you get? The files (python.exe and script.py) must be present in the appropriate path.
During the Python installation the environment path variable should be selected.

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Posted : 20/02/2021 10:15 pm
Dinierto
(@dinierto)
Active Member
Topic starter answered:
RE: How to display time remaining on an Ender 5 series?

@karl-herbert

I believe it said Error 1.  And those files are exactly where those paths are, that's how I got the paths was by tracking down where Python installed to and copying the script to that directory.

I don't know what "the environment path variable" means though

Posted : 21/02/2021 2:05 am
Share: