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.

ALL ABOUT TAGS<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

Integer tags represent 32-bit signed numbers. These tags can store values between<br />

–2,147,483,648 and +2,147,483,647. Even if a tag is mapped to a PLC register<br />

which contains only 16 bits of data, Crimson performs its internal operations at<br />

the higher level of precision to ensure large intermediate values can be handled<br />

with ease.<br />

Multi tags represent numeric values that correspond to a number of distinct states.<br />

Thus, while an integer might represent a tank level, a multi tag will represent,<br />

say, one of three states of a machine, such as Stopped, Running or Paused. The<br />

distinction is obvious when you consider that a multi tag is displayed as one of a<br />

set of strings, while an integer is displayed as a number.<br />

Real tags represent 32-bit single precision floating-point numbers. These tags can<br />

store values between ±10 -38 and ±10 +38 with a precision of about 7 significant<br />

figures. While it is seldom necessary to use real tags to represent physical<br />

quantities—which typically have more tightly defined ranges—they are useful for<br />

performing statistical operations or other math functions.<br />

String tags represent an item of text made up of a number of characters. They are<br />

used to store such things as recipe names, or to process data received using Raw<br />

Port device drivers. Strings cannot be mapped to PLC registers, but can be used<br />

to store such data within the Master itself.<br />

TAG COLORS<br />

The color of the tag depends of its family and mapping with a communication device. The<br />

table below shows the different colors by family and access for an integer tag. The same color<br />

scheme is used on all tag types; only the symbol is then different as shown above.<br />

VARIABLE FORMULA ARRAY<br />

Internal Blue Olive Purple<br />

Mapped as Read only Green N/A Green<br />

Mapped as Read/Write<br />

or Write Only<br />

Red N/A Red<br />

WHY USE TAGS?<br />

Given all these various options, you may wonder why you would want to use tags in the first<br />

place? After all, Crimson allows you to directly place a module or PLC register on a display<br />

page, so you can in fact configure a simple database without ever opening the Data Tags icon.<br />

The basic answers are as follows…<br />

• Tags allow you to name data items, so you know which data item within the PLC<br />

you are referring to. Further, if the data in the PLC moves or if you decide to<br />

switch to an entirely different family of PLC, you can simply re-map the tags,<br />

and avoid having to make any other changes to your database.<br />

PAGE 104<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!