Creating a Calculation Formulation
Procedure
- Select the tagname you created.
- Select the Calculation tab.
- Build your calculation formula by typing VBScript syntax directly to the Calculation pane, or click the Wizard button to use the Insert Function Wizard feature. For instructions on how to use the Wizard, refer to Building Calculation Formulas Using the Wizard.Note: The Calculation Triggers portion of the Calculation tab is available only when you are entering a formula for an unsolicited calculation tag.
If a point with bad data quality exists, you cannot set the value through a calculation formula. For example, if your VB script includes:
Result = 7 Quality = 0
, Historian does not store the7
, it stores a value of0
.