64-bit float or Int in trends and display pages

Dear Experts,

I need to declare 64-bit int or real variables, configure them as trends and display their values on pages.

I know plant SCADA has 32-bit built-in Ints and reals but I want to know if there is a workaround to achieve that.

Note: I am using the latest Plant SCADA version and I am reading these variables using Modbus TCP.

Thank you in advance.

Parents Reply
  • Yes, you can trend a 64-bit REAL returned from a Cicode function. In this screenshot, I set up a trend tag, GetReal2, to record the value returned from the GetReal Cicode function I wrote. 

    I set the default display Format using the short notation: 1.15, which means 1 whole digit, plus 15 decimal places. Process Analyst will not show that many decimal places, though. 

    I set the Scale to the minimum and maximum values I wanted to record. If you don't do that, it defaults to 0-32000 since you're not recording a scaled variable tag. If you need a larger number than you can type in, I believe you can use scientific notation.

    I used the TrendReader utility (available from the Toolbox: softwareforums.aveva.com/.../trend-reader) to view the raw data in the trend file to verify it was recording 15 decimal places, or 15 total digits, as expected for a 64 bit REAL.

Children