0% found this document useful (0 votes)
538 views1 page

Anet A8 Gcode

This document contains start and end G-code for 3D printing. The start code sets the printer to metric units, absolute positioning, heats the extruder and bed, homes the axes, lowers the print platform, zeros the extruder position, extrudes a small amount of filament, and displays a message that printing has started. The end code turns off the extruder and bed heaters, retracts the filament, lifts the print head away from the platform, homes the axes again, and turns off the stepper motors.

Uploaded by

Mohd Fauzi Zanil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
538 views1 page

Anet A8 Gcode

This document contains start and end G-code for 3D printing. The start code sets the printer to metric units, absolute positioning, heats the extruder and bed, homes the axes, lowers the print platform, zeros the extruder position, extrudes a small amount of filament, and displays a message that printing has started. The end code turns off the extruder and bed heaters, retracts the filament, lifts the print head away from the platform, homes the axes again, and turns off the stepper motors.

Uploaded by

Mohd Fauzi Zanil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Start G Code

G21 ;metric values


G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F9000 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F9000;Put printing message on LCD screen
M117 Printing..0

End G Code

M104 S0 ;extruder heater off


M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning

You might also like