User Tools

Site Tools


extended_g-code_table

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
extended_g-code_table [2018/09/15 07:51]
Matthew Upp
extended_g-code_table [2018/12/22 04:16] (current)
Matthew Upp
Line 103: Line 103:
 Reboot printer to complete the process Reboot printer to complete the process
 </​code>​ </​code>​
 +
 +
 +==== M562 X ====
 +<file gcode invert_X-axis.gcode>​
 +; G-Code generated by Matthew Upp
 +; Invert X-Axis ​
 +; 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 X ; invert X-Axis
 +M500 ; save currently loaded settings to EEPROM
 +;
 +;
 +G28 X ; home X to verify the X-axis is inverted
 +G1 X60 F1000 ; Move X-Axis to center of the bed to signify completion
 +M400 ; Wait for current moves to finish
 +M107 ; turn fan off to signify completion
 +M84 ; disable motors
 +</​file>​
 +
 +
 +==== M562 Y ====
 +<file gcode invert_y-axis.gcode>​
 +; G-Code generated by Matthew Upp
 +; Invert Y-Axis ​
 +; 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 Y ; Invert Y-Axis
 +M500 ; Save currently loaded settings to EEPROM
 +
 +;
 +G28 Y ; home Y to verify the Y-axis is inverted
 +G1 Y60 F1000 ; Move Y-Axis to center of the bed to signify completion
 +M400 ; Wait for current moves to finish
 +M107 ; turn fan off to signify completion
 +M84 ; disable motors
 +</​file>​
 +
  
 ==== M562 Z ==== ==== M562 Z ====
 <file gcode invert_z-axis.gcode>​ <file gcode invert_z-axis.gcode>​
 ; G-Code generated by Matthew Upp ; G-Code generated by Matthew Upp
-; Invert Z-Axis ​+; 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 ; for Malyan M200 & MP Select Mini
  
Line 114: Line 168:
  
  
-M106 S1 ; turn fan off in case it was already on +M107 ; turn fan off in case it was already on
-M0 S2 ; wait 2 seconds+
 M106 S245 ; turn fan on to signify start M106 S245 ; turn fan on to signify start
  
Line 125: Line 178:
 G28 Z ; home Z to verify the Z-axis is inverted G28 Z ; home Z to verify the Z-axis is inverted
 G1 Z10 F1000 ; Move Z-Axis up 10mm to signify completion 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 M107 ; turn fan off to signify completion
 M84 ; disable motors M84 ; disable motors
-M0 S2 ; wait 2 seconds 
-; 
-; You may need to reboot the printer to complete the process 
 </​file>​ </​file>​
  
extended_g-code_table.1536997910.txt.gz · Last modified: 2018/09/15 07:51 by Matthew Upp