Skip to main content

Connection from Aveva InTouch

info

Before attempting to configure a connection to the OPC-UA server from another software, first verify that you can connect using the UAExpert software from the third-party software computer.

Configuring Aveva OI Gateway

Prerequisite: The "Standards – Gateway" Communication Driver Pack must be installed on one of the OI servers.

An image containing text, number, font, line AI-generated content may be incorrect.

On the OI.GATEWAY server, add an OPCUA connection.

An image containing text, screenshot, font AI-generated content may be incorrect.

In the example below, we will call this connection "OPCUA_Scheduler".

Fill in the following fields:

  • Server Node: Name of the server where the "Scheduler Processor" service is installed
  • OPCUA Server: Address of the OPC UA server on the machine where the "Scheduler Processor" service is installed
  • Security Policy: Basic256Sha256
  • Security Message Mode: Sign and Encrypt
  • User Credentials: Check "Anonymous User"
info

This configuration corresponds to the default recommended configuration of the internal OPC UA server of the "Scheduler Processor" service. However, it is possible to modify the configuration of the internal OPC UA server in the OPCUAServer.Config.xml file located at the root of the "Scheduler Processor" installation directory.

Once the configuration is complete, click the "Test" button.

During the first connection test, if you get this popup (secure connection), verify all the steps.

An image containing text, screenshot, font, document AI-generated content may be incorrect.

info

Every first connection to an OPC-UA server from another client software or from another client computer systematically fails because the certificate is not approved on the OPC-UA server side.

For step 6, go to the directory C:\ProgramData\Scaderis\Scheduler\pki\rejected\certs.

An image containing text, font, line, number AI-generated content may be incorrect.

If all previous steps are valid, you will find a rejected certificate at the date/time when you clicked "Test". Copy this certificate to C:\ProgramData\Scaderis\Scheduler\pki\trusted\certs.

Perform a new connection test:

An image containing text, screenshot, font, display AI-generated content may be incorrect.

You should obtain the following result in the OPC UA Namespace.

An image containing text, screenshot, font, number AI-generated content may be incorrect.

Next, add an OPC UA connection group that we will call "Group1".

An image containing text, font, line, screenshot AI-generated content may be incorrect.

Click on "Browse OPCUA Server" (make sure beforehand that the "Scheduler Processor" service is active and that there are no errors in the service logs).

An image containing text, screenshot, software, font AI-generated content may be incorrect.

The OPCUA Tag Browser window allows you to navigate through the tree structure of the internal OPC UA server of the "Scheduler Processor".

An image containing text, screenshot, font, software AI-generated content may be incorrect.

You can now start the OI Gateway.

Verify the Gateway starts without errors.

An image containing text, font, number, screenshot AI-generated content may be incorrect.

Configuring the OPC UA Access Name

Go to Tools > Access Names.

Select "OPCUA", then "Modify".

An image containing text, screenshot, display, software AI-generated content may be incorrect. An image containing text, screenshot, number, font AI-generated content may be incorrect.

  • Access Name: Name of the accessor from InTouch
  • Node Name: Name of the server hosting the OI Gateway configured earlier to connect to the internal OPC UA server of the Scheduler
  • Application Name: Gateway
  • Topic Name: Name of the "Device Group Name" configured earlier on the OI Gateway to connect to the internal OPC UA server of the Scheduler

An image containing text, screenshot, font, software AI-generated content may be incorrect.

Configuring a Test InTouch Tag

From InTouch 2023 R2 version onwards: In the InTouch navigation bar, go to "Tag dictionary" > "External providers".

The following window appears:

An image containing text, screenshot, software, font AI-generated content may be incorrect.

You can now drag and drop into the "Model Tagname" tab to automatically create the Tags in the variable dictionary.

Before InTouch 2023 R2 version: Identify an OPC UA address via the internal OPC UA client of the OI Server (configured earlier).

An image containing screenshot, text, software, line AI-generated content may be incorrect.

Open the "Tag Dictionary", then click "New".

Create a test Tag "Sched_F004_Disabled" of type I/O Discrete.

An image containing text, screenshot, display, software AI-generated content may be incorrect.

Select the "Access Name" "OPCUA_Sched", then enter the OPC UA Tag address.

Create a window containing a rectangle with a fill animation based on this new Tag.

Run the InTouch application and test the Tag change with UA Expert.

An image containing text, screenshot, software, webpage AI-generated content may be incorrect.