MK3 Retracts a ton a filament right before bed leveling
 
Notifications
Clear all

MK3 Retracts a ton a filament right before bed leveling  

  RSS
OldSalty3D
(@oldsalty3d)
Trusted Member
MK3 Retracts a ton a filament right before bed leveling

First off I would like to apologize if this has been discussed in another thread already. I did try searching for my issue prior to posting this thread, but had no luck.

The problem I'm having (and it's just a minor one) is that after replacing the filament, using the unload and load filament commands, the very next print the extruder will retract all of the filament that was just loaded. It then begins the bed leveling procedure. I'm assuming that this has something to do with the start script in my slicer settings. I'm becoming somewhat familiar with Gcode, but this problem still eludes me.

Here is my start script:

M115 U3.1.2-RC1 ; use the latest firmware version
M900 K30 ;For PLA and ABS
and Possibly PETG
;M900 K45 ;For PET
G28 W ; home all axes without mesh bed leveling
G80 ; run mesh bed leveling routine
G92 E0 ; reset extrusion distance
G1 Y-3.0 F1000.0 ; prepare to prime
G1 X100.0 E9.0 F1000.0 ; priming
;G1 X100.0 E12.5 F1000.0 ; priming

The retraction will happen before the home axes (G28) command occures. Looking at my start script I'm not seeing anything that tells the extruder to retract all of the filament that I just loaded.

I have discovered that if I press the reset button on the display console, after I reload filament, the retraction will not happen when I start a print. So after every filament load I just press the reset button.

I'm thinking that there has to be something amiss with my start script?

Any advice is greatly appreciated.

Thanks.

Napsal : 06/03/2018 8:54 am
thrawn86
(@thrawn86)
Honorable Member
Re: MK3 Retracts a ton a filament right before bed leveling

you're not using glossy or translucent filament are you? try disabling the filament sensor and autoloading entirely.

Napsal : 06/03/2018 4:50 pm
Petehagoras
(@petehagoras)
Eminent Member
Re: MK3 Retracts a ton a filament right before bed leveling

put a G92 E0 before the G28 W. That should solve your problem.
Additionally think about using relative Extrusion distances.

Explanation:

G28 homes ALL axes. whatever your printer did before, it probably did some extrusion, loading the filament counts as extrusion as well. so its at position 3215 or whatsoever, alternatively it just doesn't know where it is.....and it wants to home to 0. G92 E0 tells the Extruder its right on position 0 and no retraction has to be done for homing.

Greetings

Napsal : 06/03/2018 8:56 pm
OldSalty3D
(@oldsalty3d)
Trusted Member
Topic starter answered:
Re: MK3 Retracts a ton a filament right before bed leveling


you're not using glossy or translucent filament are you? try disabling the filament sensor and autoloading entirely.

Thanks for the suggestion, filament sensor has been disabled for a while now. My filament sensor is actually broken, somehow the little mirror on it got broken, working with Prusa Support now to see about getting replacement. 😀

Napsal : 06/03/2018 9:46 pm
OldSalty3D
(@oldsalty3d)
Trusted Member
Topic starter answered:
Re: MK3 Retracts a ton a filament right before bed leveling


put a G92 E0 before the G28 W. That should solve your problem.
Additionally think about using relative Extrusion distances.

Explanation:

G28 homes ALL axes. whatever your printer did before, it probably did some extrusion, loading the filament counts as extrusion as well. so its at position 3215 or whatsoever, alternatively it just doesn't know where it is.....and it wants to home to 0. G92 E0 tells the Extruder its right on position 0 and no retraction has to be done for homing.

Greetings

Thanks for the suggestion, I at one point did move the G92 E0 command so that it was infront of the G28 W, but that didn't seem to make a difference, it still did the retraction before bed leveling. I'll research how to use relative extrusion distances, and try that. I think I remember seeing something about that in the Gcode wiki page.

Napsal : 06/03/2018 9:49 pm
Petehagoras
(@petehagoras)
Eminent Member
Re: MK3 Retracts a ton a filament right before bed leveling

wow...thats weired then, didn't ecpect that. what slicer sre you using ?

Napsal : 06/03/2018 10:28 pm
OldSalty3D
(@oldsalty3d)
Trusted Member
Topic starter answered:
Re: MK3 Retracts a ton a filament right before bed leveling


wow...thats weired then, didn't ecpect that. what slicer sre you using ?

I'm using the latest version of simplify3d.

I just did a print trying to get it to do the retraction, so that I could catch it in the act, and try and get some gcode action to see what might be causing it. I started up Octoprint and went into terminal mode to watch what happens and this is what I got at the beginning of the print, right before it went into bed leveling.

ecv: File selected
Recv: ok
Send: M24
Recv: ok
Send: M27
[...]
Recv: 0 step=14 mscnt= 225
Recv: tmc2130_goto_step 0 13 2 1000
Recv: echo:busy: processing
Recv: echo:busy: processing
Recv: 0 step=18 mscnt= 296
Recv: tmc2130_goto_step 1 17 2 1000
Recv: echo:busy: processing
Recv: echo:busy: processing

Not quite sure what I'm looking at here, not sure what all of this means, hopefully you guys can help me out with that.

I did however put the command M83 command in my start script for Relative extruder mode. so my start script looked like this:

M115 U3.1.2-RC1 ; use the latest firmware version
;M900 K30 ;For PLA and ABS
and Possibly PETG
;M900 K45 ;For PET
M83 ; Set Extruder to relative mode
G92 E0 ; reset extrusion distance
G28 W ; home all axes without mesh bed leveling
G80 ; run mesh bed leveling routine
G1 Y-3.0 F1000.0 ; prepare to prime
G1 X100.0 E9.0 F1000.0 ; priming
G1 X100.0 E12.5 F1000.0 ; priming

I commented out the M900 commands because I noticed that the terminal view on Octoprint said "Unrecognizable command M900", so I thought it best to just comment it out for now, even though this command was in the original MK3 start script. Any how, when I ran my first print after making these changes (adding the M83, and G92 E0 before the G28 W cammand line) the extruder whent crazy trying to print a ton of filament on the first line. I had to shut it down in a hurry because extruder was knocking like crazy trying to spew out so much filament. I'm guessing it had something to do with the M83 command because it went back to working normally again once I took the M83 back out of the start script.

I'm back at square one though, even with the G92 E0 in front of the G28 W command line I'm still getting the huge retraction right before bed leveling after doing any sort of extrusion pryor to printing. Unless I hit the reset button first.

Napsal : 07/03/2018 6:13 am
Petehagoras
(@petehagoras)
Eminent Member
Re: MK3 Retracts a ton a filament right before bed leveling

could you plz post a pic of your Gcode tab in sf3d?

Napsal : 07/03/2018 7:57 am
dpetryga
(@dpetryga)
Eminent Member
Re: MK3 Retracts a ton a filament right before bed leveling


M115 U3.1.2-RC1 ; use the latest firmware version
M900 K30 ;For PLA and ABS
and Possibly PETG
;M900 K45 ;For PET
G28 W ; home all axes without mesh bed leveling
G80 ; run mesh bed leveling routine
G92 E0 ; reset extrusion distance
G1 Y-3.0 F1000.0 ; prepare to prime
G1 X100.0 E9.0 F1000.0 ; priming
;G1 X100.0 E12.5 F1000.0 ; priming

OK, first, before I offer a possible solution, I must ask, is this script entered into your slicer EXACTLY as you have posted here?

I say "possible solution" only because I'm not too familiar with GCode yet, but being a former programmer, I'm quite well versed in debugging.
If the above script is EXACTLY as you have posted it, then your problem is most likely with this line here:

and Possibly PETG

This line isn't denoted as a comment and it is possible the slicer is trying to interpret that as a line of GCode.

Try adding a semicolon in front of it or else delete the line break in front of it to bring it back up to the previous line and try it that way.

Napsal : 07/03/2018 7:57 am
Petehagoras
(@petehagoras)
Eminent Member
Re: MK3 Retracts a ton a filament right before bed leveling

I just read your post in the "OctoPrint issues" thread. If you don't have the problem when printing from the SD Card, I would say your Gcode / start code should be fine. I have no Octoprint available right now to check, maybe later. Is there anything in OP like a separate Script or initialisation process that could screw your Printstart ?

Napsal : 07/03/2018 8:38 am
Cipis
(@cipis)
Member
Re: MK3 Retracts a ton a filament right before bed leveling

1) missing M83 (extruder relative mode).
2) your lines "G1 X100.0 E9.0 F1000.0 ; priming" and "G1 X100.0 E12.5 F1000.0 ; priming" are not OK. Basically it is saying "extrude something on the way to the position X100 and then extrude something more on the same spot (X100) without moving.

Try this.

M115 U3.1.2-RC1 ; use the latest firmware version
M83 ; extruder relative mode
G28 W ; home all axes without mesh bed leveling
G80 ; run mesh bed leveling routine
G92 E0 ; reset extrusion distance
G1 Y-3.0 F1000.0 ; prepare to prime
G1 X60.0 E9.0 F1000.0 ; priming
G1 X100.0 E12.5 F1000.0 ; priming
G92 E0.0
M900 K30 ;For PLA and ABS and Possibly PETG
;M900 K45 ;For PET

Napsal : 07/03/2018 8:43 am
OldSalty3D
(@oldsalty3d)
Trusted Member
Topic starter answered:
Re: MK3 Retracts a ton a filament right before bed leveling

Thanks for everyone's help. I had completely missed the "and Possibly PETG" line not being commented out. And the two lines of G1 X100.0 E9.0 F1000.0, that was an error on my part when I posted that reply, I actually have a G1 X60.0 E9.0 F1000.0 line before the X100.0 line.

I've also been having other printing issues such as blobs at layer changes that I've been trying to work out. So, this morning I thought I would try Slic3r PE and see what results I get. I've been reluctant to do so because I'm not familiar with that slicer. I loved how the bundled prints from Prusa printed, and figured they were probably either sliced with Slic3r PE, or Prusa Control. Not only did my prints improve in quality when I used Slic3r, my problem with the retraction disappeared! I still like the options that Simplify3D has, so I will continue to trouble shoot my printing problems with that slicer, and I'll just copy over the start script from Slic3r.

Thanks again for everyone's help. 😀

Napsal : 07/03/2018 5:01 pm
OldSalty3D
(@oldsalty3d)
Trusted Member
Topic starter answered:
Re: MK3 Retracts a ton a filament right before bed leveling


I just read your post in the "OctoPrint issues" thread. If you don't have the problem when printing from the SD Card, I would say your Gcode / start code should be fine. I have no Octoprint available right now to check, maybe later. Is there anything in OP like a separate Script or initialisation process that could screw your Printstart ?

I've pretty much given up on Octoprint for the time being, and I may have had the retraction issue even when printing from the SD card. I hadn't noticed that it happened every time I had extruded filament right before printing. Even after all the firmware updates that are supposed to solve the problems with Octoprint I'm still having issues with it. I think it might be related to the data transfer speeds, I had a friend that was having some issues with his printer, and he noticed that his SD card he was using was an older SD card, and a much slower SD card. When he switched over to a newer class 10 SD card his print issues went away. When I was in the middle of a long print and using Octoprint, I witnessed it doing a massive layer shift. It made an awful knocking noise, and the X-axis went nuts! Then it started printing the next layer half a bed away! That's when I decided I was done with Octoprint.

My retraction issue has been solved, it was definitely in the start script of my slicer. When I switched over to using a different slicer that had a different start script my retraction issue went away, so I just copied over the start script into my other slicers.

Thanks for your suggestion though. 😀

Napsal : 07/03/2018 5:11 pm
Petehagoras
(@petehagoras)
Eminent Member
Re: MK3 Retracts a ton a filament right before bed leveling


[...] When I switched over to using a different slicer that had a different start script my retraction issue went away, so I just copied over the start script into my other slicers.

Thanks for your suggestion though. 😀

I#m using SF3D as well, and i'm very happy with it. If you'd like to take a shot with my settings i could provide you the FFF file

Napsal : 07/03/2018 8:26 pm
OldSalty3D
(@oldsalty3d)
Trusted Member
Topic starter answered:
Re: MK3 Retracts a ton a filament right before bed leveling



[...] When I switched over to using a different slicer that had a different start script my retraction issue went away, so I just copied over the start script into my other slicers.

Thanks for your suggestion though. 😀

I#m using SF3D as well, and i'm very happy with it. If you'd like to take a shot with my settings i could provide you the FFF file

Sorry, I just now saw your reply. I've been out at sea for the past few months, and I just now got around to checking the forums. Since I posted this thread I have been able to get simplify3d working to my liking. But thanks for your offer. 😀

Napsal : 24/06/2018 4:10 am
Share: