跳到主内容

Modbus RTU serial 485 read a double float

评论

3 条评论

  • hms_support

    @RichFranzo

    The eWON will only be able to read a maximum of 32 bits.
    Double floats are not natively supported in the eWON due to this (64 bits).

     

    0
  • RichFranzo

    Thanks for the response Joe.
    Although the double float is a 64 bit number it resides in the meter as four words. The problem is I can't collect four words with the Ewon, the "Data Type" selection limits me to an Integer (one word) or float (two words).
    Currently I use a 32bit PLC to collect the four words and then manipulate it to a 32 bit float. In the PLC I can tell it to start at this address and collect four words. Is there any work around in the Ewon where I can tell it to collect four words? The only thing I use the PLC for is to collect and manipulate this data point.

    Thanks,
    Rich

    0
  • hms_support

    @RichFranzo

    You could try reading these 4 Word registers separately and compute the 32 bit equivalent value in BASIC and store it in a Tag. However, you will lose precision when doing this.

    RG-006-0-EN-(Programming%20Reference%20Guide).pdf

     
     

     

     

    0

请先登录再写评论。