Navigation

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

    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

    Modbus Poll funktioniert nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      captainchaos666 @wendy2702 last edited by

      @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
      
      wendy2702 1 Reply Last reply Reply Quote 0
      • wendy2702
        wendy2702 @captainchaos666 last edited by

        @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 1 Reply Last reply Reply Quote 0
        • C
          captainchaos666 @wendy2702 last edited by

          @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
          
          wendy2702 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 @captainchaos666 last edited by

            @captainchaos666 Oh. Sorry.

            Da habe ich eine "1" verschluckt.

            Sollte 13002 heissen.

            C 1 Reply Last reply Reply Quote 0
            • C
              captainchaos666 @wendy2702 last edited by

              @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
              
              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @captainchaos666 last edited by

                @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 1 Reply Last reply Reply Quote 0
                • C
                  captainchaos666 @wendy2702 last edited by

                  @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

                  wendy2702 1 Reply Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 @captainchaos666 last edited by

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

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      captainchaos666 @wendy2702 last edited by

                      @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 🤔

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

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Matis @captainchaos666 last edited by

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

                        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

                        962
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        4
                        29
                        1990
                        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