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 [2020/02/03 22:31] Matthew Upp [M562 Z] |
invert_motor_direction [2020/02/05 04:18] Matthew Upp |
||
---|---|---|---|
Line 78: | Line 78: | ||
; invert the extruder motor direction and save. | ; invert the extruder motor direction and save. | ||
M562 E ; invert extruder | M562 E ; invert extruder | ||
- | M500 ; save the setting to EEPROM | + | M500 ; save the setting to eeprom |
; | ; | ||
; | ; | ||
Line 114: | Line 114: | ||
; | ; | ||
; | ; | ||
- | 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 | ||
Line 156: | Line 156: | ||
M562 X ; invert x-axis | M562 X ; invert x-axis | ||
M500 ; save currently loaded settings to eeprom | M500 ; save currently loaded settings to eeprom | ||
- | ;END | ||
; | ; | ||
; | ; | ||
Line 192: | Line 191: | ||
; | ; | ||
; | ; | ||
- | 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 | ||
Line 234: | Line 233: | ||
M562 Y ; invert y-axis | M562 Y ; invert y-axis | ||
M500 ; save currently loaded settings to eeprom | M500 ; save currently loaded settings to eeprom | ||
- | ;END | ||
; | ; | ||
; | ; | ||
Line 270: | Line 268: | ||
; | ; | ||
; | ; | ||
- | 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 | ||
Line 314: | Line 312: | ||
M562 Z ; invert Z-axis | M562 Z ; invert Z-axis | ||
M500 ; save currently loaded settings to eeprom | M500 ; save currently loaded settings to eeprom | ||
- | ;END | ||
; | ; | ||
; | ; | ||
Line 350: | Line 347: | ||
; | ; | ||
; | ; | ||
- | 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 | ||
Line 356: | Line 353: | ||
</file> | </file> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /*- Add Mirror function which is intended for another model. The designed Y gantry is mirrored, so we can use M562 MY command to mirror Y axis. | ||
+ | M562 to mirror axis. | ||
+ | -A: If connection of X motor is wrong, caused motor direction inverted. Use “M562 X” to invert direction. | ||
+ | -B: If printed object is mirrored, you want to print letter “d” but get letter “b”. In this case, you need to install endstop to opposite end and invert motor. So use “M562 MX”, firmware will set coordinate to MAX when homing. */ |