|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
||||
|
||||
|
It should be pretty easy....
We plan to put the compressor spike on RLY 7 output and wire the pressure switch to rc_sw1 (pins 1 & 3) of the RC digital input. Then we just use the following code:
relay7_fwd = rc_sw1 relay7_rev = 0 in place of the current relay 7 code. This will have the compressor relay state follow the state of the pressure switch. (Low pressure = closed, high pressure = open). You could use this same scheme with any of the relay outputs and switch inputs. It works OK with the emulator. Hopefully today or Monday we'll check it against the hardware (I never really trust that software stuff. My favorite programming language is solder.) Bruce C. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Robotics Tournament at Sensors Expo & Conference | Kyle Fenton | Off-Season Events | 4 | 04-05-2003 12:15 |
| Q&A Discuss: optical sensors | CD47-Bot | Extra Discussion | 0 | 15-02-2003 22:58 |
| pressure sensors | archiver | 2001 | 0 | 24-06-2002 02:15 |
| Need help with 255 Variable | Joseph F | Programming | 18 | 26-02-2002 14:49 |
| Pneumatic pressure sensor | Curtis Williams | Pneumatics | 3 | 04-02-2002 20:09 |