It is recommended that the photoelectric sensor is set at -10°C~50°C to ensure reliable performance. In order for these electronic components to function, the voltage should be set to 10V~30V within the circuit or system. To make the photoelectric sensor work, you have to connect the 4 pins.