[Logo] Serotonin Software Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Exception from modbus master: Stream closed  XML
Forum Index » User help
Author Message
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.
mlohbihler

Master
[Avatar]

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
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
mlohbihler

Master
[Avatar]

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
 
Forum Index » User help
Go to:   
Powered by JForum 2.1.9 © JForum Team