User Tools

Site Tools


Sidebar


User's Manual & Quick Start Guide

Specifications

Where to Purchase

Donations & Support

Replacements Parts & Information

Mods & Improvements

How-to

OctoPrint

Slicer Stuff

Troubleshooting

Maintenance

WiFi

Web UI

Firmware

Downloads

Donations & Support


Amazon Affiliate Program Disclosure

Looking for the Malyan M300 Mini Delta 3D Printer Site?

invert_motor_direction

M562 - Invert Stepper Motor Direction

Extruder

M562 E     ; Inverts Extruder/Feeder Mechanism motor direction
M500       ; Saves changes to EEPROM
Reboot printer to complete the process (turn off, then on)

X-Axis

M562 X     ; Inverts X-Axis motor direction
M500       ; Saves changes to EEPROM
Reboot printer to complete the process (turn off, then on)

Y-Axis

M562 Y     ; Inverts Y-Axis motor direction
M500       ; Saves changes to EEPROM
Reboot printer to complete the process (turn off, then on)

Z-Axis

M562 Z     ; Inverts Z-Axis motor direction
M500       ; Saves changes to EEPROM
Reboot printer to complete the process (turn off, then on)


Gcode Files

M562 E

invert_extruder.gcode
; G-Code generated by Matthew Upp of GigDigit.com
; Revised 04:19 Tuesday, March 19, 2021
;
; Invert Extruder 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.
; 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 typically end with a single blank 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
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
M500 ; save the setting to eeprom
M501 ; set the active parameters to those stored in the 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
M107 ; turn fan off to signify completion
M84 ; disable motors
; END
 

M562 X

invert_x-axis.gcode
; G-Code generated by Matthew Upp of GigDigit.com
; Revised 04:19 Tuesday, March 19, 2021
;
; If downloading this file from the "wiki" page you may 
;  need to rename the file to remove the .txt file extension.
; The file extension needs to end with .gcode instead of .txt
;
; 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 Select Mini
;
; This file is much longer than it needs to be but is like this to 
;  show what is going on.
;
; Lines with only a semicolon are for making line separations only.
;
; 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.
;
;
; BEGIN
M107 ; turn fan off in case it was already on
M106 S237 ; turn fan on to signify start
;
;
; The next two lines are the only actual commands that are needed to
;  invert the x-axis motor direction and save.
M562 X ; invert x-axis
M500 ; save currently loaded settings 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
M107 ; turn fan off to signify completion
M84 ; disable motors
; END
 

M562 Y

invert_y-axis.gcode
; G-Code generated by Matthew Upp of GigDigit.com
; Revised 04:19 Tuesday, March 19, 2021
;
; If downloading this file from the "wiki" page you may 
;  need to rename the file to remove the .txt file extension.
; The file extension needs to end with .gcode instead of .txt
;
; 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 Select Mini
;
; This file is much longer than it needs to be but is like this to 
;  show what is going on.
;
; Lines with only a semicolon are for making line separations only.
;
; 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.
;
;
; BEGIN
M107 ; turn fan off in case it was already on
M106 S237 ; turn fan on to signify start
;
;
; The next two lines are the only actual commands that are needed to
;  invert the y-axis motor direction and save.
M562 Y ; invert y-axis
M500 ; save currently loaded settings 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
M107 ; turn fan off to signify completion
M84 ; disable motors
; END
 

M562 Z

invert_z-axis.gcode
; G-Code generated by Matthew Upp of GigDigit.com
; Revised 04:19 Tuesday, March 19, 2021
;
; If downloading this file from the "wiki" page you may 
;  need to rename the file to remove the .txt file extension.
; The file extension needs to end with .gcode instead of .txt
;
; Invert Z-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 Select Mini
;
; This file is much longer than it needs to be but is like this to 
;  show what is going on.
;
; Lines with only a semicolon are for making line separations only.
;
; 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.
;
;
; BEGIN
M107 ; turn fan off in case it was already on
M106 S237 ; turn fan on to signify start
;
;
; The next two lines are the only actual commands that are needed to
;  invert the z-axis motor direction and save.
M562 Z ; invert z-axis
M500 ; save currently loaded settings to eeprom
M501 ; set the active parameters to those stored in the 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
M107 ; turn fan off to signify completion
M84 ; disable motors
; END
 
invert_motor_direction.txt · Last modified: 2021/09/29 18:20 by Matthew Upp