In order for the photoelectric sensor to work reliably, it should be set to -20°C~55°C degrees Celsius. For these electronic components to function, they require a voltage of 10V~30V to be applied to a circuit or system. For photoelectric sensors, 8ms is ideal. The photoelectric sensor must have the 2 pins connected to work properly.