In order for the photoelectric sensor to work reliably, it should be set to -20°C~70°C degrees Celsius. It's important that 10V~30V is applied to the circuit or system for these components to work. Photoelectric sensors have an ideal response time of 5ms. This photoelectric sensor can only function properly if the 5 pins are connected.