Trend Display Line info
Sir how can i adjust the column width in the Trend Window Line inform information. Because my value is 21004.99 and the table is converted to scientific notation.
I suspect if i can adjust the column width it will not be converted to scientific notation.
I suspect if i can adjust the column width it will not be converted to scientific notation.
Answers
Have you looked at the Trend Templates in the Library Structure?
An inherited (trend) aspect cannot be changed.
If you change a trend template you may have to "touch" the trend (where it is declared) to have the change to have effect.
An inherited (trend) aspect cannot be changed.
If you change a trend template you may have to "touch" the trend (where it is declared) to have the change to have effect.
Seems like I was triggerhappy... if this concern Freelance, please disregard from my off topic input!! :-)
Hello,
the column width of the columns in the value area cannot be adjusted. The Freelance Engineering Manual IEC61131-3 Programming states

Consider the following if you do not want to keep the scientific notation.
If you measure a value of 21004.99, the ".99" is not really important and does not make a difference in the trend curve, meaning the trend curve would not change if you measure 21004.01 or 21004.99. Therefore you could show only the Integer part of the real.
To do that you would use a Variable of type DINT or DWORD/DUINT in your Trend. To do that you need to convert the real variable into a variable of one of the formerly mentioned data types just for the purpose of display. Your logic and program would still continue to use the REAL type variable.
As an example you can use a converter function TO_DIN

After placing ihe function in the FBD diagram right click on it and select" Change data type..." from the context menu. Then click the left or right double arrow until you get the REAL type on the input side.

After creating the DINT variable, add it to the Trend or replace the REAL Variable in the TREND if already all the signal slots are taken.
the column width of the columns in the value area cannot be adjusted. The Freelance Engineering Manual IEC61131-3 Programming states
Consider the following if you do not want to keep the scientific notation.
If you measure a value of 21004.99, the ".99" is not really important and does not make a difference in the trend curve, meaning the trend curve would not change if you measure 21004.01 or 21004.99. Therefore you could show only the Integer part of the real.
To do that you would use a Variable of type DINT or DWORD/DUINT in your Trend. To do that you need to convert the real variable into a variable of one of the formerly mentioned data types just for the purpose of display. Your logic and program would still continue to use the REAL type variable.
As an example you can use a converter function TO_DIN
After placing ihe function in the FBD diagram right click on it and select" Change data type..." from the context menu. Then click the left or right double arrow until you get the REAL type on the input side.
After creating the DINT variable, add it to the Trend or replace the REAL Variable in the TREND if already all the signal slots are taken.
Add new comment