Logic Machine Forum
Modbus TCP broken pipe error - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Modbus TCP broken pipe error (/showthread.php?tid=6048)



Modbus TCP broken pipe error - CristianAgata - 12.07.2025

Hi everybody,
I'm going mad with this error in a modbus TCP application.
I describe the project. Two inverter an ABB and a Huawei the first one works perfectly the second after about 2 days stops works and give me "broken pipe error".
Reading in the forum I have already flagged "permanent connection" change the polling time (growing now 20 sec) and change the timeout (decrease).
On other Huawei with the system works fine.
Any others ideas?
Thanks and best regards Cristian


RE: Modbus TCP broken pipe error - Daniel - 14.07.2025

What is the pool interval, timeout and amount of registers? Any other errors?


RE: Modbus TCP broken pipe error - CristianAgata - 14.07.2025

(14.07.2025, 07:22)Daniel Wrote: What is the pool interval, timeout and amount of registers? Any other errors?

Hi Daniel,
pool interval : 20 sec
timeout : 3 sec
Number of registers : 23
Other errors 'Timeout', 'slave or server are busy' or 'Broken pipe'
Thanks Cristian


RE: Modbus TCP broken pipe error - Daniel - 14.07.2025

3sec x 23 = 69sec. Set pool interval around this and restart inverter.


RE: Modbus TCP broken pipe error - CristianAgata - 14.07.2025

(14.07.2025, 13:39)Daniel Wrote: 3sec x 23 = 69sec. Set pool interval around this and restart inverter.
ok and I let you know


RE: Modbus TCP broken pipe error - CristianAgata - 16.07.2025

(14.07.2025, 13:39)Daniel Wrote: 3sec x 23 = 69sec. Set pool interval around this and restart inverter.

Hi it seems works but it has a lot of error of timeout (I think it could be a register), is there a way to understand which?
Anyway at the moment I have not the broken pipe error.
Best regards Cristian


RE: Modbus TCP broken pipe error - Daniel - 16.07.2025

Try Read test one by one.