Navigation

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

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Modbus adapter

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

      @schtallone sagte in Modbus adapter:

      Ist dieses Connect / Disconnect VErhalten normal?

      wenn du

      @schtallone sagte in Modbus adapter:

      Weitere Register der Zähler lese ich direkt per NodeRed aus

      auf das selbe Interface zugreifst könnte ich mir das als Ursache vorstellen.

      S 1 Reply Last reply Reply Quote 0
      • S
        Schtallone @Homoran last edited by

        @homoran
        Ich habe mal die Abfragen über NodeRed deaktiviert. Die Frquenz der Disconnects ist geringer geworden, aber nicht weg:

        2023-09-21 19:29:58.381  - info: modbus.0 (21734) starting. Version 5.0.11 in /opt/iobroker/node_modules/iobroker.modbus, node: v18.17.1, js-controller: 5.0.12
        2023-09-21 19:29:59.582  - info: modbus.0 (21734) Connected to slave 192.168.1.47
        2023-09-21 19:30:00.058  - info: host.iobroker instance system.adapter.dwd.0 started with pid 21749
        2023-09-21 19:30:02.490  - info: dwd.0 (21749) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.17.1, js-controller: 5.0.12
        2023-09-21 19:30:05.734  - info: dwd.0 (21749) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
        2023-09-21 19:30:06.258  - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
        2023-09-21 19:30:23.880  - info: modbus.0 (21734) Disconnected from slave 192.168.1.47
        2023-09-21 19:31:23.882  - info: modbus.0 (21734) Connected to slave 192.168.1.47
        2023-09-21 19:31:44.468  - info: modbus.0 (21734) Disconnected from slave 192.168.1.47
        2023-09-21 19:32:09.510  - info: admin.0 (246) ==> Connected system.user.admin from ::ffff:192.168.1.119
        2023-09-21 19:32:44.471  - info: modbus.0 (21734) Connected to slave 192.168.1.47
        2023-09-21 19:33:04.531  - info: modbus.0 (21734) Disconnected from slave 192.168.1.47
        
        1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @Schtallone last edited by Glasfaser

          @schtallone sagte in Modbus adapter:

          2023-09-21 18:02:54.448 - info: shelly.0 (5156) [MQTT] Device with client id "shellyplus1pm-a8032ab96370" connected!

          Schalte mal testweise die Shelly Instanz aus , danach startest du den Container neu .

          Was ist dann , wenn der Shelly Adapter aus ist , mit den Meldungen !?

          PS :
          Seit 2 Wochen habe ich den Shelly Adapter installiert ( ink 3 Geräte ) , danach habe ich ein merkwürdiges phänomen beim Modbus Adapter festgestellt wie bei dir , nur sind bei mir 5 Instanzen betroffen , die gleich Meldung wie bei dir und beim anlernen einer Shelly bekomme ich ein App Timeout sogar .
          Den Hintergrund bin ich selber noch am suchen .

          S 1 Reply Last reply Reply Quote 0
          • S
            Schtallone @Glasfaser last edited by

            @glasfaser

            werde ich gleich mal testen und berichten.

            Diese Fehlermeldung kommt aus sporadisch....

            2023-09-21 19:36:55.244  - info: modbus.0 (21734) Connected to slave 192.168.1.47
            2023-09-21 19:37:02.585  - error: modbus.0 (21734) Can not set value: Attempt to access memory outside buffer bounds
            2023-09-21 19:37:24.243  - info: modbus.0 (21734) Disconnected from slave 192.168.1.47
            
            Glasfaser 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @Schtallone last edited by

              @schtallone

              Eventuell muß du den "Datenabfrageinterval" höher setzen von 1000 auf z.B 5000 ,
              probiere es zusätzlich noch aus !

              S 1 Reply Last reply Reply Quote 0
              • S
                Schtallone @Glasfaser last edited by

                @glasfaser
                Habe den Shelly Adapter aus. Keine Veränderung.

                Ebenfalls Abfrageintervall von 1000 auf 5000 erhöht. Immernoch Connects / dissconnects.

                2023-09-21 19:48:23.048  - info: modbus.0 (233) Got terminate signal TERMINATE_YOURSELF
                2023-09-21 19:48:23.050  - info: modbus.0 (233) terminating
                2023-09-21 19:48:23.051  - info: modbus.0 (233) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                2023-09-21 19:48:23.384  - info: admin.0 (179) <== Disconnect system.user.admin from ::ffff:192.168.1.119 modbus
                2023-09-21 19:48:23.552  - info: modbus.0 (233) terminating
                2023-09-21 19:48:23.606  - info: host.iobroker instance system.adapter.modbus.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                2023-09-21 19:48:26.186  - info: host.iobroker instance system.adapter.modbus.0 started with pid 837
                2023-09-21 19:48:27.576  - info: modbus.0 (837) starting. Version 5.0.11 in /opt/iobroker/node_modules/iobroker.modbus, node: v18.17.1, js-controller: 5.0.12
                2023-09-21 19:48:27.931  - info: modbus.0 (837) Connected to slave 192.168.1.47
                2023-09-21 19:49:24.868  - info: modbus.0 (837) Disconnected from slave 192.168.1.47
                2023-09-21 19:50:00.046  - info: host.iobroker instance system.adapter.dwd.0 started with pid 924
                2023-09-21 19:50:01.683  - info: dwd.0 (924) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.17.1, js-controller: 5.0.12
                2023-09-21 19:50:03.711  - info: dwd.0 (924) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                2023-09-21 19:50:04.272  - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                2023-09-21 19:50:24.870  - info: modbus.0 (837) Connected to slave 192.168.1.47
                2023-09-21 19:52:24.880  - info: modbus.0 (837) Disconnected from slave 192.168.1.47
                2023-09-21 19:53:24.881  - info: modbus.0 (837) Connected to slave 192.168.1.47
                2023-09-21 19:54:13.873  - info: modbus.0 (837) Disconnected from slave 192.168.1.47
                2023-09-21 19:55:00.048  - info: host.iobroker instance system.adapter.dwd.0 started with pid 1170
                2023-09-21 19:55:01.615  - info: dwd.0 (1170) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.17.1, js-controller: 5.0.12
                2023-09-21 19:55:02.794  - info: dwd.0 (1170) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                2023-09-21 19:55:03.319  - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                2023-09-21 19:55:13.876  - info: modbus.0 (837) Connected to slave 192.168.1.47
                2023-09-21 19:55:44.888  - info: modbus.0 (837) Disconnected from slave 192.168.1.47
                2023-09-21 19:56:44.892  - info: modbus.0 (837) Connected to slave 192.168.1.47
                
                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Schtallone last edited by

                  @schtallone sagte in Modbus adapter:

                  Der Modbus Adapter in der Version 5.0.11 verbindet und trennt die VErbindung zu einem Protoss PE-11 Modbus-Ethernet Adapter mitz der statischen IP 192.168.1.47, an dem in SUmme 3 SDM72 Zähler hängen.

                  Brauche noch Infos:

                  Hast du die Instanz erst neu angelegt und eingerichtet
                  oder lief es mal und jetzt kommen diese Fehler !?

                  S 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Schtallone last edited by Glasfaser

                    @schtallone

                    Ich denke mal neu eingerichtet , denn ich sehe da ein Fehler

                    30387243-5247-45eb-8084-6e12299318cb-grafik.png

                    Du hast doch nur ein Protoss PE-11 Modbus-Ethernet Adapter und nur ein SDM72 Zähler !?

                    dann gehört da nur die 1 als ID rein , die auch der Protoss PE-11 Modbus-Ethernet Adapter hat

                    und nicht 110 bis ....

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Schtallone @Glasfaser last edited by

                      @glasfaser
                      Ich habe die Instanz schon länger laufen, mehrere Wochen. Lief aber nie ohne Fehler.

                      Ich habe einiges an Abfragen auf NodeRed verschoben, dabei ist es im Adapter besser geworden. Aber wer weiß was im "Backoffice" von NodeRed jetzt los ist...
                      Debug das ist aber ok.

                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @Schtallone last edited by Glasfaser

                        @schtallone sagte in Modbus adapter:

                        Lief aber nie ohne Fehler.

                        siehe oben

                        EDIT :

                        so meine ich das :

                        3c8aec22-d472-499a-be0a-322505dc3e5d-grafik.png

                        1 Reply Last reply Reply Quote 0
                        • S
                          Schtallone @Glasfaser last edited by

                          @glasfaser
                          ich habe in SUmme 4 Modbus-Zähler dran. IDs 1, 110, 116 und 120

                          Glasfaser 1 Reply Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @Schtallone last edited by

                            @schtallone

                            Abschlusswiderstand vorhanden , Bautrate alle gleich usw.

                            Dann Klemme nach und nach einen Zähler ab ( natürlich auch dazu das Register kürzen ) , ist diese Meldung dann auch nur bei einem Zähler der angeschlossen ist vorhanden !?

                            S Homoran 2 Replies Last reply Reply Quote 0
                            • S
                              Schtallone @Glasfaser last edited by

                              @glasfaser said in Modbus adapter:

                              @schtallone

                              Abschlusswiderstand vorhanden

                              nein, kannst Du das erläutern?

                              Bautrate alle gleich usw.

                              ja

                              Glasfaser 1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @Schtallone last edited by

                                @schtallone sagte in Modbus adapter:

                                nein, kannst Du das erläutern?

                                Z.B :

                                https://servicecenter.linemetrics.com/de/servicearticle/linemetrics-box/schnittstellen/modbus/aufbau-und-funktion-von-modbusgeraten/

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

                                  @glasfaser sagte in Modbus adapter:

                                  Abschlusswiderstand vorhanden

                                  halte ich für unnötig.
                                  wenn Verdrahtung eher hier
                                  Screenshot_20230620-171550_Firefox.jpg

                                  aber ich tippe eher auf den Konverter

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

                                    @homoran sagte in Modbus adapter:

                                    wenn Verdrahtung eher hier

                                    War nur ein Vorschlag , da ich seine Installation nicht kenne bei mehr als 3 Modbus Teilnehmer

                                    aber ich tippe eher auf den Konverter

                                    deshalb soll er nach und nach abklemmen , da er schreibt

                                    hat noch nie ohne Fehler funktioniert

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

                                      @glasfaser sagte in Modbus adapter:

                                      bei mehr als 3 Modbus Teilnehmer

                                      kein Problem
                                      20230921_145806.jpg

                                      Allerdings alles RTU bis zum Serverschrank etwa 7m ohne Widerstände

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Schtallone @Homoran last edited by

                                        Hallo,

                                        ich komme gerade nicht dazu, melde mich aber am Wochenende dazu. Danke erstmal und Gruß

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Schtallone last edited by

                                          @homoran
                                          Tach zusammen,

                                          gerade mal geschaut und ich habe keine Daisy-Chain aufgebaut, sondern eine Art Stub-Connection.

                                          Ich werde dies mal die Tage ändern und dann hier berichten.

                                          Gruß

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

                                            @schtallone sagte in Modbus adapter:

                                            sondern eine Art Stub-Connection.

                                            das macht Ärger!

                                            @schtallone sagte in Modbus adapter:

                                            ändern und dann hier berichten.

                                            bin gespannt

                                            S 2 Replies 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

                                            634
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            modbus modbus adapter
                                            140
                                            970
                                            297753
                                            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