It's important to set the photoelectric sensor's temperature to -20°C~70°C for reliable performance. It is necessary to provide these electronic components with a voltage of 0 to make them work in a circuit or system. Sensors with a response time of 5ms are ideal. In order to make the photoelectric sensor work properly, it must have 5 pins connected.