Page 1 of 1

Print, Pause and resume Print

Posted: Sat May 31, 2014 7:55 pm
by Holy1
I would like to edit some gcode and have the nozzle move up and away from the model, pause for a couple of minutes and then resume. Is this possible? I am new to gcode so if someone with way more experienced could give me some sample entries to get me started it would be very much appreciated. I want to swap out a different color.

Thanks

Re: Print, Pause and resume Print

Posted: Sat May 31, 2014 9:12 pm
by McSlappy
You can pause using the pause button at the top left of Repetier. Once that happens you can press the up arrow button a few times to raise it as high as you'd like. Just remember your original Z height location since you'll need to lower the nozzle back down to that before you unpause
When you're ready to go again, drop the nozzle back down and press play. Done!

Re: Print, Pause and resume Print

Posted: Sat May 31, 2014 9:29 pm
by Holy1
Thanks, I had thought of that. However, I only use the sd card now and wanted to learn how to do it in the gcode.

Re: Print, Pause and resume Print

Posted: Sun Jun 01, 2014 8:18 pm
by Holy1
I figured it out.

Re: Print, Pause and resume Print

Posted: Sun Jun 01, 2014 8:46 pm
by McSlappy
So are you going to tell us? I'm curious ;)

Re: Print, Pause and resume Print

Posted: Sun Jun 01, 2014 10:18 pm
by Eaglezsoar
Not nice to leave us hanging, what was your solution?

Re: Print, Pause and resume Print

Posted: Tue Jun 03, 2014 6:34 pm
by Holy1
I just edited the gcode in notepad. Simplify 3d creates a nice little notation every time it starts a new layer so it is very easy to find where you might want to pause it and change filament. I entered code to make a sound for 5 seconds to signal the nozzle lift, did a G1 Z100 to raise the nozzle, a G4 P120000 to pause for 2 minutes ( figured that was enough time to swap filament and purge the first colour) and then a warning sound at 1 minute 45 seconds to indicate it was almost time to resume . Then the gcode started automatically and the nozzle resumed where it left off.
It was my first time editing gcode. It was cool to try and lo and behold it worked.

Re: Print, Pause and resume Print

Posted: Tue Jun 03, 2014 7:48 pm
by Captain Starfish
Nice first go.

Don't print anything higher than 100mm with that code though or you're up for some disappointment :)

One thing I like about MatterControl is that you have custom code fields for pause, resume and cancel as well as start and end job - so you could put a move command to lift and retract into the pause, and a prime and wipe into the resume command so it's ready to go.

Re: Print, Pause and resume Print

Posted: Tue Jun 03, 2014 8:40 pm
by Eaglezsoar
Holy1 wrote:I just edited the gcode in notepad. Simplify 3d creates a nice little notation every time it starts a new layer so it is very easy to find where you might want to pause it and change filament. I entered code to make a sound for 5 seconds to signal the nozzle lift, did a G1 Z100 to raise the nozzle, a G4 P120000 to pause for 2 minutes ( figured that was enough time to swap filament and purge the first colour) and then a warning sound at 1 minute 45 seconds to indicate it was almost time to resume . Then the gcode started automatically and the nozzle resumed where it left off.
It was my first time editing gcode. It was cool to try and lo and behold it worked.
Thanks for telling us how you did it.

Re: Print, Pause and resume Print

Posted: Wed Jun 04, 2014 11:56 am
by jmpreuss
This is one of the features of the sailfish firmware for MB printers that I miss not having. In sailfish you can set a z height during the print in the lcd panel and it will pause at that height and wait for you to hit resume (while lifting the print head away so it doesn't melt the print). I have been playing around with these pens (http://www.thingiverse.com/thing:131840) and that feature is great for inserting the pen part. Hopefully this type of functionality will be added at some point.