I have access to a Banner engineering photoelectric sensor S18SN6FF100Q.
Originally it was my intent to take the wire from the sensor itself and wire the other end to a usb and plug it into my computer. Im a hobbyist programmer and so im still learning the basics so im not sure how to go about reading it that way so i had the epiphany that I could just use my arduino for the same effect. I just started my degree for computer science and I'm a complete novice with electronics so I'm not sure if my original usb idea would have even been possible. the above link is to banner electronics and that specific sensor and has all the data required hopefully.
my question is how would i wire this sensor to my arduino.