WriteValue Tag Command

Help Contents

Introduction

The WriteValue tag command writes a new value to a tag.

Parameters

Value : ANY_ELEMENTARY

The new value of the tag.

Remarks

The WriteValue tag command writes a new value to a tag. If the tag is derived from an external data source, the write is sent to the data source as a control.

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

The WriteValue tag command 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 WriteValue tag command from:

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

Requirements

Fernhill SCADA VersionVersion 1.0
Required User RightWrite

Applies To

The WriteValue tag command can be used with these tag types:

See Also

WriteValueQuality