• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. NAguillon
    3. Posts

    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
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 12
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by NAguillon

    • ¿Does anybody else get Response times of this magnitude?

      Hi.

      I made a software to get some values from my PLC and it is certainly ok.. but I get response times mostly of 50 ms (although somethimes they vary between 9 to 60 ms). This was my first time working with an industrial protocol and I'm not sure if this results are "the expected ones" or if I'm doing something wrong. I'll leave some images of my results using the CurrentTimeInMillis() method.

      Thanks.

      Attachment: download link

      posted in Modbus4J general discussion
      N
      NAguillon
    • RE: ¿Does anybody else get Response times of this magnitude?

      Hi.

      I made a software to get some values from my PLC and it is certainly ok.. but I get response times mostly of 50 ms (although somethimes they vary between 9 to 60 ms). This was my first time working with an industrial protocol and I'm not sure if this results are "the expected ones" or if I'm doing something wrong. I'll leave some images of my results using the CurrentTimeInMillis() method.

      Thanks.

      posted in Modbus4J general discussion
      N
      NAguillon
    • Write several float registers

      Hi mlohbihler
      I recently figured out how to write several registers in one request but I can't find how to change data types too, is it even posible?
      Thank you.

      posted in Modbus4J general discussion
      N
      NAguillon
    • RE: Write several float registers

      Hi mlohbihler
      I recently figured out how to write several registers in one request but I can't find how to change data types too, is it even posible?
      Thank you.

      posted in Modbus4J general discussion
      N
      NAguillon
    • Writing multiple registers at once

      Hi mlohbihler
      That's my doubt. How can I write a bunch of registers at once. I was looking at WriteRegistersRequest and WriteRegistersResponse but I don't know.
      Thank you.

      posted in Modbus4J general discussion
      N
      NAguillon
    • RE: Writing multiple registers at once

      Hi mlohbihler
      That's my doubt. How can I write a bunch of registers at once. I was looking at WriteRegistersRequest and WriteRegistersResponse but I don't know.
      Thank you.

      posted in Modbus4J general discussion
      N
      NAguillon
    • RE: What does the "encapsulated" value do?

      Has something to do with RTU over TCP, I think.

      posted in Modbus4J general discussion
      N
      NAguillon
    • SetParity(int parity) method

      Hi, I have a little doubt with setParity parameters.. I wanna know how to set non parity and I don't really see how.

      Is it 0 = none, 1 = odd, 2 = even, 3 = mark, 4 = space? thx

      posted in Modbus4J general discussion
      N
      NAguillon
    • RE: SetParity(int parity) method

      Hi, I have a little doubt with setParity parameters.. I wanna know how to set non parity and I don't really see how.

      Is it 0 = none, 1 = odd, 2 = even, 3 = mark, 4 = space? thx

      posted in Modbus4J general discussion
      N
      NAguillon
    • RE: Request for multiple-register reading example

      Hey thanks :D. And I don't feel bad 'cause that code is really strange to me. I'd never figured it out by myself.

      posted in Modbus4J general discussion
      N
      NAguillon
    • Request for multiple-register reading example

      Hi mlohbihler
      Would it be too much to ask for an example of reading multiple registers at once?
      bkhashfeh asked for the same thing, but aparently he quit looking so I decided to open this new topic and ask for an example.

      The only wat I've figured out to do this is this way:

      for(int i = 0; i<3; i++) {
      Register* = master.getValue(1,40001+i,DataType.TWO_BYTE_INT_UNSIGNED);
      }

      And It worked pretty well with three registers but I don't find it pretty atractive if I want to control the sample time with the master for a considerable amount of registers.
      Thanks in advance.

      posted in Modbus4J general discussion
      N
      NAguillon
    • RE: Request for multiple-register reading example

      Hi mlohbihler
      Would it be too much to ask for an example of reading multiple registers at once?
      bkhashfeh asked for the same thing, but aparently he quit looking so I decided to open this new topic and ask for an example.

      The only wat I've figured out to do this is this way:

      for(int i = 0; i<3; i++) {
      Register* = master.getValue(1,40001+i,DataType.TWO_BYTE_INT_UNSIGNED);
      }

      And It worked pretty well with three registers but I don't find it pretty atractive if I want to control the sample time with the master for a considerable amount of registers.
      Thanks in advance.

      posted in Modbus4J general discussion
      N
      NAguillon