How does one mount a float switch?

The float switch cable is to be attached to the discharge pipe in such a way that the remaining free cable length ensures a sufficient flow volume. The shaft size should also be taken into account. In addition, it must be ensured that the depth of the shaft is sufficient for the switch-on/switch-off spacing of the float shaft, and that the spacing between the shaft bottom and the inlet is at least 60 cm.