PDA

View Full Version : Re: pmsystems logic question



David Rabiner
02-05-2006, 11:59 PM
I'm not that good at this stuff, but here goes:

if A=0 then
A_seconds = 0
B = 0
endif
if A and (B = 0) then A_seconds = A_seconds + elapsed
if A_seconds >= 10 then B = 1

Warm regards,
David


"Rob Archer" wrote in message
news:388429.77861@wb.onvix.com...
> Here is what i would like to make happen,
>
> Engine overheat has been on for 10seconds, now turn on firedetect handle
> on
> fire panel.
>
> So my question is, how can i turn on variable b if variale a was on for
> 10secs or more.
> Thanks,
>
> Rob Archer
>
> Hoosier Performance Specialist
> "No Horse Play Just Horse Power"
>