Ankündigung

Einklappen
Keine Ankündigung bisher.

Wert senden nach Zeit

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

    Wert senden nach Zeit

    Hallo Zusammen,

    ich bräuchte euren Rat...:-) Ich sollte einen Baustein oder eine Schaltung haben...die einen aktuellen Wert mit dem gleichen Wert wie er z.B. vor einer 1h gewesen ist vergleicht.Ist die Differenz zwischen alt (also vor z.B. 1h) und dem aktuellen mehr als z.B. 400...soll eine 1 an einen Ausgang geschrieben werden.
    Es geht um einen Wasserzähler...wo einen Alarm generiert, wenn der Wasserverbrauch innert 1h mehr als 400 liter ist. Zeit 1h und Menge 400 liter sollten natürlich variabel verändert werden können. Kennt da jemand etwas für den Homeserver?

    Vielen lieben dank...schonmal vorab.

    LG
    Tschappli
    Zuletzt geändert von tschappli; 24.05.2017, 21:21.
    Gruss
    Tschappli

    #2
    I am not aware of a module that will do this. I would resolve it as shown in the attachment:
    1. Trigger a command every hour. You can use module 19020 (which will trigger every 60 minutes after reboot) or you could use a timeclock if you want it every hour on the hour. If you want to be able to modify the period, then add an input to E2 of module 19020.
    2. The hourly command will do two things:
      - Load the last value (in the example: 0/0/98) to a holding register (in the example: 0/0/97);
      - Load the current reading (0/0/96) to 0/0/98.
    3. The next line of logic will be calculated twice.
      1. When 0/0/97 is written as the first command, the result of the subtraction will be zero.
      2. When 0/0/98 is written, the delta reading of the last hour will be input to the comparison module.
    4. If the comparison module received an input exceeding the preset value (400, or whatever has been set by 0/0/95), an 'alarm' GA will be set to '1'.

    You could use internal objects, I used the external ones as I have them available as test objects in my HS.
    (reply in German is fine.)

    Bram
    Angehängte Dateien

    Kommentar


      #3
      Hallo Bram...:-) vielen lieben Dank für Dein Beispiel ! Hat perfekt funktioniert...:-).

      Thank you!!!

      Markus
      Gruss
      Tschappli

      Kommentar

      Lädt...
      X