Get wrong values from registers

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

This topic contains 2 replies, has 2 voices, and was last updated by Mikhail Mikhail 2 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2172
    Avatar
    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
    Avatar
    manin
    Participant
    #2176
    Mikhail
    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.