General G-Code Question 4 the Experts

Have questions or comments about Simplify3D, Slic3r, Cura, Reptier, etc? Or wondering about which CAD software to use...discuss it here...
Post Reply
User avatar
Jules
Posts: 3144
Joined: Wed Jan 21, 2015 1:36 am

General G-Code Question 4 the Experts

Post by Jules » Sun Apr 03, 2016 11:13 pm

Question for you G-code guys......I'm trying to eliminate the post-print drip that always forms on the nozzle without people having to remember to wipe it off.....it's a potential scrape issue with the new printer setup - the nozzles on the duals are set at the same height, and PETG is pretty oozy for a while afterwards.

Jin, I saw this in one of your old Wiper scripts....this should handle retraction, right? Or should I just use M102 whatever? Tim? Jim? Ed? Anybody else use one for that?

G92 E0
G1 E-6 F1600
G92 E0


Just want to pull it back up out of the way before shutting it down.

Thanks guys. :D

User avatar
Matt_Sharkey
Posts: 347
Joined: Mon Oct 20, 2014 3:10 pm

Re: General G-Code Question 4 the Experts

Post by Matt_Sharkey » Sun Apr 03, 2016 11:28 pm

I have mine set to retract 5mm on my end script and it still manages to ooze. it means less for me since I only have a single extruder, I dont know what can be done about petg oozing on a dual setup though.

jsc
Posts: 1864
Joined: Thu Apr 10, 2014 4:00 am

Re: General G-Code Question 4 the Experts

Post by jsc » Sun Apr 03, 2016 11:56 pm

Here's my current finishing g-code, with comments:

Code: Select all

M104 S0 T1 ; turn off right extruder
M104 S0 T0 ; turn off left extruder
M140 S0 ; turn off bed
G91 ; relative mode
G1 Z10 E-10 ; lift 10mm while retracting
G90 ; absolute mode
G1 X100 F9600 ; center extruder
M84 ; disable motors
M106 S0 ; turn off fan
I only center the extruder before dropping the bed because my wire management consists of draping loose loops of wires behind and over things, and I don't want it to get wrapped around the z-knob as it spins.

User avatar
ednisley
Posts: 1188
Joined: Fri Apr 11, 2014 5:34 pm
Location: Halfway up the Hudson
Contact:

Re: General G-Code Question 4 the Experts

Post by ednisley » Mon Apr 04, 2016 12:09 am

Jules wrote:this should handle retraction, right?
Yup, but the nozzle will still drip.

Normal retraction (of 1 mm or so) depressurizes the hot end and reduces the flow rate enough that the nozzle can get from here to there without dribbling.

That also happens at the end of the print, before your ending G-Code gets control, so the drip you see happens after a normal retraction.

Retracting 6 mm, as in your code, will form an air bubble inside the nozzle, but the hot end walls will still be covered with molten plastic that oozes downward. As the air bubble heats up, it will push plastic out of the nozzle to form a blob. Retracting even more will enlarge the air bubble, with plastic still remaining on the walls. I think you can reduce it, but not eliminate it enough to make a difference.

I've tweaked the startup routine for my (single) M2 to maneuver the (possibly cold) extruder to the front edge of the platform, heat it, then scrape the blob off on the edge of the glass:
http://softsolder.com/2015/03/31/makerg ... -whatever/

Image

As a result, I just wipe carbonized PETG off the sides of the nozzle while it's heating, if there's enough gunk to matter, and don't worry about bumping a cold plastic blob on the glass.

Perhaps you could do something like that with the dual + probe machinery? During the startup routine, move forward to the front edge, heat both extruders, wipe them clean, then proceed with platform probing and suchlike?

Lacking a mechanical valve at the nozzle, there's no way to prevent a hot bucket of goo from leaking through the hole in its bottom... [sigh]

User avatar
Jules
Posts: 3144
Joined: Wed Jan 21, 2015 1:36 am

Re: General G-Code Question 4 the Experts

Post by Jules » Mon Apr 04, 2016 12:12 am

Super! Thank you gentlemen! :D

(And I realize that was probably too brief an answer, but a gal pal of mine was chewing my ear off on the phone while I was trying to type.....I'll take a closer look and see if there is anything from all of that handy info that I can put to use for the newbies. ) :)

User avatar
Jules
Posts: 3144
Joined: Wed Jan 21, 2015 1:36 am

Re: General G-Code Question 4 the Experts

Post by Jules » Mon Apr 04, 2016 2:04 am

Oh crudsies.....you're all correct....it still oozes a bit.....it's better, but it still comes out some. (Well that's probably the best I'm going to be able to get, and it's probably enough to keep from whacking the print with the inactive nozzle drip. I'll drop in a little "vertical jump on retraction" too, just to be on the safe side.) It's a shame I can't just wipe it while the nozzle's still hot, but i'd knock the print off.

And Ed....that is the most entertaining "comments" selection i've ever read.....having to fight with myself to keep from going in and changing all of mine to ".....and then you trail snot across the plate". :lol:

Thanks fellas! :D

User avatar
ednisley
Posts: 1188
Joined: Fri Apr 11, 2014 5:34 pm
Location: Halfway up the Hudson
Contact:

Re: General G-Code Question 4 the Experts

Post by ednisley » Mon Apr 04, 2016 2:47 am

Jules wrote:the most entertaining "comments"
Just tellin' it like it is ... [grin]

User avatar
PcS
Posts: 667
Joined: Mon Mar 09, 2015 12:19 pm
Location: Michigan

Re: General G-Code Question 4 the Experts

Post by PcS » Mon Apr 04, 2016 12:27 pm

If you start to pre heat an m2 that has the retraction of 10 or 20 at print end it usually takes at least ten minutes , but usually more for my setup. At least with my machine if I wipe it after the machine heats it is all good. It has burned out the filament during pre heat.

User avatar
Jules
Posts: 3144
Joined: Wed Jan 21, 2015 1:36 am

Re: General G-Code Question 4 the Experts

Post by Jules » Mon Apr 04, 2016 5:45 pm

Well, i finally got it going fairly well, but i had to make a couple of changes to the script...it does work, but it's more wasteful than i like....

That bubble does form in the nozzle after the 10mm ending retraction, causing the PETG to consistently stick at the top when doing the next purge....impossible to scrape off unless you up the purge to 60mm of filament and slow the wipe speed down to F600. So far, in testing, that amount seems to weight it down enough that the larger glob generally falls off to the side before the wipe.

It solves the buildup problem on the inactive nozzle for single filament prints though, which was the initial goal.....nothing ever comes easily does it? :lol:

Anyway, thanks again for all the help guys! This will have to do.

Post Reply