Mam takie makro:
Kod: Zaznacz cały
M400 ; make sure everything has stopped before we make changes
M574 X1 Y1 S3 ; set endstops to use motor stall
M913 X20 Y20 ; XY motors to 30% current
M915 X Y S-10 R0 F0 ; set X and Y to sensitivity 0, do nothing when stall, unfiltered
G91 ; use relative positioning
G1 Z5 F1200 ; lift Z
G1 S1 X-325 F4000 ; move right/back 325mm, stopping at the endstop
G4 P500 ; wait 500msec
;G1 X5 ; move away from home
;G4 P500 ; wait 500msec
;M400 ; make sure everything has stopped before we make changes
; X is homed at this point, now home the other axis
G1 S1 Y-325 F4000 ; move beyond axis minimum
G4 P500 ; wait 500msec
;G1 Y5 ; move away from home
G1 Z-5 F1200 ; lower Z
M400 ; make sure everything has stopped
M913 X100 Y100 ; XY motors to 100% current
G90 ; back to absolute positioning
M574 X1 Y1 S1 ; define active low microswitches
Próbuję home X i po pierwsze motor osi X porusza się o wiele wolniej, niż zdefiniowane, po drugie dochodzi do końca i tylko się od niego odbija. Próbowałem różnych wartości dla S w M915 i nic nie wydaje się działać.
Wiem, że parę osób na forum ma dueta i corexy, chyba @dragonn opanował temat. Może ktoś się podzieli konfiguracją?