is it somehow possible to detect lost steps like with “sensorless homing” during printing or at least during homing and use it for an emegency stop? Would be nice to avoid pressing the nozzle in the bed if e.g. BLTouch detection failed or something is wrong with the settings.
I facing this from time to time of I changing something and have to calibrate the printer and in very rare cases that BLTouch trigger is not recognized. So it would be nice to avoid stress to the printer mechanics.
Lost steps mean that the stepper was unable to rotate further.
I’m really not sure that in the case of homing Z, there is a case and that you would be able to detect it because of the high torque from the lead screws.
So, unless your nozzle is able to stop them, there is a high chance it would go unnoticed.
FWIW, you could test that you can detect on your motors: