Modbus Float values

Forum Home Forums Communicating with Devices Modbus Modbus Float values

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12874
    scr910
    Participant

    I am using holding registers (4x) as inputs to monitor temperature, which is a float in my PLC configuration. The values I get are extremely erratic and many orders of magnitude greater than my range (0-500). I believe this is an issue with how the bytes are mapped. The PLC software says: “floating point: two 16 bit registers, with the most significant bits in the first (or lowest address) register.” I have tried to change the byte order for this signal to match, but it looks like it should be 0123.

    Other inputs I have (INTs) which are only 1 register are working correctly.

    Any suggestions on how I can correctly read the modbus registers for my float signals?

    #12875
    Mikhail
    Moderator

    Try 2301 order.
    If it does not help, please post links to screenshots of the Modbus template.

    #12877
    scr910
    Participant

    This order worked – thank you! I swore I tried this order but I guess it was 3201 that I tried, oops! I really appreciate your quick response and look forward to using RapidScada.

    #12878
    Mikhail
    Moderator

    🙂

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