WOLFRAM SYSTEM MODELER

Examples

A collection of examples to help you get started

Package Contents

Utilities

Utility components for the examples

ReadAndWrite

Basic example that demonstrates how to write to and read from nodes on an OPC UA server

TriggeredReadAndWrite

Basic example that demonstrates how to write to and read from nodes on an OPC UA server using a signal trigger

MultipleServers

Example that demonstrates a possible use of multiple OPC UA servers

TriggeredSampling

Model that samples data from an OPC UA node irregularly

TankSystem

A tank system model where height data is written to and read from an OPC UA node on an OPC UA server

RPiInteraction

Example that demonstrates the interaction of an OPC UA server with a Raspberry Pi

Information

This package contains examples that demonstrate how to use the OPCUA Library to read and write data from/to items on one or more OPC servers.

To run the examples in their current state, you need to set up an OPC UA server for simulation and testing on the same computer that is running the OPCUA Library. Read about how to start the example server here.

To run the examples using another OPC server or item, copy the example and change parameters nodeID, nodeIDType, and nodeNamespace in the block components or hostName in OPCUA.OPCUAServer, respectively.

Wolfram Language

In[1]:=
SystemModel["OPCUA.Examples"]
Out[1]:=