Above the electrospindle, there is a magnetic sensor which sensors that the tool is still attached.
If I remember right, there is three sensors (and three narrow electric wires for them) and one is...