Tag Window

Help Contents

Introduction

You can use the Tag Window to browse and configure the Tags in the Fernhill SCADA database:

Tag Window

Icons are used to indicate the type of tag, for example a digital tag is indicated by the Digital Tag Icon icon, and a trend by the Trend Icon icon. You can use folders Folder Icon to organize tags into a suitable hierarchy for your project.

Left clicking on an entry in the Tag Window selects the tag. When selected:

Right clicking on an entry in the Tag Window opens the Tag Window Menu.

Tag Window Menu

The Tag Window Menu allows you to:

You can access these functions by right clicking on an entry in the Tag Window. The Tag Window menu commands vary depending on whether you click on a tag, a folder, or the tag database:

TagFolderTag Database
Tag context menu Folder context menu Tag database context menu

Depending on the type of tag selected, the top of the Tag menu may contain additional commands. For example, when you open the menu for a Graphic Page Tag these commands are available:

For more information see Additional Tag Menu Commands later on in this article.

Folder Types

In Fernhill SCADA, you can use Folders to organize your tags into a logical structure.

There are three types of folder:

Folder Type Icon Use
Standard Standard folder icon You can use this folder to organize your tags. It works in a similar way to how files are organized on a file system. Use folders to group related SCADA tags together.
Template Template folder icon A Template Folder is a template from which you can create Linked Folders. Tags in Template Folders are not active. For more information see the Fernhill SCADA concepts page: Linked Folders.
Linked Linked folder icon A linked folder references a Template Folder. Changes to the Template Folder are automatically copied to any Linked Folders attached to the Template Folder. For more information see the Fernhill SCADA concepts page: Linked Folders.

Linked Folders provide a way to reduce the work needed to create a SCADA application that has duplicate equipment. For more information see Linked Folders.

Add New Tags

You can use the Add new tag commands to add tags to folders. The New Tag menu has two submenus. The first submenu allows you to select the driver. The second submenu allows you to select the tag type supported by that driver. Each driver guide provides further information about the tags provided by that driver:

DriverVersionFeatures Provided
Core 1.0 SCADA/HMI Graphic Pages. Trends.
I/O, Internal and calculated data point tags. Alarm Tags. IEC-61131-3 Programs
Allen Bradley 2.2 Tags to interface to Allen Bradley PLCs.
File 1.6 Tags to read data files and associate I/O Data Point Tags with values in the file.
Idec Micro 2.1 Tags to interface to Idec Micro PLCs.
Message Services 3.23 Alarm routing. Text report generation. SMTP Email connector.
Mitsubishi Melsec 1.1 Tags to interface to Mitsubishi Melsec PLCs.
Modbus 1.0 Tags to interface to Modbus PLCs.
Modbus Slave 3.10 Provide a modbus service to other software.
MQTT 3.22 Message Queuing Telemetry Transport driver.
Odbc Client 1.2 Read data from ODBC compatible databases.
Omron 1.0 Tags to interface to Omron PLCs.
OPC Client 1.3 Tags to interface to OPC Data Access Servers.
Random 1.0 Update tags from a random number generator.
Siemens S7 1.4 Tags to interface to Siemens S7 PLCs.
SNMP Client 1.3 Read data from an SNMP agent.

Note: The Version column gives the version of Fernhill SCADA required to support the corresponding driver.

Linked Folders Menu

The linked folders Menu provides commands to manage Template Folders and Linked Folders:

CommandDescription
Add new Template Folder Adds a new template folder.
Add new Linked Folder Prompts you to select a Template Folder then creates a Linked Folder attached to the Template Folder. Note: You need to have created at least one Template Folder to use this command.
Link to Template Folder This command only applies to Standard Folders. The command prompts you to select a Template Folder then changes the Standard Folder to a Linked Folder.
Unlink from Template Folder This command only applies to Linked Folders. The command changes a Linked Folder to a Standard Folder. The contents of the folder are not changed by this command.
Change to Standard Folder This command only applies to Template Folders. The command changes the Template Folder to a Standard Folder. All Linked Folders that refer to the Template Folder are automatically unlinked.
Change to Template Folder This command only applies to Standard Folders. The command changes the Standard Folder to a Template Folder.

For information see the Fernhill SCADA concepts page Linked Folders.

Tag Names

When you create a new folder, or a new tag, Fernhill SCADA automatically generates a new unique name. You can also change the name if you do not want to keep the automatically generated name.

You can change a tag name at any time by any of the following methods:

Press Return to complete the name change, or press ESC to cancel the name change.

Tag names can contain any characters except: period (.), double quote("), asterisk (*), colon (:), less than (<), greater than (>), question mark (?), backslash (\), vertical bar (|).

Moving tags or folders

You can move a tag or folder two different ways:

Copying tags or folders

You can copy a tag or folder three different ways:

Deleting tags

You can delete a tag or folder in two different ways:

Finding references to a tag

Relationships exist between tags, for example:

As a project grows it can become increasingly difficult to keep track of the relationships between tags. To find out where a tag is referenced:

  1. Right click on the tag in the Tag Window.
  2. Select Find references.
  3. Click on a link in the Tag References tab of the Status Monitor Window.

Backup and Restore

You can backup all of the tags in a Fernhill SCADA database to a backup file (.fhsbck). A backup file can be used for:

When creating a backup you have two options:

Backup OptionDescription and When to Use
Configuration Copies only the configuration to the backup file. Use this option when creating a backup to deploy on a production system. When this type of backup is restored on the production system, the production system will retain its existing data.
Configuration and Data Copies configuration and Data to the backup file. Use this option for disaster recovery. When this type of backup is restored, the tags are initialized using the data in from the backup.

To backup configuration to a file:

  1. Right click on the Tag Database Tag database icon.
  2. Select Backup followed by the type of backup you want to create.
  3. Enter a suitable file name.
  4. Click Save.

To restore configuration from a file:

  1. Right click on the Tag Database Tag database icon entry in the tag window and select Restore.
  2. Select a suitable file name and click Open.
  3. In the Restore from backup warning dialog click Yes.

The initial state of a tag following a restore depends on:

If the backup included tag data, the initial data for the tag is taken from the backup. Otherwise, if the tag existed in the database before the restore operation, the initial data is taken from the previous database. Otherwise, the tag is initialized as if it was new.

Additional Tag Menu Commands

For some tag types, the Tag Menu provides additional commands:

Tag TypeAdditional CommandDescription
Graphic Page Tag Edit Graphic Opens the tag in the Graphic Editor
Open in Operator Interface Opens the tag in the Operator Interface
Trend Tag Edit Trend Opens the tag in the Trend Window
Open in Operator Interface Opens the tag in the Operator Interface
Channel Tag View data log Opens a live Data Log showing the data sent and received on the channel.
Download log files Downloads all of the log files for the channel to a zip file. Include this file in your support request if you need to contact us to report a problem with a communication channel. The information in the log files can help us to quickly identify the problem.
Data Point Tag
(historic enabled only)
View trend Opens a Trend Window showing the historic data of the tag.
Calculated Analog Data Point Tag
Calculated Digital Data Point Tag
Calculated Word Data Point Tag
Calculated Double Word Data Point Tag
Calculated String Data Point Tag
Edit Calculation Opens a Text Editor allowing you to edit the calculation.
View Code Listing Displays the compiled code of the calculation.
Program Tag Edit Source Code Opens a Text Editor allowing you to edit the code.
View Code Listing Displays the compiled code of the program.

Further Information

Properties Window

For information about configuring the properties of tags.

Status Monitor Window

For information about monitoring tag status, finding tag references or finding code errors.

Fernhill SCADA Configuration Tool

To learn about other features the Fernhill SCADA Configuration Tool.

Glossary

For the meaning of terms used in Fernhill SCADA.