Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Waveshare Modbus Hilfe

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Waveshare Modbus Hilfe

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @znaeb last edited by Homoran

      @znaeb sagte in Waveshare Modbus Hilfe:

      Adresse 1 im Zähler und Device ID 1 im Adapter sollten zusammen passen, richtig?

      ja!

      @znaeb sagte in Waveshare Modbus Hilfe:

      Debug log im iobroker hatte ich doch in meinem ersten Post eingefügt.

      Ach ja!
      un da kommt nach dem korrekten Start

      @znaeb sagte in Waveshare Modbus Hilfe:

      2024-03-10 08:15:38.308 - warn: modbus.0 (6425) Error: undefined

      was auch immer da undefined ist.

      die Meldung

      @znaeb sagte in Waveshare Modbus Hilfe:

      2024-03-10 08:15:38.308 - error: modbus.0 (6425) Request timed out.

      sagt, dass nichts zurückkommt, wahrscheinlich weil am Gerät keine auswertbare Anfrage angekommen ist.

      Anschließend noch die Meldung dass der Client im Error ist.

      Leider kann ich bei der zusätzlichen Komplikation nicht helfen, da ich so etwas nicht nutze.

      EDIT:
      Hab da noch was im Hinterkopf.
      jann es sein dass du nicht TCP sondern RTU über TCP o.ä. einstellen musst?

      Z 1 Reply Last reply Reply Quote 0
      • Ralla66
        Ralla66 Most Active @znaeb last edited by

        @znaeb

        sagt mal, ganz ohne Wissen über Modbus,
        Doku Kapitel 4.1.1
        Device ID 01, Functionscode 03 ( Holdingregister ) Adresse 5000 Active Import.
        Ist das nicht Holdingadresse 35000 ?

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Ralla66 last edited by

          @ralla66 sagte in Waveshare Modbus Hilfe:

          @znaeb

          sagt mal, ganz ohne Wissen über Modbus,
          Doku Kapitel 4.1.1
          Device ID 01, Functionscode 03 ( Holdingregister ) Adresse 5000 Active Import.
          Ist das nicht Holdingadresse 35000 ?

          nein!
          5000 ist Hex und muss nach Dezimal umgerechnet werden.

          Ralla66 1 Reply Last reply Reply Quote 0
          • Ralla66
            Ralla66 Most Active @Homoran last edited by

            @homoran

            Danke für die Info,
            Einstellung Modbus TCP to RTU ist ja ok.
            Da scheint auch alles richtig.
            Mich wundert das undefined auf die Address :

            2024-03-10 08:15:33.307 - debug: modbus.0 (6425) [DevID_1/holdingRegs] Poll address 20479 - 4 registers
            
            2024-03-10 08:15:38.308 - warn: modbus.0 (6425) Error: undefined
            
            Homoran 1 Reply Last reply Reply Quote 0
            • Ralla66
              Ralla66 Most Active @znaeb last edited by

              @znaeb

              Prüfe mal die Einstellung im Zähler für Modbus, Kapitel 3.2.7 Baudrate ( 9600 ) usw.

              1 Reply Last reply Reply Quote 0
              • Z
                znaeb @Homoran last edited by

                @homoran said in Waveshare Modbus Hilfe:

                Hab da noch was im Hinterkopf.
                jann es sein dass du nicht TCP sondern RTU über TCP o.ä. einstellen musst?

                Werde ich morgen mal testen. Habe im Kontext des Waveshare Gateway häufig gelesen, dass man NICHT RTU über TCP nehmen soll.

                Ich fand das Hutschinen Bauteil auf RJ45 von der Einbausituation sehr charmant. Vielleicht muss ich doch auf einen USB Adapter wechseln.

                Dank euch allen für die sonntägliche Mühe. Großen Respekt für die zahlreichen und schnellen Antworten.

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Ralla66 last edited by Homoran

                  @ralla66 sagte in Waveshare Modbus Hilfe:

                  Einstellung Modbus TCP to RTU ist ja ok.

                  im Adapter steht TCP!
                  evtl muss da RTU over TCP hin

                  edit:
                  hat sich überschnitten

                  Ralla66 1 Reply Last reply Reply Quote 0
                  • Ralla66
                    Ralla66 Most Active @Homoran last edited by

                    @homoran sagte in Waveshare Modbus Hilfe:

                    Modbus TCP to RTU

                    im Waveshare war gemeint

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @znaeb last edited by Homoran

                      @znaeb sagte in Waveshare Modbus Hilfe:

                      Habe im Kontext des Waveshare Gateway häufig gelesen, dass man NICHT RTU über TCP nehmen soll.

                      gerade auch gefunden
                      https://forum.iobroker.net/post/940846
                      im nächsten Post gibtces auch die Einstellungen für den Waveshare.
                      Da sind zumindest die Ports für iob anders und nicht auch 502

                      1 Reply Last reply Reply Quote 0
                      • Z
                        znaeb last edited by

                        Im Waveshare lässt sich nichts anderes als "RTU to TCP" eintragen. Ob ich im iobroker "TCP" oder "RTU over TCP" einstelle ändert nichts an der Fehlermeldung.
                        Ich habe nichts gefunden, dass man im Waveshare ein Log auslesen könnte.
                        Modbus Einstellungen bzgl. Baudrate etc. im Zähler habe ich jetzt mehrfach überprüft. Mir sind keine Abweichungen aufgefallen.
                        Zum Mäusemelken!
                        Ich bestelle mir mal einen RS485 USB Adapter und teste damit.

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @znaeb last edited by

                          @znaeb Hast du mal den in meinem letzten Post verlinkten Thread verfolgt?

                          Z 1 Reply Last reply Reply Quote 0
                          • Z
                            znaeb @Homoran last edited by

                            Die Lösung des Problems ist so banal wie ärgerlich: Am Stromzähler sind die Anschlüsse falsch beschriftet. A und B getauscht und es läuft.

                            Danke trotzdem für die Hilfe.

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @znaeb last edited by

                              @znaeb sagte in Waveshare Modbus Hilfe:

                              Die Lösung des Problems ist so banal wie ärgerlich: Am Stromzähler sind die Anschlüsse falsch beschriftet. A und B getauscht und es läuft.

                              Mist!
                              Das hab ich ganz vergessen. Sollte mit eine der ersten Maßnahmen sein das zu testen.

                              Sorry

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              850
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              4
                              29
                              1338
                              Loading More Posts
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes
                              Reply
                              • Reply as topic
                              Log in to reply
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                              The ioBroker Community 2014-2023
                              logo