Aller au contenu principal
Version: v4 (Stable)

Data Server Configuration

To retrieve data from an OPC UA server, you must declare it as a data server in Alert.

Adding the Data Server

Right-click Data Servers under the Acquisition node in the Alert tree, then select Add a data server....

Right-click on Data Servers

The Add a data server dialog opens with the default connector type.

Add a data server dialog

Open the Type dropdown and select OPC UA Data Access.

Type dropdown open

The type is now set to OPC UA Data Access. Click Source... to configure the connection parameters.

OPC UA Data Access selected

Source Configuration

The Source dialog opens. Fill in the Name and Address fields.

Source dialog — empty

FieldDescription
NameDisplay name for this data server in Alert
AddressOPC UA server URL (e.g. opc.tcp://OPC_UA_SERVER:51510/UA/DemoServer)

Source dialog — address filled in

Authentication Type

Open the Authentication Type dropdown to choose the authentication method.

Authentication Type dropdown open

Anonymous

Select Anonymous when the OPC UA server requires no credentials.

Anonymous authentication selected

UserName

Select UserName when the server requires a login. Username and Password fields appear.

UserName authentication — empty fields

Enter the credentials provided by the OPC UA server administrator.

UserName authentication — credentials filled

Security Mode

Under Security, open the Mode dropdown.

Security Mode dropdown open

None

Select None for an unsecured connection without certificate or encryption.

Sign

Select Sign to require certificate-based authentication. A Policy dropdown appears.

Sign mode selected

Open the Policy dropdown to select the security policy.

Sign mode — Policy dropdown

SignAndEncrypt

Select SignAndEncrypt to require both certificate authentication and encrypted communication. A Policy dropdown appears.

SignAndEncrypt mode selected

Open the Policy dropdown to select the security policy.

SignAndEncrypt — Policy dropdown

Available policies for both Sign and SignAndEncrypt: None, Basic128Rsa15, Basic256, Basic256Sha256.

Finalizing

Click OK in the Source dialog. Alert attempts to connect to the OPC UA server and presents the server certificate for acceptance.

Invalid certificate dialog

Click Yes to trust the certificate and proceed.

Connection succeeds

The Add a data server dialog reappears with the Identifier field populated. Click OK to save the data server.

Data server dialog with identifier filled

Connection fails

A warning is displayed indicating the connection error.

Connection error warning

A prompt asks whether to save the configuration anyway.

Save configuration despite error

Click Yes to save and retry the connection later, or No to discard the configuration.