How do you set up a photoelectric sensor