User Tools

Site Tools


invert_motor_direction

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
Last revision Both sides next revision
invert_motor_direction [2019/04/02 07:50]
Matthew Upp
invert_motor_direction [2020/02/03 22:31]
Matthew Upp
Line 29: Line 29:
 Reboot printer to complete the process (turn off, then on) Reboot printer to complete the process (turn off, then on)
 </​code>​ </​code>​
- 
  
 ===== Z-Axis ===== ===== Z-Axis =====
Line 37: Line 36:
 Reboot printer to complete the process (turn off, then on) Reboot printer to complete the process (turn off, then on)
 </​code>​ </​code>​
-\\ 
  
 ---- ----
 +
 +\\
  
 ===== Gcode Files ===== ===== Gcode Files =====
Line 46: Line 46:
 ==== M562 E ==== ==== M562 E ====
 <file gcode invert_extruder.gcode>​ <file gcode invert_extruder.gcode>​
-; G-Code generated by Matthew Upp +; G-Code generated by Matthew Upp of GigDigit.com 
-; Invert Extruder +; 
-Possibly helpful if you need to invert ​the extruder after switching to a different type extruder/​feed mechanism +; Invert Extruder ​Motor Direction 
-for Malyan M200 MP Select Mini +; 
-+; This gcode file will work with the following 3D printers: 
 +; Malyan ​- M100, M200, M300, M310, M320, MA10, MA10 Mini 
 +; Monoprice - MP10, MP10 Mini, MP Mini Delta, ​MP Select Mini 
 +
 +
 +; This file is much longer than it needs to be but is like this to  
 +; show what is going on. 
 +
 +; If when "​printing"​ this file it does not show as completed on the  
 +; display but the fan pulsed on and off a few times then the invert  
 +; command was successfully ran and saved. You can turn the printer  
 +; off and on to make sure the setting was saved. 
 +;
 ; Lines with only a semicolon are for making line separations only. ; Lines with only a semicolon are for making line separations only.
 ; Please add a blank line to the end of the file while editing. ; 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  ; 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.  +; g-code files typically ​end with a single blank line at the end.  
-; (It is not a big deal if you don't add the line at the end.) +; (It is not a big deal if you don't add the blank line.)
-+
  
 +;
 +; BEGIN
 M107 ; turn fan off in case it was already on M107 ; turn fan off in case it was already on
 M106 S237 ; turn fan on to signify start M106 S237 ; turn fan on to signify start
-;  +
- +; 
 +; The next two lines are the only actual commands that are needed to 
 +; invert the extruder motor direction and save.
 M562 E ; invert extruder M562 E ; invert extruder
-M500 ; save currently loaded settings ​to EEPROM +M500 ; save the setting ​to EEPROM 
-+
 +
 +; PULSE FAN TO SIGNIFY COMPLETION 
 +M107 ; turn fan off 
 +G4 S1 ; wait 1 second 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +;
 ; ;
-M400 ; wait for current moves to finish+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
 +; END
  
 </​file>​ </​file>​
Line 75: Line 124:
 ==== M562 X ==== ==== M562 X ====
 <file gcode invert_x-axis.gcode>​ <file gcode invert_x-axis.gcode>​
-; G-Code generated by Matthew Upp +; G-Code generated by Matthew Upp of GigDigit.com 
-; Invert X-Axis  +; 
-for Malyan M200 MP Select Mini +; Invert X-Axis ​Motor Direction 
-+
 +; This gcode file will work with the following 3D printers: 
 +; Malyan ​- M100, M200, M300, M310, M320, MA10, MA10 Mini 
 +; Monoprice - MP10, MP10 Mini, MP Mini Delta, ​MP Select Mini 
 +
 +; This file is much longer than it needs to be but is like this to  
 +; show what is going on. 
 +
 +; If when "​printing"​ this file it does not show as completed on the  
 +; display but the fan pulsed on and off a few times then the invert  
 +; command was successfully ran and saved. You can turn the printer  
 +; off and on to make sure the setting was saved. 
 +;
 ; Lines with only a semicolon are for making line separations only. ; Lines with only a semicolon are for making line separations only.
 ; Please add a blank line to the end of the file while editing. ; 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  ; 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.  +; g-code files typically ​end with a single blank line at the end.  
-; (It is not a big deal if you don't add the line at the end.) +; (It is not a big deal if you don't add the blank line.) 
-;  +
-+; 
 +; BEGIN
 M107 ; turn fan off in case it was already on M107 ; turn fan off in case it was already on
 M106 S237 ; turn fan on to signify start M106 S237 ; turn fan on to signify start
 ; ;
 ; ;
-M562 X ; invert ​X-Axis +; The next two lines are the only actual commands that are needed to 
-M500 ; save currently loaded settings to EEPROM+; invert the X-axis motor direction and save. 
 +M562 X ; invert ​x-axis 
 +M500 ; save currently loaded settings to eeprom 
 +;END
 ; ;
 ; ;
-G28 X home X to verify the X-axis is inverted +PULSE FAN TO SIGNIFY COMPLETION 
-G1 X60 F1000 move X-Axis to center of the bed to signify completion +M107 turn fan off 
-M400 ; wait for current moves to finish+G4 S1 ; wait 1 second 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +
 +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
 +; END
  
 </​file>​ </​file>​
Line 105: Line 202:
 ==== M562 Y ==== ==== M562 Y ====
 <file gcode invert_y-axis.gcode>​ <file gcode invert_y-axis.gcode>​
-; G-Code generated by Matthew Upp +; G-Code generated by Matthew Upp of GigDigit.com 
-; Invert Y-Axis  +; 
-for Malyan M200 MP Select Mini +; Invert Y-Axis ​Motor Direction 
-+
 +; This gcode file will work with the following 3D printers: 
 +; Malyan ​- M100, M200, M300, M310, M320, MA10, MA10 Mini 
 +; Monoprice - MP10, MP10 Mini, MP Mini Delta, ​MP Select Mini 
 +
 +; This file is much longer than it needs to be but is like this to  
 +; show what is going on. 
 +
 +; If when "​printing"​ this file it does not show as completed on the  
 +; display but the fan pulsed on and off a few times then the invert  
 +; command was successfully ran and saved. You can turn the printer  
 +; off and on to make sure the setting was saved. 
 +;
 ; Lines with only a semicolon are for making line separations only. ; Lines with only a semicolon are for making line separations only.
 ; Please add a blank line to the end of the file while editing. ; 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  ; 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.  +; g-code files typically ​end with a single blank line at the end.  
-; (It is not a big deal if you don't add the line at the end.) +; (It is not a big deal if you don't add the blank line.) 
-;  +
-+; 
 +; BEGIN
 M107 ; turn fan off in case it was already on M107 ; turn fan off in case it was already on
 M106 S237 ; turn fan on to signify start M106 S237 ; 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 +; The next two lines are the only actual commands that are needed ​to 
-M400 ; wait for current moves to finish+; invert ​the Y-axis ​motor direction and save. 
 +M562 ; invert y-axis 
 +M500 ; save currently loaded settings ​to eeprom 
 +;END 
 +
 +
 +; PULSE FAN TO SIGNIFY COMPLETION 
 +M107 ; turn fan off 
 +G4 S1 ; wait 1 second 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +
 +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
 +; END
  
 </​file>​ </​file>​
Line 135: Line 280:
 ==== 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 of GigDigit.com 
-; Invert Z-Axis +; 
-; Possibly helpful if you need to invert the Z-axis after switching to a NEMA 17 motor and lead screw +; Invert Z-Axis ​Motor Direction 
-for Malyan M200 & MP Select Mini +
-+; This gcode file will work with the following 3D printers: 
 +; Malyan - M100, M200, M300, M310, M320, MA10, MA10 Mini 
 +; Monoprice - MP10, MP10 Mini, MP Mini Delta, MP Select Mini 
 +; 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 
 +
 +; This file is much longer than it needs to be but is like this to  
 +; show what is going on. 
 +
 +; If when "​printing"​ this file it does not show as completed on the  
 +; display but the fan pulsed on and off a few times then the invert  
 +; command was successfully ran and saved. You can turn the printer  
 +; off and on to make sure the setting was saved. 
 +;
 ; Lines with only a semicolon are for making line separations only. ; Lines with only a semicolon are for making line separations only.
 ; Please add a blank line to the end of the file while editing. ; 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  ; 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.  +; g-code files typically ​end with a single blank line at the end.  
-; (It is not a big deal if you don't add the line at the end.) +; (It is not a big deal if you don't add the blank line.) 
-;  +
-+; 
 +; BEGIN
 M107 ; turn fan off in case it was already on M107 ; turn fan off in case it was already on
 M106 S237 ; turn fan on to signify start M106 S237 ; 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 +; The next two lines are the only actual commands that are needed ​to 
-M400 ; wait for current moves to finish+; invert ​the Z-axis ​motor direction and save. 
 +M562 Z invert ​Z-axis 
 +M500 ; save currently loaded settings ​to eeprom 
 +;END 
 +
 +
 +; PULSE FAN TO SIGNIFY COMPLETION 
 +M107 ; turn fan off 
 +G4 S1 ; wait 1 second 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +
 +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
 +; END
  
 </​file>​ </​file>​
 +
  
  
invert_motor_direction.txt · Last modified: 2020/02/05 04:18 by Matthew Upp