TagWriteValueQuality Function

Help Contents


Writes a value and quality to a tag using the WriteValueQuality Tag Command.

Informal Syntax:

TagWriteValueQuality( TagName, Value, Quality )

Formal Syntax:

TagWriteValueQuality( TagName:=Expression, Value:=Expression, Quality:=Expression )


TagNameANY_STRINGThe full name of the tag.
ValueANYThe value to write to the tag.
QualityINTThe quality to write to the tag.

The TagWriteValueQuality function sends the WriteValueQuality Tag Command to the database tag.

Return Value


Further Information

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.


For the meaning of terms used in Fernhill SCADA.