This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
invert_motor_direction [2019/04/02 07:51] Matthew Upp |
invert_motor_direction [2019/11/30 04:06] Matthew Upp |
||
---|---|---|---|
Line 48: | Line 48: | ||
; G-Code generated by Matthew Upp | ; G-Code generated by Matthew Upp | ||
; Invert Extruder | ; Invert Extruder | ||
- | ; Possibly helpful if you need to invert | + | ; This gcode file will work with the following 3D printers: |
- | ; for Malyan M200 & MP Select Mini | + | ; Malyan |
- | ; | + | ; Monoprice - MP10, MP10 Mini, MP Mini Delta, and 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 | + | ; g-code files typically |
- | ; (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 | + | M500 ; save the setting |
- | ; | + | M107 ; turn fan off to signify this step completed |
+ | ; | ||
+ | ; | ||
+ | G4 S1 ; wait 1 second | ||
+ | ; | ||
+ | ; | ||
+ | ; PULSE FAN TO SIGNIFY COMPLETION | ||
+ | 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 | ||
</ | </ |