|
Re: How should we wire the photoswitchs?
I’ll be brief here and skip all the electronic information as how it works and what is required to make it work
To connect the photo sensor to the Digital I/O inputs
Wire colors on the sensor are
Brown wire to + 12 volts from the power distribution board (PD).
Blue wire to 0 volts (Ground/Negative ) from PD board.
You now need the White wire on a PWM cable. The Red and Black wire on the PWM cable you do not need so either remove them or insulate so they can not short to anything.
With the White wire in the PWM cable connect it to EITHER the White OR Black wire on the sensor. Plug the PWM cable into the Digital Sidecar (general purpose I/O) side.
The cRIO will now be able to read the sensor as a logical 1 or 0 that may be used as required by your software. You will even be able to see the sensor state on the Classmate diagnostic screen.
|