Skip to main content

Generic Connection with UA Expert Software

To test the connection to the internal OPC-UA server, we recommend using the UAExpert software, which is an OPC-UA client. It can be downloaded from the following address: https://www.unified-automation.com/products/development-tools/uaexpert.html

To display the URL address of the internal OPC-UA server:

  1. Log in to the Scheduler Dashboard

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

  3. Select the connection "1 – Internal OPC-UA Server"

  4. The "OPC Url" field displays the connection address to the internal OPC-UA server

    An image containing text, screenshot, font, number Automatically generated description

To configure the connection in UAExpert:

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

  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 Scheduler Dashboard

    info

    If the connection to the internal OPC-UA server is made from a different computer than the one running the Scheduler Processor, then "localhost" must be replaced with the name of the computer running the Scheduler Processor.

  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. Right-click on the new connection, then click "Connect"

  10. The connection attempt fails with the error "BadSecurityChecksFailed"

    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 server side.

  11. Approve the certificate on the Scheduler Processor computer (see 2.1.2.2 Approve an OPC-UA Certificate in Scheduler Processor)

  12. In UAExpert, right-click on the new connection and click "Connect"

    An image containing text, screenshot, software, display Automatically generated description

  13. The connection is established. If functions have been configured to use the internal OPC-UA server, then the folders and variables of these functions are displayed in the tree structure of the "Address Space" frame.

  14. Drag and drop the variables to the "Data Access View" frame to display the current value

    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.

To approve a certificate for the internal OPC-UA server of the Scheduler Processor:

  1. On the computer where the Scheduler Processor is running, open a file explorer and navigate to the location "C:\ProgramData\Scaderis\Scheduler\pki\rejected\certs"

  2. Cut the file "UaExpert@###.der"

    An image containing text, screenshot, font, line Automatically generated description

  3. Navigate to the location "C:\ProgramData\Scaderis\Scheduler\pki\trusted\certs"

  4. Paste the file "UaExpert@###.der"

    An image containing text, screenshot, font, line Automatically generated description