• Recent
    • Tags
    • Popular
    • Register
    • Login

    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 Mango 5 Documentation Website

    Problem testing Modbus IP Data Source

    How-To
    2
    8
    4.0k
    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.
    • J
      jjconti
      last edited by

      I've created a modbus IP data source and data point.
      I'm also running this server in localhost:502 http://code.google.com/p/modbus-tk/source/browse/trunk/examples/tcpslave_example.py

      If I use th scan nodes feature, Mango successfully finds the single slave in the server. But if I create a Data point for the slave 1 no data is recorded in Mango and no output appears in the server stdout.

      Am I missing something? This is supposed to work.

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        Note that registers in Mango are 0-indexed. Modbus documentation is sometimes 1-index. Try subtracting 1 from your register and see if that works.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • J
          jjconti
          last edited by

          Tried it, but same result: none.

          In the Python script I dont see any request from Mango. I did see it while using the "Search for nodes" feature.

          1 Reply Last reply Reply Quote 0
          • M
            mlohbihler
            last edited by

            Sorry, i can't help much. I've never used that toolkit. But using the Modbus4J listener test i was able to successfully connect, read and write. Are you sure you're using the right register values?

            Best regards,
            Matthew

            1 Reply Last reply Reply Quote 0
            • J
              jjconti
              last edited by

              Is there a way to test if Mango is sendign the modbus ip pabkets over the net?

              1 Reply Last reply Reply Quote 0
              • M
                mlohbihler
                last edited by

                Wireshark?

                Best regards,
                Matthew

                1 Reply Last reply Reply Quote 0
                • J
                  jjconti
                  last edited by

                  Seems I cant capture traffic in the loopbak interface http://wiki.wireshark.org/CaptureSetup/Loopback

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