In order for the photoelectric sensor to work reliably, it should be set to -40°C~70°C degrees Celsius. For these electronic components to function, a circuit or system should have 0 volts. It is generally considered that photoelectric sensors have a response time of 3ms. It's important to connect 4 pins for the photoelectric sensor to work.