Make sure to enable SSL and also set the outgoing port number to 465.
If the cell phone provider can provide an email address to receive texts setup to send an email.
To send a text message to someone on AT&T in the To Address, just enter the 10 digit phone number @txt.att.net. Example email@example.com.
How to setup alarm limits in real-time tag configuration.
Send Alarm Emails
How to setup Alarm Notification to send emails for specific alarms.
Use the OPC Systems component in your Visual Studio application to programmatically modify alarm notification groups. Refer to the FormConfigureAlarmNotification Form in the WinForm Example Code example for an example and how to add and modify alarm logging groups.
Refer to the Programmatic Access Alarm Notification Groups section in the Programmatic Interface – .NET Programmatic Configuration topic for all of the method syntax.
All notification groups can be exported to a CSV file by right clicking on the Local service and select Export CSV.
Note: You cannot have Excel open with the CSV file during the import as Excel will lock the file for exclusive use. First close the file in Excel, and then proceed with the import.
The Alarm Notification feature is used to summarize alarm totals and send e-mails based on specified filter criteria of alarm conditions.
In order to utilize alarm notification you must first define the Tag Alarm Limits as described in Configure Tags of this Quick Start section. For a complete list of all Alarm Notification properties refer to the OAS Configuration – Alarm Notification section in this help file.
Start Configure OAS application.
Load the DemoTags Tag configuration or use the new Tag configuration you have created.
Select Configure-Alarm Notification.
Select the Local OAS Service by selecting the Select button or the Local node in the service tree to the left.
Enter the Notification Group Name of Simulation in the field in the upper right.
Check Notification Active in the Common Properties Tab.
Select the Filters Tab.
Notice how you can define filtering based on Alarm Priority, Alarm Groups, and Alarm Types.
Select the notification type your would like to set up – Email, SMS or Voice. To use SMS or Voice as a notification type you will need to use the Twilio service.
7.1 For Email notifications select the Email tab
You can define to send alarms that meet the filter criteria to an e-mail account. Use a semicolon to separate multiple e-mail addresses.
7.2 For SMS notifications select the SMS tab
To trial the functionality you can use the demo mode to send 10 notifications. To use SMS as a notification type you will need to use the Twilio service.
7.3 For Voice notifications select the Voice tab
To trial the functionality you can use the demo mode to send 10 notifications. To use Voice as a notification type you will need to use the Twilio service.
Select the Tags Tab
With the Tags properties you can assign to automatically write alarm statistics to Open Automation Software Tags. Useful to drive an external alarm horn through a PLC or display how many alarms are currently active.
Select Configure-Tags and add a Boolean Tag with the name Alarm Is Active.
Add an Integer Tag with the name Number Of Alarms Active.
Add an Integer Tag with the name Number Of Alarms In Last 24 Hours.
Return to Configure-Alarm Notification:
- Enable the property to Set Tag When Alarm Active
Assign the Tag name Alarm Is Active.Value
- Enable the property to Set Integer Tag with Alarm Active Count
Assign the Tag name Number Of Alarms Active.
- Enable the property to Set Integer Tag with Number Of Alarms In A Given Period
Assign the Tag name Number Of Alarms In Last 24 Hours
Select the Add button in the lower left to add the Alarm Notification group.
Select the Save button on the toolbar at the top.
Save the file DemoAlarmNotification.AlarmNotification in the directory C:OPCSystemsDemo.
You can specify for this configuration to load automatically when the Service starts using Configure-Options which is described also in this Training Guide.
Return to Configure-Tags and select each tag and note that the current number of alarms and active state are updated automatically to the appropriate tag.