# Photo eye sensor signal wiring

I am trying to install a photo eye to use for a lay down bottle sensor.

I wired in the power, it turns on the light on the sensor flags when triggered.

But I’m not abel to trace where the signal is happening on the wiring. It’s a 4 pin and below is the schematic . Someone told me they had to use a relay to get it working something about separate power. But the photo eye should be self contained. So I don’t know why they needed to add extra stuff to get it to work.

Below is the schematic it comes with. Any help in understanding would be greatly appreciated. I can get it to work with the relay. Like the other person suggested I’m just not sure why.

Thank you

• the output is load, pin 2 ... it tells you right by your finger – jsotola Dec 22 '20 at 1:49
• If i connect pin 2 the black wire to the plc I do not get a signal. Which is why I am here. This is not so black and white. Its 24v system. – Shalomiehomie Dec 22 '20 at 1:53
• why is that information missing from the question? – jsotola Dec 22 '20 at 1:55
• seems pretty straight forward ... the output is Open Collector ... wire it same as a mechanical switch – jsotola Dec 22 '20 at 1:56
• I was able to figure it out and updated my question – Shalomiehomie Dec 23 '20 at 19:48