WOLFRAM SYSTEM MODELER
OPCServerA model used for setting up server parameters (name of host and server) |
SystemModel["OPCClassic.OPCServer"]
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.
hostName |
Value: "localhost" Type: String Description: The name of the host where the OPC server is located |
---|---|
serverName |
Value: "" Type: String Description: The name or CLSID 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 |
serverConnector |
Type: ServerConnector Description: A connector used to connect to read/write blocks |
---|
server |
Type: OPCServerObject Description: The external OPC server object |
---|
OPCClassic.Examples Basic example that demonstrates how to write to and read from items on an OPC server |
|
OPCClassic.Examples Example that demonstrates a possible use of multiple servers |
|
OPCClassic.Examples Model that samples data from an OPC item irregularly |
|
OPCClassic.Examples A tank system model where height data is written to and read from an OPC item |
|
OPCClassic.Examples Example that demonstrates how multiple items can be read using the same component |