View Single Post
  #1   Spotlight this post!  
Unread 16-06-2014, 19:42
Team 4939 Team 4939 is offline
Registered User
AKA: Anshul Shah
FRC #4939 (All spark 9)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brampton
Posts: 52
Team 4939 is an unknown quantity at this point
Re: Pneumatics system code

Quote:
Originally Posted by Mark McLeod View Post
Only one spike per double solenoid.
The code for a double would use kForward for one direction and kReverse for the other direction. Don't use kOff for this purpose.
Wiring a spike to control a 12v-only solenoid via a Relay output on the Digital Sidecar looks like this:


24v solenoids are usable only through the cRIO Solenoid Module/Breakout, not a 12v Spike relay.
By the picture that I posted earlier this evening could you tell me if it is a 24v solenoid or a 12v solenoid. If not I will just ask my electrical team members.