Script Tab

VTS includes a specialized standard tag type called a script tag. Script tags reference a script within a module, and execute the code when the value of the associated tag changes. Script tags can be associated with this tag using the Script tab. (Script tags and their properties are described in Script Tags).

Script Contributors

The Script Contributors list identifies the name(s) and description(s) of the existing script tag(s) that will execute a script based on the value of this tag (script tags and their properties are described in Script Tags). The associated Add button and Delete button may be used to modify the Script Contributors list.

Note: Any script tags identified in the Script Contributors list are not actually properties in this tag type's associated table in the tag properties database; rather, this tag is a property of the script tag(s), as identified in the script tag's In Tag Scope property (see Script Tag Type Properties: Execute Tab).

Add

The Add button opens the Tag Browser that enables you to select an existing alarm tag to monitor the value of this tag, or create a new script tag to monitor the value of this tag. Information on the configuration of script tags can be found in Script Tags.

Delete

The Delete button enables you to disassociate a selected script tag from this tag; however, the script tag is not deleted, and can be associated with another tag if you so choose.

Note: The script tag is not a property of this tag; rather, this tag is a property of the script tag. When a script tag is deleted from the Script Contributors list, it is actually this tag that is removed from the selected script tag's In Tag Scope field. Information on the properties of script tags can be found in Script Tags.

Once you have configured your tag, you can draw it on the screen using one of the drawing methods available to the new tag based on its tag type. Tag drawing methods and static images are discussed in the section that follows.