WOLFRAM SYSTEM MODELER

Examples

A collection of examples to help you get started

Package Contents

ReadAndWrite

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

MultipleServers

Example that demonstrates a possible use of multiple servers

TriggeredSampling

Model that samples data from an OPC item irregularly

TankSystem

A tank system model where height data is written to and read from an OPC item

MultipleItems

Example that demonstrates how multiple items can be read using the same component

Utilities

Utility components for the examples

Information

This package contains examples that demonstrate how to use the OPCClassic to read and write data from/to items on an OPC server.

To run the examples in their current state, you need to install the MatrikonOPC Server for Simulation and Testing on the same computer that is running the OPCClassic. Make sure to choose an installation that includes OPCEnum (OPC Enumerator). A minimal installation might not include this.

To run the examples using another OPC server or item, copy the example and change parameter itemName in the block components or serverName in OPCClassic.OPCServer, respectively.

Wolfram Language

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