WriteValueQuality Command

Introduction

The WriteValueQuality command writes a new value and quality to a tag.

Parameters

Value : ANY_ELEMENTARY

The new value of the tag.

Quality : INT

The new quality of the tag.

Remarks

The WriteValueQuality command writes a new value and quality to a tag.

The Value parameter is ANY_ELEMENTARY. ANY_ELEMENTARY is a generic data type, which allows any elementary or non-structured value. For more information on ANY_ELEMENTARY and other generic data types see Generic Data Types.

When a driver receives a WriteValueQuality tag command, the driver will attempt to convert the Value parameter into a type compatible with the host tag. To avoid errors you should ensure the Value parameter is compatible with the host tag. The type expected by the driver for a given tag type is shown in this table:

Tag TypeExpected Value Type
AnalogLREAL
DigitalBOOL
WordUINT
Double WordUDINT
StringWSTRING

You can execute WriteValueQuality tag command from:

To use the WriteValueQuality tag command, the user requires the Write User Right.

Requirements

Fernhill SCADA VersionVersion 1.2
Required User RightWrite

Applies To

The WriteValueQuality can be used with these tag types:

See Also

WriteValue