NEWS
Hargassner ModBus Anbindung geht nicht!
-
@acidsubway Ist zwar nur 40007 und 40001 im Log aber egal.
Dann lösche mal unter Holding und trage ein Register bei Eingangsregistern ein und als "Float"
-
modbus.2 2021-03-17 22:36:45.191 debug (9757) Closing client on purpose. modbus.2 2021-03-17 22:36:44.189 debug (9757) Cleaning up request fifo. modbus.2 2021-03-17 22:36:44.188 debug (9757) Socket closed with error modbus.2 2021-03-17 22:36:44.177 info (9757) Disconnected from slave 192.168.0.50 modbus.2 2021-03-17 22:36:44.176 debug (9757) Closing client on purpose. modbus.2 2021-03-17 22:36:44.125 warn (9757) Poll error count: 6 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:36:44.124 debug (9757) Received pdu describes an error. modbus.2 2021-03-17 22:36:44.121 debug (9757) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:36:44.121 debug (9757) Poll device 1 modbus.2 2021-03-17 22:36:43.070 warn (9757) Poll error count: 5 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:36:43.069 debug (9757) Received pdu describes an error. modbus.2 2021-03-17 22:36:43.058 debug (9757) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:36:43.057 debug (9757) Poll device 1 modbus.2 2021-03-17 22:36:42.006 warn (9757) Poll error count: 4 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:36:42.006 debug (9757) Received pdu describes an error. modbus.2 2021-03-17 22:36:42.002 debug (9757) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:36:42.002 debug (9757) Poll device 1 modbus.2 2021-03-17 22:36:40.950 warn (9757) Poll error count: 3 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:36:40.950 debug (9757) Received pdu describes an error. modbus.2 2021-03-17 22:36:40.941 debug (9757) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:36:40.941 debug (9757) Poll device 1 modbus.2 2021-03-17 22:36:39.889 warn (9757) Poll error count: 2 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:36:39.889 debug (9757) Received pdu describes an error. modbus.2 2021-03-17 22:36:39.864 debug (9757) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:36:39.863 debug (9757) Poll device 1 modbus.2 2021-03-17 22:36:38.811 warn (9757) Poll error count: 1 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:36:38.809 debug (9757) Received pdu describes an error. modbus.2 2021-03-17 22:36:38.798 debug (9757) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:36:38.797 debug (9757) Initialization of scale factors done! modbus.2 2021-03-17 22:36:38.796 debug (9757) Poll device 1 modbus.2 2021-03-17 22:36:38.795 info (9757) Connected to slave 192.168.0.50 modbus.2 2021-03-17 22:36:38.444 info (9757) starting. Version 3.2.4 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.21.0, js-controller: 3.2.16 modbus.2 2021-03-17 22:36:38.236 debug (9757) Plugin sentry Initialize Plugin (enabled=true)
-
@acidsubway Ist auf deiner Tastatur die "9" kaputt ?
Nochmal Egal.
Hast du das Register auf "Float" gestellt ?
-
alle flot´s ausprobiert
modbus.2 2021-03-17 22:53:10.870 debug (10600) Closing client on purpose. modbus.2 2021-03-17 22:53:09.868 debug (10600) Cleaning up request fifo. modbus.2 2021-03-17 22:53:09.868 debug (10600) Socket closed with error modbus.2 2021-03-17 22:53:09.854 info (10600) Disconnected from slave 192.168.0.50 modbus.2 2021-03-17 22:53:09.853 debug (10600) Closing client on purpose. modbus.2 2021-03-17 22:53:09.802 warn (10600) Poll error count: 6 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:53:09.802 debug (10600) Received pdu describes an error. modbus.2 2021-03-17 22:53:09.792 debug (10600) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:53:09.791 debug (10600) Poll device 1 modbus.2 2021-03-17 22:53:08.739 warn (10600) Poll error count: 5 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:53:08.738 debug (10600) Received pdu describes an error. modbus.2 2021-03-17 22:53:08.733 debug (10600) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:53:08.732 debug (10600) Poll device 1 modbus.2 2021-03-17 22:53:07.681 warn (10600) Poll error count: 4 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:53:07.680 debug (10600) Received pdu describes an error. modbus.2 2021-03-17 22:53:07.660 debug (10600) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:53:07.659 debug (10600) Poll device 1 modbus.2 2021-03-17 22:53:06.608 warn (10600) Poll error count: 3 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:53:06.607 debug (10600) Received pdu describes an error. modbus.2 2021-03-17 22:53:06.594 debug (10600) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:53:06.594 debug (10600) Poll device 1 modbus.2 2021-03-17 22:53:05.542 warn (10600) Poll error count: 2 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:53:05.541 debug (10600) Received pdu describes an error. modbus.2 2021-03-17 22:53:05.522 debug (10600) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:53:05.522 debug (10600) Poll device 1 modbus.2 2021-03-17 22:53:04.470 warn (10600) Poll error count: 1 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-17 22:53:04.468 debug (10600) Received pdu describes an error. modbus.2 2021-03-17 22:53:04.458 debug (10600) Poll inputRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-17 22:53:04.458 debug (10600) Initialization of scale factors done! modbus.2 2021-03-17 22:53:04.456 debug (10600) Poll device 1 modbus.2 2021-03-17 22:53:04.455 info (10600) Connected to slave 192.168.0.50 modbus.2 2021-03-17 22:53:04.123 info (10600) starting. Version 3.2.4 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.21.0, js-controller: 3.2.16 modbus.2 2021-03-17 22:53:03.916 debug (10600) Plugin sentry Initialize Plugin (enabled=true) modbus.2 2021-03-17 22:52:59.788 debug (10567) system.adapter.admin.0: logging true modbus.2 2021-03-17 22:52:59.745 info (10567) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason modbus.2 2021-03-17 22:52:59.744 debug (10567) Plugin sentry destroyed modbus.2 2021-03-17 22:52:59.743 info (10567) terminating modbus.2 2021-03-17 22:52:59.743 debug (10567) Closing client on purpose. modbus.2 2021-03-17 22:52:59.742 info (10567) Got terminate signal TERMINATE_YOURSELF modbus.2 2021-03-17 22:52:59.294 debug (10567) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-17 22:52:59.293 info (10567) List of port: [] modbus.2 2021-03-17 22:52:59.292 info (10567) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-17 22:52:58.074 debug (10567) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-17 22:52:58.074 info (10567) List of port: [] modbus.2 2021-03-17 22:52:58.073 info (10567) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-17 22:52:57.081 debug (10567) system.adapter.admin.0: logging false modbus.2 2021-03-17 22:52:56.863 debug (10567) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-17 22:52:56.863 info (10567) List of port: [] modbus.2 2021-03-17 22:52:56.862 info (10567) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-17 22:52:55.663 debug (10567) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-17 22:52:55.663 info (10567) List of port: [] modbus.2 2021-03-17 22:52:55.662 info (10567) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-17 22:52:54.430 debug (10567) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-17 22:52:54.430 info (10567) List of port: [] modbus.2 2021-03-17 22:52:54.429 info (10567) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-17 22:52:53.198 debug (10567) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-17 22:52:53.198 info (10567) List of port: [] modbus.2 2021-03-17 22:52:53.197 info (10567) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-17 22:52:51.945 debug (10567) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-17 22:52:51.944 info (10567) List of port: [] modbus.2 2021-03-17 22:52:51.942 info (10567) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-17 22:52:47.093 debug (10567) Closing client on purpose. modbus.2 2021-03-17 22:52:46.092 debug (10567) Cleaning up request fifo. modbus.2 2021-03-17 22:52:46.091 debug (10567) Socket closed with error modbus.2 2021-03-17 22:52:46.083 info (10567) Disconnected from slave 192.168.0.50
-
Das offset ist ja in der PDF auf 40000 muss die Abfrage trotzdem auf 40011?
-
habe die 11 genommen weil da werte kommen müssen, sonnst kommt auf der 9 immer 0°C und die habe ich atm
modbus.2 2021-03-17 23:17:17.913 debug (12364) Cleaning up request fifo. modbus.2 2021-03-17 23:17:17.912 debug (12364) Clearing timeout of the current request. modbus.2 2021-03-17 23:17:17.912 debug (12364) Socket closed with error modbus.2 2021-03-17 23:17:17.906 info (12364) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason modbus.2 2021-03-17 23:17:17.905 debug (12364) Plugin sentry destroyed modbus.2 2021-03-17 23:17:17.904 info (12364) terminating modbus.2 2021-03-17 23:17:17.903 debug (12364) Closing client on purpose. modbus.2 2021-03-17 23:17:17.902 info (12364) Got terminate signal TERMINATE_YOURSELF modbus.2 2021-03-17 23:17:17.316 debug (12364) Poll holdingRegs DevID(1) address 400287 - 2 bytes modbus.2 2021-03-17 23:17:17.306 debug (12364) Poll holdingRegs DevID(1) address 400001 - 8 bytes modbus.2 2021-03-17 23:17:17.305 debug (12364) Poll device 1 modbus.2 2021-03-17 23:17:16.214 debug (12364) Poll holdingRegs DevID(1) address 400287 - 2 bytes modbus.2 2021-03-17 23:17:16.210 debug (12364) Poll holdingRegs DevID(1) address 400001 - 8 bytes modbus.2 2021-03-17 23:17:16.210 debug (12364) Poll device 1 modbus.2 2021-03-17 23:17:15.148 debug (12364) Poll holdingRegs DevID(1) address 400287 - 2 bytes modbus.2 2021-03-17 23:17:15.146 debug (12364) Poll holdingRegs DevID(1) address 400001 - 8 bytes modbus.2 2021-03-17 23:17:15.145 debug (12364) Poll device 1 modbus.2 2021-03-17 23:17:14.074 debug (12364) Poll holdingRegs DevID(1) address 400287 - 2 bytes modbus.2 2021-03-17 23:17:14.044 debug (12364) Poll holdingRegs DevID(1) address 400001 - 8 bytes modbus.2 2021-03-17 23:17:14.043 debug (12364) Poll device 1 modbus.2 2021-03-17 23:17:13.400 debug (12364) system.adapter.admin.0: logging false modbus.2 2021-03-17 23:17:12.978 debug (12364) Poll holdingRegs DevID(1) address 400287 - 2 bytes modbus.2 2021-03-17 23:17:12.974 debug (12364) Poll holdingRegs DevID(1) address 400001 - 8 bytes modbus.2 2021-03-17 23:17:12.973 debug (12364) Poll device 1 modbus.2 2021-03-17 23:17:11.903 debug (12364) Poll holdingRegs DevID(1) address 400287 - 2 bytes modbus.2 2021-03-17 23:17:11.896 debug (12364) Poll holdingRegs DevID(1) address 400001 - 8 bytes modbus.2 2021-03-17 23:17:11.895 debug (12364) Poll device 1 modbus.2 2021-03-17 23:17:10.808 debug (12364) Poll holdingRegs DevID(1) address 400287 - 2 bytes modbus.2 2021-03-17 23:17:10.803 debug (12364) Poll holdingRegs DevID(1) address 400001 - 8 bytes
qModMaster hier kommen alle daten die ich abfrage?
-
Er öffnet das register aber er zeigt mir eine 0 an
modbus.2 2021-03-17 23:23:37.722 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:37.722 debug (12660) Poll device 1 modbus.2 2021-03-17 23:23:36.662 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:36.661 debug (12660) Poll device 1 modbus.2 2021-03-17 23:23:35.602 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:35.602 debug (12660) Poll device 1 modbus.2 2021-03-17 23:23:34.545 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:34.544 debug (12660) Poll device 1 modbus.2 2021-03-17 23:23:33.483 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:33.483 debug (12660) Poll device 1 modbus.2 2021-03-17 23:23:32.426 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:32.425 debug (12660) Poll device 1 modbus.2 2021-03-17 23:23:31.369 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:31.369 debug (12660) Poll device 1 modbus.2 2021-03-17 23:23:30.313 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:30.313 debug (12660) Poll device 1 modbus.2 2021-03-17 23:23:29.250 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:29.249 debug (12660) Poll device 1 modbus.2 2021-03-17 23:23:28.191 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:28.190 debug (12660) Poll device 1 modbus.2 2021-03-17 23:23:27.120 debug (12660) Poll holdingRegs DevID(1) address 400011 - 2 bytes modbus.2 2021-03-17 23:23:27.119 debug (12660) Initialization of scale factors done! modbus.2 2021-03-17 23:23:27.117 debug (12660) Poll device 1
-
@acidsubway Hast du mal geschaut, welche Adresse da gerade gelesen wird? Da steht 400011. Da hast du irgendwo eine Null zuviel.
-
modbus.2 2021-03-18 19:43:18.306 debug (32417) Closing client on purpose. modbus.2 2021-03-18 19:43:17.305 debug (32417) Cleaning up request fifo. modbus.2 2021-03-18 19:43:17.304 debug (32417) Socket closed with error modbus.2 2021-03-18 19:43:17.298 info (32417) Disconnected from slave 192.168.0.50 modbus.2 2021-03-18 19:43:17.298 debug (32417) Closing client on purpose. modbus.2 2021-03-18 19:43:17.247 warn (32417) Poll error count: 7 code: {"errorCode":131,"exceptionCode":2,"message":"ILLEGAL DATA ADDRESS"} modbus.2 2021-03-18 19:43:17.246 debug (32417) Received pdu describes an error. modbus.2 2021-03-18 19:43:17.226 debug (32417) Poll holdingRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-18 19:43:17.226 debug (32417) Poll device 1 modbus.2 2021-03-18 19:43:17.225 info (32417) Connected to slave 192.168.0.50 modbus.2 2021-03-18 19:43:13.856 debug (32417) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-18 19:43:13.855 info (32417) List of port: [] modbus.2 2021-03-18 19:43:13.854 info (32417) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-18 19:43:12.630 debug (32417) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-18 19:43:12.629 info (32417) List of port: [] modbus.2 2021-03-18 19:43:12.628 info (32417) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-18 19:43:11.385 debug (32417) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-18 19:43:11.385 info (32417) List of port: [] modbus.2 2021-03-18 19:43:11.384 info (32417) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-18 19:43:10.153 debug (32417) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-18 19:43:10.153 info (32417) List of port: [] modbus.2 2021-03-18 19:43:10.152 info (32417) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-18 19:43:08.941 debug (32417) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-18 19:43:08.940 info (32417) List of port: [] modbus.2 2021-03-18 19:43:08.939 info (32417) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-18 19:43:07.690 debug (32417) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-18 19:43:07.690 info (32417) List of port: [] modbus.2 2021-03-18 19:43:07.689 info (32417) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-18 19:43:06.468 debug (32417) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-18 19:43:06.466 info (32417) List of port: [] modbus.2 2021-03-18 19:43:06.465 info (32417) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-18 19:42:18.225 debug (32417) Closing client on purpose. modbus.2 2021-03-18 19:42:17.223 debug (32417) Cleaning up request fifo. modbus.2 2021-03-18 19:42:17.222 debug (32417) Socket closed with error modbus.2 2021-03-18 19:42:17.216 info (32417) Disconnected from slave 192.168.0.50 modbus.2 2021-03-18 19:42:17.215 debug (32417) Closing client on purpose. modbus.2 2021-03-18 19:42:17.163 warn (32417) Poll error count: 6 code: {"errorCode":131,"exceptionCode":2,"message":"ILLEGAL DATA ADDRESS"} modbus.2 2021-03-18 19:42:17.162 debug (32417) Received pdu describes an error. modbus.2 2021-03-18 19:42:17.140 debug (32417) Poll holdingRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-18 19:42:17.140 debug (32417) Poll device 1 modbus.2 2021-03-18 19:42:16.088 warn (32417) Poll error count: 5 code: {"errorCode":131,"exceptionCode":2,"message":"ILLEGAL DATA ADDRESS"} modbus.2 2021-03-18 19:42:16.088 debug (32417) Received pdu describes an error. modbus.2 2021-03-18 19:42:16.077 debug (32417) Poll holdingRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-18 19:42:16.076 debug (32417) Poll device 1 modbus.2 2021-03-18 19:42:15.025 warn (32417) Poll error count: 4 code: {"errorCode":131,"exceptionCode":2,"message":"ILLEGAL DATA ADDRESS"} modbus.2 2021-03-18 19:42:15.025 debug (32417) Received pdu describes an error. modbus.2 2021-03-18 19:42:15.019 debug (32417) Poll holdingRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-18 19:42:15.019 debug (32417) Poll device 1 modbus.2 2021-03-18 19:42:13.966 warn (32417) Poll error count: 3 code: {"errorCode":131,"exceptionCode":2,"message":"ILLEGAL DATA ADDRESS"} modbus.2 2021-03-18 19:42:13.965 debug (32417) Received pdu describes an error. modbus.2 2021-03-18 19:42:13.946 debug (32417) Poll holdingRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-18 19:42:13.945 debug (32417) Poll device 1 modbus.2 2021-03-18 19:42:12.895 warn (32417) Poll error count: 2 code: {"errorCode":131,"exceptionCode":2,"message":"ILLEGAL DATA ADDRESS"} modbus.2 2021-03-18 19:42:12.894 debug (32417) Received pdu describes an error. modbus.2 2021-03-18 19:42:12.886 debug (32417) Poll holdingRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-18 19:42:12.886 debug (32417) Poll device 1 modbus.2 2021-03-18 19:42:11.834 warn (32417) Poll error count: 1 code: {"errorCode":131,"exceptionCode":2,"message":"ILLEGAL DATA ADDRESS"} modbus.2 2021-03-18 19:42:11.832 debug (32417) Received pdu describes an error. modbus.2 2021-03-18 19:42:11.798 debug (32417) Poll holdingRegs DevID(1) address 40011 - 2 bytes modbus.2 2021-03-18 19:42:11.798 debug (32417) Initialization of scale factors done! modbus.2 2021-03-18 19:42:11.796 debug (32417) Poll device 1 modbus.2 2021-03-18 19:42:11.795 info (32417) Connected to slave 192.168.0.50
hab schon viel sachen versucht
-
@acidsubway sagte in Hargassner ModBus Anbindung geht nicht!:
ILLEGAL DATA ADDRESS
Also, eigentlich steht es hier ziemlich deutlich.
Entweder deine Adapter Grund Konfiguration stimmt nicht, das Register hat einen anderen Float oder ist kein Holding Register.
-
@wendy2702 danke euch,
jetzt habe ich den Aliases eingeschalten und es geht, aber jetzt haben die Register eine ganze andere Nummer?
Ist das so ok?
Wie komme ich denn an die Digitalen Kanäle unter 5.3 hin? wie kann ich das am einfachsten Testen?
Ich will meinem Kessel von meinem ioBroker die Raumtemperatur mitteilen damit er die Pumpen abschaltet. -
@acidsubway Kannst mal versuchen das Register bei Eingangsregister an zulegen und dann etwas in den DP schreiben und schauen ob die Pumpe bzw. die Heizung reagiert.
-
sobald ich das mache kommt wieder:
modbus.2 2021-03-19 18:05:08.317 debug (27671) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-19 18:05:08.316 info (27671) List of port: [] modbus.2 2021-03-19 18:05:08.315 info (27671) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-19 18:05:07.084 debug (27671) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-19 18:05:07.084 info (27671) List of port: [] modbus.2 2021-03-19 18:05:07.083 info (27671) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-19 18:05:05.867 debug (27671) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2 modbus.2 2021-03-19 18:05:05.865 info (27671) List of port: [] modbus.2 2021-03-19 18:05:05.864 info (27671) Verify [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}] modbus.2 2021-03-19 18:04:58.253 debug (27671) Closing client on purpose. modbus.2 2021-03-19 18:04:57.252 debug (27671) Cleaning up request fifo. modbus.2 2021-03-19 18:04:57.251 debug (27671) Socket closed with error modbus.2 2021-03-19 18:04:57.244 info (27671) Disconnected from slave 192.168.0.50 modbus.2 2021-03-19 18:04:57.243 debug (27671) Closing client on purpose. modbus.2 2021-03-19 18:04:57.193 warn (27671) Poll error count: 6 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-19 18:04:57.192 debug (27671) Received pdu describes an error. modbus.2 2021-03-19 18:04:57.177 debug (27671) Poll inputRegs DevID(1) address 12087 - 2 bytes modbus.2 2021-03-19 18:04:57.177 debug (27671) Poll device 1 modbus.2 2021-03-19 18:04:56.125 warn (27671) Poll error count: 5 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-19 18:04:56.124 debug (27671) Received pdu describes an error. modbus.2 2021-03-19 18:04:56.116 debug (27671) Poll inputRegs DevID(1) address 12087 - 2 bytes modbus.2 2021-03-19 18:04:56.116 debug (27671) Poll device 1 modbus.2 2021-03-19 18:04:55.065 warn (27671) Poll error count: 4 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-19 18:04:55.064 debug (27671) Received pdu describes an error. modbus.2 2021-03-19 18:04:55.057 debug (27671) Poll inputRegs DevID(1) address 12087 - 2 bytes modbus.2 2021-03-19 18:04:55.057 debug (27671) Poll device 1 modbus.2 2021-03-19 18:04:54.006 warn (27671) Poll error count: 3 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-19 18:04:54.005 debug (27671) Received pdu describes an error. modbus.2 2021-03-19 18:04:54.000 debug (27671) Poll inputRegs DevID(1) address 12087 - 2 bytes modbus.2 2021-03-19 18:04:53.999 debug (27671) Poll device 1 modbus.2 2021-03-19 18:04:52.948 warn (27671) Poll error count: 2 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-19 18:04:52.947 debug (27671) Received pdu describes an error. modbus.2 2021-03-19 18:04:52.935 debug (27671) Poll inputRegs DevID(1) address 12087 - 2 bytes modbus.2 2021-03-19 18:04:52.934 debug (27671) Poll device 1 modbus.2 2021-03-19 18:04:51.880 warn (27671) Poll error count: 1 code: {"errorCode":132,"exceptionCode":1,"message":"ILLEGAL FUNCTION"} modbus.2 2021-03-19 18:04:51.879 debug (27671) Received pdu describes an error. modbus.2 2021-03-19 18:04:51.865 debug (27671) Poll inputRegs DevID(1) address 12087 - 2 bytes modbus.2 2021-03-19 18:04:51.864 debug (27671) Initialization of scale factors done! modbus.2 2021-03-19 18:04:51.863 debug (27671) Poll device 1 modbus.2 2021-03-19 18:04:51.862 info (27671) Connected to slave 192.168.0.50
Oder habe ich es falsch reingeschrieben?
DANKE!
MFG
-
Hallo @acidsubway,
hast du mal geschaut was auf dieser SD Karte drauf ist?
Kann man die evtl. kopieren oder wurde die extra für deine Anlage frei erstellt/geschaltet?grüße