; G-Code generated by Matthew Upp ; Sets the steps per unit(mm) for machines that have 1/8th stepper drivers ; for Malyan M200, MP Select Mini, etc... ; ; This file is much longer than it needs to be but may help to explain what is going on. ; Lines with only a semicolon are for making line separations only ; Please add a blank line to the end of the file before saving to the microSD card. 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. ; ; M106 S0 ; turn fan off in case it was already on M106 S245 ; turn fan on to signify start ; ; M92 X46.50 Y46.50 Z548.75 E48.50 ; this line and the next is really all that is needed M500 ; this saves the new values to EEPROM - this line and the previous is really all that is needed ; ; G28 ; home all axes G1 Z5 ; raise Z-axis 5mm G1 X60 Y60 F1000 ; Move X and Y axis to center of build area to verify the correct steps per mm was used ; ; M107 ; turn fan off to signify completion M84 ; disable motors M0 S2 ; wait 2 seconds ;