Your program is below
TimeProgram09 to execute response 127 at 0700hrs
Response 127:
Set Flag Flag004
If input DrvWayPer <>0 Then Do Response 126
End If
Response 126:
Say ZoneName
This response at 7:00 am checks input DrvWayPer. If the zone happens to be on at that specific time, it announces the zone name once. It does not annnounce the zone whenevr it is triggered during day (or night), which is what you want
TimeProgram10 to execute response 128 at 2230hrs
Response 128:
Clear Flag Flag004
Clear Flag Flog004 does not do anything because Flag 4 is not a condition for anything
You need to create a zone ON response which announces the zone between certain times;
eg
Zone Response
If Flag Flag004 <>0 then
Say ZoneName
Endif
Time Program 9 Response 127
Set Flag Flag004
Time Program 10 Response 128
Clear Flag Flag004
I hope this example explains the logic that is needed
Last edited on Tuesday Oct 29th, 2019 05:57 am by slychiu
|