Example

This example Data Stream demonstrates how to use this Listener to retrieve a pump's heat (I), money forecast (M), and pressure (R) tag values from the OPC DA Server.

Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

  1. Drag the OPC DA Listener onto the canvas.

  2. Rename the Agent and link the output endpoint to the printer

  3. Save the Data Stream.

  4. Double-click to configure the Agent.

Step 2: Configure Settings

Enter the Connection details of your OPC DA Server.

In this case, select the server "Matrikon.OPC.Simulation". Do tick to include the Timestamp, Check For Quality, and Enable Tag Browsing.

Step 3: Configure Browse Tags/Items

Select the Branch Type and Path/Level. In this case, select Using Drilldown, and add Simulation Items and Random levels.

Step 4: Configure Items

Select from the Available Tags and click Add Selected Tags to populate the Items Grid. In this case, select Money, Int4, and Real8.

Step 5: Configure Data Mapping

Enter the Alias and Type for the tags in the Items Grid. In this case, enter their alias as I, M, and R. Leave their type as String.

Step 6: Results

Apply the changes, save the Data Stream, and publish it.

Let's look at the Live Data View. Observe that the current values and timestamps of the pump's I, M, and R tags are printed.

Files

See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.

Last updated