Photoelectric sensors utilize light beams emitted from a transmitter to detect the presence, absence, or distance of objects within their sensing range. They consist of two main components: the transmitter and the receiver. The transmitter emits a modulated light beam, often infrared or visible light, towards the target area. The receiver detects the reflected light or absence thereof, depending on the sensor's mode of operation. In this article, we will walk you through the wiring and testing process of ATO's M18 photoelectric sensor.