Beruflich Dokumente
Kultur Dokumente
0.1 Trend
FUNCTION:
Retrieves collection/summary data from the RealTimeDB collect table and the timeline
table.
SYNTAX:
Trend <table_name> <tag_name> <column_name> <start_time> <end_time>
Name Description
table_name The name of the RealTimeDB/HistoricalDB table that contains
the data to be accessed. This can be any the following:
• collect
• hour
• day
• month
• year
tag_name The name of the point to be viewed.
column_name The column of the RealTimeDB/HistoricalDB tables to view.
This can be any of the following:
• value
• minimum
• maximum
• average
average If the table name is collect, then the only column allowed
is the value column. If the table name is not collect,
then the value column is the instantaneous value of point.
(The value at the top of the hour.)
start_time The time from which to begin the trend data. This is entered in
MM/DD/YY HH:MM:SS format.
end_time The time at which the trend data ends. This is entered in MM/
DD/YY HH:MM:SS format.
EXAMPLE:
(1) testperlblt Trend collect analog.CROSS0001.curval value 801355616
802373010
801355616 802373010
SEE ALSO:
Collect_tables (Section 3.8), Collect_fields (Section 3.7)