Tag to Tag – Data Route

The Tag-to-Tag Data Route is applied at the individual Tag level. It allows you to point a Tag to any other local or remote Tag. A Tag can only have one Data Route target Tag. This type of Data Route is good for simple requirements where you just need to copy one or more Tags to another set of Tags with a one-to-one relationship. Any data writes on the source Tag will be written to the target Tag.

View the following video for a demonstration of transferring a value from one tag to another.

Step 1 – Define Source Tag

Create the driver see the appropriate data source in the Data Sources Section  (If using Classic OPC or Calculations as a source skip this step)

Create the source Tag. Refer to Configure – Tags for additional information on tag configuration.

Data Route

Step 2 – Define Destination

Select the Target Tab

Data Route

On the target tab check Enable Write to Target

Select the Target Type (Tag, OPC, Azure IoT, or MQTT )

Select the destination for the value to be sent.

If Tag is selected then select Browse and select the desired OAS tag.

Tag Browse

Value is the most commonly used Variable.  See Tag Variables for a complete list of all Variables possible.

Note: You can also browse remote tags on other services to transfer data over a network.

\\192.168.0.1\TagName.Value

If OPC Item is selected select browse and select the OPC server and Item

Target Type

If Azure IoT or MQTT is selected then select Browse and select the desired  Driver

Driver Interface

Enter the desired Deadband in the Float Deadband field. Enter 0 for no deadband.

If you want to specify a desired update frequency for the target check Write Continuously and enter the desired frequency. If Write Contentiously is unchecked the the target will be updated every time the source tag changes.

Click Apply Changes

Apply Changes

The data route from tag to tag is now active.

Step 3 – Save Configuration

Select the Save button on the toolbar at the top to save the updates to the tag configuration.

Save

If this is the first time saving you will be prompted to make this the default configuration to load when the OAS Engine restarts.

This default file location can be changed under Configure-Options-Default Files.