Photo eye sensor signal wiring
So I figured it out. It did not work because the signal wire outputs 3vdc and the plc input is 24 source. So I had to set it to pnp and use black as my signal wire. Because this way the kid completed the circuit. I could not use white wire on npn because it was on the low side of the circuit