• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

    Modbus Poll Duration using Server Home IP

    User help
    3
    4
    139
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cmusselm
      cmusselm last edited by

      Hello,

      I have a question around Modbus communications, specifically the poll duration. While working on items in our test environment we enable a Modbus data source with the server’s home IP (127.0.0.1) and port of 502. The server has no Modbus device attached it to and no simulator or anything listening to port 502.

      1c7af5dc-ba9a-42cc-a447-5cc3d69e62c8-image.png

      As expected, the Slave Monitor is 0 since there is no Modbus device for Mango to talk to.

      What we get that is somewhat unexpected is successful polls. In the Runtime Status tab, the polls are succeeding, taking about 3.2 seconds each.

      c7f8bb68-6c98-4504-ae42-29667c13ba74-image.png

      We thought we’d see timeouts instead of successful polls. Are there any ideas why the polls aren’t timing out? Is the server sending TCP/IP info back to Mango, and that is triggering the successful poll?

      I did turn on I/O logging for the data source, but nothing gets logged outside of the data source being enabled and disabled.

      Thanks,
      Chad

      derguang 1 Reply Last reply Reply Quote 0
      • derguang
        derguang @cmusselm last edited by

        @cmusselm

        If I understood your question correctly:

        The "host" is refer to the Modbus Targeted Device IP, which who is hosting the data source not Mango itself.

        derguang

        1 Reply Last reply Reply Quote 0
        • CraigWeb
          CraigWeb last edited by CraigWeb

          @cmusselm that is not a list of successful polls it is a list of the latest polls that completed either successfully or with a timeout. An aborted poll happens when the duration of the current poll is longer than the poll interval. in other words, mango is still busy with the current poll when the next poll should happen so it aborts it and reschedules it.

          1 Reply Last reply Reply Quote 0
          • cmusselm
            cmusselm last edited by

            Thanks, Craig, that explains some of the results I've seen.

            For the specific example I showed, the poll had a timeout of 4 seconds, and it was coming back in 3.2 seconds. Since there was no Modbus device actually connected to that IP, did Mango report the poll simply because it received TCP/IP info from the server?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post