Forced Modbus TCP reconnect after serial error.

Forum Home Forums Communicating with Devices Forced Modbus TCP reconnect after serial error.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8824
    Avatarzzz
    Participant

    I am using a Serial <=> TCP Modbus gateway. RS is configured to use [Shared Connection], with [Stay connected] ticked. I noticed a phenomenon, in the packet log, RS would disconnect current TCP connection and reconnect if any STA on serial bus failed to response properly. This reconnect makes sense for native TCP device. In my gateway scenario it sounds weird. Since the error comes from Serial side of the gateway. Reconnect to the gateway, doesn’t make any difference. Not sure if this is by design or bug. This behavior affect performance, I think it should be avoided or at least configurable, unless it’s a TCP layer connection error.

    • This topic was modified 1 week, 1 day ago by Avatarzzz.
    • This topic was modified 1 week, 1 day ago by Avatarzzz.
    #8830
    MikhailMikhail
    Moderator

    The described behavior is programmed. Probably, it should be configurable in the communication layer properties.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.