@jakob https://duet3d.dozuki.com/Wiki/Stall_detection_and_sensorless_homing
Schuld I use this?
when I home the axis it just dives at the and of the axis without stopping and it is skipping steps
@jakob ```
code_text
; =========================================================================================================
;
; Home xyz Axis
;
; for Caribou220 Duet2WiFi-Ethernet LGX Copperhead - E3d or SE Thermistor - SuperPINDA
;
; =========================================================================================================
;
G91 ; relative positioning
M98 P"current-sense-homing.g" ; ensure the current and sensitivity is set for homing routines.
;
G1 H2 X0.5 F10000 ; energise motors to ensure they are not stalled
M400 ; wait for current moves to finish
G4 P200 ; wait 200ms
;
G1 H2 Z5 F6000 ; lift Z relative to current position
M400 ; wait for current moves to finish
;
; =========================================================================================================
; Home X Axis
; =========================================================================================================
;
G1 H1 X5 F1000 ; move slowly away
G1 H1 X-260 F3000 ; move quickly to x axis endstop and stop there (first pass)
G1 H2 X5 F1000 ; go back a few mm
G1 H1 X-10 F3000 ; move slowly to x axis endstop once more (second pass)
;
; =========================================================================================================
; Home Y Axis
; =========================================================================================================
;
M400 ; wait for current moves to finish
G1 H2 Y0.5 F10000 ; energise motors to ensure they are not stalled
M400 ; wait for current moves to finish
G1 H1 Y5 F1000 ; move slowly away
G1 H1 Y-260 F3000 ; move quickly to x axis endstop and stop there (first pass)
G1 H2 Y5 F1000 ; go back a few mm
G1 H1 Y-10 F3000 ; move slowly to x axis endstop once more (second pass)
;
M400 ; wait for current moves to finish
M913 X100 Y100 ; return x & y motor
G4 P200 ; wait 200ms
;
G90 ; absolute positioning
;
; =========================================================================================================
; Home Z Axis
; =========================================================================================================
;
G90 ; absolute positioning
;
G1 X11.5 Y-3 F6000 ; go to first probe point
G30 ; home z by probing the bed
G1 Z1.15 F100 ; move z to origin and 1.15mm above bed
G90 ; absolute positioning
M400 ; wait for current moves to finish
;
; =========================================================================================================
;
G90 ; absolute positioning
;
M98 P"current-sense-normal.g" ; ensure the current and sensitivity is set for normal routines.
;
; =========================================================================================================
;
@jakob ```
code_text
; =========================================================================================================
;
; Home y Axis
;
; =========================================================================================================
;
G91 ; relative positioning
M98 P"current-sense-homing.g" ; ensure the current and sensitivity is set for homing routines.
;
G1 H2 Y0.5 F10000 ; energise motor to ensure it's not stalled
M400 ; wait for current moves to finish
G4 P200 ; wait 200ms
;
G1 H2 Z5 F6000 ; lift z relative to current position
M400 ; wait for current moves to finish
;
G1 H1 Y5 F1000 ; move slowly away
G1 H1 Y-225 F3000 ; move quickly to y axis endstop and stop there (first pass)
G1 H2 Y5 F1000 ; go back a few mm
G1 H1 Y-10 F3000 ; move slowly to y axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower z again
;
M400 ; wait for current moves to finish
G4 P200 ; wait 200ms
;
G90 ; absolute positioning
;
M98 P"current-sense-normal.g" ; ensure the current and sensitivity is set for normal routines.
;
; =========================================================================================================
;
@jakob ```
; =========================================================================================================
;
; Home x Axis
;
; =========================================================================================================
;
G91 ; relative positioning
M98 P"current-sense-homing.g" ; ensure the current and sensitivity is set for homing routines.
;
G1 H2 X0.5 F10000 ; energise motor to ensure it's not stalled
M400 ; wait for current moves to finish
G4 P200 ; wait 200ms
;
G1 H2 Z5 F6000 ; lift z relative to current position
M400 ; wait for current moves to finish
;
G1 H1 X5 F1000 ; move slowly away
G1 H1 X-260 F3000 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F1000 ; go back a few mm
G1 H1 X-10 F3000 ; move slowly to x axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower z again
;
M400 ; wait for current moves to finish
G4 P200 ; wait 200ms
;
G90 ; absolute positioning
;
M98 P"current-sense-normal.g" ; ensure the current and sensitivity is set for normal routines.
;
; =========================================================================================================
;
@flobler
I have the stock motors
I will share the config via discord