View single post by WMADKOUR | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Posted: Friday Feb 3rd, 2012 12:17 pm |
|
||||||||||||
WMADKOUR
|
i had a request from a client to make one channel of KNX universal module triggering 6 sequence lighting mode, i need to share it with whom interest or who have a previous experience with that type of operation. first i made the channel properties of knx module to send "1" value only then connect it to a counter at configrator, then i wrote the following response using counter70 for sequence operation: Increment Counter0070 If Counter Counter0070 = 1 Then Do HosamMode1 Else If Counter Counter0070 = 2 Then Do HosamMode2 Else If Counter Counter0070 = 3 Then Do HosamMode3 Else If Counter Counter0070 = 4 Then Do HosamMode4 Else If Counter Counter0070 = 5 Then Do HosamAllON Else If Counter Counter0070 = 6 Then Do HosamAllOFF Set Counter0070 = 0 End If End If End If End If End If End If appreciate your contribution thanx Last edited on Friday Feb 3rd, 2012 12:19 pm by WMADKOUR |
||||||||||||
|