Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KNX Push button trigger sequance response
#1
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 Smile thanx
Reply
#2
This response works, right?

You mean that every time you press the KNX button either On or Off, the mode will change?
Is the mode change also in KNX lights
Reply
#3
first thanx for fast reply Smile that was quick
yes the switch on send ON value
and the lighting modes is a combination between cytech and KNX

Reply
#4
ASCII art.
Reply
#5
we download the program but it works only on sending (0) value from the  universal kNX module (US/2) and doesn\'t works at all when it send (1) - ON value -to the counter, after all it  works , but dose any one has an explanation for that ?
thx
Reply
#6
The counter70 value of 1 does not work?
Check the counter 70 using the command
C?46 command gives a reply to tell what the value is
46 is hexadecimal for 70
eg
C?4602 means the counter 70 is value 2

This checks if the counter value is what you expect
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)