ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#18015 - 04/03/07 09:56 AM Need Help - Light Sensor & Timer
Neil Offline
enthusiast


Registered: 02/03/05
Posts: 211
Here is the routine: (Light data is stored in Var #25)
My problem: Counter light comes on after light level drops below 200, sun comes back out and light level is above 210, so counter light turns OFF. However, now it gets dark again in a few mins, but the counter light fails to turn ON.

IF Variable #25 is < 200 // Counter Light
0349 - AND Time of Day is > 10:05 //
0350 - THEN Variable #31 = 1 // set flag
0351 - IF Variable #31 becomes = 1 // if flag is set
0352 - AND Timer #14 is = 0 // not locked-out
0353 - THEN X-10 House N / Unit 7, Turn ON // Counter Light ON
0354 - THEN Variable #26 = 1 // flag set for ON
0355 - THEN Timer #14 = 65235 // lock-out for 5mins
0356 - IF Variable #25 becomes > 210 //
0357 - AND Variable #26 is = 1 // Counter Lamp was turned ON
0358 - THEN X-10 House N / Unit 7, Turn OFF // Counter Lamp OFF
0359 - THEN Variable #26 = 0 // reset
0360 - THEN Variable #31 = 0 // reset
0361 - THEN Timer #14 = 0 // reset
_________________________
Neil

Top
#18016 - 04/03/07 01:01 PM Re: Need Help - Light Sensor & Timer [Re: Neil]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6548
Loc: Montreal, QC, Canada
Just like that, it looks ok. Have you tried monitoring the variables and timers to see if they get set to the values you expect when the light gets turned off after an increased light level?
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#18017 - 04/03/07 01:07 PM Re: Need Help - Light Sensor & Timer [Re: Guy Lavoie]
Neil Offline
enthusiast


Registered: 02/03/05
Posts: 211
No .... it happens once a week or so, could there be some way to enhance the above?
_________________________
Neil

Top
#18018 - 04/03/07 01:25 PM Re: Need Help - Light Sensor & Timer [Re: Neil]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6548
Loc: Montreal, QC, Canada
Is there a way you could test it by manually covering the light sensor with your hand to simulate the effect of having the light coming back after a few minutes? The variables and timer should tell us what's happening.
_________________________
"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 51 anonymous users online.
Recent Posts
Shout Box

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

Max Online: 132 @ 11/13/16 10:07 AM
December
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