@carlosr you're probing a separate switch to determine the tool length, correct?
or are you using the same switch that you probe the bed with to get Z0?
using my CNC as an example, I know much touch plate for calibrating tool length is 19.7mm above my z datum, so I can work out the tool offset by using the Z stopped height minus the 19.7mm
I'm just trying to work out where the tool length switch is in relation to Z0