TagResetStatistics Function

Help Contents

Introduction

Resets the statistics of a tag.

Functions and Function Blocks

The TagResetStatistics Function is intended for use in an Operator Action. Operator Actions run in response to user input gestures in the Operator Interface. In an Operator Action, code execution is suspended until the function completes.

To reset the statistics of a tag from a Program Tag, running on the SCADA Server, use the TagResetStatisticsFB Function Block.

Syntax

Informal Syntax:

TagResetStatistics( TagName )

Formal Syntax:

TagResetStatistics( TagName:=Expression )

Parameters

ParameterTypeDescription
TagNameANY_STRINGThe full name of the tag.

Return Value

None.

Remarks

The TagResetStatistics Function sends the ResetStatistics Tag Command to the database tag.

Further Information

ResetStatistics Tag Command

To learn about the ResetStatistics Tag Command.

TagResetStatisticsFB Function Block

To learn how to reset the statistics counters of a tag from a Program Tag.

Operator Actions

To learn where you can use this function.

Structured Text Function Call

To learn about calling a function from IEC 61131-3 structured text.

IEC 61131-3 Expressions

To learn about the different types of expression to use as function parameters.

Glossary

For the meaning of terms used in Fernhill SCADA.