Connection to Photoelectric sensor

Thank You