Gcode for material retraction and print end

Discussions about ideaMaker and other printing software.
3d4you
Posts: 21
Joined: Sat Jan 14, 2017 6:08 pm

Gcode for material retraction and print end

Postby 3d4you » Wed Jun 07, 2017 8:24 pm

Hi,
I would like to make the Printer retract the material after print Job in order to not clog the nozzle and to make filament changes easier. Could this be done via gcode commands at the end of the print Job? If yes, what command should be used?

RogerSt
Posts: 33
Joined: Mon Mar 21, 2016 12:24 pm

Re: Gcode for material retraction and print end

Postby RogerSt » Thu Jun 08, 2017 5:03 am

Hi 3d4you

G10 or G22 is your friend
Here you find all G Codes
Look at:http://reprap.org/wiki/G-code

Here are my start and endscript with comment.
Startscript
M92 E415 ; eSteps for BondTec Extruder
M221 T0 S100 ; Set extrude factor override percentage
G28 ; Move to Origin (Home)
G1 Z15.0 F9000.00 ; Move Z
G92 E0 ; Set Position (Xnnn new X axis position, Ynnn new Y axis position, Znnn new Z axis position, Ennn new extruder position)
G1 E25 F200 ; Ennn The amount to extrude between the starting point and ending point
G1 Z0 F130 ; Move Z
G92 E0 ; Set Position (Ennn new extruder position)
M117 Printing. ; Display Message
M1001 ;

Endscript
M107 ; Fan off
M1002
M104 S0 T1 ; Set Extruder Temperature
M104 S0 T0 ; Set Extruder Temperature
M140 S0 ; Set Bed Temperature (Fast)
M117 Print Complete. ; Display Message
G28 X0 Y0 ; Move to Origin (Home)
G91 ; Set to Relative Positioning
G1 Z10 ; Move Z (10 mm down)
G90 ; Set to Absolute Positioning
M84 ; Stop idle hold
Raise3D N2 Plus


Return to “Software”

Who is online

Users browsing this forum: No registered users and 0 guests