You should set the photoelectric sensor's temperature to -40°C~60°C for reliable performance. To make these electronic components function, they should receive a voltage of 10V~30V. For photoelectric sensors, a response time of 20ms is considered optimal.