Complete Solution (Tutorial) teaches you to:
Prerequisites:
TankFarmMonitor
HeaderLayout
FactoryStudio
(or your license)TankFarm/
??? Tank1
??? Tank2
??? Tank3
Using simple types (no templates yet):
Tank 1 Tags:
Name | Type | Folder | Description |
---|---|---|---|
Tank1_Level | Double | /TankFarm/Tank1 | Tank level 0-100% |
Tank1_Temp | Double | /TankFarm/Tank1 | Temperature °C |
Tank1_Status | Integer | /TankFarm/Tank1 | 0=Empty 1=Filling 2=Full |
Tank1_HiAlarm | Digital | /TankFarm/Tank1 | High level alarm |
Tank1_LoAlarm | Digital | /TankFarm/Tank1 | Low level alarm |
For testing without real devices:
Tank1_Level
Tank1_Temp
: Random, 20-30°CTank2_Temp
: Random, 20-30°CTank3_Temp
: Random, 20-30°CCopy-Paste AcceleratorOne key productivity feature: After creating tags, you can copy and paste them directly to:
|
Copy Tags to Alarms
Tag | Condition | Limit | Priority | Message |
---|---|---|---|---|
Tank1_Level | Hi | 90 | High | Tank 1 High Level |
Tank1_Level | Lo | 10 | Medium | Tank 1 Low Level |
Overview
For each tank:
Tank1_Level
Tag.Tank1_Level
Level: #Tag.Tank1_Level# %
Temp: #Tag.Tank1_Temp# °C
Tag.Tank1_Status
Trends
DailyReport
DAILY TANK REPORT
Date: @Info.Date@
Tank 1: @Tag.Tank1_Level@ %
Tank 2: @Tag.Tank2_Level@ %
Tank 3: @Tag.Tank3_Level@ %
Average: @Tag.Average@
csharp
@Tag.Average = (@Tag.Tank1_Level +
@Tag.Tank2_Level +
@Tag.Tank3_Level) / 3;
The power of copy-paste:
For similar equipment:
Alternative to copy-paste:
Now that basics work, add:
Tags not updating:
Copy-paste not working:
Alarms not triggering:
This guide demonstrated building a complete solution using basic tag types and the copy-paste accelerator, providing a foundation for more complex applications while maintaining simplicity for beginners.