800xA 5.1 - Using a Property Extension Info aspect to set the min and max range values of a trend display
I have created an object type that contains a trend display for a floating point value. I use a Property Extension Info aspect to set the Min and Max Range properties of the value.
This works fine. In the control structure, for every instance of my object type, the Trend display aspect automatically retrieves the Min and Max values from the Property Extension Info aspect.
But as soon as I add a Log configuration aspect to one of the instances, the Min and Max values in the Trend display for that instance get overwritten by the min and max values defined in the log configuration - even though nothing is enabled in the "Presentation" tabs in the Log configuration aspect.
So the question is, how can I add a Log configuration aspect yet still make sure that the Trend display uses the Min and Max values from the Property Extension Info aspect rather than the Log Configuration?
the 5.1 Configuration manual in IM chapter, on page 339, describes:
All values are used to display the trace in a Trend Display in a proper way.
These values can be set in either of:
• the Object Type (i.e. in the Property Aspect).
• the Object Instance (i.e in the Property Aspect). ---> Here belongs Property Extension Info
• the Log (in the Log Configuration Aspect).
• the Trend Display.
The above listed are in override order.
What you see is not how the system is meant to work. If you not check the min& max in Log Configuration no override should be done, according to the manual.
You can configure min & max in the Presentation tab in the Log Configuration, as a workaround.
If you need more help, please give us more information about your environment, controllers, control modules ? and so on.
I'm unable to repeat the problem.
The trend stick to Extension Info until I check the override checkbox in the Log Configuration.
What is the version of 5.1 exactly (RevA-RevE,FP1-FP4RevE, Rollup X, TC Y)?
How are the aspects created?
What is the kind of OPC DA server behind the value? AC 800M? PLC Connect? 3rd Party OPC?
Is the Log Configuration manually added or via e.g. Auto-Instantiate (Copy-To-Instance)?
Can you provide a description on how to repeat?
I get random results (5.1 FP4 RevE Rollup 2) even when calling *same* trend aspect from the same workplace.
Sometimes (left) I get the min and max I have used Property Extension Info to draw from Property Translations which in turn read from PLC Connect, but no fraction (2 decimals instead of requested 1)
Other times (right) I get -100 to 100 (wrong) but with correct fraction (1 decimal)
Unit seem to be OK.
Left: correct min/max/unit but wrong fraction
Right: correct fraction/unit but wrong min/max
Please have a support case logged.