WOLFRAM SYSTEM MODELER

Client

Client for connecting to an OPC UA server

Wolfram Language

In[1]:=
SystemModel["OPCUA.Components.Core.Client"]
Out[1]:=

Information

The OPCUA.Components.Core.Client configures and sets up the connection to an OPC UA server. Any model using the WriteNodeList or ReadNodeList components must be connected to a Core.Client that provides it with the connection to the OPC UA server.

In situations where it is sufficient with a single sample rate for reading and one for writing, it is possible to use the simplified OPCUA.Client that has a built-in WriteNodeList and ReadNodeList.

Client configuration

  • endpointUrl: URL to the OPC UA server endpoint
  • applicationUri: Globally unique identifier for this application instance, if secured communication is enabled it must match the URI provided in the application instance certificate subjectAltName
  • SecurityConfiguration: Replaceable block that defines the security configuration; see the Secured block for how to configure secure communication with the server
  • AuthenticationConfiguration: Replaceable block that defines the authentication configuration

Parameters (3)

endpointUrl

Value: "opc.tcp://localhost:16664"

Type: String

Description: URL to the OPC UA server endpoint

applicationUri

Value: "urn:unconfigured:application"

Type: String

Description: The globally unique identifier for this application instance

logLevel

Value: Types.LogLevel.Warning

Type: LogLevel

Description: Log level for the OPCUA communication

Connectors (1)

clientID

Type: ExternalIDOutput

Description: Client external ID

Components (3)

client

Type: ClientObject

Description: The external OPC client object

authentication

Type: AuthenticationConfiguration

Description: Authentication configuration

security

Type: SecurityConfiguration

Description: Communication security configuration

Used in Examples (1)

Multirate

OPCUA.Examples

Demonstrates how to read node values using different sample rates

Used in Components (1)

Client

OPCUA

Client for connecting to an OPC UA server