Learn how to connect a 2-wire sensor with a magnetic contactor for automation control, including wiring steps and important considerations for reliable operation.