Customised Gcode header not executing
 
Notifications
Clear all

Customised Gcode header not executing  

  RSS
HainjeDAF
(@hainjedaf)
Eminent Member
Customised Gcode header not executing

https://www.printables.com/model/1368525-core-one-nozzle-cleaner-arm

I have made the left side mounting version of this wiper arm.
Also I have added the accompanying Gcode to my gcode header in PrusaSlicer 2.9.4

But when printing, the CoreOne does not execute said code and wipe the nozzle...

What am I doing wrong?

 

Posted : 07/12/2025 2:12 pm
jan.d.slay
(@jan-d-slay)
Eminent Member
RE: Customised Gcode header not executing

What am I doing wrong?

Can you please post your modified G-code online? Then we can check together to see if something might not be right.

My printables
Posted : 07/12/2025 2:24 pm
HainjeDAF
(@hainjedaf)
Eminent Member
Topic starter answered:
RE:
; ORIGINAL WIPER CODE commented out
;G29 P9 X208 Y-2.5 W32 H4

;
;NEW WIPER CODE
;Left Side gcode:
;
G0 X44 Y-15 Z1 F10000;
G0 X84 Y-15 Z1 F10000;
G0 X44 Y-15 Z1 F10000;
G0 X48 Y-12 Z0.5 F8000;
G0 X52 Y-15 Z0.5 F8000;
G0 X56 Y-12 Z0.5 F8000;
G0 X60 Y-15 Z0.5 F8000;
G0 X64 Y-12 Z0.5 F8000;
G0 X68 Y-15 Z0.5 F8000;
G0 X72 Y-12 Z0.5 F8000;
G0 X76 Y-15 Z0.5 F8000;
G0 X80 Y-12 Z0.5 F8000;
G0 X84 Y-15 Z1 F10000;
G0 X44 Y-15 Z1 F10000;
G0 X84 Y-15 Z1 F10000;

 

The G29 was original code. I commented out as said in description of wiper printable.

This post was modified 9 hours ago by HainjeDAF
Posted : 07/12/2025 3:01 pm
jan.d.slay
(@jan-d-slay)
Eminent Member
RE: Customised Gcode header not executing

Try this:

G0 X44 Y-15 Z1 F10000
G0 X84 Y-15 Z1 F10000
G0 X44 Y-15 Z1 F10000
G0 X48 Y-12 Z0.5 F8000
G0 X52 Y-15 Z0.5 F8000
G0 X56 Y-12 Z0.5 F8000
G0 X60 Y-15 Z0.5 F8000
G0 X64 Y-12 Z0.5 F8000
G0 X68 Y-15 Z0.5 F8000
G0 X72 Y-12 Z0.5 F8000
G0 X76 Y-15 Z0.5 F8000
G0 X80 Y-12 Z0.5 F8000
G0 X84 Y-15 Z1 F10000
G0 X44 Y-15 Z1 F10000
G0 X84 Y-15 Z1 F10000
My printables
Posted : 07/12/2025 3:30 pm
1 people liked
hyiger
(@hyiger)
Noble Member
RE:

 

Posted by: @hainjedaf

https://www.printables.com/model/1368525-core-one-nozzle-cleaner-arm

I have made the left side mounting version of this wiper arm.
Also I have added the accompanying Gcode to my gcode header in PrusaSlicer 2.9.4

But when printing, the CoreOne does not execute said code and wipe the nozzle...

What am I doing wrong?

 

You will need to move the print head manually using the UI controls to get the best set of coordinates. Also, if you are OCD you can add the following which will display "Wiping Nozzle" (or whatever you like) on the screen. 

;
;NEW WIPER CODE
;Left Side gcode:
;

M117 Wiping Nozzle

G0 X44 Y-15 Z1 F10000;
...
...

 

This post was modified 7 hours ago 2 times by hyiger
Posted : 07/12/2025 4:53 pm
1 people liked
HainjeDAF
(@hainjedaf)
Eminent Member
Topic starter answered:
RE:

Well, when I export gcode, I can find the code in my file.
When exporting binary gcode (.bgcode) i can't check.

 

And indeed my OCD itches so I added m300 and M117 to signal wether the wipe is being done

 

I'll first have to wait my current prints before testing this with a prime cube

This post was modified 7 hours ago by HainjeDAF
Posted : 07/12/2025 5:07 pm
1 people liked
jan.d.slay
(@jan-d-slay)
Eminent Member
RE: Customised Gcode header not executing

I would be interested to know whether it works.

My printables
Posted : 07/12/2025 6:05 pm
HainjeDAF
(@hainjedaf)
Eminent Member
Topic starter answered:
RE: Customised Gcode header not executing

Prusa GCode viewer shows the wiper action if you select 'paths' to show non-printing moves.

I tried this with the same project saved both as ASCII gcode and binary gcode (BGcode).

As soon as the printer is finished (0:15 CET according to display), I can send it a PETG or PLA project and test what happens.

Posted : 07/12/2025 7:36 pm
Share: