Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

KNX Push button trigger sequance response
 Moderated by: ident
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Friday Feb 3rd, 2012 12:17 pm
   PM  Quote  Reply 
1st Post
WMADKOUR
Comfort Installers


Joined: Thursday Aug 14th, 2008
Location: Cairo, Egypt
Posts: 56
Status: 
Offline

  back to top

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



 Posted: Friday Feb 3rd, 2012 12:34 pm
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

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



 Posted: Friday Feb 3rd, 2012 12:52 pm
   PM  Quote  Reply 
3rd Post
WMADKOUR
Comfort Installers


Joined: Thursday Aug 14th, 2008
Location: Cairo, Egypt
Posts: 56
Status: 
Offline

  back to top

first thanx for fast reply :) that was quick
yes the switch on send ON value
and the lighting modes is a combination between cytech and KNX



 Posted: Friday Feb 3rd, 2012 01:37 pm
   PM  Quote  Reply 
4th Post
TheMax74
Member


Joined: Monday Jul 16th, 2007
Location: Italy
Posts: 247
Status: 
Offline

  back to top

ASCII art.



 Posted: Wednesday Feb 8th, 2012 07:56 am
   PM  Quote  Reply 
5th Post
WMADKOUR
Comfort Installers


Joined: Thursday Aug 14th, 2008
Location: Cairo, Egypt
Posts: 56
Status: 
Offline

  back to top

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

Last edited on Wednesday Feb 8th, 2012 07:58 am by WMADKOUR



 Posted: Wednesday Feb 8th, 2012 01:49 pm
   PM  Quote  Reply 
6th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

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



 Current time is 12:36 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems