Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Sat Nov 18, 2017 8:51 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Oct 15, 2010 10:22 am 
Offline

Joined: Thu Oct 07, 2010 8:59 am
Posts: 7
We are trying to diagnose why a connection between a G75 and a modbus TCP slave is sometimes not reestablished after the slave is taken offline for some period of time. ConnectAtStartup is set to true, and there's no other code written to manage the connection. We have 6 slaves on the system if that is helpful to know. We're not sure what the best way to start attacking the issue.

Is there a point at which the panel will stop trying to reestablish the connection? If not, is there a way to get the status of the connection and attempt to reestablish it if necessary?


Top
 Profile  
 
PostPosted: Fri Oct 15, 2010 10:32 am 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
Shannon,

Assuming you are not using the legacy modbus library from Qlarity Foundry 1.52, the modbus communication object will attempt to re-connect as long as there is not a connection. There is not a limit on the number of attempts. However TCP/IP connections can at times take 2-3 minutes to time out, so you would have to wait a few minutes for the re-connect to occur after plugging in the cable.

What version of firmware and Qlarity Foundry are you using? I would recommend using at least 2.60.

If you still can't make headway on this, then you may need to use a packet sniffer such as Wireshark to intercept the communication between the two devices in order to diagnose what is happening.

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group