Analog Statistics Tags

Not counted towards your tag license limit.

Analog Statistics tags are used to monitor any tag having a numeric value. While they can use digital tags, they are more commonly used to collect statistics on analog I/O and Calculations tags, Analog Input, Analog Status and other similar tags.

Three statistics are gathered are gathered: minimum value during selected time frames, maximum value and average value, again during selected time frames.

The Analog Statistics tag works by launching a child History Statistics tag for each statistic to be gathered. Each child tag may be included separately in a report or Historical Data Viewer plot.

Select only the time frames required. A separate History Statistics tag will be launched for each statistic and time frame you choose.

History Statistics tags work by querying the saved history of the tag they watch. This query happens on startup and at every multiple of the update rate. If you create a large number of History Statistics tags you can expect system performance to slow accordingly.
History Statistics tags may be useful for screen displays. They are not required for reporting purposes.

By default, the child tags are not logged. You must attach an Historian to each child tag for which you intend to save a record of the calculated statistics If logged, the timestamp recorded for each calculated time span will match the start time, not the end time.

Analog Statistics properties Source tab

Used to select the source tag for which statistics are to be calculated.

Source

The Source tab is used to select which tag is to be monitored. Any tag with a numeric value may be selected as the source.

Exclude from Site List

Selected by default. You may choose to include this tag in the list of a Sites page as a folder. Operators may view a list of current statistics by clicking the link:

Analog Statistics properties Minimum Values tab

Select the time frames, during which you wish to record the minimum value of the source tag. By default, only "Last Hour" and "Today" will be selected. Select all that you will need, remembering that a separate History Statistics tag will be launched for each.

Note: Statistics for the time periods "this week" and "last week" are affected by the application property, StartOfWeek. You may use that property to set the beginning of a week to any day of your choice.

"Today" means since the time 00:00 this day.

"This Week" means since 00:00 of the first morning of the week.

"This Month" means since 00:00 on the morning of the first day of the month.

"Yesterday" means the 24-hour day, prior to today.

"Last week" means the full week prior to the current week.

"Last Month" means the calendar month prior to the current one.

"Last 24 Hours" covers the 24 hours prior to "right now".

Analog Statistics properties Maximum Values tab

Select the time frames, during which you wish to record the maximum value of the source tag. By default, only "Last Hour" and "Today" will be selected. Select all that you will need, remembering that a separate History Statistics tag will be launched for each.

Available time frames are the same as for the Minimum Values tab.

Analog Statistics properties Average Values tab

Select the time frames, over which you wish to record the average value of the source tag. By default, only "Last Hour" and "Today" will be selected. Select all that you will need, remembering that a separate History Statistics tag will be launched for each.

Available time frames are the same as for the Minimum Values tab.