Create a Calculation Formula Using a VBScript Code
About this task
Important: If a tag contains bad data quality, you cannot store its value through a calculation formula. For example, if your VBScript includes:
Result = 7 Quality = 0
, Historian does not store the 7
, it stores 0
.Tip: For examples, refer to Examples of Scheduling Polled Triggers and Examples of Scheduling Unsolicited Triggers.
Before you begin
Procedure
-
To create a calculation formula using Configuration Hub:
-
To create a calculation formula using Historian Administrator: