For reliable operation, the photoelectric sensor's temperature should be set to -40°C~70°C. For photoelectric sensors to work, they have to be at -40°C. It is possible to operate the system reliably at a maximum operating temperature of 70°C. It's important to connect 2 pins for the photoelectric sensor to work.