You read my mind Klaus, that is exactly what I intend to do with it. It works on a bread board with a dual mode NPN/PNP photoeye.
Banner makes one that is around $120. We have one at work and I took it apart and was extremely disappointed in what I found for $120.
A Hammond box, Generic 4 pole red/black, and a M12 female pigtail connector with this circuit inside.
I decided to use a single 9v battery and a boost converter hence the divider and capacitors.
They replicate the junction between BT2 and 3. Sure it's probably more complicated than it needs to be, but I like doing stuff like this.
I also surprised myself that I figured a way to do it. I'm pretty new to any form of DIY electronics.
I still don't understand how both LEDs can be on at the same time. It seems like there would be a short between the two capacitors if I were to hook up both channels of the sensor to TP1 and TP2.
Regardless my boss already bought the parts to make one for each technician at our plant..lol.