Photoelectric Sensors with Condition Monitoring