To make sure your photoelectric sensor is reliable, set its temperature to -40°C~70°C. To make these electronic components function, they should receive a voltage of 10V~30V. When it comes to photoelectric sensors, a response time of 3ms is ideal. To make the photoelectric sensor work, you have to connect the 4 pins.