The temperature of photoelectric sensor should be set to -25°C~60°C to ensure reliable performance. To make these electronic components function, they should receive a voltage of 10V~30V. It is generally considered that photoelectric sensors have a response time of 1ms. To make the photoelectric sensor work, you have to connect the 4 pins.