The WriteValueQuality Tag Command writes a new value and quality to a tag.
The new value of the tag.
The new quality of the tag.
The WriteValueQuality Tag 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 simple value. For more information on ANY_ELEMENTARY and other generic data types see Generic Data Types.
The WriteValueQuality Tag Command will attempt to convert the Value parameter to 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:
Icon | Tag Type | Expected Value Type |
---|---|---|
![]() | Analog | LREAL |
![]() | Digital | BOOL |
![]() | Word | UINT |
![]() | Double Word | UDINT |
![]() | Long Word | ULINT |
![]() | String | WSTRING |
You can execute WriteValueQuality Tag Command from:
To use the WriteValueQuality Tag Command, the user requires the Write User Right.
Fernhill SCADA Version | Version 1.2 |
---|---|
Required User Right | Write |
The WriteValueQuality Tag Command can be used with these tag types: