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: 6401
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: 6401
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
1 registered (kuro) and 21 anonymous users online.
Recent Posts
Basic Ocelot/IR-100 Question
by kuro
02/09/12 04:16 PM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
02/09/12 08:36 AM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
02/09/12 08:34 AM
how to post an icon
by manu
02/03/12 03:40 AM
Command Pair
by kuro
02/01/12 12:49 AM
Shout Box

Newest Members
feshh, manu, kuro, chuck214, Funkhauser
2747 Registered Users
Forum Stats
2747 Members
19 Forums
3837 Topics
22714 Posts

Max Online: 67 @ 08/16/11 03:08 PM
February
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