Ankündigung

Einklappen
Keine Ankündigung bisher.

Ablaufsteuerung

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    HS/FS Ablaufsteuerung

    Hallo zusammen,

    ich habe ca 150 GA die je nach Uhrzeit nacheinadern eingeschaltet werden sollen.
    Das sollte so laufen:
    Um 8, 9, 10 Uhr läuft eine Sequenz, diese schaut nach wann die einzelne GA geschaltet werden soll und schaltet diese je nach Einstellung zur vollen Stunden nacheinader an oder aus. Diese Einstellung kann sich Täglich ändern und sollte über QC eingestellt werden, eine entsprechende Funktionsvorlagen würde ich mir dann dafür erstellen.
    Es soll immer 1 sec. zwischen den Ein/Ausschalt Befehlen liegen um die Spitzebelastung zui reduzieren. Wenn ich für jede GA eine Schaltuhr nehme ist der Einschaltpunkt ja nicht mehr zu kontrollieren.
    Müsste ich da in der Logik für jede GA eine eigene Logik nehmen oder kann man da so eine Art Schleife einbauen, welche der Reihe nach alle gewünschen GA's bearbeitet.
    Es würde für jedes externe KO ein internes KO geben welche die Uhrzeit enthält wann geschaltet werden soll.

    Ich hoffe ich konnte es verständlich schreiben.

    Danke schon mal.

    Gruss Wolfgang

    #2
    I can barely imagine what you are trying to achieve... Maybe this will do the trick for you:
    Assumptions:
    • 1-bit switching GA for lights: 1/1/1, 1/1/2....1/1/150
    • 2-bit enabling GA for those lights: 1/2/1, 1/2/2...1/2/150
    • 2-bit triggering GA for those lights: 1/3/1, 1/3/2...1/3/150
    • A single 2-bit internal KO, 1/2/0
    • You have plenty of time to do this enormous amount of programming:


    Use your QC to enable or disable the lights to switch at a certain time by setting the associated enabling GA:
    • No action: set it to 0
    • Switch on at 8 o'clock: 1
    • Switch on at 9 o'clock: 2
    • Switch on at 10 o'clock: 3


    Configure a sequencer to set each triggering GA to the value of the single dedicated internal KO 1/2/0. So, set 1/3/1 to the value of 1/2/0 at 1 second into the sequence, the last one (1/3/150, set to the value of 1/2/0) at 150 seconds. (If the sequencer cannot hold that many commands, then split it into multiple sequencers.)

    Each light will have it's own command line consisting of an 'Equal to' module (9019):
    • Input E1: the 2-bit enabling GA for that light, i.e. 1/2/1.
    • Input E2: the 2-bit triggering GA for that light, i.e. 1/3/1.
    • Output A3 will trigger a command ('Befehl') in the output box to set that light (i.e. 1/1/1) to the value '1'.


    At 8 o'clock, set the value of iKO 1/2/0 to '1', and trigger the sequencer to start. It will send a '1' to each and every Baustein 9019, one at a time, a 1-second intervals for 150 seconds. If that '1' matches the value of the enabling GA for that light, it will command that light to go on.
    At 9 o'clock set the value to '2' and trigger the same sequencer. Etc.

    That makes 150 lines of logic for the lights, 3 lines of logic for the setting the iKO value and triggering the sequencer, plus all the stuff in the QC (which I don't use, so don't know how you would achieve that). And that is just to turn them on. Could be just as much to turn them off again... It will keep you busy for a good part of the weekend :-). Btw, response in German is perfectly fine.

    Bram
    Afterthought: the 2-bit GAs better be 4-bit so that you can have more than 4 states. Reason: Input E2 of the 'Equal to' module should have a default value that is not equal to the four states mentioned, so set the default to any other number (say: '99'). If left at zero then all the lights will turn on at boot-time (both inputs would be zero, and hence: equal). Also, after executing the trigger at 8, 9 or 10 o'clock run the sequencer again to set the trigger input to '99' again - otherwise when a light is selected to switch at a certain time, then it could switch immediately when that selection is made (if the value matches what was last sent by the sequencer). Yet another thing to worry about is how to restore the selection values of each light after a reboot.
    I don't have an interface between KNX and the Raspberry, but what you are trying to achieve in the HS can be done in a much simpler fashion using a programming tool on the Raspberry. I am glad I don't have to implement such a scenario with 150 lights...

    ​​​​​​
    Zuletzt geändert von bramlangen; 18.02.2017, 10:23. Grund: Added the afterthought

    Kommentar


      #3
      Hallo bramlangen,

      danke für deine sehr ausführliche Antwort, das ist ein guter Ansatz. Du hast mich auf den richtigen Weg gebracht.

      Gruss Wolfgang

      Kommentar

      Lädt...
      X