omron — Setting the Alarm Database

Data Logging and Display Setting the Alarm Database The alarm history can be saved either in the IWS proprietary format or to an external SQL Relational database by ADO. On the Project tab of the ribbon, in the Settings group, click Options . The Project Settings dialog is displayed: Project Settings - Options tab The Alarm History and Events interface allows you to configure the following settings: InduSoft Web Studio Page 223 Field Remarks Syntax Message Message associated to the alarm. The message can be displayed on the Alarm/Event Control object and/or stored in the Alarm History and/or sent by Email, depending on the settings configured in the Header of the Alarm group.

Text and/or {Tag} (up to 256 chars) Priority Priority number associated to the alarm. When displaying alarms on the Alarm/Event Control object , the operator can filter and/or sort the alarms by priority. Number (from 0 to 255) Selection Alias associated to the alarm (e.g., AreaA, AreaB, etc). When displaying alarms on the Alarm/ Event Control object, the operator can filter and/or sort the alarms by their selection value. Text (up to 7 characters) Field Remarks Syntax History Life Time (days) The history for alarm/event messages older than the number of days specified in this field are automatically deleted, following a FIFO (First-In, First-Out) behavior.

If this field is left in blank, the history of alarms/events are not deleted automatically. Number History Format Defines the format of the history of alarms/events: • Proprietary: Saves the history in the proprietary format. The alarm messages are saved in a text file with the name ALyymmdd.ALH, where: • yy is the last two digits of the current year. • mm is the month. • dd is the day There will be one history file for each day. By default, the alarm history files created with the proprietary format are stored in the \Alarm sub-folder of the project. However, it is possible to direct the alarms to a different directory by using the SetAppAlarmPath function from the built-in language.

• Database: Saves the history in a third-party SQL Relational Database (e.g., SQL Server). Combo-box Alarm Database When selecting Database as the format for the history of alarms, the specific settings to interface with the third-party SQL Relational Database can be configured by the dialog launched when pressing this button. For further details about support for third-party SQL Relational Databases, see Database Interface. —