|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
have a question to ask about Double Solenoids to one spike programming
Code:
if (top_grab=OPEN) {
grab_relay_open=OPEN;
grab_relay_close=CLOSE;
} else { grab_relay_open=CLOSE;
grab_relay_close=OPEN;
}
{
|
|
#2
|
|||
|
|||
|
Re: have a question to ask about Double Solenoids to one spike programming
Quote:
1) both ground leads go to a ground slot. 2) the hot leads each go to a side of the spike (one to each side). 3) if(condition) { printf("actuator forward"); relay1_fwd = 1; relay1_rev = 0; } else { printf("actuator back"); relay1_fwd = 0; relay1_rev = 1; } |
|
#3
|
|||
|
|||
|
Re: have a question to ask about Double Solenoids to one spike programming
There is another thread similar to this called someting like "how do you wire your double solenoids"
Anyhow, it is more of a wiring thing than a programming thing I think. This is how we do it. We have two double solenoids. We have one relay that actuates the extend function on both, and one relay that actuates the retract function on both. We do this because it is the cylinders for shifting, and we don't mind (actually want) them firing at the same time. |
|
#4
|
|||||
|
|||||
|
Re: have a question to ask about Double Solenoids to one spike programming
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How does your team wire your Double Solenoids? | Doug G | Pneumatics | 14 | 17-02-2005 23:25 |
| General programming question | mikesown | Programming | 1 | 07-02-2005 16:09 |
| Purchasing double solenoids | bob1million | Pneumatics | 11 | 08-07-2004 03:17 |
| MIM's question of the day on programming. | Gene F | Programming | 3 | 24-02-2004 16:32 |
| Rookie Question. double solenoids... | archiver | 2001 | 2 | 24-06-2002 00:57 |