Ask Your Question
0

Modbus tcp communication fault finding

asked 2021-05-14 08:12:07 +0000

MGharat gravatar image
  • I have Mobus TCP network communicating one PLC client & 18 nos of Feeders as servers. But sometimes any of server IP shows fault condition at PLC software after 1/2 secs fault disappears automatically & communication error is resolved. But when we taken wireshark trace through analyzer , we do not get any timeout/error in communication when actaully fault occurs at PLC. can u guide ?
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-05-14 10:02:41 +0000

grahamb gravatar image

Often the client software has some configuration option to set a timeout for the expected response, a bit of historical baggage from serial links. When using TCP there is no need for this (or the often associated config. value of "retries") as the TCP stack will either deliver a response (possibly after TCP retransmissions) or will indicate a failure of the stream.

If there is a comms. or message timeout, try increasing it a bit (or even disable it if an option). Similarly set any retries option to 0.

edit flag offensive delete link more
0

answered 2021-05-14 08:40:03 +0000

hugo.vanderkooij gravatar image

It depends where you do the actual measurements. I would prefer to do measurements on both ends and also compare it with network statistics. But if you don't see any obvious network issue it could very well be a software glitch.

edit flag offensive delete link more

Comments

what you mean by - measurements on both ends ? can you give some more idea ?

MGharat gravatar imageMGharat ( 2021-05-14 08:51:37 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-05-14 08:12:07 +0000

Seen: 431 times

Last updated: May 14 '21