Can photoelectric sensors operate in sunlight?
Yes, they can. Working in direct sunlight can be challenging for most standard sensors, but many manufacturers offer photoelectric sensors that that work just as well in sunlight as they do in shade.