Log in

View Full Version : which channel does the pressure switch work ?


Gadeer Zbedat
15-02-2013, 15:46
on which channel in the Crio does the switch work ?!! ( analog breakout) ???

rudun
15-02-2013, 15:48
Any of the DIO pins on the digital sidecar. You set the channel/pin for the switch when you create the compressor object.

stuart2054
15-02-2013, 15:50
The pressure switch goes to one of the digital inputs on the sidecar. We usually put it to DIO #1 but it doesn;t matter as long as you program it correctly in the cRIO.

Gadeer Zbedat
15-02-2013, 15:53
I didn't mean that !! I ment which two cables of the PWM should we configure it to the pressure switch ??

Johnbot
15-02-2013, 16:04
Ground (black) and Signal (white) are wired to the pressure switch.
The rest of the PWM goes to the digital sidecar, and it is read as a digital input. (And whatever you use to control the compressor should take an extra number for the switch. Well, at least how that's how the Java library handles it.)