In order to work reliably, the photoelectric sensor should be set to -10°C~55°C. To make these electronic components work, they should be supplied with 5V~24V voltage. Sensors with a response time of 1ms are considered ideal. It's important to connect 3 pins for the photoelectric sensor to work. For a photoelectric sensor to work, the output current should be 100mA. A photoelectric sensor can be damaged by the maximum DC voltage of 24V. Photoelectric sensors have the capability of operating at very low voltages, such as 5V. Photoelectric sensors should have their supply voltage set to 0.