WOLFRAM SYSTEM MODELER
ClientClient for connecting to an OPC UA server |
|
SystemModel["OPCUA.Client"]

The OPCUA.Client provides a simplified client (compared to OPCUA.Components.Core.Client) that comes with a built-in WriteNodeList and ReadNodeList.
To enable reading or writing, set the corresponding enableRead or enableWrite to true.
The Clock of the read or write request can be externally provided with the corresponding readClock/writeClock input or inferred from the connected components by setting the corresponding inferReadClock/inferWriteClock to true.
endpointUrl: URL to the OPC UA server endpointapplicationUri: 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 serverAuthenticationConfiguration: Replaceable block that defines the authentication configuration| 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 |
| enableRead |
Value: true Type: Boolean Description: Enable the readList connector |
| enableWrite |
Value: true Type: Boolean Description: Enable the writeList connector |
| errorHandling |
Value: Type: ErrorHandling Description: Error handling for request errors |
| inferReadClock |
Value: false Type: Boolean Description: Infer read clock instead of using an input Clock |
| inferWriteClock |
Value: false Type: Boolean Description: Infer write clock instead of using an input Clock |
| readList |
Type: List_b Description: Connector providing a NodeList for registering nodes |
|
|---|---|---|
| readClock |
Type: ClockInput Description: 'input Clock' as connector |
|
| writeList |
Type: List_b Description: Connector providing a NodeList for registering nodes |
|
| writeClock |
Type: ClockInput Description: 'input Clock' as connector |
|
| writeSeverity |
Type: SeverityOutput Description: 'output UAStatusSeverity' as connector |
|
| readSeverity |
Type: SeverityOutput Description: 'output UAStatusSeverity' as connector |
| readNodeList |
Type: ReadNodeList Description: Read the values of a list of nodes in a single OPC UA request |
|
|---|---|---|
| writeNodeList |
Type: WriteNodeList Description: Write the values of a list of nodes in a single OPC UA request |
|
| client |
Type: Client Description: Client for connecting to an OPC UA server |
|
OPCUA.Examples Demonstrates how to write to and read from nodes on an OPC UA server |
|
|
OPCUA.Examples Demonstrates how to enable authentication and encryption |
|
|
OPCUA.Examples Demonstrates the difference between the Clocked and Unclocked components |
|
|
OPCUA.Examples Demonstrates how the write clock can be inferred |
|
|
OPCUA.Examples Demonstrates how to switch to a fallback value after a period of Uncertain or Bad status severity |
|
|
OPCUA.Examples Demonstrates a possible use of multiple OPC UA servers |
|
|
OPCUA.Examples A tank system model where height data is written to and read from an OPC UA node on an OPC UA server |
|
|
OPCUA.Examples Demonstrates how to sample data from an OPC UA node irregularly |
|
|
OPCUA.Examples Demonstrates the interaction with an OPC UA server on a Raspberry Pi |