Hi
I am trying to operate the lights on a flight of stairs when the lights at either end are both on but for some reason the Response does not seem to work. I have this triggered by Counter Responses on the lights L-T1 and L-Hd1
If Counter L-Hd1HallCentre > 0 Then
If Counter L-T1a_DSHallA > 0 Then
Cbus RampInst 2 35 200 ! Turn on Stairs lights to 80% since hall lights are on and lower hall lights are on
Else
Cbus RampInst 2 35 0 ! Turn off stairs light as lower hall is off
End If
Else
Cbus RampInst 2 35 0 ! Turn off stairs light as hall lights are off
End If
Generally the lights on the stairs are off except after a Security Off when they come on. Changing the states of L-T1 and L-Hd1 makes no difference.
Any ideas why this doesn't work, or suggestions of a better way?Last edited on Saturday Dec 29th, 2012 08:00 am by pgc_uk
|