I've got a Monoprice Mini Select (15365) and it takes FOREVER for me to manually spin the dial to get the printhead to raise all the way up so that I can perform maintenance (clear blockages in the nozzle or apply new tape to the bed, etc).
So, I was thinking about writing a snippet of gcode that I could just run which would contain the commands necessary to do that for me. I'm a n00b to 3D printing, but I'm an old programmer so I figured it would be too hard. However, before running this code on my printer, I wanted to get some experts to double check me to make sure I'm not going to hurt anything. :)
Here is what I have, please let me know if I've done anything wrong or if you have any suggestions.
; Move print head to center and top to prepare for cleaning/maintenance
M107 ; fan off
G28 ; home all axes
G21 ; set units to millimeters
G90 ; use absolute coordinates
; full dimensions of the print area are 120mm x 120mm x 120mm
G0 X60 Y60 Z119 ; move to center X,Y and just below the max height
M84 ; disable motors
I grabbed a few lines from gcode generated by Slic3r and used the gcode wiki entry to understand each of the commands and fill in the extra ones I needed.