Jump to content

MODBUS TCP using NI Modbus 1.2.1 Library

Recommended Posts

I have a question about the slave ethernet demon.   What timing can be adjusted?  Ie, I am having a problem with the connection between my NI Modbus simulator and another controller that is runnning a modbus client interface.  I can exchange data, but am having problems with the connection being closed over and over again (from the client side - it doesn't seem to be happy with the response time from the Slave).  This causes the Timeout on the slave demon (5 seconds) to kick in and my updates are taking almost 5 seconds. I get the connection to allow for the exchange of data by making the timing of my client(master) have an update rate of 5 seconds.  This obviously is not a good thing, and although I am exchanging data, I have to wait a very long time. If i try to lower my client to something reasonable (100 ms is ideal), the client continues to close the connection thinking it is not happy with the response from the slave (ser er).  Is there something special I am missing in the TCP layer of the protocol?   Should I be setting something else or sending something else from the Labview Modbus TCP once I have a connection?



Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.