It is recommended to set the temperature of a photoelectric sensor to -40°C~70°C in order to ensure reliable operation. For these electronic components to function, a circuit or system should have 0 volts. Sensors with a response time of 3ms are ideal. To make the photoelectric sensor work, you have to connect the 2 pins.