Ankündigung

Einklappen
Keine Ankündigung bisher.

Multiplikation

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

    Multiplikation

    Hallo habe eine Logic für die Heizungssteuerung gebaut mit der ich 2 Räume regeln möchte die keinen Raumregler besitzen.
    Aber bei den GA 0/5/8 und 0/5/18 kommt immer das selbe raus wie bei dem Eingang 0/5/13. Bei Anteil Flur und Anteil WC gebe ich eine zahl zwischen 0.1 und 1 an.
    Das Fenster sendet eine 1 wenn es offen ist und eine 0 wenn es geschlossen ist daher ist der eingang Negiert.
    You do not have permission to view this gallery.
    This gallery has 1 photos.

    #2
    was haben die Anteils-Objekte für einen Datentyp ? runden die evtl. auf eins ?
    ____________

    Gruss Norbe

    Kommentar


      #3
      Die haben Eis10

      Kommentar


        #4
        EIS10 = Zähler-Wert, 16bit, mit/ohne Vorzeichen

        Norbert pinpointed the issue correctly. Try EIS5.

        Bram

        Kommentar


          #5
          EIS5 geht leider auch nicht, Kann es an dem 8-bit (0-100%/EIS 6) liegen welches die Stellgröße vom Friseur liefert?
          Müßte ich die vor dem Multiplitzieren erst wandeln? Wenn ja in welchen Datentyp und mit welchem Baustein?

          Kommentar


            #6
            I tested the logic as per the attachment. Inputs: 1 x EIS5, 1 x EIS6, then module 9037, then output EIS5. When I try .2*49% the answer is 9.8. So, the only thing that may be different in your case is the output data type?
            By the way, you may want to automate one of the 'Anteil' inputs, I presume they always need to add up to 1.00...
            (Another 'by the way': if I change the output to EIS6 the result is identical: 9.8.)
            You do not have permission to view this gallery.
            This gallery has 1 photos.
            Zuletzt geändert von bramlangen; 26.10.2016, 20:58. Grund: Added the text in brackets

            Kommentar


              #7
              Genau das habe ich. E1 = Eis6, E2 = Eis5 und A1 = Eis6. Aber sofort nach Start vom HS kommt da der Prozentwert von E1 egal auch ob das Fenster auf oder zu ist.

              Kommentar


                #8
                Versuche mal die zwei interne KOs Adressen zu geben, zB 105/5/8 und 105/5/18, und schaue im Eibmon an welche Werte durchkommen wann du so eine Wert setzt.

                Kommentar


                  #9
                  Danke für eure Hilfen! Aber ich habe heute die Gruppenadressen, Logic usw. neu angelegt und es Funktioniert. Weiß nicht wo da der Wurm drin war. Aber Trotzdem vielen Dank.

                  Kommentar


                    #10
                    Did you create the original logic by copying it from another location, where you had similar logic? I know I once had unexplainable behavior of the logic I copied. Since then, I always create new logic from scratch.

                    Kommentar


                      #11
                      No, it was not copied. Re-created. But I can not understand where the error has settled. Is not synonymous extensive Logic. Nevertheless many thanks.

                      Kommentar

                      Lädt...
                      X