The OPC UA publish task allows you to publish calculated values via the integrated OPC UA server.

In this task, you can evaluate expressions and publish the results via OPC UA. The number of expressions is not limited. If the result of the expression is a non-constant signal, the signal will be averaged first before being used.

The task-specific settings are explained below. For all other settings, see General task settings.

Optional analysis

Here you can specify an analysis file (PDO file) to use the expressions defined in it. Enter the path and file name in this field or select the file using the browser button. Click on the ibaAnalyzer button to check whether ibaAnalyzer can open the PDO file.

Example DAT file

You can open a DAT file to use the data it contains for testing expressions by clicking <?>. This file does not affect the task execution and is used only for testing. The evaluated values appear for each signal in the value table in the Test value column.

Value table

Here you can specify any valid ibaAnalyzer expression (e.g., predefined expressions from the PDO file). You can also select signals or modules from the signal tree and add them to the value table using drag and drop. The signal tree is displayed as soon as you load an analysis file in the Optional analysis field or a DAT file in the Example DAT File field. The selected expression will be evaluated when the job runs and the result will be published on the server. When a PDO or test file is loaded, you can simply select expressions from the ibaAnalyzer file tree.

The Variable name is used to identify the signal on the server (will be included in the tag name).

In the Data type column, select the data type corresponding to the signal type: Analog (by default), Text (String) or Digital (or Boolean).

You cannot edit the Test value column. It is used to show the values of the evaluated expressions against a test DAT file. Use the buttons on the right side of the table to add, copy, delete, or move expressions up and down in the table.