You should set the photoelectric sensor's temperature to -25°C~55°C for reliable performance. If these electronic components are to work, they should receive 12V~24V voltage into the circuit or system. A photoelectric sensor should have a response time of 1ms.