Resets the statistics of a tag.
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.
If you want to reset the statistics of a tag from a Program Tag, running on the SCADA Server, use the TagResetStatisticsFB Function Block.
Informal Syntax:
TagResetStatistics( TagName )
Formal Syntax:
TagResetStatistics( TagName:=Expression )
Parameter | Type | Description |
---|---|---|
TagName | ANY_STRING | The full name of the tag. |
The TagResetStatistics Function sends the ResetStatistics Tag Command to the database tag.
None.
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.
To learn where you can use this function.
To learn about calling a function from IEC 61131-3 structured text.
To learn about the different types of expression to use as function parameters.
For the meaning of terms used in Fernhill SCADA.