Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Modbus Verbindungsfehler

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      ducis @Glasfaser last edited by

      
      pi@raspberrypi3:~ $ sudo cat /etc/network/interfaces
      # interfaces(5) file used by ifup(8) and ifdown(8)
      # Include files from /etc/network/interfaces.d:
      source /etc/network/interfaces.d/*
      pi@raspberrypi3:~ $ sudo cat /etc/dhcpcd.conf
      # A sample configuration for dhcpcd.
      # See dhcpcd.conf(5) for details.
      
      # Allow users of this group to interact with dhcpcd via the control socket.
      #controlgroup wheel
      
      # Inform the DHCP server of our hostname for DDNS.
      hostname
      
      # Use the hardware address of the interface for the Client ID.
      clientid
      # or
      # Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
      # Some non-RFC compliant DHCP servers do not reply with this set.
      # In this case, comment out duid and enable clientid above.
      #duid
      
      # Persist interface configuration when dhcpcd exits.
      persistent
      
      # Rapid commit support.
      # Safe to enable by default because it requires the equivalent option set
      # on the server to actually work.
      option rapid_commit
      
      # A list of options to request from the DHCP server.
      option domain_name_servers, domain_name, domain_search, host_name
      option classless_static_routes
      # Respect the network MTU. This is applied to DHCP routes.
      option interface_mtu
      
      # Most distributions have NTP support.
      #option ntp_servers
      
      # A ServerID is required by RFC2131.
      require dhcp_server_identifier
      
      # Generate SLAAC address using the Hardware Address of the interface
      #slaac hwaddr
      # OR generate Stable Private IPv6 Addresses based from the DUID
      slaac private
      
      # Example static IP configuration:
      #interface eth0
      #static ip_address=192.168.0.10/24
      #static ip6_address=fd51:42f8:caae:d92e::ff/64
      #static routers=192.168.0.1
      #static domain_name_servers=192.168.0.1 8.8.8.8 fd51:42f8:caae:d92e::1
      
      # It is possible to fall back to a static IP if DHCP fails:
      # define static profile
      #profile static_eth0
      #static ip_address=192.168.1.23/24
      #static routers=192.168.1.1
      #static domain_name_servers=192.168.1.1
      
      # fallback to static profile on eth0
      #interface eth0
      #fallback static_eth0
      pi@raspberrypi3:~ $ ip a
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
             valid_lft forever preferred_lft forever
          inet6 ::1/128 scope host
             valid_lft forever preferred_lft forever
      2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
          link/ether b8:27:eb:73:50:f1 brd ff:ff:ff:ff:ff:ff
          inet 192.168.2.43/24 brd 192.168.2.255 scope global dynamic noprefixroute eth0
             valid_lft 862524sec preferred_lft 754524sec
          inet6 2003:cf:7f17:7300:d004:f30:ccf8:38ae/64 scope global dynamic mngtmpaddr noprefixroute
             valid_lft 6958sec preferred_lft 1026sec
          inet6 fe80::9d79:21a8:d93e:8d0e/64 scope link
             valid_lft forever preferred_lft forever
      pi@raspberrypi3:~ $
      
      
      1 Reply Last reply Reply Quote 0
      • D
        ducis @Glasfaser last edited by

        @glasfaser Danke für deine Mühen. Ich mach jetzt erstmal Ende.

        D 1 Reply Last reply Reply Quote 0
        • D
          ducis @ducis last edited by

          Also ich habe mich jetzt nochmal drangemacht.
          Über die Konsole und Putty kann ich meine Geräte per Ping erreichen.
          Dann habe ich den Adapter Ping in ioBroker installiert. Wenn ich mir dann die ObjektIDs ansehe, habe ich unter indicator reachable nur false zu stehen.aaa7.JPG

          Also irgendwie funktioniert das von IOBroker aus nicht.

          bahnuhr 1 Reply Last reply Reply Quote 0
          • bahnuhr
            bahnuhr Forum Testing Most Active @ducis last edited by

            @ducis sagte in Modbus Verbindungsfehler:

            Also ich habe mich jetzt nochmal drangemacht.
            Über die Konsole und Putty kann ich meine Geräte per Ping erreichen.
            Dann habe ich den Adapter Ping in ioBroker installiert. Wenn ich mir dann die ObjektIDs ansehe, habe ich unter indicator reachable nur false zu stehen.aaa7.JPG

            Also irgendwie funktioniert das von IOBroker aus nicht.

            Meine ping Objekte sehen ganz anders aus:
            7f2bb81b-7c75-425d-9923-c4865ba6a622-image.png

            Ist das auch wirklich der ping Adapter.

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

              @bahnuhr sagte in Modbus Verbindungsfehler:

              Meine ping Objekte sehen ganz anders aus:

              Meine sehen genauso aus wie deine ....... 😉

              er hat zusätzlich in der Instanz , "Erweitere Information" dazu angewählt

              .
              3638cfd7-a72b-4180-bbe6-65bb1d59a861-grafik.png

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

                Jap. Trotzdem kann ich die Geräte über die Konsole anpingen nur in ioBroker nicht....

                D Glasfaser 2 Replies Last reply Reply Quote 0
                • D
                  ducis @ducis last edited by

                  Das kann nur irgendeine Kleinigkeit sein. Ich bekomme ja eine Verbindung nur antworten die Slaves mit einem Fehler...und dann disconnect
                  9.JPG

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

                    @ducis sagte in Modbus Verbindungsfehler:

                    nur in ioBroker nicht....

                    ist dein ioBroker in einem Docker !?

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

                      @glasfaser Nein. Einen Docker habe ich noch nie benutzt

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

                        @ducis

                        Zeige nochmal die Einstellungen ...

                        bei Aliases hast du den Haken rausgenommen

                        Prüfe mit dem Register :

                        19025 oder 19027

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

                          @glasfaser f8527e37-1b14-4154-82c1-4ac8e9e5b44c-image.png

                          der kommt gar nicht zu Abfragen des Registers.

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            ducis @ducis last edited by ducis

                            4f056515-1d33-428d-8a78-add4be7b5a14-image.png @ducis

                            nicht wundern. ich habe auf 192.168.2.223 und 224 einen Modbusslave drauf

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

                              @ducis

                              ich sehe kein Screenshot zum Holding Register.

                              Eventuell ist es auch wie oben erwähnt nicht über TCP sondern über "RTU over TCP"

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

                                @glasfaser 3d01fe2c-308d-4e8e-a6a4-21638f9d9470-image.png

                                ich habe ne Menge einfach ausprobiert. Mit "RTU over TCP" ist der gleiche Fehler

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

                                  @ducis

                                  Nur mal so ... das war auch schonmal ... das durch das Rumtesten alles ducheinader war in der Instanz 0.

                                  Installiere eine zusätzliche Instanz.1 und teste mit der !?

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

                                    @glasfaser mannnnnnnn. :-))) das wars. Hab die Instanz gelöscht und neu angelegt. Jetzt gehts.
                                    Mega Dank.

                                    Muss jetzt zu meiner Frau. Beste Grüße👍 😊

                                    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

                                    546
                                    Online

                                    32.0k
                                    Users

                                    80.5k
                                    Topics

                                    1.3m
                                    Posts

                                    4
                                    39
                                    1652
                                    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