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
invert_motor_direction [2018/12/22 04:21]
Matthew Upp
invert_motor_direction [2019/04/02 07:51] (current)
Matthew Upp
Line 9: Line 9:
 ===== Extruder ===== ===== Extruder =====
 <​code>​ <​code>​
-M562 E                ;Inverts Extruder/​Feeder Mechanism motor direction +M562 E     ​; Inverts Extruder/​Feeder Mechanism motor direction 
-M500                  ;Saves changes to EEPROM+M500       ​; Saves changes to EEPROM
 Reboot printer to complete the process (turn off, then on) Reboot printer to complete the process (turn off, then on)
 </​code>​ </​code>​
Line 17: Line 17:
 ===== X-Axis ===== ===== X-Axis =====
 <​code>​ <​code>​
-M562 X                ;Inverts X-Axis motor direction +M562 X     ​; Inverts X-Axis motor direction 
-M500                  ;Saves changes to EEPROM+M500       ​; Saves changes to EEPROM
 Reboot printer to complete the process (turn off, then on) Reboot printer to complete the process (turn off, then on)
 </​code>​ </​code>​
Line 25: Line 25:
 ===== Y-Axis ===== ===== Y-Axis =====
 <​code>​ <​code>​
-M562 Y                ;Inverts Y-Axis motor direction +M562 Y     ​; Inverts Y-Axis motor direction 
-M500                  ;Saves changes to EEPROM+M500       ​; Saves changes to EEPROM
 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 =====
 <​code>​ <​code>​
-M562 Z                ;Inverts Z-Axis motor direction +M562 Z     ​; Inverts Z-Axis motor direction 
-M500                  ;Saves changes to EEPROM+M500       ​; Saves changes to EEPROM
 Reboot printer to complete the process (turn off, then on) Reboot printer to complete the process (turn off, then on)
 </​code>​ </​code>​
  
 +----
 +
 +\\
 +
 +===== Gcode Files =====
 +
 +
 +==== M562 E ====
 +<file gcode invert_extruder.gcode>​
 +; G-Code generated by Matthew Upp
 +; Invert Extruder
 +; Possibly helpful if you need to invert the extruder after switching to a different type extruder/​feed mechanism
 +; 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. 
 +; (It is not a big deal if you don't add the line at the end.)
 +
 +
 +M107 ; turn fan off in case it was already on
 +M106 S237 ; turn fan on to signify start
 +
 +;  ​
 +M562 E ; invert extruder
 +M500 ; save currently loaded settings to EEPROM
 +
 +;
 +M400 ; wait for current moves to finish
 +M107 ; turn fan off to signify completion
 +M84 ; disable motors
 +
 +</​file>​
  
-====== M562 Gcode Files ====== 
  
 ==== 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
 ; Invert X-Axis ​ ; Invert X-Axis ​
 ; for Malyan M200 & MP Select Mini ; for Malyan M200 & MP Select Mini
  
-; 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. 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.+; 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.  
 +; (It is not a big deal if you don't add the line at the end.)
  
  
 M107 ; turn fan off in case it was already on M107 ; turn fan off in case it was already on
-M106 S245 ; turn fan on to signify start+M106 S237 ; turn fan on to signify start
 ; ;
 ; ;
Line 60: Line 95:
 ; ;
 G28 X ; home X to verify the X-axis is inverted 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 +G1 X60 F1000 ; move X-Axis to center of the bed to signify completion 
-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
 +
 </​file>​ </​file>​
  
Line 73: Line 109:
 ; for Malyan M200 & MP Select Mini ; for Malyan M200 & MP Select Mini
  
-; 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. 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.+; 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.  
 +; (It is not a big deal if you don't add the line at the end.)
  
  
 M107 ; turn fan off in case it was already on M107 ; turn fan off in case it was already on
-M106 S245 ; turn fan on to signify start+M106 S237 ; turn fan on to signify start
  
 ;  ​ ;  ​
-M562 Y ; Invert ​Y-Axis +M562 Y ; invert ​Y-Axis 
-M500 ; Save currently loaded settings to EEPROM+M500 ; save currently loaded settings to EEPROM
  
 ; ;
 G28 Y ; home Y to verify the Y-axis is inverted 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 +G1 Y60 F1000 ; move Y-Axis to center of the bed to signify completion 
-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
 +
 </​file>​ </​file>​
  
Line 100: Line 140:
 ; for Malyan M200 & MP Select Mini ; for Malyan M200 & MP Select Mini
  
-; 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. 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.+; 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.  
 +; (It is not a big deal if you don't add the line at the end.)
  
  
 M107 ; turn fan off in case it was already on M107 ; turn fan off in case it was already on
-M106 S245 ; turn fan on to signify start+M106 S237 ; turn fan on to signify start
  
 ;  ​ ;  ​
-M562 Z ; Invert ​Z-Axis +M562 Z ; invert ​Z-Axis 
-M500 ; Save currently loaded settings to EEPROM+M500 ; save currently loaded settings to EEPROM
  
 ; ;
 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+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
 +
 </​file>​ </​file>​
 +
  
  
invert_motor_direction.1545452465.txt.gz · Last modified: 2018/12/22 04:21 by Matthew Upp