WOLFRAM SYSTEMMODELER

OPCClassic

A Modelica library for OPC Classic DA (Data Access)

Package Contents

GettingStarted

A step-by-step guide to running your first model with OPCClassic

Examples

A collection of examples to help you get started

Blocks

Package with basic read and write blocks for types Real, Integer, and Boolean

Interfaces

This package contains connectors and partial models specific to the OPCClassic

ExternalFunctions

Package with all Modelica functions used by the OPCClassic

Types

Type and unit definitions

Icons

Package containing icons

OPCServer

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

Information

What Is OPCClassic?

OPCClassic is a library that allows you to create Modelica models that connect to OPC servers in the real world.

What Can You Do with OPCClassic?

  • Connect to OPC servers in a variety of domains, such as oil and gas, industrial energy, and life sciences, all in real time
  • Incorporate production data from the real world into your models, for example, as block inputs or reference signals
  • Connect to several servers from one model
  • Write model data directly to OPC servers
  • Monitor production data in real time
  • Perform data analyses
  • Design control systems and test them on real data

How Does It work?

OPCClassic is based on the OPC Classic specification, which means that it is based on Microsoft Windows technology using the COM/DCOM (Distributed Component Object Model) for the exchange of data between software components.

OPCClassic uses the external, open source client library OPCClientToolKit (original source can be found here) to establish communication with the OPC server. In addition, a number of external C functions have been created as a complement to the client library, which create a communication interface between the Modelica world and the server. The library contains several Modelica functions that call these external C functions to set up communication with the desired server and item on that server.

Limitations

OPCClassic supports the OPC Classic specification for Data Access (OPC DA). Other OPC Classic specifications, such as OPC Alarms and Events (OPC AE) and OPC Historical Data Access (OPC HDA), are currently not supported.

Supported OPC types include Real, Integer, and Boolean. Other OPC specific types, such as date and currency, are currently not supported.

Since OPCClassic is based on OPC Classic, it is restricted to Windows only.

Resources

Ask questions about SystemModeler and OPCClassic:

http://community.wolfram.com

Get details about the OPC protocol:

https://opcfoundation.org

Learn more about SystemModeler:

http://www.wolfram.com/system-modeler/resources

Contact support:

support@wolfram.com

Licensed under Wolfram SystemModeler™ Library License Agreement

For license conditions, see here.

Attribution

This software includes OPCClientToolKit, which is licensed under version 2.1 of the GNU Library General Public License, the full text of which is available here:  https://www.gnu.org/licenses/lgpl-2.1.txt.

OPCClientToolKit

Copyright (C) 2005 Mark C. Beharrell

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.