• 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

    Hexidecimal MODBUS Register Data

    User help
    2
    7
    2106
    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.
    • G
      gloverm last edited by

      Hi,

      Is there a simple means of extracting either raw hexidecimal values or Stringified Hex from MODBUS holding registers using modbus4j?

      My customer is placing Hex encoded ASCII into Holding Registers. I need to upload the hex to a server and decode.

      Example:
      Hello World = "48 65 6C 6C 6F 20 57 6F 72 6C 64"
      H = 48, e = 65, l = 6C
      etc..
      Mark

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

        There is a way, but it isn't very simple. You'd create a bunch of 8-byte unsigned points to gather the hex data, and then use a meta point to convert them to a string.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • G
          gloverm last edited by

          Just so I understand,
          I would collect DataType.EIGHT_BYTE_INT_UNSIGNED and then use a Meta Point?
          I'm afraid I don't know what a meta point is.

          -- and thank you for the rapid reply!

          Mark

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

            Do you have Mango installed? Maybe take a look around and familiarize yourself with it a bit. A meta point is a point within a meta data source.

            Best regards,
            Matthew

            1 Reply Last reply Reply Quote 0
            • G
              gloverm last edited by

              I noted that the JAR files associated with Mango contain class files and not source code. Is the source code no longer available? Is this strictly a commercial product? If so, where and how much is licensing?

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

                Look for "Mango M2M Source" here: http://mango.serotoninsoftware.com/download.jsp.

                Best regards,
                Matthew

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