@fcwilt
I just set it up as it was before changing home to use the probe, as you say and it works perfectly.
Just before posting my previous comment I had tried to do a mesh compensation and the probe had been blinking blocked, but now it works perfectly. I don't know, something strange will have happened.
Anyway, that's it, thank you very much for everything.
The truth is that this is the best, the ease and speed of making a home with the endstop along with the compensation and the mapping of the sensor.