Alarm Data Table

You can store alarms from a ROC in a ClearSCADA Data Table. The Data Table will have a specific schema entry. Unlike the other ROC Plus database objects, Data Tables are generic database objects (see Configuring Data Tables in the ClearSCADA Guide to Core Configuration).

 

To create a Data Table:

  1. Right-click on the required group in the Database Bar.
    A context-sensitive menu is displayed.
  2. Select the Create New option, followed by the Tables and Grids option.
  3. Select the Data Table option.
    A new Data Table is added to the database.
  4. Specify a suitable name for the Data Table (taking into account the ClearSCADA naming restrictions).
  5. Right-click on the Data Table entry in the Database Bar and select the Edit Properties option. Specify a suitable Table Name and Title for the table and then save the configuration.
  6. Do not make any other changes to the table.

 

The ClearSCADA ROC Plus Driver can create the correct columns in the Data Table automatically. To do this, you need to associate the Data Table with the relevant ClearSCADA ROC Plus Scanner object. To do this:

  1. Display the properties window (‘configuration Form’) for the ROC Plus Scanner object.
  2. On the Options tab, locate the Alarms and Events section.
  3. Use the browse button next to the Alarm Data Table field to display a Reference browse window. Locate and select the Data Table that you have just added to the database.
  4. Save the configuration changes.
    The ROC Plus driver will create the correct columns in the Data Table, providing that the Data Table contains 0 records and the Get Alarms option is enabled on the Scanner. (If the referenced data table is not empty, the driver will not create columns, because data loss could possibly occur.)

 

A correctly configured Alarm Data Table is included in the ROC PlusDemo.sde file.

A single Data Table can store alarms from multiple flow computers. For the ClearSCADA ROC Plus Driver to populate an Alarm Data Table, the table has to contain the columns that are shown in the figure below, with the correct data type at a minimum. Additional columns are allowed, but the driver will only populate those columns that are shown below. The columns that the driver adds to the Alarm Data Table are described below.

The underlying alarms are described in the Opcode 118 section in the ROC Protocol Specifications Manual.


Disclaimer

ClearSCADA 2017 R3