Okay, I removed M82 from start and end. And I removed M104, M140, and M107 from endcode.
Z drifting down because of M84 doesn't matter, the bed will just go down (Sapphire Pro, CoreXY) and away from the nozzle.
The thing is, when that gcode ends, the printer retracts the filament almost 1 meter! And I don't know why...
Recommended Posts
GregValiant 988
There is no need for M82 in your start or end gcode because Cura always adds it. If you are in relative mode the M83 will be added after the start gcode. The M82's might be redundant, but it doesn't hurt anything.
I would say the same applies to the M104, M140, and M107. You don't need them in your end gcode as Cura is going to add them. It is a way for Cura to make sure certain things happen without the need to slow the whole process by parsing everybody's start and end gcode for particular lines. In the case of M84 - many people prefer M84 X Y E so that the Z doesn't drift down and the still-hot nozzle hit the print.
What I do like to add to my start and end gcode is M221 S100 and M220 S100. If I abort a print that I happened to manually tune, the restart will reset the feed and flow rates. If a print finishes that I happened to tune while it was running, it will reset at the end. It might seem like belts and suspenders, but it works for me.
The line "G1 F3600 E3346.6678" is likely the last retraction in the file. If you look above that line for the next E value, you should see that the difference between the two E values is your retract distance.
Link to post
Share on other sites