TagRefresh Function

Help Contents

Introduction

Requests an immediate refresh of data using the Refresh Tag Command.

Functions and Function Blocks

The TagRefresh 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 refresh the value of a tag from a Program Tag, running on the SCADA Server, use the TagRefreshFB Function Block.

Syntax

Informal Syntax:

TagRefresh( TagName )

Formal Syntax:

TagRefresh( TagName:=Expression )

Parameters

ParameterTypeDescription
TagNameANY_STRINGThe full name of the tag.

Return Value

None.

Remarks

The TagRefresh Function sends the Refresh Tag Command to the database tag.

Further Information

Refresh Tag Command

To learn about the Refresh Tag Command.

TagRefreshFB Function Block

To learn how to refresh 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.