How to change the default pause settings?

I’m running prints pretty much continuously on a few P1S printers, and things are going okay, but the length of print leads to nozzle buildup. I’d like to be able to hit pause and have the nozzle come to the front of the case to be manually brushed. I know you can insert gcode at the start of certain layers to give the nozzle a wipe, and I will set up a brass wire brush in place of the current wiper for self-cleaning, but I would also like the option to clean it myself. The problem is I can’t seem to be able to alter the rest location when the pause button is hit (It always goes to the back of the case). I attached an image of my changes to the pause gcode in machine settings in OrcaSlicer. Any advice would be greatly appreciated!

There is a thread about doing exactly this.

1 Like

That G1 line is the move command with the target coordinates. You can change the coordinates and/or add additional movements.

But you may want to reconsider before going in this direction. PETG is notorious for sticking to the nozzle.

But cleaning it repeatedly does not actually address the root cause.

You’d probably like to first look into some basic PETG printing tips (avoid crossing infills and surface patterns, dry it, avoid curling by having a warm chamber, use cooling settings from the Generic PETG Profile, use the Arachne wall generator, consider slowing down from defaults) and play a little with the Filament Setting overrides such as Wipe while retracting and Wipe distance (default 2mm).

Awesome, thank you. Honestly spent a few hours tinkering/looking for a thread on it but somehow didn’t come across this one.

Edit: Sorry, I actually did look at that thread for a while, and it helped me set up spaced “auto-cleaning,” but I still can’t seem to manually press pause and bring the head to the front. The only reason its important to me is that I can’t access the printers outside of work hours, and would like to be able to clean them quickly by hand when necessary.

I’ve tried a few of those - the filament is stored on a sealed shelf with fans/silica that sits around 15% humidity, I’ve slowed the print, altered cooling settings, the case is warm, and a handful of other changes. Though this all had to do with increasing print quality (was getting a lot of artifacts). Will look into some more of this, thanks!

1 Like

Looking at your code part of the issue I think is that the M400 and U1 have to be together on the same line as the U1 specifies what the M400 does.

You can’t change where the M400 U1 parks but you can use it to pause till you are in front of the machine and then, move the nozzle to the front and delay a certain amount of time (for you to clean it) and then resume printing.

Example:

M400 U1 ; Pause print and wait for interaction
G0 X128 Y0 ; Bring nozzle to the front (rapid)
M400 S30 ; Pause for 30 seconds
G28 X Y ; Home the X and Y axes in case they were upset

FYI - A great Bambu reference for gcode can be found here.

The pause gcode section is only for manually inserted pauses when you slice the model. It will not add to the “pause” cycle from the printer/slicer/handy while printing.

1 Like

Ah, that’s what had me confused. So there is no way to physically press pause on a print and have it do anything other than the standard pause procedure. Will try to work around that, thank you very much! I will still incorporate the auto-clean procedure as you described here:

There is not. It’s baked into the firmware.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.