WOLFRAM SYSTEM MODELER
ExamplesA collection of examples to help you get started |
Basic example that demonstrates how to write to and read from items on an OPC server |
|
Example that demonstrates a possible use of multiple servers |
|
Model that samples data from an OPC item irregularly |
|
A tank system model where height data is written to and read from an OPC item |
|
Example that demonstrates how multiple items can be read using the same component |
|
Utility components for the examples |
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.
SystemModel["OPCClassic.Examples"]