| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 02/04/2009 09:37:45
|
CAHA
Initiate
Joined: 03/03/2009 11:13:05
Messages: 4
Offline
|
Hello,
Nowadays I am using Mango for collecting data from a modbus IP network. It seems to work ok but recently the following urgent error message has appeared:
Exception from modbus master: Stream closed
I can still read the modbus slaves values but this message does not desappear.
Could anybody help me with this issue? Thanks.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 02/04/2009 10:06:27
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1456
Offline
|
Hi CAHA,
I assume you are using a Modbus TCP data source. What type: regular or "keep alive"?
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 02/04/2009 10:46:42
|
CAHA
Initiate
Joined: 03/03/2009 11:13:05
Messages: 4
Offline
|
Hi mlohbihler,
Thanks for the quick reply.
I used to work with the TCP data source but I have also tried the keep alive one.
I do not know if it could help, but the message began to appear just after a Polling Network Error, but the polling error disappeared inmediately
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 02/04/2009 12:06:33
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1456
Offline
|
The message could come from multiple places, but in general it means that the TCP connection to your modbus equipment was closed, and not by Mango. When you are using the keep-alive, Mango detects the condition and attempts a re-connect upon the next polling. If the stream was closed during a poll, the remainder of the poll will fail. Overall it indicates network problems.
|
Best regards,
Matthew Lohbihler |
|
|
 |
|
|