Digital Statistics Tags

Not counted towards your tag license limit.

Digital Statistics tags are used to monitor digital tags including Digital Input, Digital Status, Pump Status, Alarm, Roster, etc.

Statistics gathered are user-configurable and include number of starts (zero to non-zero transitions) during selected time frames and total run time (non-zero time) during selected time frames.

The Digital Statistics tag works by launching a child tag for each statistic to be gathered. (Counter tags, Totalizer tags and History Statistics tags) Each child tag may be included separately in a report or Historical Data Viewer plot.

Select only the time frames required. A separate 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.

Do not rely on this tag for statistics of on time or starts that occurred prior to the creation of this tag. The Historian Statistics child tags will use the logged data from the monitored tag but the Totalizer and Counter tags will not.

When counting non-zero time, note that logged INVALIDS are counted as zero. If equipment goes offline (or appears to) this may cause the tag to report a shorter run time than expected.

Digital 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 digital tag is to be monitored. Selection is limited to tags with numeric values, but only tags whose values have a clear zero to non-zero transition should be selected. Examples include Digital Input, Digital Status and Alarm tags.

Elapsed Time Meter

Your controller may be capable of recording the running time of the equipment being monitored. This is often called the Elapsed Time Meter. If your equipment supports this feature then an analog input (or analog status) tag can be created to read the value from the Elapsed Time Meter. You may then list this value beside the other statistics in your page graphics or reports.

On-Count Units

Similar to the Engineering Units field of analog tags, this value is used for display purposes only. Use it to describe what is being counted.

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:

Digital Statistics properties On-Count Statistics tab

The On-Count Statistics tab is used to select the time frames for which you want to gather zero to non-zero transitions of the source tag. By default, only "Last Hour" and "Today" will be selected. Select all that you will need, remembering that a separate 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 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".

Digital Statistics properties On-Time Statistics tab

The On-Time Statistics tab is used to select the time frames for which you want to gather the non-zero (running) time of the source tag. By default, only "Last Hour" and "Today" will be selected. Select all that you will need, remembering that a separate 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 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".