ReferenceDriverOPC UAConnect Server

Connect to an OPC UA server

Connect to an OPC UA server using Synnax.

The Synnax Driver connects to any OPC UA server: PLCs, SCADA systems, DCS, MES, and industrial sensors. Secure and non-secure connections are supported with anonymous, username and password, or certificate authentication.

Prerequisites

Before you can connect to an OPC UA server, you will need to ensure that you have the following:

  1. A Synnax Core running on your network.
  2. A Synnax Driver running on your network. This Driver must be connected to the Core and running on the same machine or network as your OPC UA server.
  3. The Synnax Console installed on your local machine.
  4. An OPC UA server running on your network. This server must be reachable by the Driver.

Supported operating systems

Table

Platform Status
Windows ✓ Supported
Linux ✓ Supported
NI Linux Real-Time ✓ Supported
macOS ✓ Supported
Docker ✓ Supported

When running in a Docker container, ensure the container has network access to the OPC UA server.

Common OPC UA servers

Table

Server Description
open62541 Open-source OPC UA stack
Beckhoff TwinCAT PLC and automation platform
FactoryTalk Allen-Bradley FactoryTalk with OPC UA
Ignition SCADA platform with built-in OPC UA server
Siemens S7 PLCs with OPC UA support
Prosys OPC UA Simulation Server For testing and development

Configuration parameters reference

Table

Parameter Type Required Default Description
name string Yes - Human-readable server name for identification in Console
rack string Yes - Synnax Driver (rack) key that will connect to the OPC UA server
endpoint string Yes - Server endpoint URL (e.g., opc.tcp://localhost:4840)
username string No - Username for server authentication (optional)
password string No - Password for server authentication (optional)
security_mode string No None Security mode: None, Sign, or SignAndEncrypt
security_policy string No None Security policy: None, Basic128Rsa15, Basic256, Basic256Sha256, Aes128_Sha256_RsaOaep, Aes256_Sha256_RsaPss
client_cert string No - Client certificate for signing/encrypting (required if security policy ≠ None)
client_private_key string No - Client private key for signing/encrypting (required if security policy ≠ None)
server_cert string No - Trusted server certificate (required if security policy ≠ None)

Security Mode & Policy Reference

Security Mode:

  • None -> No security applied
  • Sign -> Messages are signed but not encrypted. Provides authentication without confidentiality
  • SignAndEncrypt -> Messages are signed and encrypted for full authenticity and confidentiality

Security Policy:

  • None -> No encryption
  • Basic128Rsa15 -> 128-bit encryption with RSA-15
  • Basic256 -> 256-bit encryption
  • Basic256Sha256 -> 256-bit encryption with SHA-256
  • Aes128_Sha256_RsaOaep -> 128-bit AES with SHA-256 and RSA OAEP
  • Aes256_Sha256_RsaPss -> 256-bit AES with SHA-256 and RSA PSS

How-to