Jump to content

Modbus TCP will stop responding to master but can ping

Recommended Posts

Using a V130 configured for TCP I am using an external device to continuously poll the state of a blocks of registers.

This works fine for several days but occasionally will simply stop responding to modbus requests. I can ping the V130 and connect to it using Visilog so I know the IP address is setup correctly but no modbus activity is possible. Once I reboot the V130 everything works until it stops responding again after a few days.

Any suggestions on what I should look for would be much appreciated.

These are the TCP setup rungs


Link to comment
Share on other sites

  • MVP 2023
6 minutes ago, Flex727 said:

I suspect the creators had something in mind that was a problem if it was set when it didn't need to be.

This is not related to this topic, but in an empty project for some reason 0 is written in SI285 and I could not understand why this is done. Look at the STL view of the empty ladder program...

Link to comment
Share on other sites

2 hours ago, Ausman said:

@Cara Bereck Levy I must be missing a perfectly valid reason why SB168 doesn't default as set at power-up.   We often have users not knowing about this, and it seems a bit odd to me that it has to be activated when it is actually an essential part of the process.

cheers, Aus

SB 168 should be turned ON at power-up.

It is OFF by default to preserve backwards compatibility with applications created previous to OS 4.70 B14.

If SB 168 is ON, when the Ethernet link fails, the OS saves the Ethernet parameters and resets:

   • SB 142 Card Initialized

   • SBs 143-146 Socket initialized (Sockets 0-3)

   • SBs 147-150 Socket connected (Sockets 0-3)

When the Ethernet link is reestablished, the O/S performs CARD INIT and SOCKET INIT for all 4 sockets according to the saved parameters.


Speaking of that, this is one of those bits that does not work for v700 right? 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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