I just want to make sure we have our photo switch (PE) connected properly. It is an A-B 42EF–D1MNAK–A2 (NPN Diffuse). Currently, we are feeding the photo switch from a dedicated circuit breaker (as it's a custom circuit per the rules). We currently have the white (it could be either the white or black) connected to pin 1 of GPIO5. Per the snap shoot of the wiring diagram from the A-B PE user manual:
Wiring Diagram Photoswitch (DO & LO) 42EF-D1KBAK-a.pdf
Brown - Connected to the +12VDC
Blue - Connected to the DC 12V common
White & Black are the photo switch's output signal.
From the picture of our hand drawn schematic ,
Schematic PE1 to GPIO5.pdf
I am bring the White wire into the signal pin (pin 1). I am not using the center pin (pin 2). Pin 3 is tied to the DC Common bus.
Now that I am looking at the A-B schematic and place it context w/ Alan Anderson's comments, I believe we wired the PE correctly. Being a sourcing input/output, I think we need to tie the White or Black Wire to a GPIO's pin 1. Please verify whether I am right or wrong. I would hate to waste time troubleshooting an easy fix that should have been caught at testing.
Thanks,