PG2, XYPlot issue
I am working on implementing a trending display in Process Graphics 2 on a 800xA v5.1 system. However, I am experiencing a problem when using the "XY Plot" item.
I want to set the xMaxValue, xMinValue, yMaxValue and yMinValue from a process data object (Control Properties), as they must be aligned with other properties. But it does not work, I am only able to set static values into these graphic item properties. The Control Properties are of type Real, and the graphic item Min/Max properties of type Float, but I don't expect this to be a problem. I have tried to use explicit conversions to other data types, but that does not change anything. Also, the same control properties are successfully connected to other graphic item properties.
What is the reason for this? Are there any known workarounds?
I've noticed that the PG2 trends do not always react as one could expect on dynamic updating of properties, e.g. automatic re-scaling or changes to the scope size, etc.
Seems like there is a "redraw" missing at some times...
I suggest that you contact your regional ABB support center and provide them with an example of the problem so that they can repeat the problem in a reference system and have R&D to evaluate it.
We have 800xA v5.1 with PG2 graphics, but normally use a trend object and not xyplot to display values. I dropped an xyplot object on a screen to test, and did not have any problems assigning dynamic values to the xMaxValue, xMinValue, yMaxValue and yMinValue items. I used process values from a MOD300 OPC connection (such as FIC6M010704:HI_CONV and FIC6M010704:LO_CONV which are defined as reals).
If you open the Expression Editor for property xMaxValue of your xyplot object does it have "Expression for data type 'float' (Dynamic)" at the top right of the window?