Download the sample solution: SCADA Starter Example.dbsln
This guide shows how to configure a basic implementation using the “TrendAndAlarmPages” template.
Create the solution using the TrendAndAlarmPages template.
Create Tags – Create tags to store values.
Create alarms - Define Alarms parameters.
Edit UI - Create main page.
Devices and the Historian included in the sample are provided to demonstrate the Trend and Alarms modules. Their implementation is documented on the Edge PLC–SQL Example page.
Open Solution Manager.
Select New… → Template.
Choose TrendAndAlarmPages.
Click Create New Solution.
In Unified Namespace → DataTemplate, create a template named PVs with 10 members.
In Unified Namespace → Tags, create a tag named PVs using the PVs template.
Result: one tag (PVs) containing 10 members.
Define the alarm conditions and corresponding messages for when each alarm should be triggered.
TagName | Condition | Limit | Group | Message |
Tag.PVs.Speed | Hi | 3000 | Alarm.Group.Warning | Overspeed condition detected |
Tag.PVs.Vibration | Hi | 80 | Alarm.Group.Critical | High vibration detected |
Tag.PVs.Valve_Open | Equal | 0 | Alarm.Group.Warning | Valve is closed |
Tag.PVs.Torque | Hi | 80 | Alarm.Group.Warning | High torque warning |
Tag.PVs.Temperature | Hi | 100 | Alarm.Group.Critical | High temperature alert |
Tag.PVs.pH | Hi | 8 | Alarm.Group.Warning | High pH level detected |
Tag.PVs.Level | Hi | 25 | Alarm.Group.Warning | High level warning |
Tag.PVs.Humidity | Hi | 80 | Alarm.Group.Warning | High humidity detected |
Tag.PVs.Flow_Rate | Hi | 800 | Alarm.Group.Critical | High flow rate detected |
Tag.PVs.Current | Hi | 40 | Alarm.Group.Critical | High current warning |
In Displays → List, select the MainPage, there you can add two buttons that lead to the “AlarmPage” and “TrendPage“. You will also see a table that shows you all the tags and its values.
In Displays → List you can go to the “AlarmPage” and “TrendPage“ to see its content.
Go to Runtime / Startup and Run Startup
Open Property Watch
Monitor tag values:
Check Quality (192 = Good)
Verify values update
Open the Display module.
On MainPage, confirm values change in the DataGrid.
Click Alarms or Trend Page to navigate and validate each screen.
You can also use the top menu to move between pages.
On TrendPage, select tags in the Asset Tree.
Click Add Selected to Chart >> to add them as pens for monitoring.