@typqxq said in Probing failsafe with motor stall:
Sounds like a good idea for Z with the mecanical endswitch.
How about X and Y?
When my optical switch didn't trigger the motors bent the belt.
3 times...
Bothe steel reinforced and the fibre reinforced ones.
Would lowering the X and Y current while homing help with that maybe?
Yes to reducing motor current while homing - always a good idea IMO. Because homing usually takes place at slow(ish) speeds, you can reduce the current by quite a lot. You can either simply set the motor currents by using M906 or you can set a percentage reduction by using M913. Both will achieve the same result. Put the command at the start of the homing file(s) but don't forget to either put the motor current(s) back to what you normally use, or set the percentage reduction to 100, at the end of the homing file.
I don't bother with additional switches for homing X and Y as they home very close to the minimum travel - about 2mm from a hard stop, so there really isn't room for a second back-up switch without losing some travel. But should a switch fail, then the reduced current will prevent any serious damage.
I do however have additional switches fitted to all the axes maximum travel - set to trigger just before a hard stop. In normal use these aren't needed, as once the machine has been homed, and providing you have set the axes maxima correctly, then the firmware won't allow moves beyond those maxima. However, I often work on the printer and tend to allow axis movement before the homing has been done, so in the event that I do something stupid, the switches will trigger an emergency stop and prevent damage.
To keep the wiring and configuration simple, all the switches are wired in series and normally closed, and connected to a single end stop on the duet. So if any one triggers, then it will initiative the emergency stop. It's generally best practice to wire switches normally closed, then if a wire falls off, it will fail as if the switch has triggered, which is safer than not see the trigger.
HTH