Time Series Core Tag

Help Contents

Introduction

The Time Series Core Tag is a building block for all other Time Series Tags.

Configuration Properties

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

Property Type Version Description
SourceTag WSTRING 3.46 A reference to a Data Point Tag. This tag provides the source data for the time series.
SampleInterval TIME 3.46 The interval between each time sample.
SampleOffset TIME 3.46 The offset added to the SampleInterval property to get the actual time the sample is taken.
HistoricEnable BOOL 3.46 Whether to the time series is recorded historically.
HistoricSampleCount UDINT 3.46 The number of samples to retain in the Data Historian.

Data Properties

The Time Series Core Tag supports the data properties of the Core Tag, plus these properties:

PropertyTypeDescription
TimeSeriesState USINT An integer indicating the state of the Time Series Tag.
CurrentSampleDisplayValue WSTRING The current sample value of the tag formatted for display. This consists of:
  • The current sample value after applying any display format.
  • Any units configured on the tag.
LatestCompleteSampleDisplayValue WSTRING The latest complete sample value of the tag formatted for display. This consists of:
  • The latest complete sample value after applying any display format.
  • Any units configured on the tag.

TimeSeriesState Property

The TimeSeriesState property provides information about the state of the Time Series Tag:

ValueDescription
0 No error
1 The SourceTag property does not refer to a Data Point Tag.
2 The SourceTag property refers to a Data Point Tag with configuration errors.
3 The SourceTag property refers to a Data Point Tag that is not compatible with this Time Series Tag.
4 There was an error converting the data from the SourceTag.

Tag Commands

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

Relationships to Other Tag Types

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

The Time Series Core Tag is used as a building block for these tag types:

Further Information

Data Point Tags

To learn about data sources for Time Series Tags.

Core Driver

To learn about the Core Data Driver.

Glossary

For the meaning of terms used in Fernhill SCADA.