|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Polar direction between two cylinders
How can we control the output of two cylinders in opposite directions continously?
We are using two Festo solenoid valves right now. We got them to go in reverse of each other: for example say piston A goes in , and piston B goes out but this happens only once unless we manually reverse the tubing to the exhaust [2 to 4]. |
|
#2
|
||||
|
||||
|
Re: Polar direction between two cylinders
Quote:
See is that does what you want... If not, please describe what you are trying to do in more detail. |
|
#3
|
||||
|
||||
|
Re: Polar direction between two cylinders
I can't say i completely understand your situation either - do you want both those to function toether, just opposite? - if so, this can be done with only one solenoid valve as mike mentioned.
If you are talking about two completely separate cylinders on different solenoids that only go one way without switching tubing then i would double check your hose locations with the schematic on the solenoid valve. Try actuating them manually first just by flipping the little blue tab on the festo solenoid valve to make sure they do what you want before incorperating electrical and programming control. Quote:
Hope some of this helps - Please explain more if I have completely misunderstood what you are asking. Jeff |
|
#4
|
|||
|
|||
|
Re: Polar direction between two cylinders
I was taking about "controlling two cylinders together, only opposite to each other using 2 solenoids" therefore both of you answered my question[T-connector].
Although,we have been doing this manually. Our team needs to know if there is already solenoid control in the FRC_default.hex. As is- what will the code do? I noticed a header file online called "Pneumatics.h" and we would like to know if we need to download this header and basically what other headers, if any, do we need for cylinder control. Thanks! mmreilly@gmail.com |
|
#5
|
|||||
|
|||||
|
Re: Polar direction between two cylinders
Quote:
Code:
relay1_fwd = p1_sw_trig & rc_dig_in01; /* FWD only if switch1 is not closed. */ relay1_rev = p1_sw_top & rc_dig_in02; /* REV only if switch2 is not closed. */ relay2_fwd = p2_sw_trig & rc_dig_in03; /* FWD only if switch3 is not closed. */ relay2_rev = p2_sw_top & rc_dig_in04; /* REV only if switch4 is not closed. */ relay3_fwd = p3_sw_trig; relay3_rev = p3_sw_top; relay4_fwd = p4_sw_trig; relay4_rev = p4_sw_top; relay5_fwd = p1_sw_aux1; relay5_rev = p1_sw_aux2; relay6_fwd = p3_sw_aux1; relay6_rev = p3_sw_aux2; relay7_fwd = p4_sw_aux1; relay7_rev = p4_sw_aux2; The "aux" buttons are the ones to either side of the large "hat" button at the top of the joystick. the "top" button is the thumb button on the joystick. You don't need any additional header files. Last edited by Mark McLeod : 18-02-2005 at 11:48. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pneumatic Cylinders | MASherry | Pneumatics | 1 | 09-01-2005 18:49 |
| The Polar Express | sanddrag | Chit-Chat | 7 | 03-06-2004 00:52 |
| Custom pneumatic cylinders | duckshepherd | Pneumatics | 7 | 24-01-2004 20:39 |
| Air cylinders | archiver | 2000 | 1 | 24-06-2002 00:14 |
| Beatty and Kingman | JAlpert | Regional Competitions | 51 | 08-04-2002 16:59 |