Last active
October 3, 2020 08:43
-
-
Save oliof/bb066f25146ba59bf6d764ef7ba66590 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M400 ; clear gcode buffer | |
M913 X30 Y30 ; drop motor currents to 30% | |
M201 X1000 Y1000 ; reduce acceleration on X/Y to stop false triggers | |
M915 P0:1 S2 R0 F0 H400 ; both motors because corexy; Sensitivity 2, don’t take action, don’t filter, 400steps/sec | |
G91 ; set relative | |
G1 Z5 F1200 H2 ; clear the bed | |
G1 H1 X-400 F4000 ; move left 400mm, stopping at the endstop | |
G1 X20 F1200 ; move away from end | |
G1 Z-5 F1200 H2 ; return to previous z position | |
G90 ; back to absolute positioning | |
M400 ; clear gcode buffer | |
M913 X100 Y100 ; motor currents back to 100% | |
G0 X0 F3600 ; move to center of bed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment