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
Print, Pause and resume Print
Print, Pause and resume Print
Orion to Cartesian http://forum.seemecnc.com/viewtopic.php?f=59&t=7808" onclick="window.open(this.href);return false;
-
- Printmaster!
- Posts: 800
- Joined: Wed Dec 11, 2013 9:11 pm
- Location: Queensland, Australia
- Contact:
Re: Print, Pause and resume Print
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!
When you're ready to go again, drop the nozzle back down and press play. Done!
I loved my Rostock so much I now sell them in Oz 

Re: Print, Pause and resume Print
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.
Orion to Cartesian http://forum.seemecnc.com/viewtopic.php?f=59&t=7808" onclick="window.open(this.href);return false;
Re: Print, Pause and resume Print
I figured it out.
Orion to Cartesian http://forum.seemecnc.com/viewtopic.php?f=59&t=7808" onclick="window.open(this.href);return false;
-
- Printmaster!
- Posts: 800
- Joined: Wed Dec 11, 2013 9:11 pm
- Location: Queensland, Australia
- Contact:
Re: Print, Pause and resume Print
So are you going to tell us? I'm curious 

I loved my Rostock so much I now sell them in Oz 

- Eaglezsoar
- ULTIMATE 3D JEDI
- Posts: 7159
- Joined: Sun Apr 01, 2012 5:26 pm
Re: Print, Pause and resume Print
Not nice to leave us hanging, what was your solution?
“ Do Not Regret Growing Older. It is a Privilege Denied to Many. ”
Re: Print, Pause and resume Print
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.
It was my first time editing gcode. It was cool to try and lo and behold it worked.
Orion to Cartesian http://forum.seemecnc.com/viewtopic.php?f=59&t=7808" onclick="window.open(this.href);return false;
- Captain Starfish
- Printmaster!
- Posts: 950
- Joined: Tue Dec 10, 2013 5:24 am
Re: Print, Pause and resume Print
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.
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.
- Eaglezsoar
- ULTIMATE 3D JEDI
- Posts: 7159
- Joined: Sun Apr 01, 2012 5:26 pm
Re: Print, Pause and resume Print
Thanks for telling us how you did it.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.
“ Do Not Regret Growing Older. It is a Privilege Denied to Many. ”
Re: Print, Pause and resume Print
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.
PTMNBN="Printer that must not be named" - a heavily upgraded Replicator 2