To make sure the photoelectric sensor works, set its temperature to zero. For these electronic components to work, the voltage should be provided by 5V~24V. For reliability, the photoelectric sensor needs a working temperature of -10°C. For reliable operation, the maximum operating temperature is 55°C.