Go to Post Hey people, I found out the answer to my question and that one guy eric is right all you have to do is read the manual. The rules are in chapter 7.3.5.1, sections - .:) - ronald [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2009, 15:35
Peter H Peter H is offline
Registered User
FRC #1606 (Dragons)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Oyster Bay NY
Posts: 21
Peter H is an unknown quantity at this point
No compressor control

We connected the compressor vis in LabView, connecting the Open vi to module 4, DIO 2, and relay 1. The Pressure limit switch plugs into DIO2. A spike relay plugs into relay 1. On power on, the spike lights red, and the compressor does not turn on. The spike is OK - I connected a battery to the control inputs, and the relay lights green, and the compressor starts. The Open vi connects to a Run vi, which connects to the Close vi. The Run vi is in a while loop that runs every 100 msec.

I expect the spike to close, show a green LED, and start the compressor when I run the program. What am I doing wrong?
  #2   Spotlight this post!  
Unread 24-01-2009, 16:18
Peter H Peter H is offline
Registered User
FRC #1606 (Dragons)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Oyster Bay NY
Posts: 21
Peter H is an unknown quantity at this point
Re: No compressor control

Found the problem - cockpit problem. The Driver Station had been set inadvertently to disabled.
  #3   Spotlight this post!  
Unread 27-01-2009, 19:59
Mr. E Mr. E is offline
Its physics or stamp collecting
FRC #1883
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 38
Mr. E is an unknown quantity at this point
Re: No compressor control

pardon my ignorance here, what is "module 4"?
  #4   Spotlight this post!  
Unread 27-01-2009, 20:55
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: No compressor control

I think that he meant "slot 4" or, in other words, the 4th slot in the cRIO chassis starting with the slot nearest the Ethernet/power jacks.

Russ
  #5   Spotlight this post!  
Unread 28-01-2009, 09:51
Mr. E Mr. E is offline
Its physics or stamp collecting
FRC #1883
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 38
Mr. E is an unknown quantity at this point
Re: No compressor control

so...He's really just plugging the pwm cables to the digital side car? In the open Vi, is there a "module 4," or is he making his connections in the labview program to the digital inputs and relays?
In the past we have always wired the black and white wires of the pwm to the pressure switch. Should this still work?

Last edited by Mr. E : 28-01-2009 at 09:57.
  #6   Spotlight this post!  
Unread 28-01-2009, 10:04
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: No compressor control

Quote:
Originally Posted by Mr. E View Post
so...He's really just plugging the pwm cables to the digital side car? In the open Vi, is there a "module 4," or is he making his connections in the labview program to the digital inputs and relays?
In the past we have always wired the black and white wires of the pwm to the pressure switch. Should this still work?
It will work perfectly well. It will also be illegal. <R61> is most applicable:
Quote:
<R61> Every speed controller, relay module, and servo shall be connected via PWM cable to the Digital Sidecar, and be controlled by signals provided from the Mobile Device Controller via the Digital Sidecar. They shall not be controlled by signals from any other source.
To the best of my knowledge, it has always been thus. I'm surprised you've been passed through inspection with that setup on your robot in years prior. I'm also surprised no one noticed your robot merrily pumping away on the compressor while it was disabled...

EDIT:Also, to Peter H,
If you've updated to the lastest version of the WPI libraries, you shouldn't have a "Run" vi for the compressor. There should be a "Start" vi. You only have to execute this vi ONCE. The "Open" vi spawns a completely separate process that runs in its own loop. The "Start" vi instructs this process to start running the compressor whenever it sees the pressure switch close. The "Stop" vi similarly tells this process to stop running the compressor. And the "Close" vi both stops the compressor and kills this process.

You're not hurting anything if you're executing the "Start" vi in every loop.... but you're wasting some small amount of processor cycles that you don't need to.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter

Last edited by Kevin Sevcik : 28-01-2009 at 10:21.
  #7   Spotlight this post!  
Unread 28-01-2009, 11:32
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: No compressor control

Kevin,
What's wrong with his wiring? Isn't he just connecting the Nason pressure switch to a digital input on the Digital Sidecar? I thought that he meant "black and wire wires of the pwm CABLE to the pressure switch".

Russ
  #8   Spotlight this post!  
Unread 28-01-2009, 12:00
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: No compressor control

Quote:
Originally Posted by Russ Beavis View Post
Kevin,
What's wrong with his wiring? Isn't he just connecting the Nason pressure switch to a digital input on the Digital Sidecar? I thought that he meant "black and wire wires of the pwm CABLE to the pressure switch".

Russ
Apologies. I read it as connecting the black and white wires of a PWM directly to a relay. In hindsight, this wouldn't work anyways, as the spikes expect a 5V signal there, not a simple contact closure. Your interpretation is probably the correct one. I suppose the root of the problem is that we often use "PWM" cables for darn near all the signal wiring on the robot. So just talking about a PWM cable provides zero context as to where it might be connected.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #9   Spotlight this post!  
Unread 28-01-2009, 14:19
Mr. E Mr. E is offline
Its physics or stamp collecting
FRC #1883
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 38
Mr. E is an unknown quantity at this point
Re: No compressor control

How do I update to the latest version of the WPI libraries for Labview? We weren't able to find an existing compressor program so we just wrote our own (unsuccessfully of course). When I go to the WPILib website I see this Current version with Vex and FRC 2004-2007 support.
  #10   Spotlight this post!  
Unread 28-01-2009, 16:16
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: No compressor control

Your one stop shop for most things about the control system:
FRC Control System Page

The labview update is linked as "FRC Labview Update" If you haven't done so, you'll also need to follow the procedure for the Driver Station update.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #11   Spotlight this post!  
Unread 29-01-2009, 11:23
Mr. E Mr. E is offline
Its physics or stamp collecting
FRC #1883
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 38
Mr. E is an unknown quantity at this point
Re: No compressor control

We ran the update but it was the 2.0 version. We'll re update to the 3.0 and see what we get. Thanks
Closed Thread


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
Running just the compressor (was: free compressor) sciguy125 Pneumatics 15 06-02-2006 18:23
compressor stephenthe1 Pneumatics 3 11-01-2005 08:29
Manual override of compressor software control willross Pneumatics 15 18-02-2004 23:51
compressor maxgebhardt Pneumatics 14 17-01-2004 08:22
Compressor Control Ralph Lambert Pneumatics 2 09-11-2003 13:17


All times are GMT -5. The time now is 16:40.

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