Skip to main content

To Aveva System Platform

The Aveva System Platform solution allows you to create an OPC-UA service to provide access to System Platform objects.


Configure the OPC-UA Service

To configure an OPC-UA server on your Galaxy:

  1. Launch the Aveva IDE

  2. Connect to the Galaxy

  3. Go to the Galaxy menu > Configure > Archestra Services

  4. Navigate through the service tree and create a new OPC-UA service

  5. Rename the service (e.g.: OPCUAService_ScaderisScheduler)

  6. Configure the OPC-UA server port

  7. It is highly recommended to keep this configuration option to ensure encrypted communication

  8. Select the following options

  9. In the "Assignments" section, select the platform(s) on which the OPC-UA server will be deployed

  10. Then click "Update"

  11. Deploy the Aveva System Platform OPC-UA service

  12. The following message appears at the bottom left of the service configuration screen if the OPC-UA server is created successfully. Otherwise, launch the SMC to analyze potential deployment errors.

    SMC Log:


Test the OPC-UA Connection and Approve the System Platform OPC-UA Certificate

To test the connection to the System Platform OPC-UA server, we recommend using the UAExpert software, which is an OPC-UA client on the machine hosting the "Scheduler Processor" solution. It can be downloaded from the following address: https://www.unified-automation.com/products/development-tools/uaexpert.html

To configure the connection in UAExpert:

  1. Click on the "Server" menu, then "Add"

    An image containing text, screenshot, font, software

  2. In the "Configuration Name" field, enter a name for the connection

  3. Click on the "Advanced" tab

  4. In the "Endpoint Url" field, enter the OPC-UA server address as displayed in the SMC during the OPC-UA service deployment

  5. In the "Security Policy" field, select "Basic256Sha256"

  6. In the "Message security mode" field, select "Sign & Encrypt"

  7. In the "Authentication settings" section, select "Anonymous"

  8. Click "Ok"

  9. Connect to the OPC-UA server

  10. On first connection, a security error appears in the UAExpert client logs and a certificate is generated in the C:\ProgramData\AVEVA\PCS\OPC UA Rejected Client Certificates\certs directory

  11. Move this certificate to the machine running the UA Expert solution (the one hosting the "Scheduler Processor" solution)

  12. Right-click, then "Install Certificate"

    An image containing text, font, line, screenshot

  13. Select "Local Machine"

  14. Select the option "Place all certificates in the following store"

  15. Select "Trusted People"

  16. Click "Next"

  17. Click "Finish"

  18. The following message appears

  19. Renew the connection from UAExpert

  20. The following message should appear in the UAExpert client logs. Otherwise, check the Aveva System Platform logs via the SMC.

  21. It is now possible to explore System Platform objects via the UA Expert client

    An image containing text, font, operating system, software


Create an OPC-UA Client Connection to the System Platform

To create an OPC-UA client connection to the System Platform:

  1. Connect to the Scheduler Dashboard

  2. Click on the "Configuration" menu, then on the "Connections" submenu

  3. Click on the "Create" button

    An image containing text, screenshot, font, number

  4. In the "Description" field, enter the connection description

  5. In the "OPC Url" field, enter the OPC-UA server address as displayed in the SMC during the OPC-UA service deployment

  6. In the "Username" and "Password" fields, enter the connection information for an Aveva account authorized to modify an attribute value


Test a Function Connected to the System Platform

To test a function connected to the System Platform:

  1. First create a $UserDefined derived object with an SP attribute of type Integer, then create an instance

    An image containing text, font, line, plot

    An image containing text, screenshot, font, number

  2. In the "Scheduler Dashboard", define a function connected to the attribute of the previously created object

  3. Click "Test"

  4. Select "Local Machine"

    An image containing text, electronic devices, screenshot, font

  5. Select the option "Place all certificates in the following store"

  6. Select "Trusted People"

    An image containing text, screenshot, font, number

  7. Click "Next"

  8. Click "Finish"

  9. The following message appears

  10. Run the function test again

  11. Check the attribute update via an Object Viewer