Get wrong values from registers

Forum Home Forums Communicating with Devices Modbus Get wrong values from registers

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2172
    manin
    Participant

    Hello, I have established modbus TCP connection with an Allen Bradley Micro 820.

    I have mapped 3 registers. Temperature (Int), Temp_Real(Real) and Temp_Real_100(Real).
    I can view Temperature, as it is.
    The other 2 not. I get results that I can’t understand.

    I have used ushort, uint and float.

    Does anyone had this issue before?

    Best regards

    #2174
    manin
    Participant
    #2176
    Mikhail
    Moderator

    Hello,

    Please provide the additional info:
    1. Screenshot of Modbus template
    2. Screenshot of the values that you receive (Device Data tab in Communicator).
    3. What values you expect?

    Probably, you should try different order of bytes (in Modbus template) to decode floats. For example, 2301

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