Duet3d 5+ mini eth. Sensorless homing not work at all.
-
@wwwektor you're set in spreadcycle all the time with
D3 V0
in M569. Try setting it to something likeD3 V40
insteadif you run
G91 M915 P0 S-127 H10 R1 ; Set very sensitive stall detect M574 Z1 S3 ; configure endstop for stall detection G1 Z-200 H1 ; Should stall pretty much immediately G90
it should stall straight away with no movement. if it does, then its working and you just need to get the sensitivity right
-
@jay_s_uk Unfortunatelly it is not helping. I have tried V0, V10, V100, V1000, V2000 (default), V3000. No reaction at all.
If I understand correctly R1 for M915 should report detected stall to the console. Am I right? -
@wwwektor it won't report anything in the console, it will just mark the axis as homed and won't move it.
Just noticed an error in the macro too, which i've fixed.
If the axis is not moving and shows as homed once you run the macro, then its working -
@jay_s_uk In my case when I click HOME Z the motor crashes with machine frame, continously looses steps till the G1 H1 distance ends. Then macro reports error and the Z axis remains not homed.
-
@wwwektor i'm not saying click homeZ, i'm saying run the macro I posted above
-
@jay_s_uk Ok. That is the result from the console
It seems that it works.
M98 P"stall_test.g" Warning: Driver 0 stalled at Z height 116.80
-
@jay_s_uk Thanks a lot!
I need to adapt it to my machine.
-
@wwwektor so now you need to get the H and S settings correct, thats the fun part!
-
@jay_s_uk It seems that that tuning is extreamly hard.
-
@wwwektor I used sensorless homing on Z on a laser cutter I had. Sometimes it worked and sometimes it didn't.
Its even hard if you're driving multiple screws with 1 motor -
@jay_s_uk Ok. It seems that it is working for me right now.
The most importat thing was to tune H param and find the lowest value where stall is not detected then tune S parameter to the value which work when real crash happend at the end of Z axis.
Thanks a lot for your help