Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Modbus Poll funktioniert nicht

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    848

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Modbus Poll funktioniert nicht

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
29 Beiträge 4 Kommentatoren 2.6k Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • wendy2702W Online
    wendy2702W Online
    wendy2702
    schrieb am zuletzt editiert von
    #19

    @captainchaos666 Kannst du mal versuchen diese Adresse auszulesen:

    5007 Signed 16 Bit und dann mal nach einander als Little und Big Endian.

    Bitte keine Fragen per PN, die gehören ins Forum!

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    C 1 Antwort Letzte Antwort
    0
    • wendy2702W wendy2702

      @captainchaos666 Kannst du mal versuchen diese Adresse auszulesen:

      5007 Signed 16 Bit und dann mal nach einander als Little und Big Endian.

      C Offline
      C Offline
      captainchaos666
      schrieb am zuletzt editiert von
      #20

      @wendy2702

      Little Endian:
      20200210 Modbus 2 Little Endian 01.PNG
      20200210 Modbus 2 Little Endian 02.PNG

      modbus.2	2021-02-10 16:57:39.811	info	(3700) Disconnected from slave 192.168.178.202
      modbus.2	2021-02-10 16:57:39.810	debug	(3700) Closing client on purpose.
      modbus.2	2021-02-10 16:57:38.908	debug	(3700) Poll inputRegs DevID(1) address 5007 - 1 bytes
      modbus.2	2021-02-10 16:57:38.907	debug	(3700) Poll device 1
      modbus.2	2021-02-10 16:57:38.809	debug	(3700) Cleaning up request fifo.
      modbus.2	2021-02-10 16:57:38.808	debug	(3700) Clearing timeout of the current request.
      modbus.2	2021-02-10 16:57:38.807	debug	(3700) Socket closed with error
      modbus.2	2021-02-10 16:57:37.844	debug	(3700) Poll inputRegs DevID(1) address 5007 - 1 bytes
      modbus.2	2021-02-10 16:57:37.843	debug	(3700) Poll device 1
      modbus.2	2021-02-10 16:57:37.842	info	(3700) Connected to slave 192.168.178.202
      modbus.2	2021-02-10 16:56:37.838	info	(3700) Disconnected from slave 192.168.178.202
      modbus.2	2021-02-10 16:56:37.837	debug	(3700) Closing client on purpose.
      modbus.2	2021-02-10 16:56:37.747	debug	(3700) Poll inputRegs DevID(1) address 5007 - 1 bytes
      modbus.2	2021-02-10 16:56:37.746	debug	(3700) Poll device 1
      modbus.2	2021-02-10 16:56:36.837	debug	(3700) Cleaning up request fifo.
      modbus.2	2021-02-10 16:56:36.836	debug	(3700) Clearing timeout of the current request.
      modbus.2	2021-02-10 16:56:36.835	debug	(3700) Socket closed with error
      modbus.2	2021-02-10 16:56:36.683	debug	(3700) Poll inputRegs DevID(1) address 5007 - 1 bytes
      modbus.2	2021-02-10 16:56:36.681	debug	(3700) Poll device 1
      modbus.2	2021-02-10 16:56:36.680	info	(3700) Connected to slave 192.168.178.202
      

      Big Endian:
      20200210 Modbus 2 Big Endian 01.PNG
      20200210 Modbus 2 Big Endian 02.PNG

      modbus.2	2021-02-10 17:02:47.841	info	(3899) Disconnected from slave 192.168.178.202
      modbus.2	2021-02-10 17:02:47.840	debug	(3899) Closing client on purpose.
      modbus.2	2021-02-10 17:02:47.651	debug	(3899) Poll inputRegs DevID(1) address 5007 - 1 bytes
      modbus.2	2021-02-10 17:02:47.650	debug	(3899) Poll device 1
      modbus.2	2021-02-10 17:02:46.839	debug	(3899) Cleaning up request fifo.
      modbus.2	2021-02-10 17:02:46.838	debug	(3899) Clearing timeout of the current request.
      modbus.2	2021-02-10 17:02:46.837	debug	(3899) Socket closed with error
      modbus.2	2021-02-10 17:02:46.590	debug	(3899) Poll inputRegs DevID(1) address 5007 - 1 bytes
      modbus.2	2021-02-10 17:02:46.590	debug	(3899) Poll device 1
      modbus.2	2021-02-10 17:02:46.588	info	(3899) Connected to slave 192.168.178.202
      modbus.2	2021-02-10 17:01:46.585	info	(3899) Disconnected from slave 192.168.178.202
      modbus.2	2021-02-10 17:01:46.584	debug	(3899) Closing client on purpose.
      modbus.2	2021-02-10 17:01:46.569	debug	(3899) Poll inputRegs DevID(1) address 5007 - 1 bytes
      modbus.2	2021-02-10 17:01:46.568	debug	(3899) Poll device 1
      modbus.2	2021-02-10 17:01:45.582	debug	(3899) Cleaning up request fifo.
      modbus.2	2021-02-10 17:01:45.582	debug	(3899) Clearing timeout of the current request.
      modbus.2	2021-02-10 17:01:45.581	debug	(3899) Socket closed with error
      modbus.2	2021-02-10 17:01:45.473	debug	(3899) Poll inputRegs DevID(1) address 5007 - 1 bytes
      modbus.2	2021-02-10 17:01:45.472	debug	(3899) Poll device 1
      modbus.2	2021-02-10 17:01:45.470	info	(3899) Connected to slave 192.168.178.202
      
      wendy2702W 1 Antwort Letzte Antwort
      0
      • C captainchaos666

        @wendy2702

        Little Endian:
        20200210 Modbus 2 Little Endian 01.PNG
        20200210 Modbus 2 Little Endian 02.PNG

        modbus.2	2021-02-10 16:57:39.811	info	(3700) Disconnected from slave 192.168.178.202
        modbus.2	2021-02-10 16:57:39.810	debug	(3700) Closing client on purpose.
        modbus.2	2021-02-10 16:57:38.908	debug	(3700) Poll inputRegs DevID(1) address 5007 - 1 bytes
        modbus.2	2021-02-10 16:57:38.907	debug	(3700) Poll device 1
        modbus.2	2021-02-10 16:57:38.809	debug	(3700) Cleaning up request fifo.
        modbus.2	2021-02-10 16:57:38.808	debug	(3700) Clearing timeout of the current request.
        modbus.2	2021-02-10 16:57:38.807	debug	(3700) Socket closed with error
        modbus.2	2021-02-10 16:57:37.844	debug	(3700) Poll inputRegs DevID(1) address 5007 - 1 bytes
        modbus.2	2021-02-10 16:57:37.843	debug	(3700) Poll device 1
        modbus.2	2021-02-10 16:57:37.842	info	(3700) Connected to slave 192.168.178.202
        modbus.2	2021-02-10 16:56:37.838	info	(3700) Disconnected from slave 192.168.178.202
        modbus.2	2021-02-10 16:56:37.837	debug	(3700) Closing client on purpose.
        modbus.2	2021-02-10 16:56:37.747	debug	(3700) Poll inputRegs DevID(1) address 5007 - 1 bytes
        modbus.2	2021-02-10 16:56:37.746	debug	(3700) Poll device 1
        modbus.2	2021-02-10 16:56:36.837	debug	(3700) Cleaning up request fifo.
        modbus.2	2021-02-10 16:56:36.836	debug	(3700) Clearing timeout of the current request.
        modbus.2	2021-02-10 16:56:36.835	debug	(3700) Socket closed with error
        modbus.2	2021-02-10 16:56:36.683	debug	(3700) Poll inputRegs DevID(1) address 5007 - 1 bytes
        modbus.2	2021-02-10 16:56:36.681	debug	(3700) Poll device 1
        modbus.2	2021-02-10 16:56:36.680	info	(3700) Connected to slave 192.168.178.202
        

        Big Endian:
        20200210 Modbus 2 Big Endian 01.PNG
        20200210 Modbus 2 Big Endian 02.PNG

        modbus.2	2021-02-10 17:02:47.841	info	(3899) Disconnected from slave 192.168.178.202
        modbus.2	2021-02-10 17:02:47.840	debug	(3899) Closing client on purpose.
        modbus.2	2021-02-10 17:02:47.651	debug	(3899) Poll inputRegs DevID(1) address 5007 - 1 bytes
        modbus.2	2021-02-10 17:02:47.650	debug	(3899) Poll device 1
        modbus.2	2021-02-10 17:02:46.839	debug	(3899) Cleaning up request fifo.
        modbus.2	2021-02-10 17:02:46.838	debug	(3899) Clearing timeout of the current request.
        modbus.2	2021-02-10 17:02:46.837	debug	(3899) Socket closed with error
        modbus.2	2021-02-10 17:02:46.590	debug	(3899) Poll inputRegs DevID(1) address 5007 - 1 bytes
        modbus.2	2021-02-10 17:02:46.590	debug	(3899) Poll device 1
        modbus.2	2021-02-10 17:02:46.588	info	(3899) Connected to slave 192.168.178.202
        modbus.2	2021-02-10 17:01:46.585	info	(3899) Disconnected from slave 192.168.178.202
        modbus.2	2021-02-10 17:01:46.584	debug	(3899) Closing client on purpose.
        modbus.2	2021-02-10 17:01:46.569	debug	(3899) Poll inputRegs DevID(1) address 5007 - 1 bytes
        modbus.2	2021-02-10 17:01:46.568	debug	(3899) Poll device 1
        modbus.2	2021-02-10 17:01:45.582	debug	(3899) Cleaning up request fifo.
        modbus.2	2021-02-10 17:01:45.582	debug	(3899) Clearing timeout of the current request.
        modbus.2	2021-02-10 17:01:45.581	debug	(3899) Socket closed with error
        modbus.2	2021-02-10 17:01:45.473	debug	(3899) Poll inputRegs DevID(1) address 5007 - 1 bytes
        modbus.2	2021-02-10 17:01:45.472	debug	(3899) Poll device 1
        modbus.2	2021-02-10 17:01:45.470	info	(3899) Connected to slave 192.168.178.202
        
        wendy2702W Online
        wendy2702W Online
        wendy2702
        schrieb am zuletzt editiert von
        #21

        @captainchaos666 Big Endian scheint mir richtig zu sein. Da wohl noch durch 10 geteilt werden muss.

        Mal 3002 32bit unsigned zum testen dazu bitte. Auch wieder beides Testen.

        Bitte keine Fragen per PN, die gehören ins Forum!

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        C 1 Antwort Letzte Antwort
        0
        • wendy2702W wendy2702

          @captainchaos666 Big Endian scheint mir richtig zu sein. Da wohl noch durch 10 geteilt werden muss.

          Mal 3002 32bit unsigned zum testen dazu bitte. Auch wieder beides Testen.

          C Offline
          C Offline
          captainchaos666
          schrieb am zuletzt editiert von
          #22

          @wendy2702
          20200210 Modbus 01.PNG
          20200210 Modbus 02.PNG

          ost.RaspSchaltschrank	2021-02-10 17:45:25.031	info	Restart adapter system.adapter.modbus.2 because enabled
          host.RaspSchaltschrank	2021-02-10 17:45:25.031	error	instance system.adapter.modbus.2 terminated with code 1 (JS_CONTROLLER_STOPPED)
          host.RaspSchaltschrank	2021-02-10 17:45:25.030	error	Caught by controller[0]: at readableAddChunk (_stream_readable.js:272:9)
          host.RaspSchaltschrank	2021-02-10 17:45:25.030	error	Caught by controller[0]: at addChunk (_stream_readable.js:297:12)
          host.RaspSchaltschrank	2021-02-10 17:45:25.029	error	Caught by controller[0]: at Socket.EventEmitter.emit (domain.js:483:12)
          host.RaspSchaltschrank	2021-02-10 17:45:25.029	error	Caught by controller[0]: at Socket.emit (events.js:314:20)
          host.RaspSchaltschrank	2021-02-10 17:45:25.028	error	Caught by controller[0]: at Socket.onSocketData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/transports/modbus-client-tcp.js:97:26)
          host.RaspSchaltschrank	2021-02-10 17:45:25.028	error	Caught by controller[0]: at Object.emit (/opt/iobroker/node_modules/stampit-event-bus/src/stampit-event-bus.js:20:38)
          host.RaspSchaltschrank	2021-02-10 17:45:25.028	error	Caught by controller[0]: at Object.onData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/modbus-client-core.js:126:13)
          host.RaspSchaltschrank	2021-02-10 17:45:25.027	error	Caught by controller[0]: at onResponse (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/handler/client/ReadInputRegisters.js:30:44)
          host.RaspSchaltschrank	2021-02-10 17:45:25.027	error	Caught by controller[0]: at Buffer.readUInt16BE (internal/buffer.js:328:5)
          host.RaspSchaltschrank	2021-02-10 17:45:25.026	error	Caught by controller[0]: at boundsError (internal/buffer.js:82:9)
          host.RaspSchaltschrank	2021-02-10 17:45:25.026	error	Caught by controller[0]: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
          modbus.2	2021-02-10 17:45:24.845	error	(5720) Client in error state.
          modbus.2	2021-02-10 17:45:24.843	error	(5720) Socket Error
          modbus.2	2021-02-10 17:45:24.815	warn	(5720) Terminated (UNCAUGHT_EXCEPTION): Without reason
          modbus.2	2021-02-10 17:45:24.814	debug	(5720) Plugin sentry destroyed
          modbus.2	2021-02-10 17:45:24.811	info	(5720) terminating
          modbus.2	2021-02-10 17:45:24.808	debug	(5720) Closing client on purpose.
          modbus.2	2021-02-10 17:45:24.763	error	(5720) Exception-Code: ERR_OUT_OF_RANGE: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
          modbus.2	2021-02-10 17:45:24.762	error	(5720) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2 at boundsError (internal/buffer.js:82:9) at Buffer.readUInt16BE (internal/buff
          modbus.2	2021-02-10 17:45:24.761	error	(5720) uncaught exception: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
          modbus.2	2021-02-10 17:45:24.722	debug	(5720) Poll inputRegs DevID(1) address 3002 - 2 bytes
          modbus.2	2021-02-10 17:45:24.721	debug	(5720) Initialization of scale factors done!
          modbus.2	2021-02-10 17:45:24.718	debug	(5720) Poll device 1
          modbus.2	2021-02-10 17:45:24.715	info	(5720) Connected to slave 192.168.178.202
          modbus.2	2021-02-10 17:45:24.079	info	(5720) starting. Version 3.2.4 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.20.1, js-controller: 3.2.13
          modbus.2	2021-02-10 17:45:23.630	debug	(5720) Plugin sentry Initialize Plugin (enabled=true)
          host.RaspSchaltschrank	2021-02-10 17:45:21.353	info	instance system.adapter.modbus.2 started with pid 5720
          host.RaspSchaltschrank	2021-02-10 17:44:51.320	info	Restart adapter system.adapter.modbus.2 because enabled
          host.RaspSchaltschrank	2021-02-10 17:44:51.319	error	instance system.adapter.modbus.2 terminated with code 1 (JS_CONTROLLER_STOPPED)
          host.RaspSchaltschrank	2021-02-10 17:44:51.319	error	Caught by controller[0]: at readableAddChunk (_stream_readable.js:272:9)
          host.RaspSchaltschrank	2021-02-10 17:44:51.318	error	Caught by controller[0]: at addChunk (_stream_readable.js:297:12)
          host.RaspSchaltschrank	2021-02-10 17:44:51.318	error	Caught by controller[0]: at Socket.EventEmitter.emit (domain.js:483:12)
          host.RaspSchaltschrank	2021-02-10 17:44:51.318	error	Caught by controller[0]: at Socket.emit (events.js:314:20)
          host.RaspSchaltschrank	2021-02-10 17:44:51.317	error	Caught by controller[0]: at Socket.onSocketData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/transports/modbus-client-tcp.js:97:26)
          host.RaspSchaltschrank	2021-02-10 17:44:51.317	error	Caught by controller[0]: at Object.emit (/opt/iobroker/node_modules/stampit-event-bus/src/stampit-event-bus.js:20:38)
          host.RaspSchaltschrank	2021-02-10 17:44:51.317	error	Caught by controller[0]: at Object.onData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/modbus-client-core.js:126:13)
          host.RaspSchaltschrank	2021-02-10 17:44:51.316	error	Caught by controller[0]: at onResponse (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/handler/client/ReadInputRegisters.js:30:44)
          host.RaspSchaltschrank	2021-02-10 17:44:51.316	error	Caught by controller[0]: at Buffer.readUInt16BE (internal/buffer.js:328:5)
          host.RaspSchaltschrank	2021-02-10 17:44:51.315	error	Caught by controller[0]: at boundsError (internal/buffer.js:82:9)
          host.RaspSchaltschrank	2021-02-10 17:44:51.315	error	Caught by controller[0]: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
          modbus.2	2021-02-10 17:44:51.151	error	(5678) Client in error state.
          modbus.2	2021-02-10 17:44:51.150	error	(5678) Socket Error
          modbus.2	2021-02-10 17:44:51.121	warn	(5678) Terminated (UNCAUGHT_EXCEPTION): Without reason
          modbus.2	2021-02-10 17:44:51.120	debug	(5678) Plugin sentry destroyed
          modbus.2	2021-02-10 17:44:51.118	info	(5678) terminating
          modbus.2	2021-02-10 17:44:51.115	debug	(5678) Closing client on purpose.
          modbus.2	2021-02-10 17:44:51.063	error	(5678) Exception-Code: ERR_OUT_OF_RANGE: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
          modbus.2	2021-02-10 17:44:51.061	error	(5678) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2 at boundsError (internal/buffer.js:82:9) at Buffer.readUInt16BE (internal/buff
          modbus.2	2021-02-10 17:44:51.060	error	(5678) uncaught exception: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
          modbus.2	2021-02-10 17:44:51.017	debug	(5678) Poll inputRegs DevID(1) address 3002 - 2 bytes
          modbus.2	2021-02-10 17:44:51.016	debug	(5678) Initialization of scale factors done!
          modbus.2	2021-02-10 17:44:51.012	debug	(5678) Poll device 1
          modbus.2	2021-02-10 17:44:51.005	info	(5678) Connected to slave 192.168.178.202
          modbus.2	2021-02-10 17:44:50.365	info	(5678) starting. Version 3.2.4 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.20.1, js-controller: 3.2.13
          modbus.2	2021-02-10 17:44:49.960	debug	(5678) Plugin sentry Initialize Plugin (enabled=true)
          host.RaspSchaltschrank	2021-02-10 17:44:47.714	info	instance system.adapter.modbus.2 started with pid 5678
          

          20200210 Modbus 03.PNG
          20200210 Modbus 04.PNG

          
          host.RaspSchaltschrank	2021-02-10 17:48:46.607	info	Restart adapter system.adapter.modbus.2 because enabled
          host.RaspSchaltschrank	2021-02-10 17:48:46.606	error	instance system.adapter.modbus.2 terminated with code 1 (JS_CONTROLLER_STOPPED)
          host.RaspSchaltschrank	2021-02-10 17:48:46.606	error	Caught by controller[0]: at readableAddChunk (_stream_readable.js:272:9)
          host.RaspSchaltschrank	2021-02-10 17:48:46.605	error	Caught by controller[0]: at addChunk (_stream_readable.js:297:12)
          host.RaspSchaltschrank	2021-02-10 17:48:46.605	error	Caught by controller[0]: at Socket.EventEmitter.emit (domain.js:483:12)
          host.RaspSchaltschrank	2021-02-10 17:48:46.605	error	Caught by controller[0]: at Socket.emit (events.js:314:20)
          host.RaspSchaltschrank	2021-02-10 17:48:46.604	error	Caught by controller[0]: at Socket.onSocketData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/transports/modbus-client-tcp.js:97:26)
          host.RaspSchaltschrank	2021-02-10 17:48:46.604	error	Caught by controller[0]: at Object.emit (/opt/iobroker/node_modules/stampit-event-bus/src/stampit-event-bus.js:20:38)
          host.RaspSchaltschrank	2021-02-10 17:48:46.603	error	Caught by controller[0]: at Object.onData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/modbus-client-core.js:126:13)
          host.RaspSchaltschrank	2021-02-10 17:48:46.603	error	Caught by controller[0]: at onResponse (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/handler/client/ReadInputRegisters.js:30:44)
          host.RaspSchaltschrank	2021-02-10 17:48:46.602	error	Caught by controller[0]: at Buffer.readUInt16BE (internal/buffer.js:328:5)
          host.RaspSchaltschrank	2021-02-10 17:48:46.602	error	Caught by controller[0]: at boundsError (internal/buffer.js:82:9)
          host.RaspSchaltschrank	2021-02-10 17:48:46.601	error	Caught by controller[0]: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
          modbus.2	2021-02-10 17:48:46.418	error	(5929) Client in error state.
          modbus.2	2021-02-10 17:48:46.417	error	(5929) Socket Error
          modbus.2	2021-02-10 17:48:46.388	warn	(5929) Terminated (UNCAUGHT_EXCEPTION): Without reason
          modbus.2	2021-02-10 17:48:46.387	debug	(5929) Plugin sentry destroyed
          modbus.2	2021-02-10 17:48:46.385	info	(5929) terminating
          modbus.2	2021-02-10 17:48:46.382	debug	(5929) Closing client on purpose.
          modbus.2	2021-02-10 17:48:46.345	error	(5929) Exception-Code: ERR_OUT_OF_RANGE: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
          modbus.2	2021-02-10 17:48:46.344	error	(5929) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2 at boundsError (internal/buffer.js:82:9) at Buffer.readUInt16BE (internal/buff
          modbus.2	2021-02-10 17:48:46.343	error	(5929) uncaught exception: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
          modbus.2	2021-02-10 17:48:46.306	debug	(5929) Poll inputRegs DevID(1) address 3002 - 2 bytes
          modbus.2	2021-02-10 17:48:46.305	debug	(5929) Initialization of scale factors done!
          modbus.2	2021-02-10 17:48:46.302	debug	(5929) Poll device 1
          modbus.2	2021-02-10 17:48:46.300	info	(5929) Connected to slave 192.168.178.202
          modbus.2	2021-02-10 17:48:45.655	info	(5929) starting. Version 3.2.4 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.20.1, js-controller: 3.2.13
          modbus.2	2021-02-10 17:48:45.254	debug	(5929) Plugin sentry Initialize Plugin (enabled=true)
          host.RaspSchaltschrank	2021-02-10 17:48:42.978	info	instance system.adapter.modbus.2 started with pid 5929
          
          wendy2702W 1 Antwort Letzte Antwort
          0
          • C captainchaos666

            @wendy2702
            20200210 Modbus 01.PNG
            20200210 Modbus 02.PNG

            ost.RaspSchaltschrank	2021-02-10 17:45:25.031	info	Restart adapter system.adapter.modbus.2 because enabled
            host.RaspSchaltschrank	2021-02-10 17:45:25.031	error	instance system.adapter.modbus.2 terminated with code 1 (JS_CONTROLLER_STOPPED)
            host.RaspSchaltschrank	2021-02-10 17:45:25.030	error	Caught by controller[0]: at readableAddChunk (_stream_readable.js:272:9)
            host.RaspSchaltschrank	2021-02-10 17:45:25.030	error	Caught by controller[0]: at addChunk (_stream_readable.js:297:12)
            host.RaspSchaltschrank	2021-02-10 17:45:25.029	error	Caught by controller[0]: at Socket.EventEmitter.emit (domain.js:483:12)
            host.RaspSchaltschrank	2021-02-10 17:45:25.029	error	Caught by controller[0]: at Socket.emit (events.js:314:20)
            host.RaspSchaltschrank	2021-02-10 17:45:25.028	error	Caught by controller[0]: at Socket.onSocketData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/transports/modbus-client-tcp.js:97:26)
            host.RaspSchaltschrank	2021-02-10 17:45:25.028	error	Caught by controller[0]: at Object.emit (/opt/iobroker/node_modules/stampit-event-bus/src/stampit-event-bus.js:20:38)
            host.RaspSchaltschrank	2021-02-10 17:45:25.028	error	Caught by controller[0]: at Object.onData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/modbus-client-core.js:126:13)
            host.RaspSchaltschrank	2021-02-10 17:45:25.027	error	Caught by controller[0]: at onResponse (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/handler/client/ReadInputRegisters.js:30:44)
            host.RaspSchaltschrank	2021-02-10 17:45:25.027	error	Caught by controller[0]: at Buffer.readUInt16BE (internal/buffer.js:328:5)
            host.RaspSchaltschrank	2021-02-10 17:45:25.026	error	Caught by controller[0]: at boundsError (internal/buffer.js:82:9)
            host.RaspSchaltschrank	2021-02-10 17:45:25.026	error	Caught by controller[0]: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
            modbus.2	2021-02-10 17:45:24.845	error	(5720) Client in error state.
            modbus.2	2021-02-10 17:45:24.843	error	(5720) Socket Error
            modbus.2	2021-02-10 17:45:24.815	warn	(5720) Terminated (UNCAUGHT_EXCEPTION): Without reason
            modbus.2	2021-02-10 17:45:24.814	debug	(5720) Plugin sentry destroyed
            modbus.2	2021-02-10 17:45:24.811	info	(5720) terminating
            modbus.2	2021-02-10 17:45:24.808	debug	(5720) Closing client on purpose.
            modbus.2	2021-02-10 17:45:24.763	error	(5720) Exception-Code: ERR_OUT_OF_RANGE: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
            modbus.2	2021-02-10 17:45:24.762	error	(5720) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2 at boundsError (internal/buffer.js:82:9) at Buffer.readUInt16BE (internal/buff
            modbus.2	2021-02-10 17:45:24.761	error	(5720) uncaught exception: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
            modbus.2	2021-02-10 17:45:24.722	debug	(5720) Poll inputRegs DevID(1) address 3002 - 2 bytes
            modbus.2	2021-02-10 17:45:24.721	debug	(5720) Initialization of scale factors done!
            modbus.2	2021-02-10 17:45:24.718	debug	(5720) Poll device 1
            modbus.2	2021-02-10 17:45:24.715	info	(5720) Connected to slave 192.168.178.202
            modbus.2	2021-02-10 17:45:24.079	info	(5720) starting. Version 3.2.4 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.20.1, js-controller: 3.2.13
            modbus.2	2021-02-10 17:45:23.630	debug	(5720) Plugin sentry Initialize Plugin (enabled=true)
            host.RaspSchaltschrank	2021-02-10 17:45:21.353	info	instance system.adapter.modbus.2 started with pid 5720
            host.RaspSchaltschrank	2021-02-10 17:44:51.320	info	Restart adapter system.adapter.modbus.2 because enabled
            host.RaspSchaltschrank	2021-02-10 17:44:51.319	error	instance system.adapter.modbus.2 terminated with code 1 (JS_CONTROLLER_STOPPED)
            host.RaspSchaltschrank	2021-02-10 17:44:51.319	error	Caught by controller[0]: at readableAddChunk (_stream_readable.js:272:9)
            host.RaspSchaltschrank	2021-02-10 17:44:51.318	error	Caught by controller[0]: at addChunk (_stream_readable.js:297:12)
            host.RaspSchaltschrank	2021-02-10 17:44:51.318	error	Caught by controller[0]: at Socket.EventEmitter.emit (domain.js:483:12)
            host.RaspSchaltschrank	2021-02-10 17:44:51.318	error	Caught by controller[0]: at Socket.emit (events.js:314:20)
            host.RaspSchaltschrank	2021-02-10 17:44:51.317	error	Caught by controller[0]: at Socket.onSocketData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/transports/modbus-client-tcp.js:97:26)
            host.RaspSchaltschrank	2021-02-10 17:44:51.317	error	Caught by controller[0]: at Object.emit (/opt/iobroker/node_modules/stampit-event-bus/src/stampit-event-bus.js:20:38)
            host.RaspSchaltschrank	2021-02-10 17:44:51.317	error	Caught by controller[0]: at Object.onData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/modbus-client-core.js:126:13)
            host.RaspSchaltschrank	2021-02-10 17:44:51.316	error	Caught by controller[0]: at onResponse (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/handler/client/ReadInputRegisters.js:30:44)
            host.RaspSchaltschrank	2021-02-10 17:44:51.316	error	Caught by controller[0]: at Buffer.readUInt16BE (internal/buffer.js:328:5)
            host.RaspSchaltschrank	2021-02-10 17:44:51.315	error	Caught by controller[0]: at boundsError (internal/buffer.js:82:9)
            host.RaspSchaltschrank	2021-02-10 17:44:51.315	error	Caught by controller[0]: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
            modbus.2	2021-02-10 17:44:51.151	error	(5678) Client in error state.
            modbus.2	2021-02-10 17:44:51.150	error	(5678) Socket Error
            modbus.2	2021-02-10 17:44:51.121	warn	(5678) Terminated (UNCAUGHT_EXCEPTION): Without reason
            modbus.2	2021-02-10 17:44:51.120	debug	(5678) Plugin sentry destroyed
            modbus.2	2021-02-10 17:44:51.118	info	(5678) terminating
            modbus.2	2021-02-10 17:44:51.115	debug	(5678) Closing client on purpose.
            modbus.2	2021-02-10 17:44:51.063	error	(5678) Exception-Code: ERR_OUT_OF_RANGE: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
            modbus.2	2021-02-10 17:44:51.061	error	(5678) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2 at boundsError (internal/buffer.js:82:9) at Buffer.readUInt16BE (internal/buff
            modbus.2	2021-02-10 17:44:51.060	error	(5678) uncaught exception: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
            modbus.2	2021-02-10 17:44:51.017	debug	(5678) Poll inputRegs DevID(1) address 3002 - 2 bytes
            modbus.2	2021-02-10 17:44:51.016	debug	(5678) Initialization of scale factors done!
            modbus.2	2021-02-10 17:44:51.012	debug	(5678) Poll device 1
            modbus.2	2021-02-10 17:44:51.005	info	(5678) Connected to slave 192.168.178.202
            modbus.2	2021-02-10 17:44:50.365	info	(5678) starting. Version 3.2.4 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.20.1, js-controller: 3.2.13
            modbus.2	2021-02-10 17:44:49.960	debug	(5678) Plugin sentry Initialize Plugin (enabled=true)
            host.RaspSchaltschrank	2021-02-10 17:44:47.714	info	instance system.adapter.modbus.2 started with pid 5678
            

            20200210 Modbus 03.PNG
            20200210 Modbus 04.PNG

            
            host.RaspSchaltschrank	2021-02-10 17:48:46.607	info	Restart adapter system.adapter.modbus.2 because enabled
            host.RaspSchaltschrank	2021-02-10 17:48:46.606	error	instance system.adapter.modbus.2 terminated with code 1 (JS_CONTROLLER_STOPPED)
            host.RaspSchaltschrank	2021-02-10 17:48:46.606	error	Caught by controller[0]: at readableAddChunk (_stream_readable.js:272:9)
            host.RaspSchaltschrank	2021-02-10 17:48:46.605	error	Caught by controller[0]: at addChunk (_stream_readable.js:297:12)
            host.RaspSchaltschrank	2021-02-10 17:48:46.605	error	Caught by controller[0]: at Socket.EventEmitter.emit (domain.js:483:12)
            host.RaspSchaltschrank	2021-02-10 17:48:46.605	error	Caught by controller[0]: at Socket.emit (events.js:314:20)
            host.RaspSchaltschrank	2021-02-10 17:48:46.604	error	Caught by controller[0]: at Socket.onSocketData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/transports/modbus-client-tcp.js:97:26)
            host.RaspSchaltschrank	2021-02-10 17:48:46.604	error	Caught by controller[0]: at Object.emit (/opt/iobroker/node_modules/stampit-event-bus/src/stampit-event-bus.js:20:38)
            host.RaspSchaltschrank	2021-02-10 17:48:46.603	error	Caught by controller[0]: at Object.onData (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/modbus-client-core.js:126:13)
            host.RaspSchaltschrank	2021-02-10 17:48:46.603	error	Caught by controller[0]: at onResponse (/opt/iobroker/node_modules/iobroker.modbus/lib/jsmodbus/handler/client/ReadInputRegisters.js:30:44)
            host.RaspSchaltschrank	2021-02-10 17:48:46.602	error	Caught by controller[0]: at Buffer.readUInt16BE (internal/buffer.js:328:5)
            host.RaspSchaltschrank	2021-02-10 17:48:46.602	error	Caught by controller[0]: at boundsError (internal/buffer.js:82:9)
            host.RaspSchaltschrank	2021-02-10 17:48:46.601	error	Caught by controller[0]: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
            modbus.2	2021-02-10 17:48:46.418	error	(5929) Client in error state.
            modbus.2	2021-02-10 17:48:46.417	error	(5929) Socket Error
            modbus.2	2021-02-10 17:48:46.388	warn	(5929) Terminated (UNCAUGHT_EXCEPTION): Without reason
            modbus.2	2021-02-10 17:48:46.387	debug	(5929) Plugin sentry destroyed
            modbus.2	2021-02-10 17:48:46.385	info	(5929) terminating
            modbus.2	2021-02-10 17:48:46.382	debug	(5929) Closing client on purpose.
            modbus.2	2021-02-10 17:48:46.345	error	(5929) Exception-Code: ERR_OUT_OF_RANGE: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
            modbus.2	2021-02-10 17:48:46.344	error	(5929) RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2 at boundsError (internal/buffer.js:82:9) at Buffer.readUInt16BE (internal/buff
            modbus.2	2021-02-10 17:48:46.343	error	(5929) uncaught exception: The value of "offset" is out of range. It must be >= 0 and <= 0. Received 2
            modbus.2	2021-02-10 17:48:46.306	debug	(5929) Poll inputRegs DevID(1) address 3002 - 2 bytes
            modbus.2	2021-02-10 17:48:46.305	debug	(5929) Initialization of scale factors done!
            modbus.2	2021-02-10 17:48:46.302	debug	(5929) Poll device 1
            modbus.2	2021-02-10 17:48:46.300	info	(5929) Connected to slave 192.168.178.202
            modbus.2	2021-02-10 17:48:45.655	info	(5929) starting. Version 3.2.4 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.20.1, js-controller: 3.2.13
            modbus.2	2021-02-10 17:48:45.254	debug	(5929) Plugin sentry Initialize Plugin (enabled=true)
            host.RaspSchaltschrank	2021-02-10 17:48:42.978	info	instance system.adapter.modbus.2 started with pid 5929
            
            wendy2702W Online
            wendy2702W Online
            wendy2702
            schrieb am zuletzt editiert von
            #23

            @captainchaos666 Oh. Sorry.

            Da habe ich eine "1" verschluckt.

            Sollte 13002 heissen.

            Bitte keine Fragen per PN, die gehören ins Forum!

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            C 1 Antwort Letzte Antwort
            0
            • wendy2702W wendy2702

              @captainchaos666 Oh. Sorry.

              Da habe ich eine "1" verschluckt.

              Sollte 13002 heissen.

              C Offline
              C Offline
              captainchaos666
              schrieb am zuletzt editiert von
              #24

              @wendy2702
              20200210 Modbus 10.PNG
              20200210 Modbus 11.PNG

              modbus.2	2021-02-10 19:55:48.976	info	(10919) Disconnected from slave 192.168.178.202
              modbus.2	2021-02-10 19:55:48.975	debug	(10919) Closing client on purpose.
              modbus.2	2021-02-10 19:55:48.920	debug	(10919) Poll inputRegs DevID(1) address 13002 - 2 bytes
              modbus.2	2021-02-10 19:55:48.918	debug	(10919) Poll device 1
              modbus.2	2021-02-10 19:55:47.973	debug	(10919) Cleaning up request fifo.
              modbus.2	2021-02-10 19:55:47.972	debug	(10919) Clearing timeout of the current request.
              modbus.2	2021-02-10 19:55:47.971	debug	(10919) Socket closed with error
              modbus.2	2021-02-10 19:55:47.863	debug	(10919) Poll inputRegs DevID(1) address 13002 - 2 bytes
              modbus.2	2021-02-10 19:55:47.862	debug	(10919) Poll device 1
              modbus.2	2021-02-10 19:55:47.861	info	(10919) Connected to slave 192.168.178.202
              modbus.2	2021-02-10 19:54:47.858	info	(10919) Disconnected from slave 192.168.178.202
              modbus.2	2021-02-10 19:54:47.857	debug	(10919) Closing client on purpose.
              modbus.2	2021-02-10 19:54:46.855	debug	(10919) Cleaning up request fifo.
              modbus.2	2021-02-10 19:54:46.854	debug	(10919) Clearing timeout of the current request.
              modbus.2	2021-02-10 19:54:46.853	debug	(10919) Socket closed with error
              modbus.2	2021-02-10 19:54:46.843	debug	(10919) Poll inputRegs DevID(1) address 13002 - 2 bytes
              modbus.2	2021-02-10 19:54:46.842	debug	(10919) Poll device 1
              modbus.2	2021-02-10 19:54:46.841	info	(10919) Connected to slave 192.168.178.202
              

              20200210 Modbus 12.PNG
              20200210 Modbus 13.PNG

              modbus.2	2021-02-10 20:00:50.242	info	(11046) Disconnected from slave 192.168.178.202
              modbus.2	2021-02-10 20:00:50.240	debug	(11046) Closing client on purpose.
              modbus.2	2021-02-10 20:00:50.134	debug	(11046) Poll inputRegs DevID(1) address 13002 - 2 bytes
              modbus.2	2021-02-10 20:00:50.132	debug	(11046) Poll device 1
              modbus.2	2021-02-10 20:00:49.239	debug	(11046) Cleaning up request fifo.
              modbus.2	2021-02-10 20:00:49.239	debug	(11046) Clearing timeout of the current request.
              modbus.2	2021-02-10 20:00:49.238	debug	(11046) Socket closed with error
              modbus.2	2021-02-10 20:00:49.073	debug	(11046) Poll inputRegs DevID(1) address 13002 - 2 bytes
              modbus.2	2021-02-10 20:00:49.072	debug	(11046) Poll device 1
              modbus.2	2021-02-10 20:00:49.071	info	(11046) Connected to slave 192.168.178.202
              modbus.2	2021-02-10 20:00:12.149	debug	(11046) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2
              modbus.2	2021-02-10 20:00:12.148	info	(11046) List of port: [{"path":"/dev/ttyS0"}]
              modbus.2	2021-02-10 20:00:12.147	info	(11046) Check /dev/ttyS0 : true
              modbus.2	2021-02-10 20:00:12.142	info	(11046) Verify [{"path":"/dev/ttyS0"}]
              modbus.2	2021-02-10 19:59:49.066	info	(11046) Disconnected from slave 192.168.178.202
              modbus.2	2021-02-10 19:59:49.065	debug	(11046) Closing client on purpose.
              modbus.2	2021-02-10 19:59:48.527	debug	(11046) Poll inputRegs DevID(1) address 13002 - 2 bytes
              modbus.2	2021-02-10 19:59:48.526	debug	(11046) Poll device 1
              modbus.2	2021-02-10 19:59:48.062	debug	(11046) Cleaning up request fifo.
              modbus.2	2021-02-10 19:59:48.061	debug	(11046) Clearing timeout of the current request.
              modbus.2	2021-02-10 19:59:48.060	debug	(11046) Socket closed with error
              modbus.2	2021-02-10 19:59:47.445	debug	(11046) Poll inputRegs DevID(1) address 13002 - 2 bytes
              modbus.2	2021-02-10 19:59:47.444	debug	(11046) Initialization of scale factors done!
              modbus.2	2021-02-10 19:59:47.441	debug	(11046) Poll device 1
              modbus.2	2021-02-10 19:59:47.438	info	(11046) Connected to slave 192.168.178.202
              

              Und so wie es sein sollte, bzw war:
              20200210 Modbus 14.PNG
              20200210 Modbus 15.PNG

              modbus.2	2021-02-10 20:07:13.480	info	(11164) Disconnected from slave 192.168.178.202
              modbus.2	2021-02-10 20:07:13.479	debug	(11164) Closing client on purpose.
              modbus.2	2021-02-10 20:07:12.478	debug	(11164) Cleaning up request fifo.
              modbus.2	2021-02-10 20:07:12.477	debug	(11164) Clearing timeout of the current request.
              modbus.2	2021-02-10 20:07:12.476	debug	(11164) Socket closed with error
              modbus.2	2021-02-10 20:07:12.464	debug	(11164) Poll inputRegs DevID(1) address 13002 - 2 bytes
              modbus.2	2021-02-10 20:07:12.463	debug	(11164) Poll device 1
              modbus.2	2021-02-10 20:07:12.462	info	(11164) Connected to slave 192.168.178.202
              modbus.2	2021-02-10 20:06:12.459	info	(11164) Disconnected from slave 192.168.178.202
              modbus.2	2021-02-10 20:06:12.458	debug	(11164) Closing client on purpose.
              modbus.2	2021-02-10 20:06:12.421	debug	(11164) Poll inputRegs DevID(1) address 13002 - 2 bytes
              modbus.2	2021-02-10 20:06:12.420	debug	(11164) Poll device 1
              modbus.2	2021-02-10 20:06:11.456	debug	(11164) Cleaning up request fifo.
              modbus.2	2021-02-10 20:06:11.455	debug	(11164) Clearing timeout of the current request.
              modbus.2	2021-02-10 20:06:11.454	debug	(11164) Socket closed with error
              modbus.2	2021-02-10 20:06:11.360	debug	(11164) Poll inputRegs DevID(1) address 13002 - 2 bytes
              modbus.2	2021-02-10 20:06:11.360	debug	(11164) Poll device 1
              modbus.2	2021-02-10 20:06:11.357	info	(11164) Connected to slave 192.168.178.202
              
              wendy2702W 1 Antwort Letzte Antwort
              0
              • C captainchaos666

                @wendy2702
                20200210 Modbus 10.PNG
                20200210 Modbus 11.PNG

                modbus.2	2021-02-10 19:55:48.976	info	(10919) Disconnected from slave 192.168.178.202
                modbus.2	2021-02-10 19:55:48.975	debug	(10919) Closing client on purpose.
                modbus.2	2021-02-10 19:55:48.920	debug	(10919) Poll inputRegs DevID(1) address 13002 - 2 bytes
                modbus.2	2021-02-10 19:55:48.918	debug	(10919) Poll device 1
                modbus.2	2021-02-10 19:55:47.973	debug	(10919) Cleaning up request fifo.
                modbus.2	2021-02-10 19:55:47.972	debug	(10919) Clearing timeout of the current request.
                modbus.2	2021-02-10 19:55:47.971	debug	(10919) Socket closed with error
                modbus.2	2021-02-10 19:55:47.863	debug	(10919) Poll inputRegs DevID(1) address 13002 - 2 bytes
                modbus.2	2021-02-10 19:55:47.862	debug	(10919) Poll device 1
                modbus.2	2021-02-10 19:55:47.861	info	(10919) Connected to slave 192.168.178.202
                modbus.2	2021-02-10 19:54:47.858	info	(10919) Disconnected from slave 192.168.178.202
                modbus.2	2021-02-10 19:54:47.857	debug	(10919) Closing client on purpose.
                modbus.2	2021-02-10 19:54:46.855	debug	(10919) Cleaning up request fifo.
                modbus.2	2021-02-10 19:54:46.854	debug	(10919) Clearing timeout of the current request.
                modbus.2	2021-02-10 19:54:46.853	debug	(10919) Socket closed with error
                modbus.2	2021-02-10 19:54:46.843	debug	(10919) Poll inputRegs DevID(1) address 13002 - 2 bytes
                modbus.2	2021-02-10 19:54:46.842	debug	(10919) Poll device 1
                modbus.2	2021-02-10 19:54:46.841	info	(10919) Connected to slave 192.168.178.202
                

                20200210 Modbus 12.PNG
                20200210 Modbus 13.PNG

                modbus.2	2021-02-10 20:00:50.242	info	(11046) Disconnected from slave 192.168.178.202
                modbus.2	2021-02-10 20:00:50.240	debug	(11046) Closing client on purpose.
                modbus.2	2021-02-10 20:00:50.134	debug	(11046) Poll inputRegs DevID(1) address 13002 - 2 bytes
                modbus.2	2021-02-10 20:00:50.132	debug	(11046) Poll device 1
                modbus.2	2021-02-10 20:00:49.239	debug	(11046) Cleaning up request fifo.
                modbus.2	2021-02-10 20:00:49.239	debug	(11046) Clearing timeout of the current request.
                modbus.2	2021-02-10 20:00:49.238	debug	(11046) Socket closed with error
                modbus.2	2021-02-10 20:00:49.073	debug	(11046) Poll inputRegs DevID(1) address 13002 - 2 bytes
                modbus.2	2021-02-10 20:00:49.072	debug	(11046) Poll device 1
                modbus.2	2021-02-10 20:00:49.071	info	(11046) Connected to slave 192.168.178.202
                modbus.2	2021-02-10 20:00:12.149	debug	(11046) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2
                modbus.2	2021-02-10 20:00:12.148	info	(11046) List of port: [{"path":"/dev/ttyS0"}]
                modbus.2	2021-02-10 20:00:12.147	info	(11046) Check /dev/ttyS0 : true
                modbus.2	2021-02-10 20:00:12.142	info	(11046) Verify [{"path":"/dev/ttyS0"}]
                modbus.2	2021-02-10 19:59:49.066	info	(11046) Disconnected from slave 192.168.178.202
                modbus.2	2021-02-10 19:59:49.065	debug	(11046) Closing client on purpose.
                modbus.2	2021-02-10 19:59:48.527	debug	(11046) Poll inputRegs DevID(1) address 13002 - 2 bytes
                modbus.2	2021-02-10 19:59:48.526	debug	(11046) Poll device 1
                modbus.2	2021-02-10 19:59:48.062	debug	(11046) Cleaning up request fifo.
                modbus.2	2021-02-10 19:59:48.061	debug	(11046) Clearing timeout of the current request.
                modbus.2	2021-02-10 19:59:48.060	debug	(11046) Socket closed with error
                modbus.2	2021-02-10 19:59:47.445	debug	(11046) Poll inputRegs DevID(1) address 13002 - 2 bytes
                modbus.2	2021-02-10 19:59:47.444	debug	(11046) Initialization of scale factors done!
                modbus.2	2021-02-10 19:59:47.441	debug	(11046) Poll device 1
                modbus.2	2021-02-10 19:59:47.438	info	(11046) Connected to slave 192.168.178.202
                

                Und so wie es sein sollte, bzw war:
                20200210 Modbus 14.PNG
                20200210 Modbus 15.PNG

                modbus.2	2021-02-10 20:07:13.480	info	(11164) Disconnected from slave 192.168.178.202
                modbus.2	2021-02-10 20:07:13.479	debug	(11164) Closing client on purpose.
                modbus.2	2021-02-10 20:07:12.478	debug	(11164) Cleaning up request fifo.
                modbus.2	2021-02-10 20:07:12.477	debug	(11164) Clearing timeout of the current request.
                modbus.2	2021-02-10 20:07:12.476	debug	(11164) Socket closed with error
                modbus.2	2021-02-10 20:07:12.464	debug	(11164) Poll inputRegs DevID(1) address 13002 - 2 bytes
                modbus.2	2021-02-10 20:07:12.463	debug	(11164) Poll device 1
                modbus.2	2021-02-10 20:07:12.462	info	(11164) Connected to slave 192.168.178.202
                modbus.2	2021-02-10 20:06:12.459	info	(11164) Disconnected from slave 192.168.178.202
                modbus.2	2021-02-10 20:06:12.458	debug	(11164) Closing client on purpose.
                modbus.2	2021-02-10 20:06:12.421	debug	(11164) Poll inputRegs DevID(1) address 13002 - 2 bytes
                modbus.2	2021-02-10 20:06:12.420	debug	(11164) Poll device 1
                modbus.2	2021-02-10 20:06:11.456	debug	(11164) Cleaning up request fifo.
                modbus.2	2021-02-10 20:06:11.455	debug	(11164) Clearing timeout of the current request.
                modbus.2	2021-02-10 20:06:11.454	debug	(11164) Socket closed with error
                modbus.2	2021-02-10 20:06:11.360	debug	(11164) Poll inputRegs DevID(1) address 13002 - 2 bytes
                modbus.2	2021-02-10 20:06:11.360	debug	(11164) Poll device 1
                modbus.2	2021-02-10 20:06:11.357	info	(11164) Connected to slave 192.168.178.202
                
                wendy2702W Online
                wendy2702W Online
                wendy2702
                schrieb am zuletzt editiert von
                #25

                @captainchaos666 Und wenn du jetzt mal beide Werte einträgst?

                Info aus dem Fhem Forum: Hier wird glaube ich mit einem Polldelay von 199 gearbeitet. Ich denke das sind auch millisekunden.

                Bitte keine Fragen per PN, die gehören ins Forum!

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                C 1 Antwort Letzte Antwort
                0
                • wendy2702W wendy2702

                  @captainchaos666 Und wenn du jetzt mal beide Werte einträgst?

                  Info aus dem Fhem Forum: Hier wird glaube ich mit einem Polldelay von 199 gearbeitet. Ich denke das sind auch millisekunden.

                  C Offline
                  C Offline
                  captainchaos666
                  schrieb am zuletzt editiert von
                  #26

                  @wendy2702 sagte in Modbus Poll funktioniert nicht:

                  Info aus dem Fhem Forum: Hier wird glaube ich mit einem Polldelay von 199 gearbeitet. Ich denke das sind auch millisekunden.

                  das bringt mir ja nichts, es werden einmalig die Daten gelesen und dann die Verbindung abgebaut bis zur Reconnect-Zeit. Damit ich mal mit Polldelay arbeiten könnte wäre schon ein Traum. Wenn die Verbindung stehen bleibt dann kann ich anfangen mit dem Polldelay zu arbeiten

                  wendy2702W 1 Antwort Letzte Antwort
                  0
                  • C captainchaos666

                    @wendy2702 sagte in Modbus Poll funktioniert nicht:

                    Info aus dem Fhem Forum: Hier wird glaube ich mit einem Polldelay von 199 gearbeitet. Ich denke das sind auch millisekunden.

                    das bringt mir ja nichts, es werden einmalig die Daten gelesen und dann die Verbindung abgebaut bis zur Reconnect-Zeit. Damit ich mal mit Polldelay arbeiten könnte wäre schon ein Traum. Wenn die Verbindung stehen bleibt dann kann ich anfangen mit dem Polldelay zu arbeiten

                    wendy2702W Online
                    wendy2702W Online
                    wendy2702
                    schrieb am zuletzt editiert von
                    #27

                    @captainchaos666 Wenn ich mir das Script von FHEM anschaue machen die so einen Poll zwischen den einzelnen Abfragen :thinking_face:

                    Bitte keine Fragen per PN, die gehören ins Forum!

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    C 1 Antwort Letzte Antwort
                    0
                    • wendy2702W wendy2702

                      @captainchaos666 Wenn ich mir das Script von FHEM anschaue machen die so einen Poll zwischen den einzelnen Abfragen :thinking_face:

                      C Offline
                      C Offline
                      captainchaos666
                      schrieb am zuletzt editiert von
                      #28

                      @wendy2702 sagte in Modbus Poll funktioniert nicht:

                      @captainchaos666 Wenn ich mir das Script von FHEM anschaue machen die so einen Poll zwischen den einzelnen Abfragen :thinking_face:

                      aber dazu müsst doch die Verbindung aufrecht erhalten bleiben, sonst noch jemand eine Idee

                      M 1 Antwort Letzte Antwort
                      0
                      • C captainchaos666

                        @wendy2702 sagte in Modbus Poll funktioniert nicht:

                        @captainchaos666 Wenn ich mir das Script von FHEM anschaue machen die so einen Poll zwischen den einzelnen Abfragen :thinking_face:

                        aber dazu müsst doch die Verbindung aufrecht erhalten bleiben, sonst noch jemand eine Idee

                        M Offline
                        M Offline
                        Matis
                        schrieb am zuletzt editiert von
                        #29

                        @captainchaos666 Hast du ne Lösung gefunden? Habe ein ähnliches Problem und komme nicht weiter. Danke.

                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

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

                        357

                        Online

                        32.6k

                        Benutzer

                        82.1k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe