Applies new configuration to a Database Tag.
The ConfigureTag 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 change tag configuration from a Program Tag, running on the SCADA Server, use the ConfigureTag Function Block.
Informal Syntax:
ConfigureTag( TagName, NewConfiguration )
Formal Syntax:
ConfigureTag( TagName:=Expression, NewConfiguration:=Expression )
Parameter | Type | Description |
---|---|---|
TagName | ANY_STRING | The full name of the tag. |
NewConfiguration | ANY_STRING | The new configuration of the tag. |
The NewConfiguration input parameter is the configuration change to apply to the tag. This is a STRING value that can set 1 or more configuration properties in one operation. The syntax of the NewConfiguration input parameter is:
config-parameter ::= { property-and-value }
property-and-value ::= property ':=' value
property ::= <The name of the configuration property>
value ::=IEC 61131-3 Literal
NewConfiguration parameter examples:
URL:='https://www.example.com/web-server-request'
HistoricEnable:=TRUE
HistoricEnable:=FALSE
None.
ConfigureTag( "Storage.LevelAlarm", "HighHighLimit:=5.0 HighLimit:=4.0" );
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 a function block to provide the equivalent feature in an IEC 61131-3 Program Tag.
For the meaning of terms used in Fernhill SCADA.