|
Re: FESTO question
Quote:
|
Originally Posted by evilhunter
...how can i make the single solenoid program make it like a double solenoid...
|
Chris,
This can be done in software using a state variable:
Code:
if (p4_sw_trig)
festo_state = 1;
if (p4_sw_top)
festo_state = 0;
relay3_fwd = festo_state;
relay3_rev = 0;
Here, the Festo (or any spring loaded single solenoid) is connected via a spike to the relay3 output of the RC. Note that the variable festo_state must be static.
Hope this helps.
Mike
__________________
Mike Betts
Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013
As easy as 355/113...
|