View Single Post
  #2   Spotlight this post!  
Unread 28-01-2009, 16:06
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,670
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: Need help with Festo Solenoid and Labview

Festo Solenoids should be connected to the Solenoid Breakout, as seen on page 34 of the Component Datasheets. First, make sure you have 12V power connected to the Solenoid Breakout. Then you can use one of the 2-wire jumpers provided in the kit to connect the Festo solenoid. The pins on the Solenoid Breakout are (more or less) single direction relays. So they only turn power on or off. For consistency, you should make sure the +Out pin connects to red wires, and the GND pin connects to black wires, but this isn't mandatory.

As far as programming in labview, the solenoid functions are in the WPI Library>Actuators palette. Per usual with the WPIlib, you first "open" a solenoid reference. Then you "Set" the solenoid state in your loop code. And finally, you "Close" the reference. The "Set" function takes a simple boolean input to set the solenoid on/off, so you can wire your button output straight to it.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote