Endstop Switch Crash Protection

Is it possible to use endstop switches to protect against crashes? I’m using Klipper on a printer that will be damaged if an axis is overrun. I would like to stop a print if an endstop is triggered after homing due to missed steps, poor configuration, etc.

Can anyone confirm if this is a capability? Is it possible for the switch to work like an interrupt during a G1 move?

1 Like

You might be able to setup an input pin to issue an emergency stop

I was having trouble finding a way to configure klipper to check the input pin since endstops are only ever checked once. Looks like a potential solution if to configure a gcode_button object, which I came across in klipper issue 2942: Is it possible to still use a z endstop for if/when bltouch fails? · Issue #2942 · Klipper3d/klipper · GitHub