ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#19145 - 12/18/07 01:02 PM Missing Timer Event
Neil Offline
enthusiast


Registered: 02/03/05
Posts: 211
In this program, the lights sometimes do not turn on and Timer # 29 is busy counting up, hence I decided to add a second satement. But does not help. (Var #25 is the light level)

Should I change from becomes to > statement?

0229 - IF Variable #25 becomes < 140 // Deck/Porch Lights ON
0230 - AND Time of Day is > Sunset offset -44 minutes //
0231 - THEN Timer #29 = 1 // start timer
0232 - IF Variable #25 becomes > 140 //
0233 - AND Time of Day is > Sunset offset -44 minutes //
0234 - THEN Timer #29 = 0 // stop timer if ligh level goes high
0235 - IF Timer #29 becomes > 100 // 2 mins later
0236 - OR Timer #29 becomes > 110 //
0237 - THEN X-10 House P / Unit 5, Turn ON // Xams Lights
0238 - THEN X-10 House P / Unit 1, Turn ON // Deck/porch
0239 - THEN Timer #29 = 0 // stop timer
0240 - THEN Variable #16 = 1 // flag set for ON
0241 - IF Time of Day is > Sunrise offset -32 minutes //
0242 - AND Time of Day is < 10:00 //
0243 - AND Variable #25 becomes > 130 //
0244 - AND Variable #16 is = 1 // lamp was turned ON
0245 - THEN X-10 House P / Unit 1, Turn OFF //
0246 - THEN Variable #16 = 0 // reset
0247 - //
0248 - IF Variable #25 becomes < 155 // Garden Lights ON
0249 - AND Time of Day is > Sunset offset -44 minutes //
0250 - THEN Timer #32 = 1 // start timer
0251 - IF Variable #25 becomes > 155 // light level goes high
0252 - AND Time of Day is > Sunset offset -44 minutes //
0253 - THEN Timer #32 = 0 // stop timer
0254 - IF Timer #32 becomes > 100 // ligh level stays low for 2 min
0255 - OR Timer #32 becomes > 110 //
0256 - THEN X-10 House N / Unit 2, Turn ON //
0257 - THEN Timer #32 = 0 // stop timer


Edited by Neil (12/18/07 01:05 PM)
_________________________
Neil

Top
#19153 - 12/19/07 11:44 AM Re: Missing Timer Event [Re: Neil]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6548
Loc: Montreal, QC, Canada
Are you saying that Timer #29 counts past 110?
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#19159 - 12/20/07 10:05 AM Re: Missing Timer Event [Re: Guy Lavoie]
Neil Offline
enthusiast


Registered: 02/03/05
Posts: 211
Yes, Timer #29 counts pass the first 100, hence I added the second 110 statement, is this possible?
_________________________
Neil

Top
#19160 - 12/20/07 12:00 PM Re: Missing Timer Event [Re: Neil]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6548
Loc: Montreal, QC, Canada
Are you absolutely certain that Timer #29 is not used anywhere else in your program (your listing is only for a certain line range)? Use the C-Max search button to look for any other instances.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
Page 1 of 1 1


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
0 registered and 59 anonymous users online.
Recent Posts
am pm
by edr
05/05/17 05:25 PM
Shout Box

Newest Members
brigiel, vevevie, zhutree, 416, saiqul
3003 Registered Users
Forum Stats
3003 Members
19 Forums
3999 Topics
23425 Posts

Max Online: 132 @ 11/13/16 10:07 AM
May
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31