Prusa XL 5 Toolhead nozzle cleaner

Preheats all 5 nozzles, moves the bed down, and moves each nozzle in turn to the front.
6m
1× print file
0.25 mm
0.40 mm
1.00 g
28
94
1
1449
updated June 9, 2025

Description

PDF

UPDATE 2025-06-08:  I have added a “version 5” ZIP that contains only a 0.4mm nozzle GCode, but with updated header/footer code from PrusaSlicer 2.9.2. It should not have a functional difference, but I am leaving the old files there for now until I hear more reports.

This is a set of 2 hand-coded GCode files for 5-tool Prusa XL printers to facilitate proper nozzle cleaning.  It is easily editable to preset any temperatures that you want. Please read below for instructions and warnings!

There is a bug with the Printables website that is flagging my gcode as invalid due to having M0 user messages, so I am forced to add a dummy gcode file - do not print that one. Look in the ZIP file instead.

The actions it does:

  • Preheats a tiny part of the bed to 45C to prevent warnings about cold beds.
  • Preheats all nozzles to 180C.
  • Homes the XY plane and grabs all tools one by one to confirm no dock/undock errors
  • Homes the Z axis and moves the print bed halfway down to give you working room
  • Centers the toolhead at the front to let you clean it, and pauses.
  • Displays a message to clean the tool and click the knob to continue.
  • At this point, you should clean your nozzle with a brush or the neighbor's pet.
  • CLICK THE KNOB to park the tool, cool it down, and grab the next tool.

Please make sure to use the correct file based on your nozzle size, or the printer will yell at you.  To change the temperature, search for lines that contain “; set cleaning temperature” and set it appropriately.

Finally, as one person mentioned in the comments, copying the file to the printer may show an error (since nothing is actually printed with the gcode), but the “print” can still be started just fine from the print menu on the XL.  So you can safely ignore that error message.

DO NOT run this GCode without constant supervision - I have made every effort to make sure it is safe, but I can guarantee nothing.  Be careful and vigilant!

Tags



Model origin

The author marked this model as their own original creation.

License