05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CONFIGURING DATA TAGS<br />

CREATING TAGS<br />

• Tags allow you to avoid re-entering the same information again and again. When<br />

you create a tag, you specify how the tag is to be displayed. In the case of an<br />

integer tag, this means you tell Crimson how many decimal places are to be<br />

used, and what units, if any, are to be appended to the value. When you place a<br />

tag on a display page, Crimson knows how to format it without you having to do<br />

anything further. Similarly, if you decide to change the formatting, and perhaps<br />

switch from one set of units to another, you can do this in one place, without<br />

having to edit each display page in turn.<br />

• On Masters configured to have a color virtual HMI, tags are used as the basis for<br />

color animation. The various colors that are defined for a tag can be used to<br />

specify the way in which other animation primitives will be displayed. Without<br />

tags, you will have no way of changing the color of anything other than textbased<br />

data fields.<br />

• Tags are the key to implementing slave protocols. Crimson treats these protocols<br />

as mechanisms for exposing data items within the Master. This allows the same<br />

data to be accessed via multiple ports, so that, for example, a machine setting<br />

could be changed by both a local SCADA package, and a similar package<br />

working over Ethernet from a remote site. Without tags, there would be nothing<br />

to expose, and this mechanism could not be implemented!<br />

• Tags are used within Crimson to implement many advanced features. If you<br />

want to use functionality such as alarms, triggers, data logging or the web server,<br />

you will have to use tags, period. The formatting data from the tag definition is<br />

typically required by all these features, so tags are mandatory for their operation.<br />

In other words, tags will automate many tasks during programming, saving you time. Even if<br />

you decide not to use tags, many of the subsequent chapters of this manual refer to concepts<br />

discussed in this chapter. You should thus read it thoroughly before proceeding.<br />

CREATING TAGS<br />

To create a tag, either click on one of the buttons displayed when the Tags icon is selected in<br />

the left-hand pane of the Data Tags window, or use the new tag buttons on the toolbar. Either<br />

way, a new tag will be added to the tag list. To edit the tag’s name, select the tag in the<br />

left-hand pane, and type in the new name.<br />

Tag names must conform to the following rules…<br />

• Tag names may not contain spaces or punctuation.<br />

• Tag names must start with a letter of the alphabet or an underscore.<br />

• Subsequent characters must be digits, letters or underscores.<br />

• Names must not exceed 24 characters in length.<br />

REVISION 6 PAGE 105

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!