You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my modbus network I have 2 devices: id 11 and id12.
When for some reason a communication error occurs, the modbus server loses the query sequence - as a result - it cannot re-establish this communication. Only a restart of the adapter helps.
Describe the bug
In my modbus network I have 2 devices: id 11 and id12.
When for some reason a communication error occurs, the modbus server loses the query sequence - as a result - it cannot re-establish this communication. Only a restart of the adapter helps.
**Logfile 1: log of correct communication**
modbus.2
2024-11-23 20:05:38.296 debug [DevID_12/holdingRegs] Poll address 0 DONE
modbus.2
2024-11-23 20:05:38.144 debug [DevID_12/holdingRegs] Poll address 0 - 9 registers
modbus.2
2024-11-23 20:05:38.143 debug [DevID_12] Poll start ---------------------
modbus.2
2024-11-23 20:05:37.930 debug [DevID_11/holdingRegs] Poll address 15 DONE
modbus.2
2024-11-23 20:05:37.829 debug [DevID_11/holdingRegs] Poll address 15 - 14 registers
modbus.2
2024-11-23 20:05:37.822 debug [DevID_11/holdingRegs] Poll address 0 DONE
modbus.2
2024-11-23 20:05:37.719 debug [DevID_11/holdingRegs] Poll address 0 - 15 registers
modbus.2
2024-11-23 20:05:37.718 debug [DevID_11] Poll start ---------------------
modbus.2
2024-11-23 20:05:35.722 info Connected to slave 192.168.10.30`
**Logfile 2: log after error occurs**
modbus.2
2024-11-23 20:03:04.726 info Disconnected from slave 192.168.10.30
modbus.2
2024-11-23 20:03:04.725 debug Closing client on purpose.
modbus.2
2024-11-23 20:03:03.925 debug [DevID_12/holdingRegs] Poll address 0 - 9 registers
modbus.2
2024-11-23 20:03:03.925 debug [DevID_12] Poll start ---------------------
modbus.2
2024-11-23 20:03:03.726 debug Cleaning up request fifo.
modbus.2
2024-11-23 20:03:03.726 debug Clearing timeout of the current request.
modbus.2
2024-11-23 20:03:03.726 debug Socket closed with error
modbus.2
2024-11-23 20:03:03.725 warn [DevID_11] Poll error count: 1 code: {"err":"timeout","timeout":4000}
modbus.2
2024-11-23 20:03:03.724 error Client in error state.
modbus.2
2024-11-23 20:03:03.724 error Request timed out.
modbus.2
2024-11-23 20:03:03.723 warn Error: undefined
modbus.2
2024-11-23 20:03:01.139 debug [DevID_11/holdingRegs] Poll address 0 - 15 registers
modbus.2
2024-11-23 20:03:01.138 debug [DevID_11] Poll start ---------------------
modbus.2
2024-11-23 20:02:59.723 debug [DevID_12/holdingRegs] Poll address 0 DONE
modbus.2
2024-11-23 20:02:59.567 debug [DevID_11/holdingRegs] Poll address 0 - 15 registers
modbus.2
2024-11-23 20:02:59.566 debug [DevID_11] Poll start ---------------------
modbus.2
2024-11-23 20:02:59.565 info Connected to slave 192.168.10.30
Versions:
The text was updated successfully, but these errors were encountered: