G-Code to pause a print so I could insert hardware in mid-print
 
Notifications
Clear all

G-Code to pause a print so I could insert hardware in mid-print  

  RSS
ckrusen
(@ckrusen)
Active Member
G-Code to pause a print so I could insert hardware in mid-print

I want to pause printing at an exact layer, so I can insert some hardware into the print.

Ideally I could add G-Code to do the following after completing the target layer:

1. Retract the nozzle (Z up)
2. Move nozzle such that print is moved forward
3.Wait here until some user input is provided. (are there user usable inputs on the control PCB?)
4. After I insert the hardware (simply drops into place - no force applied to print), I activate the input to resume printing
5. Return to the nozzle to the location it was prior to Step 1.
6. Resume the original G-Code

If the ability to resume after detecting user input, is not possible, then a fixed delay would be acceptable

I understand that I would need to make sure the inserted part wouldn't be in the path of any future tool movements.

Posted : 28/07/2018 8:29 pm
You liked
Milos V.
(@milos-v)
Prominent Member
Re: G-Code to pause a print so I could insert hardware in mid-print

Hi,
easy way is to use the color print function. You will mark the layer, where you want to place something inside as a change of fillament color. Extruder will move away, retract the filament and start to beep.
So you can place the part inside. Then you have to put the filament back and press the button. It will load the same filament again and continue to print.
I use it this way.

Milos.

Posted : 28/07/2018 9:07 pm
ckrusen
(@ckrusen)
Active Member
Topic starter answered:
Re: G-Code to pause a print so I could insert hardware in mid-print

Thanks Milo.

I've heard there can be problems if the filament isn't removed right away - that it can get a hardened blob on the end, and won't come out of the extruder feed.

Does it retract the "first" filament automatically? Or does it wait for user input? In other words, do I have to be at the ready when it does the filament change?

Posted : 30/07/2018 12:14 am
JoanTabb
(@joantabb)
Veteran Member Moderator
Re: G-Code to pause a print so I could insert hardware in mid-print

no and No

Hi Calvin
no it doesn't automatically retract the first filament, it waits for your attention. and beeps periodically to attract your attention.
if it waits too long, it cools the extruder but keeps the hotbed heated.
when You are ready, the screen tells you to push the button, if the extruder has cooled, it is heated, first, if it is already hot, the filament bis ejected and a beep alerts you to pull the filament out
it then checks the filament came out, and you press the button to continue.
this is when you would install your hardware.
if autoload is turned on, you can now autoload your filament. otherwise insert the filament and press the button to load...

the extruder will load your filament into a wastepile.... DO NOT REMOVE THIS PILE.
the display will ask you to confirm whether the load was successful, whether the colour is clear (uncontaminated) or not loaded, select the correct answer, if it is clear, grab the waste pile with your long nose pliers DO NOT PULL iT OFF...
press the button, and the extruder will pressurise the nozzel with an extra squirt of filament, then go back to the print... leaving all of the waste attached to your pliers... if you pull the waste off prematurely, the extra squirt will end up on your print somewhere, spoiling the finish
regards Joan

I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK

Posted : 30/07/2018 2:50 am
toaf
 toaf
(@toaf)
Noble Member
Re: G-Code to pause a print so I could insert hardware in mid-print

when the filament change kicks in. it sit and beeps until its changed. the nozzle seems to cool down but the bed stays hot (if your using it) ive had a print with a very low filament change position pause. and it got cooked from the heat bed. it was very thin. and im still kicking myself for now just waiting the extra 15 minutes.. but outside of the first 40 layers I don't think it would do anything

I have a Prusa,therefore I research.

Posted : 30/07/2018 5:26 am
Share: