Page 1 of 1

Toggle Default ON

PostPosted: Sat Nov 10, 2012 6:47 am
by plosey
pdmshot.JPG
pdmshot.JPG (65.51 KiB) Viewed 12414 times


I have a pdm 30 and we have a fire system that I want on once the pdm is on. (so anytime there is power)

I also have a momentary switch that i want to be able to push that will shut off the fire system while working on the car with power on.

I want the fire system to be on as a default though, Any help is appreciated.

Re: Toggle Default ON

PostPosted: Sun Nov 11, 2012 11:29 am
by Herrubermensch
Just wire an ignition-on wire to an input pin, then reference that input pin as the trigger for the output. I reference all of my "ignition on" outputs to the same input pin.

--Peter

Re: Toggle Default ON

PostPosted: Thu Nov 15, 2012 12:11 pm
by MattW
If I understand correct, you want the toggle function, but set to be on as soon as the PDM powers up.
To do this we just have to reverse the result of a toggle.

Create a basic condition (FireSwCondition?) that toggles on the push of your button.
ie: toggle(FireButton, edge = rising)

Then on the output pin, you want it to be true when your toggle condition = false.
ie. FireSwCondition=false

Re: Toggle Default ON

PostPosted: Sat Nov 17, 2012 12:11 pm
by Herrubermensch
An even more elegant solution!

--Peter