The Soft-GRAF HMI object - "g_Trend" is to draw time-varying curves of one to three data tags in a trend chart. The trend chart can be divided into two types, one is the real-time trend chart. It draws the present curve. Designers can decide how long to draw it once (Sample rate). The highest sample rate is to draw once per second and the lowest is to draw once per 15 minutes. The other one is historical trend chart. Users can press the "History" button in the "g_Trend" HMI object to show the historical trend chart and then query the historical trend data from, for instance, a few days ago to several minutes before.
The “Sample Time” setting relates to the retaining time of historical data in the PAC.
The retaining time is 3 months if “Sample Time” setting is 1 second.
The retaining time is 6 months if “Sample Time” setting is 2 seconds.
The retaining time is 9 months if “Sample Time” setting is 3 seconds.
The retaining time is 12 months if “Sample Time” is 4 seconds or more than 4 seconds. |