cancel_gcode=G91; Set to Relative position\nG1 Z3 E-3; move z axis up\nG28; home axis\nG92 E0; zero the extruded length\nG1 F250 E-16; Retract filament from barrel\nG92 E0; zero the extruded length again\nG90; Set to Absolute position\nM104 S0; turn off temperature\nM140 S0; turn off heated bed\nM106 S0; Turn off fan\nM18;\nM117 Look...awesome!; Put message on LCD screen
end_gcode=G91; Set to Relative position\nG1 Z3 E-3; move z axis up\nG28 ; home axis\nG92 E0; zero the extruded length\nG1 F250 E-16; Retract filament from barrel\nG92 E0; zero the extruded length again\nG90; Set to Absolute position\nM104 S0 ; turn off temperature\nM140 S0 ; turn off heated bed\nM106 S0 ; Turn off fan\nM18;\nM117 Look...awesome! ; Put message on LCD screen
start_gcode=;Me3D - startup sequence - Me2 (G5,G6,G7) Build 30/08/14\n;Remove the ";" to activate any line\n;MAKE SURE YOU KNOW WHAT EACH LINE DOES BEFORE YOU CHANGE IT!!! The Me2 is 100% hackable and so has limited physical protection from errors in the g-code\n;M501\n;M500\n;M190 S[bed_temperature] ; // Uncomment to add your own bed temperature line\nM104 S[temperature] ; // Start heater and continue g-code\nG21 ; // set units to millimeters\n;M92 E106.707 ; // Set E-Steps\n;M92 X80 ; // Set X Steps\n;M92 Y80 ; // Set Y Steps\n;M92 Z80 ; // Set Z Steps\nM201 X3000 Y3000; // max accel print\nM202 X3000 Y3000; // max accel travel\nM205 X15; // max xyjerk mm/s\nM208 X200 Y200 Z200; // set build size\n;M17 X Y Z; // Enable motors\nG91; // Relative position\nG1 Z10; // clear bed \nG90 ; // ABS position\nG28; // home axes\nG29; // perform auto levelling at three corners\nM82 ; // use absolute distances for extrusion\nG1 Z15 F4000; // Raise Z axis clear\nG1 X-5 F4000; // Move to X axis zero\nG1 Y0 F4000;\nG92 E0; // zero the extruded length\nM109 S[temperature]; // Set print temperature and wait\nG1 F50 E30; // extrude feed stock to prime hotend barrel and purge\nG92 E0; // zero the extruded length again\nM117 Awesome!!! // Put message on LCD screen