25.07.2014 Views

RSView Supervisory Edition Installation Guide

RSView Supervisory Edition Installation Guide

RSView Supervisory Edition Installation Guide

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.

10 Creating derived tags<br />

This chapter describes:<br />

• what derived tags are and how to use them.<br />

• setting up derived tags.<br />

• using the Derived Tags editor.<br />

• creating a derived tags component.<br />

• what the maximum update rate is.<br />

• starting and stopping derived tag processing.<br />

About derived tags<br />

A derived tag is a tag whose value is the result of an expression. An<br />

expression can be simply a tag name, or it can be an equation made up<br />

of tag names, mathematical and logical operations, special functions,<br />

and If-Then-Else logic. Derived tag calculations are performed on the<br />

HMI server.<br />

A derived tags component is a file that contains the definitions of one<br />

or more derived tags. A derived tags component can be run when an<br />

HMI server starts, or it can be run using the DerivedOn command,<br />

after the HMI server has started.<br />

Writing to tags whose value is the result of a derived tag expression is<br />

not recommended because a derived tag is evaluated when the tags in<br />

the expression change. For example, if the derived tag called Tag3 has<br />

the expression of Tag1+Tag2, and if you set Tag3=0, the value of Tag3<br />

becomes zero, and will also be updated when the value of Tag1 or Tag2<br />

changes.<br />

Creating derived tags n 10–1

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

Saved successfully!

Ooh no, something went wrong!