Go to Post Glad to see the CIMulators aren't vaporware after all. - thefro526 [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 25-01-2003, 20:45
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Jferrante
What relay # are you using? Are you using one or two pressure switches? What port(s) are they connected to?

If you had the compressor hooked up to relay1 and the pressure switch to rc_sw1 you're code could be as simple as:

relay1_fwd = 1 - rc_sw1

Of course you would need to add in some sort of timer to keep your compressor from cycling once the system filled up.
You probably want to use relay1_fwd=rc_sw1 instead since the pressure switch is normally close (1) and only opens (0) when the pressure gets high enough. Also, due to the way this year's switch works (opens at 115, but doesn't close again until 95psi), you don't need any special code to avoid cycling.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with compressor Nick R. Pneumatics 3 21-02-2003 10:51
Air compressor never shuts off Carl Owenby Pneumatics 4 08-02-2003 23:34
compressor questions Greg Needel Pneumatics 2 29-01-2003 16:58
compressor? BBFIRSTCHICK Pneumatics 11 22-01-2003 07:12
programming the compressor archiver 2001 4 23-06-2002 23:19


All times are GMT -5. The time now is 10:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi