View Single Post
  #3   Spotlight this post!  
Unread 04-12-2016, 16:36
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,786
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Exhaust in Solenoids

For a single solenoid
if
solenoid_0.set(true); - seems to be activating your A port (B port off)
then
solenoid_0.set(false); - would switch to activate the B port (A port off)

P.S.
You want to watch what the individual indicator lights are doing on the Pneumatic Control Module (PCM).
If your software works correctly, the status light for each solenoid will be (could be the reverse of this):
  • lit=port A deactivated/port B activated
  • unlit= port A activated/port B deactivated
And you should be able to see them change as your code changes the solenoid from true to false to true.

Once you are sure your code is doing what it is supposed to be doing, then look at the plumbing on the manifold. But make sure your code is operating correctly first.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-12-2016 at 16:52.
Reply With Quote