Counter Tags

Counter tags provide a means to count events such as pump starts or equipment cycles.  A count is recorded each time the source changes from 0 to non-zero.

Note: an invalid value for the source is not assumed to mean a 0 or off state.  A transition from invalid to 1 will not be counted.

The counter tag retains its value between application restarts and uses the last known valid source value when counting.  For example, if the data source was 1 (i.e. running) when VTS stopped and is 1 when VTS restarts, it is assumed that the equipment continued to run while VTS was offline and the counter is not incremented.  Similarly, if the source was 0 (i.e. off) when VTS stopped and is 1 when VTS restarts, it is assumed that the equipment started at least once while VTS was offline and the counter is incremented by 1.

Note: Never attempt to attach a Logger Tag to a Counter tag.  Counter tags have a built in logger.

Also: Note that right-clicking on a counter tag will not cause the Historical Data Viewer window to open.

 

Counter Tag Type Characteristics

Tag Browser Name:   Counter

Database Table Name:          CounterTag

Type:   Data Logging and Reporting Tags, Calculation

Tag Group Memberships:      Analogs, Numeric, Trenders

Log Enabled Variables:          Value

Native Drawing Methods:    Reset Button, Reset Target, Last Logged Value, Numeric Value, and a sub-set of the Analog Input drawing methods.

Topics in this section:

Counter Tag Type Properties: ID Tab

Counter Tag Type Properties: Settings Tab

Counter Tag Type Properties: Merit Tab

Counter Tag Drawing Methods