Define Internal & Calc Tags
There are three types of internal tags (non-I/O tags):
- MEMORY: This type is just an internal SCADA variable that can be changed at runtime by manual user action or by script.
- SIMULATION: This type is SCADA variable that holds a simulated value that is generated by Stream Server. (e.g. Ramp, Random, Sequence ... etc)
- CALCULATION: This type is a SCADA variable that holds a result of a formula.
All three types of internal data sources are defined by default in any Stream SCADA application.
In our tutorial, we'll add a calculation tag. This tag's formula is converting PUMP1.RUNTIME from minutes to hours (Simply divide by 60).
1. From Tags, add a new tag with the following details:
- Tag Name: PUMP1.RUNTIME_HR
- Data Source: CACLULATION
- Data Type: Real
- Calculation (formula): VAL(PUMP1.RUNTIME) / 60