[Hai-users] multiple ON commands
John Purnell
imail at northsquare.com
Sat Nov 2 09:05:42 CDT 2013
Thanks Doug, I will do this and see if it prevents the confusion in
the controller.
THis makes perfect sense, and I know this was the way I did a lot of
stargate programming, it worked good there.
John.
At 05:45 AM 10/31/2013, Doug Ringler wrote:
>John,
>
>I think you are on the right track with a flag. I would establish a "door
>flag", and when any of the three doors go NOT READY, Turn door flag ON for
>12 minutes. That way, any door that opens will reset the flag back to 12
>min.
>
>Then, call for the entrylight to turn on when the door flag turns ON, and
>then have the light go off when the door flag turns OFF.
>
>I have a very similar program with the units being different, and I think
>this should get over your high activity problems.
>
>Doug Ringler
>
>
>-----Original Message-----
>From: hai-users-bounces at tssi.com [mailto:hai-users-bounces at tssi.com] On
>Behalf Of John Purnell
>Sent: Wednesday, October 30, 2013 8:16 PM
>To: <hai-users at tssi.com>
>Subject: [Hai-users] multiple ON commands
>
>Hi all,
>
>I've got a OP2 with UPB interface running. Having an issue with a program
>I'm trying to do.
>
>I'm trying to turn an entry light on for 12 minutes when any of 3 different
>doors open (zones.)
>
>1 is wired, and 2 are wireless. all zones work great, and I see all status
>when open/closed.
>
>This might be more of a programming question.
>
>Currently I have a program set when any of the 3 zones go Not Ready I turn
>the EntryLight on for 12 minutes. With little activity this works great, but
>when you go through the doors a bunch the system hiccups and will not either
>turn off or turn on the light.
>
>I'm thinking maybe I need to program this a different way. Maybe any zone
>turns the light ON and then sets a flag timer, and can reset the flag timer?
>
>I'm more of a JDS Stargate programmer, and though i've converted all over to
>hai OP2, I am just not as skilled in using the HAI language for programming.
>
>any advice?
>
>Thanks,
>John.
>
>
>_______________________________________________
>HAI-users mailing list
>HAI-users at tssi.com
>http://romaine.tssi.com/mailman/listinfo/hai-users
More information about the HAI-users
mailing list