Tags and the Project Database Page 122 InduSoft Web Studio Tag Property Description R or R/ W Data Type Available on Data Type… Retain Bool Int Real Str Size Array Size. If the tag is not an array tag, it returns the value 0 R Integer Y Y Y Y n/a Index The index number of an element in an Array. (An Array is any Tag of size greater than 0.) NOTE: The syntax must be: Tag[Index]->Index Example: Tag[1]->Index = 1 R Integer Y Y Y Y n/a Description The description of the tag, configured in the Tags datasheet. R String Y Y Y Y Y Quality Tag quality (192=GOOD; 0=BAD).
The project updates this field every time the tag receives the result of an expression or a value from a communication task (such as driver or OPC). If the expression is invalid (such as, division by zero) or if there is a reading communication error associated with the tag, then the project sets the quality to BAD. R Integer Y Y Y Y N TimeStamp Time and date when the value of the tag last changed. R String Y Y Y Y N Blocked This property can have two values: • 0: The tag is blocked and all runtime tasks will ignore it. It is effectively removed from the project database. • 1: The tag is unblocked and all runtime tasks can access it normally.
This is useful when you want to dynamically disable all actions associated with a specific tag. Even when a tag is blocked, however, it still counts towards the total number of tags used for licensing purposes. R/W Boolean Y Y Y Y N Unit A brief description (up to 9 characters) of the Engineering Unit (i.e., the unit of measurement) for the Tag value. For example, Kg, BTU, psi. R/W String, up to 9 chars Y Y Y Y Y Max The maximum value that can be written to the tag during runtime. R/W Real N Y Y N Y Min The minimum value that can be written to the tag during runtime R/W Real N Y Y N Y B0 … B31 Value (0 or 1) of any of the 32 bits (b0, b1, b2, … b31) of an Integer tag. (B0: LSB B31:
MSB) R/W Boolean N Y N N N DisplayValue A converted Tag value that is only displayed on-screen: DisplayValue = (Value / UnitDiv) + UnitAdd This is used when the actual Tag values have one Engineering Unit (see Unit above) but need to be displayed on-screen in another Engineering Unit (see DisplayUnit below). For example, Celsius degrees and Farenheit degrees. If user input changes DisplayValue during runtime, then the conversion is reversed before the change is actually written to the Tag: R/W Real N Y Y N n/a