Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Modbus Adapter Fehler! Was tun?

    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

    UNSOLVED Modbus Adapter Fehler! Was tun?

    This topic has been deleted. Only users with topic management privileges can see it.
    • Basti97
      Basti97 Most Active last edited by

      Fehler kommen nicht ohne Grund. Ich würde erst die Fehler im Gateway/ Einstellung vom Adapter suchen und beheben. Und ja es gibt eine Möglichkeit um den Adapter neu zustarten.

      1 Reply Last reply Reply Quote 0
      • TH G
        TH G last edited by Negalein

        So sieht eine Meldung aus:

        modbus.1	2020-05-23 08:16:57.506	info	(1733) Terminated (NO_ERROR): Without reason
        modbus.1	2020-05-23 08:16:57.504	info	(1733) terminating
        modbus.1	2020-05-23 08:16:57.491	error	at processTimers (internal/timers.js:492:7)
        modbus.1	2020-05-23 08:16:57.491	error	at listOnTimeout (internal/timers.js:549:17)
        modbus.1	2020-05-23 08:16:57.491	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/lib/master.js:286:17)
        modbus.1	2020-05-23 08:16:57.491	error	at pollResult (/opt/iobroker/node_modules/iobroker.modbus/lib/master.js:254:23)
        modbus.1	2020-05-23 08:16:57.491	error	(1733) Error: Reconnect did not help, restart adapter
        modbus.1	2020-05-23 08:16:57.489	error	(1733) uncaught exception: Reconnect did not help, restart adapter
        modbus.1	2020-05-23 08:16:57.486	warn	(1733) Poll error count: 13 code: "App Timeout"
        modbus.1	2020-05-23 08:16:57.289	error	(1733) Cannot write [40236]: {"err":"timeout"}
        modbus.1	2020-05-23 08:16:57.288	error	(1733) Client in error state.
        modbus.1	2020-05-23 08:16:57.287	error	(1733) Request timed out.
        modbus.1	2020-05-23 08:16:57.287	warn	(1733) Error: undefined
        modbus.1	2020-05-23 08:16:52.285	info	(1733) Connected to slave 192.168.178.82
        modbus.1	2020-05-23 08:15:52.283	info	(1733) Disconnected from slave 192.168.178.82
        modbus.1	2020-05-23 08:15:51.480	warn	(1733) Poll error count: 12 code: "App Timeout"
        modbus.1	2020-05-23 08:15:51.283	error	(1733) Cannot write [40236]: {"err":"timeout"}
        modbus.1	2020-05-23 08:15:51.282	error	(1733) Client in error state.
        modbus.1	2020-05-23 08:15:51.282	error	(1733) Request timed out.
        modbus.1	2020-05-23 08:15:51.281	warn	(1733) Error: undefined
        modbus.1	2020-05-23 08:15:46.278	info	(1733) Connected to slave 192.168.178.82
        
        1 Reply Last reply Reply Quote 0
        • F
          falks last edited by Negalein

          Ich kann auch noch eine Fehlermeldung beitragen. Die kommt, wenn es gut läuft nach mehreren Tagen, manchmal aber auch schon nach ein paar Stunden:

          modbus.0 (70609) Cannot write [40151]: {"errorCode":144,"exceptionCode":3,"message":"ILLEGAL DATA VALUE"}
          modbus.0 (70609) Disconnected from slave 192.168.28.95
          modbus.0 (70609) Connected to slave 192.168.28.95
          modbus.0 (70609) Socket Error
          modbus.0 (70609) Client in error state.
          modbus.0 (70609) On error: {}
          modbus.0 (70609) Disconnected from slave 192.168.28.95
          

          Die Meldung kommt völlig unmotiviert. Wenn man den adapter neu startet, ist es meistens wieder gut. Das ist natürlich für einen unbeaufsichtigten Dauerbetrieb keine Lösung.

          Falk

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

            Bei mir funktioniert Version 3.0.2. nicht.
            3.0.0 macht keine Probleme.
            Redis habe ich nicht in Gebrauch. Info/Debug bei 3.0.2.:

            modbus.0	2020-06-03 08:58:23.266	info	(26072) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.17.0, js-controller: 3.1.4
            modbus.0	2020-06-03 08:58:21.103	debug	(26072) statesDB connected
            modbus.0	2020-06-03 08:58:21.101	debug	(26072) States connected to redis: 0.0.0.0:9000
            modbus.0	2020-06-03 08:58:21.046	debug	(26072) States create System PubSub Client
            modbus.0	2020-06-03 08:58:21.025	debug	(26072) States create User PubSub Client
            modbus.0	2020-06-03 08:58:20.990	debug	(26072) Redis States: Use Redis connection: 0.0.0.0:9000
            modbus.0	2020-06-03 08:58:20.987	debug	(26072) objectDB connected
            modbus.0	2020-06-03 08:58:20.975	debug	(26072) Objects connected to redis: 0.0.0.0:9001
            modbus.0	2020-06-03 08:58:20.943	debug	(26072) Objects client initialize lua scripts
            modbus.0	2020-06-03 08:58:20.942	debug	(26072) Objects create User PubSub Client
            modbus.0	2020-06-03 08:58:20.939	debug	(26072) Objects create System PubSub Client
            modbus.0	2020-06-03 08:58:20.916	debug	(26072) Objects client ready ... initialize now
            modbus.0	2020-06-03 08:58:20.858	debug	(26072) Redis Objects: Use Redis connection: 0.0.0.0:9001
            modbus.0	2020-06-03 08:58:16.659	info	(25371) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            modbus.0	2020-06-03 08:58:16.657	info	(25371) terminating
            modbus.0	2020-06-03 08:58:16.654	info	(25371) Got terminate signal TERMINATE_YOURSELF
            modbus.0	2020-06-03 08:57:37.570	debug	(25371) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
            modbus.0	2020-06-03 08:57:37.568	info	(25371) List of port: [{"comName":"/dev/ttyS0"},{"comName":"/dev/ttyS1"},{"comName":"/dev/ttyS10"},{"comName":"/dev/ttyS11"},{"comName":"/dev/ttyS12"},{"comName":"/dev/ttyS13"},{"comName":"/dev/ttyS1
            modbus.0	2020-06-03 08:57:20.323	info	(25371) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.17.0, js-controller: 3.1.4
            
            S 1 Reply Last reply Reply Quote 0
            • TH G
              TH G last edited by

              Für die die so wie ich auch Probleme haben, gibt es eine gute Möglichkeit bei Fehlern den Adapter neue starten zu lassen:

              https://forum.iobroker.net/topic/33821/adapter-instanz-neu-starten-lassen-wenn-status-gelb-rot

              1 Reply Last reply Reply Quote 0
              • S
                schmuh @lobomau last edited by

                @lobomau sagte in Modbus Adapter Fehler! Was tun?:

                Redis habe ich nicht in Gebrauch. Info/Debug bei 3.0.2.:

                Geht mir genauso mit der Version 3.0.1 und 3.0.2, deshalb schließe ich mich hier mal an.
                In der Version 3.0.0 ist auch bei mir alles in Ordnung, Redis habe ich auch nicht!

                1 Reply Last reply Reply Quote 0
                • F
                  fuchs1978 last edited by

                  und bei mir auch 3.0.0 läuft, alle danach nicht mehr. Gegenstelle ist bei mir ein SMA Wechselrichter

                  1 Reply Last reply Reply Quote 0
                  • M
                    Muhagl last edited by Negalein

                    Bei mir das gleiche Problem: Version 3.0.0 funktioniert, 3.0.2 nicht:

                    Log der Installation:

                    $ ./iobroker upgrade modbus
                    Update modbus from @3.0.0 to @3.0.2
                    NPM version: 6.14.4
                    npm install iobroker.modbus@3.0.2 --loglevel error --prefix "/opt/iobroker" (System call)
                    upload [10] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/words.js words.js application/javascript
                    Update "system.adapter.modbus.0"
                    upload [9] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/modbus.png modbus.png image/png
                    upload [8] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/js/jsgrid.js lib/js/jsgrid.js application/javascript
                    upload [7] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/js/grid.locale-ru.js lib/js/grid.locale-ru.js application/javascript
                    upload [6] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/js/grid.locale-de.js lib/js/grid.locale-de.js application/javascript
                    upload [5] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/css/jsgrid.min.css lib/css/jsgrid.min.css text/css
                    upload [4] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/css/jsgrid.css lib/css/jsgrid.css text/css
                    upload [3] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/css/jsgrid-theme.min.css lib/css/jsgrid-theme.min.css text/css
                    upload [2] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/css/jsgrid-theme.css lib/css/jsgrid-theme.css text/css
                    upload [1] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/index.html index.html text/html
                    upload [0] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/img/plc_back.png img/plc_back.png image/png
                    Adapter "modbus" updated
                    process exited with code 0
                    
                    
                    Log vom Adapter Start:
                    2020-06-04 21:26:03.592 - info: host.intel "system.adapter.modbus.0" enabled
                    2020-06-04 21:26:03.622 - info: host.intel instance system.adapter.modbus.0 started with pid 768
                    2020-06-04 21:26:04.432 - debug: modbus.0 (768) Redis Objects: Use Redis connection: 0.0.0.0:9001
                    2020-06-04 21:26:04.473 - debug: modbus.0 (768) Objects client ready ... initialize now
                    2020-06-04 21:26:04.477 - debug: modbus.0 (768) Objects create System PubSub Client
                    2020-06-04 21:26:04.479 - debug: modbus.0 (768) Objects create User PubSub Client
                    2020-06-04 21:26:04.490 - debug: modbus.0 (768) Objects client initialize lua scripts
                    2020-06-04 21:26:04.506 - debug: modbus.0 (768) Objects connected to redis: 0.0.0.0:9001
                    2020-06-04 21:26:04.513 - debug: modbus.0 (768) objectDB connected
                    2020-06-04 21:26:04.515 - debug: modbus.0 (768) Redis States: Use Redis connection: 0.0.0.0:9000
                    2020-06-04 21:26:04.525 - debug: modbus.0 (768) States create User PubSub Client
                    2020-06-04 21:26:04.529 - debug: modbus.0 (768) States create System PubSub Client
                    2020-06-04 21:26:04.543 - debug: modbus.0 (768) States connected to redis: 0.0.0.0:9000
                    2020-06-04 21:26:04.545 - debug: modbus.0 (768) statesDB connected
                    2020-06-04 21:26:05.438 - info: modbus.0 (768) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.18.0, js-controller: 3.1.4
                    2020-06-04 21:26:07.809 - debug: modbus.0 (768) system.adapter.admin.0: logging true
                    2020-06-04 21:29:27.943 - info: modbus.0 (768) List of port: [{"comName":"/dev/ttyS0"},{"comName":"/dev/ttyS1"},{"comName":"/dev/ttyS2"},{"comName":"/dev/ttyS3"}]
                    2020-06-04 21:29:27.945 - debug: modbus.0 (768) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.0
                    2020-06-04 21:29:34.184 - debug: modbus.0 (768) system.adapter.admin.0: logging false
                    2020-06-04 21:29:34.284 - debug: modbus.0 (768) system.adapter.admin.0: logging true
                    

                    Meine Config:
                    f490478d-6a24-434d-bf44-e5b28c7d83e6-grafik.png

                    Die Gegenstelle ist ein SolarEdge Wechselrichter ...
                    VG und Danke im Voraus

                    Edit: Version 3.04 funktioniert wieder einwandfrei - Vielen Dank!

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      schmuh @Muhagl last edited by

                      @Muhagl
                      Das Problem scheint in der neuen Version 3.0.4 behoben zu sein. Bei mir funktioniert es wieder. Danke an die Entwickler!

                      1 Reply Last reply Reply Quote 1
                      • F
                        fuchs1978 last edited by

                        Von mir auch ein herzliches Dankeschön. Der 3.0.4 spricht auch wieder mit SMA.

                        1 Reply Last reply Reply Quote 0
                        • F
                          fuchs1978 last edited by fuchs1978

                          Post gelöscht, war mein Fehler. Ich hatte Holding Register statt Input

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          898
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          modbus neustart fehler
                          8
                          13
                          1993
                          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