It's important to set the photoelectric sensor's temperature to -40°C~70°C for reliable performance. To ensure reliability, the photoelectric sensor operates at a minimum working temperature of -40°C. Reliable operation is possible at 70°C. Photoelectric sensors work properly when the 2 pins are connected.