You'll get reliable performance if the photoelectric sensor's temperature is -30°C~60°C. For these electronic components to function, a circuit or system should have 0 volts. When it comes to photoelectric sensors, a response time of 1ms is ideal. It's important to connect 4 pins for the photoelectric sensor to work.