@Timothee-Leblond There's no one quick way to set it, unfortunately, because it depends on the motors, current, speed and Duet board you're using, so you have to tune it. See this guide https://docs.duet3d.com/en/User_manual/Connecting_hardware/Sensors_stall_detection
Ian