Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   problem with programming solenoid vales (http://www.chiefdelphi.com/forums/showthread.php?t=83267)

scorpions980 21-02-2010 12:14

problem with programming solenoid vales
 
our team is currently using the pneumatic system for the arm and we are having problems with the double solenoid valve. the module is connected to slot 8. and the sides are connected to the first and second channel. the compressor is operated by a external battery and there are 4 cylinders connected in a chain which is connected by surgical tubing to the pneumatics which is connected by tubing to the piston. i dont see a problem with the wiring because the lights on the solenoid alternate when i press the button i set it to. and it works manually with the blue button on the solenoid. the code is very simple as well

Solenoid * compress;
Solenoid * decompress;

//its initialized inside the default robot
compress = new Solenoid (1);
decompress = new Solenoid (2);

//inside is operator loop
if (leftstick->GetRawButton(6)){
compress->Set(true);
decompress->Set(false);}
else{
compress->Set(false);
decompress->Set(true);}

can someone tell me a way to make the piston fire and not just make the lights on the solenoid switch on and off? thank you.
//
i am sure everything is connected corrected and yes it was enabled there was nothing that we could tell was wrong

Bryan Herbst 21-02-2010 12:56

Re: problem with programming solenoid vales
 
Is the soleniod breakout connected to the 24v connector on the PDB (same connector as the cRio), or is it connected to another Wago terminal on the PDB?

It should be connected to the former, as the rest of the PDB only provides 12v but the solenoids require 24v.

scorpions980 21-02-2010 17:37

Re: problem with programming solenoid vales
 
oh wow, i cant believe i missed something so obvious, thanks a bunch
$@#$@#$@#$@# freshmen musta wired it when i wasn't paying attention.

willzone1 27-02-2010 10:13

Re: problem with programming solenoid vales
 
Actually, according to the manual the solenoid breakout board accepts 6-30V. There is no need for 24V, 12V does fine. We have had ours hooked up through a 12V Wago terminal on the PDB, and we have had our solenoids working great.

Mark McLeod 27-02-2010 10:50

Re: problem with programming solenoid vales
 
That's because you are using 12VDC solenoids.
The one solenoid that came in the 2010 KOP is 24VDC.
You have to wire the voltage that fits your solenoids. They are labeled.

Quote:

Originally Posted by willzone1 (Post 929353)
Actually, according to the manual the solenoid breakout board accepts 6-30V. There is no need for 24V, 12V does fine. We have had ours hooked up through a 12V Wago terminal on the PDB, and we have had our solenoids working great.



All times are GMT -5. The time now is 13:46.

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