Selecting an OPC Historic Tag

You can use the Select Historic Tag window to insert an OPC Historic Tag in your expression.

The Select Historic Tag window is displayed when you:

The Select Historic Tag window lists the items that are configured to store data historically in the ClearSCADA database or on a third party OPC HDA server.

To select a historic tag:

  1. Position the cursor at the place in the expression that the tag is to be inserted.
  2. Display the Select Historic Tag window.
  3. Navigate the hierarchical tree structure and select the item that you require.
  4. Each Forecast database item can hold between 1 and 8 separate Forecasts. If you use the Select Historic Tag window to specify a Forecast, you need to select one of the eight Forecasts in the hierarchical tree structure.

  5. Use the Relative check box to specify whether the path to the item is relative or absolute. Select the check box for a relative path or clear it for an absolute path (see Relative and Absolute References)
  6. Use the Algorithm combo box to select the calculation (OPC historic algorithm) that is performed on the block of data. For information on the available aggregates, see OPC Historic Aggregates (Algorithms).
  7. Use the Start Date and Interval combo boxes to enter the time range from which the historic data is taken.
    • Start Date—Use the combo box to specify the start date for the block of data that is to be read for the item, or enter your own date in the OPC relative time format, for example H-4H for the data to start from four hours before the beginning of the current hour.
    • Interval—Use the combo box to select a suitable period over which the data is to be read, or enter your own interval in the OPC time format, for example 3H for a three-hour period.

    Further Information

    OPC Time Formats: see Using OPC Time Formats in the ClearSCADA Guide to Core Configuration.

  8. Select the OK button to confirm your selections. The tag is entered in the expression.

If you want to reference an OPC Historic Tag manually in your expression, you will need to adhere to the required syntax (see Syntax of an OPC Historic Tag).


Disclaimer

ClearSCADA 2017 R2