Time Series Counter Tag

Help Contents

Introduction

Many measurement applications generate pulses to represent a flow rate. For example:

Many PLC Devices provide pulse counter inputs that count the pulses in a register. The register value increases until it reaches a maximum value. When the maximum value is reached, the register usually resets back to zero. The reset back to zero is often called "rollover".

The Time Series Counter Tag Time Series Counter Tag Icon converts a raw counter value to a time series (values at an equal spaced time interval) representing the flow rate. The tag provides a scale factor to convert pulses to the units of the monitored resource. The tag handles counter rollover.

Configuration Properties

The Time Series Counter Tag supports the configuration properties of the Time Series Core Tag plus these properties:

Property Type Version Description
DisplayFormat WSTRING 3.73 The format used to display the tag's value. This property defines how the value of the tag appears in: See Number Format for information on how to use this property.
SourceTagRollover ULINT 3.46 The maximum value of the raw counter. It is important to configure this property with the correct value. If this property is not configured correctly, the time series will not generate correct results at counter rollover.
ScaleFactor LREAL 3.46 The scale factor to apply to the raw count value to get the time series value.
Units WSTRING 3.46 The units of the measured value.

Dynamic Properties

The Time Series Counter Tag supports the dynamic properties of the Time Series Core Tag plus these properties.

PropertyTypeDescription
SourceTagValue ULINT The current value of the data source tag.
LatestCompleteSampleRawValue ULINT The raw count value of the most recent complete time sample.
LatestCompleteSampleValue LREAL The value of the most recent complete time sample.
LatestCompleteSampleQuality TIME The quality of the most recent complete time sample.
LatestCompleteSampleTimestamp TIME The date and time of the most recent complete time sample.
CurrentSampleSize UDINT The number of raw data samples used so far to build the current sample.
CurrentSampleRawValue ULINT The raw count value of the current sample.
CurrentSampleValue LREAL The value of the current sample.
CurrentSampleQuality UINT The quality of the current sample.

Tag Commands

The Time Series Counter Tag does not support any tag commands.

Relationships to Other Tag Types

The Time Series Counter Tag builds on the features of these tag types:

Further Information

Data Point Tags

To learn about data sources for Time Series Tags.

Time Series Tags

To learn about other Time Series Tags.

Glossary

For the meaning of terms used in Fernhill SCADA.