Working with Tags
Adding Tags to a Collector
You can add tags to a collector using the Historian Non-Web Administrator or the Historian Web Administrator.
Using the Non-Web Administrator to Add Multiple Tags from a Collector
Adding Uncollected Tags from a Collector
Using the Web Administrator to Add Tags from a Collector
Adding Tags for Collectors with Hierarchical Browsing
About Manually Adding New Tags
- for creating a calculation tag.
- for holding values that are added using the Excel Add-In or custom SDK application.
- for testing purposes.
For example, if you are currently not connected to a collector, the browse is slow, or is not supported, and if you want to configure tags associated with that collector, you can add them manually.
When adding a tag manually, you must manually configure the fields for the tag that the Add Tag Manually dialog box does not include. For instance, when you add a tag manually, the Data Type field does not automatically populate after you select a Source Address. You must manually set the data type from the Collection tab after you add the tag. Use caution when selecting the data type. If you select the wrong data type, you most likely will get incorrect data or you could even lose data. It does not use the collector default settings, such as those for archive and collector compression, as it would with the browse and pick.
Using the Non-Web Admin to Add a New Tag Manually
Using the Web Admin to Add a New Tag Manually
The dynamic collector update feature ensures that any modifications done to the tag configuration do not affect all the tags in a collector. Only the tags that stop data collection will record zero data and bad quality without restarting the collector. In other words, the tags that do not stop data collection do not record bad data samples to the collection.
- OPC Collector
- iFIX Collector
- Calculation Collector
- Simulation Collector
- Server to Server Collector
- PI Collector
- PI Distributor
For a tag to stop and restart the collection without restarting the collector, you must enable the On-line Tag Configuration Changes option on the Advanced tab of the Collector Maintenance screen. By default, the On-line Tag Configuration Changes option is enabled.
If you disable the On-line Tag Configuration Changes option, any changes you make to the tags do not affect collection until after you restart the collector. To restart the collector, you must stop and start the collector service or executable. Restarting the collector stops and restarts the tag(s) collection and records bad data samples to the collection.
All the collector configuration changes done within a 30 second time frame are batched up to let you update/modify a small set of tags at a time to collect the modified data faster.
Follow these steps to add a new tag manually from the Web Administrator:
Using the Web Admin to Manually Add a Source Address
About Copying Tags
If you want to create a copy of an existing tag with all the same properties, use the Copy Tag function. Copy Tag works only for individual tags. You cannot copy multiple tags at once.
Using the Non-Web Admin to Copy a Tag
Using the Web Admin to Copy a Tag
About Searching the Historian Tags Database
Using the Non-Web Admin to Search for Tags
Using the Web Admin to Search for Tags
About Removing Tags from a Collector
For various reasons, you may want to remove a tag from the Historian Database. Deleting a tag only removes it from the browse list; the data remains intact in the Archive and can be queried by tag name. It is recommended that you export your tag configuration prior to and after tag modifications.
Using the Non-Web Admin to Remove Tags
Using the Web Admin to Remove Tags
Understanding Tag names
Historian tag names vary according to the type of collector. By default, the tag name is the source address prepended with a string.
It is recommended that tag names use only characters available for folders and file names to avoid the problems (limitations) with some clients and filtering. You can use tag names that contain the characters & and + in the Non-Web Historian Administrator.
iFIXCollector Tagnames
Node.Tag.Field
whereNode
, by default, is the name of the SCADA node, the data source. This field is configurable, however.Tag
is the database tag.Field
is the database field.
NODE8.WATER-_SWITCH.F_CV
NODE2.MASH_LEVEL.B_CUALM
USGBS1.FIC101.F_CV
USGBS1.FT102.A_LAALM
where -
NODE8
,NODE2
, andUSGBS1
are the names of the iFIX SCADA nodes. -
WATER_SWITCH
,MASH_LEVEL
,FIC101
, and FT102 are the names of the database tags. 4F_CV
means single floating point, current value.B_CUALM
means current alarm status.A_LAALM
means analog input, latched alarm.
OPC or Simulation Collector Tagnames
ComputerName.ItemID
ComputerName
, by default, is the name of the machine on which the collector is installed. This field is configurable, however.ItemID
is the data point being polled.
Calculation Collector Tagnames
There is no specified format for Historian tags for a Calculation Collector. We recommend that you select a consistent naming convention so the tags are easily and clearly identifiable. You should avoid using spaces and other special characters or reserved words used in SQL or VBScript. This applies to any tag being used as a source tag in the formula.
Server-to-Server Collector Tagnames
Browsing Your Data Source to Add New Tags
Using the Non-Web Admin to Browse your Data Source for New Tags
Using the Web Admin to Browse your Data Source for New Tags
About Configuring Collector Options
- Start at the Collector Maintenance screen in Historian Administrator. You can access the Collector Maintenance screen in several ways:
- Click the Collectors link in any of the major screens in Historian Administrator.
- Click the collector name in the Collectors section of the Historian Administrator Main screen. This displays the screen with the specific collector already selected.
- To make a change in a configurable parameter, enter the value in the appropriate field and click Update. For more information, refer to Historian Administrator.
- Go to the Collectors Screen. This displays the list of available collectors and their status. You can edit the collector configurable parameters.
- From the Collector Maintenance screen or the Collector screen, click the various tabs to display parameters of various types for the specific collector you have selected.
For more information, refer to Historian Web Administrator Help.
.
About Collector Redundancy
Historian includes support for collector redundancy, which decreases the likelihood of lost data due to software or hardware failures. Implementing collector redundancy ensures that collection of your data remains uninterrupted. Collector redundancy makes use of two or more collectors, gathering data from a single source. For more information, refer to the Collector Redundancy.
About Collecting Vendor Attributes from a Data Source
Data sources are often customized to include information specific to a site's installation in the form of vendor attributes. This customization adds data not covered by the OPC or OPCAE specifications and may or may not require storage in the Historian Archive. As a result, the Historian Administrator provides a means to specify which vendor attributes will be collected from any given data source. A maximum of 10 vendor attributes can be collected.