|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
I need help on the programming of a momentary switch used for a double solenoid. I basically want the solenoid to fire when i press the button then when I let go it should retract. I have the switch wired to p1_sw_trig on the OI. The solenoid is wired to relay two. The two grounds from the solenoid are wired directly to the battery ground. One red switch is wired to M+ and vice versa. Thanks
|
|
#2
|
||||
|
||||
|
Re: Momentary Switch Programming
Are you saying that the black wires from the solenoid are connected to the ground, and one each of the red wires are connected to M+ and M-? If so, that's not the FIRST-legal way to wire a double solenoid - you're supposed to use either two Spikes, or a couple of diodes in to connect all 4 wires to a single Spike.
Nevertheless, if you do something like this, it should work: Code:
relay2_fwd = p1_sw_trig; relay2_rev = !p1_sw_trig; Code:
relay2_fwd = !p1_sw_trig; relay2_rev = p1_sw_trig; |
|
#3
|
|||
|
|||
|
Re: Momentary Switch Programming
WE have wired the solenoids this way in the past and posted a question on the Q & A forum. First approved it in 2004.
|
|
#4
|
||||
|
||||
|
Re: Momentary Switch Programming
Thanks alot.
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problems programming knob and switch | caderader | Programming | 4 | 16-02-2006 16:45 |
| Need Help Wiring Micro Switch/Limiting Switch | Windward | Electrical | 2 | 07-02-2006 18:26 |
| Problems programming a switch | caderader | Programming | 2 | 18-02-2005 22:06 |
| 3 way toggle switch programming | LeadRiccardoT | Programming | 3 | 17-02-2003 02:02 |
| Error found in programming for the pump and pressure switch | sjharobotics | Programming | 4 | 06-02-2002 17:46 |