Next under “Printer Settings > Custom G-code” I added a mix of special commands that I have seen others using that seem to work well with the M2. Under “Start G-code” I added these commands:
; start of custom G-code G90 ; use absolute coordinates G21 ; set units to millimeters G92 E0 ; reset extrusion distance M82 ; use absolute distances for extrusion G28 ; home the axes G92 X0 Y0 Z0 E0 ; tell the M2 that we're homed ; now extrude a bit of filament off the edge and wipe it off G1 F5000 Y30 X30 G1 X220 G1 F100 E10 ; end of custom G-code
For the “End G-code” I added these commands:
; start custom G-code M104 S0 ; turn off temperature M140 S0 ; turn of HBP G28 X0 ; home X axis G1 Y110 ; center Y axis G1 Z195 ; drop Z M107 ; turn off the bedfan M84 ; disable motors ; end custom G-code
Note: Custom G-code settings aren’t necessary for printing although they seem to make the process easier for the user.
|