Creating a Query Destination System with Defined Tag Names

Prerequisites

You have created a source system and created an agent instance for this source system. You need to assign this agent instance to the query destination system. The source system type needs to support tag queries and the query type of the query destination system that you want.

Context

The document describes how you can create a query destination system and define the names of the tags to be read or written in the query destination system.

Procedure

  1. Create a new destination system of the type query destination system.
  2. Select the query type in the query definition area:

    Query Type

    Description

    Retrieve Query

    Reads values of tags from a source system and returns them to the caller of the query destination system.

    Store Query

    Writes values of tags to a source system and waits until the write operation is finished.

    Asynchronous Store Query

    Writes values of tags to a source system and does not wait until the write operation is finished.

  3. In the Agent Instance field, choose the agent instance that you created previously.
  4. In the Variables screen area, choose Browse Source System and Add Tag as New Variable.

    The browse window appears.

  5. Choose the Browse pushbutton.

    The address node of the agent instance appears.

  6. Select one or more tags. Choose Add Selected Items and close the browse window by choosing OK.

    The system now generates a variable for each selected tag and displays them in the Variables screen area. You can change the variable name.

    Depending on the query type, these variables represent the input variables (for store queries) or the output variables (for retrieve queries) of the query destination system. They appear, for example, when used in a multiple call destination system under their variable name and with the suffix _Value.