It's important to set the photoelectric sensor's temperature to -25°C~55°C for reliable performance. The voltage of this electronic components should be given 12V~24V into a circuit or system to make it work. Photoelectric sensors are considered to have an optimal response time of 1ms. The 4 pins on the photoelectric sensor need to be connected for it to work. Photoelectric sensors need 50mA at their outputs to work.