Last active
November 7, 2019 23:07
-
-
Save nraynaud/9263026b9ce925df7cfeb3e98b8521ab 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
M208 X0 Y0 Z0 U0 S1 ; Set axis minima | |
M208 X210 Y210 Z200 U200 S0 ; Set axis maxima | |
;DUAL Z | |
M584 X0 Y1 Z2:3 U3 E4 P3 | |
; Endstops | |
M574 X1 Y1 Z1 U1 S0 ; Set active low endstops | |
M558 P0 X0 Y0 Z0 H2 F60 T6000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds | |
G31 P600 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height | |
M557 X15:195 Y15:195 S20 ; Define mesh grid | |
; Drives | |
M569 P0 S1 ; Drive 0 goes forwards | |
M569 P1 S0 ; Drive 1 goes backwards | |
M569 P2 S1 ; Drive 2 goes forwards | |
M569 P3 S1 ; Drive 3 goes forwards | |
M569 P4 S1 ; Drive 4 goes forwards | |
M350 X64 Y64 Z64 U64 E16:16 I1 ; Configure microstepping with interpolation | |
M92 X320 Y320 Z1600 U1600 E92.6; Set steps per mm | |
M566 X600 Y600 Z12:12 U12 E300:300 ; Set maximum instantaneous speed changes (mm/min) | |
M203 X30000 Y30000 Z1200 U1200 E1800:1800 ; Set maximum speeds (mm/min) | |
M201 X2500 Y2500 Z500 U500 E3000:3000 ; Set accelerations (mm/s^2) | |
M906 X1000 Y1000 Z800 U800 E1000:1000 I50 ; Set motor currents (mA) and motor idle factor in per cent | |
M84 S2 ; Set idle timeout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment