Nozzle wiper tool: GCODE-routine for cleaning
 
Notifications
Clear all

Nozzle wiper tool: GCODE-routine for cleaning  

  RSS
samuel-t
(@samuel-t)
Eminent Member
Nozzle wiper tool: GCODE-routine for cleaning

Hi all

Just finished mounting the nozzle wiper tool: https://www.printables.com/model/1284704-prusa-core-one-nozzle-wiper-remix-and-purge-bin

I want a small routine which allows me to clean the nozzle from time to time. What I came up with so far is following g-code:

; --- Nozzle Cleaning Routine ---

G90 ; use absolute coordinates
M83 ; extruder relative mode
G28 ; home all without mesh bed level

; heat up the nozzle
M109 S250 ; heat to 250
G4 S60 ; pause for 60s

; Block 1
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G4 S3 ; pause for 3s

; Block 2
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G4 S3 ; pause for 3s

; Block 3
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G4 S3 ; pause for 3s

; Block 4
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G4 S3 ; pause for 3s

; Block 5
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000
G0 X40 Y-17 Z3 F10000
G0 X80 Y-19 Z3 F10000

; cool down
M104 S0 ; shut off nozzle

G28 ; home all without mesh bed level

Any improvement suggestions?

Thank you very much for your help - I'm new to writing my own g-code, so any hints are much appreciated!

Posted : 08/09/2025 2:47 pm
samuel-t
(@samuel-t)
Eminent Member
Topic starter answered:
RE: Nozzle wiper tool: GCODE-routine for cleaning

(I'm sorry, this thread was meant to be posted to the Prusa CORE one root, perhaps an admin can move it to https://forum.prusa3d.com/forum/prusa-core-one-hardware-firmware-and-software-help/ ?)

Posted : 08/09/2025 5:50 pm
samuel-t
(@samuel-t)
Eminent Member
Topic starter answered:
RE: Nozzle wiper tool: GCODE-routine for cleaning

I removed the G28 at the bottom, not needed.

Posted : 08/09/2025 9:40 pm
Share: