Notifications
Clear all

Printer End GCode  

  RSS
theprintbutler
(@theprintbutler)
Eminent Member
Printer End GCode

Hi all,

My Ender 3 Pro is stuck with a Printing... message at the end of the print job. It completed the print without issue, and has cooled down, but it's stuck like it's printing. Is there some Gcode to add at the end to rectify this please? 

Thanks in advance.

Andy.

Posted : 26/02/2021 12:36 pm
FoxRun3D
(@foxrun3d)
Famed Member
RE: Printer End GCode

Well, I don‘t really pay any attention to what my printer says 😁 but you can use the M117 command to send a message to the display if it bothers you. 

Take a look at @bobstro‘s excellent write-up of G-CODE modification at http://projects.ttlexceeded.com/3dprinting_prusaslicer_end_gcode.html#prusaslicer-end-gcode

He‘s got some nice examples.

Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...

Posted : 26/02/2021 1:55 pm
theprintbutler
(@theprintbutler)
Eminent Member
Topic starter answered:
RE: Printer End GCode

Thanks @fuchsr Will this bring her back to life though? It's an Ender 3 Pro so if your'e using a Prusa printer it may be different but when printing on mine the menus change a bit so you don;t have access to all the functions. Normally when the print finishes the printer enables all the menus, but as mine still thinks it's printing I can do anything other than turn it off and on again which is a bit annoying.

I don't have this issue with Cura. I'm still learning what the best start and end code is in Prusa for an Ender printer.

I'll let you know if the M117 command works and I'll have a read of that link. Thanks for the advice.

Posted : 26/02/2021 3:33 pm
FoxRun3D
(@foxrun3d)
Famed Member
RE: Printer End GCode

Sorry, didn‘t realize it was an Ender. Wish I could help but I have no heavenly clue what GCODEs the Ender uses…

Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...

Posted : 26/02/2021 3:34 pm
bobstro
(@bobstro)
Illustrious Member
RE: Printer End GCode
Posted by: @theprintbutler

[...] I don't have this issue with Cura. I'm still learning what the best start and end code is in Prusa for an Ender printer.

If you've got gcode generated in Cura that works, it's easy enough to translate it over to PrusaSlicer. Start by copying that gcode and either posting it here or someplace like pastebin so we can see it. Or zip up a file and attach it here. You usually only have to translate the placeholder variable names.

Looking at a Creality Ender 3 Pro in Cura, I see the following end gcode:

G91 ;Relative positioning
G1 E-2 F2700 ;Retract a bit
G1 E-2 Z0.2 F2400 ;Retract and raise Z
G1 X5 Y5 F3000 ;Wipe out
G1 Z10 ;Raise Z more
G90 ;Absolute positionning
G1 X0 Y{machine_depth} ;Present print
M106 S0 ;Turn-off fan
M104 S0 ;Turn-off hotend
M140 S0 ;Turn-off bed
M84 X Y E ;Disable all steppers but Z

The only thing that is specific to Cura in this example is the {machine_depth} placeholder. Try replacing that with [print_bed_max[1]] in PrusaSlicer. Unfortunately, I don't have an Ender to test this on.

 

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 : 26/02/2021 3:55 pm
Share: