Device with poor connectivity

Forum Home Forums Communicating with Devices Modbus Device with poor connectivity

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2859
    hybrid
    Participant

    Hi there,

    I wondering how you would suggest dealing with a modbus device that has poor connectivity. It could be offline 25-50% of the time.

    I am displaying the values in a scheme and table in web portal but obviously when the device is offline , the values read as zero.

    Ideally, I’d like the last good data received to be displayed, along with a timestamp of when that data is from? Is this possible ?

    #2861
    Mikhail
    Moderator

    Hi,
    Please provide logs of communication line when the device is offline.
    Also provide a screenshot of the values when the device is offline.

    #2865
    hybrid
    Participant
    #2875
    Mikhail
    Moderator

    Hi,
    Thank you.
    The expected behavior in this case: values and statuses of tags are zero when connection is broken. Does it work as expected or not?

    “Unable to request because connection is not established” – probably, the device disconnects from the PC. If this is a usual LAN, you should check communication with Modbus Simulator installed on another PC. If it works normal, the problem is in the device.

    #2879
    hybrid
    Participant

    I understand the software is working as designed. Is it possible for the last good value (last value when device is connected) to display. Instead of defaulting to zero.
    Also is it possible to display a timestamp of the when the device was connected last?

    #2889
    Mikhail
    Moderator

    Instead of defaulting to zero.

    You need a formula of input channel. Try this: Stat > 0 ? Cnl : Val()

    #2890
    Mikhail
    Moderator

    Also is it possible to display a timestamp of the when the device was connected last?

    You can also implement it using formulas.

    I’d like to say that the connection is not stable, it is not normal, you should find the cause and make the connection better.

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