Stall detection and sensorless homing
-
Hey i have a question regarding the stall detection, how can i tell the printer to rehome after a stall was detected?
-
See https://www.duet3d.com/wiki/Stall_detection_and_sensorless_homing
Use M915 with R param = 3.
-
Thank you
-
I view sensorless homing for X/Y as a "nice" feature where I can eliminate some wiring on my coreXY, particularly since the X switch was on the carriage. Because it was there, it's also one less thing to design my extruder mount around.
-
Any update on the CoreXY homming? Does it work in 1.20 stable?
-
Any update on the CoreXY homming? Does it work in 1.20 stable?
I am using sensorless homing for quite a while now on my corexy (and it works well).
The only facility you loose is the ability to resume prints after a power failure but that is not a big deal for me as I print small parts most of the time -
Any update on the CoreXY homming? Does it work in 1.20 stable?
I am using sensorless homing for quite a while now on my corexy (and it works well).
The only facility you loose is the ability to resume prints after a power failure but that is not a big deal for me as I print small parts most of the timeCan you post your g-code for sensorless homing? I would be grateful
-
Can you post your g-code for sensorless homing? I would be grateful
-
Hi Dragonn,
this is the macro I use:
M400 ; make sure everything has stopped before we make changes M913 X65 Y65 ; XY motors to 65% current M915 H400 X Y S0 R0 F0 ; set X and Y to sensitivity 0, do nothing when stall, unfiltered M574 X1 Y1 S3 ; set endstops to use motor stall G91 ; use relative positioning G1 Z10 F1200 ; lift Z G1 S1 X-325 F2400 ; 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 F2400 ; move beyond axis minimum G4 P500 ; wait 500msec G1 Y5 ; move away from home G1 Z-10 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
the macro is then called with M98 from the homing files.
Motor current and stall sensitivity are directly related, so you will need to tweak that… -
M917 is not the right command to reduce the current during homing, it should be M913.
-
Thanks for the sharp eyes David (fixed above post)
This means I was homing without current reduction (which works anyway ;)) -
When I'm trying to use the macro with axis not homed, I'm getting:
M98 P"0:/macros/Positions/Sensorless homing"
Error: G0/G1: insufficient axes homedAny hints how to overcome that?
-
Newer firmwares forbid movement when axes are not homed.
To get the original behavior, addM564 H0
to your config.g file. -
Alternatively add parameter S2 to your G1 Z commands in the macros.
-
This post is deleted!