You should set the photoelectric sensor's temperature to -20°C~70°C for reliable performance. If you want these electronic components to work, you need to apply 12V~24V. When it comes to photoelectric sensors, a response time of 48ms is ideal. The photoelectric sensor must have the 5 pins connected to work properly. To get the best performance from your photoelectric sensor, set the supply voltage to 24V.