The ESTOP function should be connected to a clean DC power source, such as a battery or a rectified AC source with less than 5 percent ripple. Using a clean power source helps ensure the reliability and stability of the ESTOP function, minimizing potential interference or false trips.