Visisight Photoelectric sensor

We just got a visisight photoelectric sensor and are a little confused by the what output to expect. We saw in the datasheet the pin-out diagram, but what exactly is the output on pin 4? An analog voltage proportional to the detected light? A digital signal?
Does anyone have any tips for wiring and using this sensor

Can you maybe link post a link to the datasheet, if not maybe the webpage?

It’s the 42JT-F5LET1-A2 from andymark. The output is specified as “auto NPN or PNP or IO-link” .

Here’s the link to the documentation page.
https://ab.rockwellautomation.com/Sensors-Switches/Miniature-Photoelectric-Sensors/VisiSight-Photoelectric-Sensors#documentation

Although I cannot find that exact sensor on that page, the fact that it is a NPN/PNP switch makes me think it will be an I-O output, meaning that from distance X you will get a high signal, if it’s further you will get a low signal. Most cases you can change X using a set screw or a teach-in button.

This is a good description of what NPN and PNP are. In this case it automatically switches so it will work either way. This is a digital sensor. @Cleanse is right it has a teach on it so that you can configure it for what you are looking for

1 Like

Also keep in mind that while the sink to ground style switches say they connect to ground, many do not go low enough to trigger that Roborio’s DIO. We use automation direct sensors whose ‘low’ value is around 1.55 volts. So to make those work, you can either voltage divide it, or use the analog input instead and right some code that triggers when the switch drops below a certain voltage.

Thank you - that’s a big help !