Sunx Photoelectric Sensor EX-19P , EX-19BD-PN
Removed from service in good working order.
Four sets are available. Cables are between 3 1/2 feet and 5 1/2 feet long.

Product specifications from manufacturers website, manual or product labels.