WOLFRAM SYSTEMMODELER

OPCServer

A model used for setting up server parameters (name of host and server)

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["OPCClassic.OPCServer"]
Out[1]:=

Information

OPCServer sets up the connection to the external OPC server. Any model using the read/write blocks must have an OPCServer connected to each block, since it provides them with a server object.

Public Parameters (3)

hostName

Value: "localhost"

Type: String

Description: The name of the host where the OPC server is located

serverName

Value: ""

Type: String

Description: The name of the server on the host computer

requestedRefreshRate

Value: 0.1

Type: RefreshRate (s)

Description: The requested rate at which the OPC server should update

Connectors (1)

serverConnector

Type: ServerConnector

Components (1)

server

Type: OPCServerObject

Description: The external OPC server object

Used in Examples (5)

MultipleItems

OPCClassic.Examples

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

TankSystem

OPCClassic.Examples

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

TriggeredSampling

OPCClassic.Examples

Model that samples data from an OPC item irregularly

MultipleServers

OPCClassic.Examples

Example that demonstrates a possible use of multiple servers

ReadAndWrite

OPCClassic.Examples

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