Access/Modify a Tag

About this task

Using Historian Administrator, you can access a list of tags in the Historian database by their name, description, or both.
Note: By default, maximum one million tags are retrieved. If the Historian clients are configured to retrieve more than a million tags, to retrieve all of them, add the MaxTagsToRetrieve registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Intellution, Inc.\iHistorian\Services\DataArchiver\, and then set the maximum number of tags that you want to retrieve. Restart the Historian Data Archiver service for the change to reflect.

Procedure

  1. Access Historian Administrator.
  2. Select Tags.
  3. Select Search Historian Tag Database.
    The Search Historian Tag Database window appears.
  4. Enter values in the available fields to search for the tag, and then select OK. You can use the wildcard character asterisk (*).
    A list of tags that meet the search criteria appear in the Tags section.
  5. Right-click the Tags section, and then select one of the following values:
    • View By TagName: Select this option to view only the names of the tags.
    • View By Description: Select this option to view only the descriptions of the tags.
    • View Tagname and Description: Select this option to view both the names and descriptions of the tags.
  6. As needed, modify values as described in the following tables, and then select Update.
    Table 1. The General Section
    Field Description
    Description The description of the tag.
    EGU Description The engineering units assigned to the tag.
    Comment Comments that apply to the tag.
    StepValue Indicates that the actual measured value changes in a sharp step instead of a smooth linear interpolation. This option is applicable only for numeric data. Enabling this option only affects data retrieval; it has no effect on data collection or storage.
    Spare Configuration The Spare 1 through Spare 5 fields list any configuration information stored in these fields.
    Note: Do not add or update the following spare configurations as data may get corrupted or overwritten:
    • The Spare 1 field for OSI PI Distributor reads data from the Historian tag displayed in the Tag Source Address field and sends it to the OSI PI tag name displayed in the Spare 1 field.
    • The Spare 5 field is used for a Server-to-Server collector and a Server-to-Server distributor for internal purposes.
    Table 2. The Collection Section
    Field Description
    Collector The name of the collector that collects data for the selected tag.
    Source Address The address for the tag in the data source. Leave this field blank for tags associated with the Calculation or Server-to-Server collector.

    For Python Expression tags, this field contains the full applicable JSON configuration, which includes an indication of the source address.

    Note: When exporting or importing tags using the EXCEL Add-In, the Calculation column, not the SourceAddress column, holds the formulas for tags associated with the Calculation or Server-to-Server collector.
    Data Type The data type of the tag.

    The main use of the scaled data type is to save space, but this results in a loss of precision. Instead of using 4 bytes of data, it only uses 2 bytes by storing the data as a percentage of the EGU limit. Changing the EGU limits will result in a change in the values that are displayed. For example, if the original EGU values were 0 to 100 and a value of 20 was stored using the scaled data type and if the EGUs are changed to 0 to 200, the original value of 20 will be represented as 40.

    Note: If you change the data type of an existing tag between a numeric and a string or binary data type (and vice versa), the tag's compression and scaling settings will be lost.
    Enumerated Set Name The name of the enumerated set that you want to assign to the tag.
    Data Length The number of bytes for a fixed string data type. This field is enabled only for fixed string data types.
    Is Array Tag Indicates that the tag is an array tag.
    Collection Indicates whether data collection is enabled or disabled for the tag. If you disable collection for the tag, Historian stops collecting data for the tag, but does not delete the tag or its data.
    Collection Type The type of data collection used for this tag:
    • Polled: The data collector requests data from the data source at the collection interval specified in the polling schedule.
    • Unsolicited: The data source sends data to the collector whenever necessary (independent of the data collector polling schedule).
    Collection Interval The time interval between readings of data from this tag. For unsolicited collection type, this field defines the minimum interval at which unsolicited data should be sent by the data source.
    Collection Offset Used with the collection interval to schedule collection of data from a tag. For example, to collect a value for a tag every hour at thirty minutes past the hour (12:30, 1:30, 2:30, and so on), enter a collection interval of 1 hour and an offset of 30 minutes. Similarly, to collect a value each day at 8am, enter a collection interval of 1 day and an offset of 8 hours.
    Note: If you enter a value in milliseconds, the value must be in intervals of 1000 ms. For example, 1000, 2000, and 3000 ms are valid values, but 500 and 1500 ms are invalid. The minimum value is 1000 ms.
    Time Resolution The precision for timestamps, which can be either seconds, milliseconds or microseconds.
    Condition-Based Indicates whether condition-based data collection is enabled.
    Trigger Tag The name of the trigger tag used in the condition.
    Comparison The comparison operator that you want to use in the condition. This field is enabled only if you have enabled condition-based collection. Select one of the following options:
    • Undefined: Collection will resume only when the value of the triggered tag changes. This is considered an incomplete configuration, so condition-based collection is turned off and all the collected data is sent to archiver.
    • < =: Setting condition as trigger tag value less than or equal to the compare value.
    • > = Setting condition as trigger tag value greater than or equal to the compare value.
    • <: Setting condition as trigger tag value less than the compare value.
    • >: Setting condition as trigger tag value greater than the compare value.
    • =: Setting condition as trigger tag value equals compare value.
    • !=: Setting condition as trigger tag value not the same as compare value.
    Compare Value A target value that you want to compare with the value of the trigger tag. If using = and != comparison parameters, ensure that the format of the compared value and triggered tag are the same. For example, for a float type trigger tag, the compare value must be a float value; otherwise, the condition result is an invalid configuration. When the configuration is invalid, condition-based collection is disabled and all data is sent to archiver.
    End of Collection Markers Indicates whether end-of-collection markers are enabled. This will mark all the tag's values as bad, and sub-quality as ConditionCollectionHalted when the condition becomes false. Trending and reporting applications can use this information to indicate that the real-world value was unknown after this time until the condition becomes true and a new sample is collected. If disabled, a bad data marker is not inserted when the condition becomes false.
    Table 3. The Scaling Section
    Field Description
    Hi Engineering Units The current value of the upper range limit of the span for this tag.

    Engineering Hi and Lo are retrieved automatically for F_CV fields for iFIX tags; all others are left at default settings. When adding tags from the server using an OPC Collector, the OPC Collector queries the server for the EGU units and EGU Hi/Lo limits. Not all OPC Servers make this information available, however. Therefore, if the server does not provide the limits when requested to do so, the collector automatically assigns an EGU range of 0 to 10,000.

    Lo Engineering Units The current value of the lower range limit of the span for this tag.
    Input Scaling Indicates whether input scaling is enabled, which converts an input data point to an engineering units value.

    For example, to rescale and save a 0 - 4096 input value to a scaled range of 0 - 100, enter 0 and 4096 as the low and high input scale values and 0 and 100 as the low and high engineering units values, respectively.

    If a data point exceeds the high or low end of the input scaling range, Historian logs a bad data quality point with a ScaledOutOfRange subquality. In the previous example, if your input data is less than 0, or greater than 4096, Historian records a bad data quality for the data point.

    OPC Servers and TRUE Values: Some OPC servers return a TRUE value as -1. If your OPC server is returning TRUE values as -1, modify the following scaling settings in the Tag Maintenance page of Historian Administrator:
    Hi Engineering Units = 0
    Lo Engineering Units = 1 
    Hi Scale Value = 0 
    Lo Scale Value = - 1 
    Input Scaling = Enabled 
    Hi Scale Value The upper limit of the span of the input value.
    Lo Scale Value The lower limit of the span of the input value.
    Table 4. The Compression Section
    Field Description
    Collector Compression Indicates whether collector compression is enabled.
    Collector Deadband The current value of the compression deadband. This value can be computed as a percent of the span, centered around the data value or given as an absolute range around the data value.
    Note: Some OPC servers add and subtract the whole deadband value from the last data value. This effectively doubles the magnitude of the deadband compared to other OPC servers. To determine how your specific server handles deadband, refer to the documentation of your OPC server.

    Example:

    Suppose the engineering units are 0 to 200. Suppose the deadband value is 10%, which is 20 units. If the deadband value is 10% and the last reported value is 50, the value will be reported when the current value exceeds 50 + 10 = 60 or is less than 50 - 10 = 40. Note that the deadband (20 units) is split around the last data value (10 on either side.)

    Alternatively, you could specify an absolute deadband of 5. In this instance, if the last value was 50, a new data sample will be reported when the current value exceeds 55 or drops below 45.

    If compression is enabled and the deadband is set to zero, the collector ignores data values that do not change and records any that do change. If you set the deadband to a non-zero value, the collector records any value that lies outside the deadband. If the value changes drastically, a pre-spike point may be inserted. For information, refer to Enable Spike Logic.

    Engineering Unit Converts the deadband percentage into engineering units and displays the result. This value establishes the deadband range that is centered around the new value.

    This field represents a calculated number created to give an idea of how large a deadband you are creating in engineering units. The deadband is entered in percentage and Historian converts the percentage in to engineering units.

    Collector Compression Timeout Indicates the maximum amount of time the collector will wait between sending samples for a tag to the archiver. This time is maintained per tag, as different tags report to the archiver at different times.

    For polled tags, this value should be in multiples of your collection interval. After the timeout value is exceeded, the tag stores a value at the next scheduled collection interval, and not when the timeout occurred. For example, if you have a 10-second collection interval, a 1-minute compression timeout, and a collection that started at 2:14:00, if the value has not changed, the value is logged at 2:15:10 and not at 2:15:00.

    For unsolicited tags, a value is guaranteed in, at most, twice the compression timeout interval.

    A non-changing value is logged on each compression timeout. For example, an unsolicited tag with a 1-second collection interval and a 30-second compression timeout is stored every 30 seconds.

    A changing value for the same tag may have up to 60 seconds between raw samples. In this case, if the value changes after 10 seconds, then that value is stored, but the value at 30 seconds (if unchanged) will not be stored. The value at 60 seconds will be stored. This leaves a gap of 50 seconds between raw samples which is less than 60 seconds.

    Compression timeout is supported in all collectors except the PI collector.

    Archive Compression Indicates whether archive compression is enabled. If enabled, Historian applies the archive deadband settings against all reported data from the collector.
    Archive Deadband The current value of the archive deadband, expressed as a percent of span or an absolute number.
    Engineering Unit Converts the deadband percentage into engineering units and displays the result. This value establishes the deadband range that is centered around the new value.
    Archive Compression Timeout The maximum amount of time from the last stored point before another point is stored, if the value does not exceed the archive compression deadband.

    The data archiver treats the incoming sample after the timeout occurs as if it exceeded compression. It then stores the pending sample.

    Table 5. The Advanced Section
    Field Description
    Time Assigned By The source of the timestamp for a data value is either the collector or the data source.

    All tags, by default, have their time assigned by the collector. When you configure a tag for a polled collection rate, the tag is updated based on the collection interval. For example, if you set the collection interval to 5 seconds with no compression, then the archive will be updated with a new data point and timestamp every 5 seconds, even if the value is not changing.

    However, if you set the Time Assigned By field to Source for the same tag, the archive only updates when the device timestamp changes. For example, if the poll time is still 5 seconds, but if the timestamp on the device does not change for 10 minutes, no new data will be added to the archive for 10 minutes.

    Note: This field is disabled for Calculation and Server-to-Server tags.
    Time Zone Bias The number of minutes from GMT that should be used to translate timestamps when retrieving data from this tag. For example, the time zone bias for Eastern Standard time is -300 minutes (GMT-5).

    This field is not used during collection. Use this option if a particular tag requires a time zone adjustment during retrieval other than the client or server time zone. For example, you could retrieve data for two tags with different time zones by using the tag time zone selection in the iFIX chart.

    Time Adjustment If the Server-to-Server collector is not running on the source computer, select the Adjust for Source Time Difference option to compensate for the time difference between the source archiver computer and the collector computer.
    Note: This field only applies to tags associated with the Server-to-Server collector that use a polled collection type.
    Data Store Displays the data store to which the tag belongs.
    Read Group The Windows security group assigned to the selected tag.
    Write Group The Windows security group assigned to the selected tag.
    Administer Group The Windows security group assigned to the selected tag.
    Last Modified The date the last tag parameter modification was made.
    Modified By The name of the person who last modified the tag configuration parameters.