; G-Code generated by Matthew Upp ; Invert Z-Axis ; Possibly helpful if you need to invert the Z-axis after switching to a NEMA 17 motor and lead screw ; for Malyan M200 & MP Select Mini ; ; Lines with only a semicolon are for making line separations only ; Please add a blank line to the end of the file while editing. DokuWiki Code Blocks deletes blank lines at the end of the block but g-code files should end with a single blank line at the end. ; ; M107 ; turn fan off in case it was already on M106 S245 ; turn fan on to signify start ; ; M562 Z ; Invert Z-Axis M500 ; Save currently loaded settings to EEPROM ; ; G28 Z ; home Z to verify the Z-axis is inverted G1 Z10 F1000 ; Move Z-Axis up 10mm to signify completion M400 ; Wait for current moves to finish M107 ; turn fan off to signify completion M84 ; disable motors