Menu

how read floating point with swap float

Help
2020-06-09
2020-06-09
  • MESSA HANIF

    MESSA HANIF - 2020-06-09

    connection on my application was etabslished, my app read frequency from power meter, power meter using 2 register, in manual book of the power meter, data type using floating 32 bit, actually with swap floating point, so how to read that tag, because i do not see option for swap floating point.

     
  • MESSA HANIF

    MESSA HANIF - 2020-06-09

    how i can make logger to save all serial frame? maybe using function?

     
  • Fabio Luis Girardi

    1) You had to set in your tag:
    * TagType = pttFloat (32 bit float)
    * Maybe you had to change the SwapWords/SwapBytes to true/false to achieve the desired result
    2) Yes, you can log all frames. To to that, in your Communication port set:
    * LogFile to point to file that will stores the full log (the runtime application must have write access to this file)
    * LogIOActions = true

    That's all

     
  • Fabio Luis Girardi

    if you want more direct help, call us on Telegram

    https://t.me/pascalscada

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.