PackageDescription: WinTech OPC Interface
Win Tech OPC Interface
Last published: October 27, 2008 by 'mikeh'
Defines 21 Classes
Extends 15 Classes
A Smalltalk OPC Client Communications Bridge for OPCDA 2.0 and OPCDA 3.0 compliant servers.
The bridge is based on the WinTech wtclient.dll which handles all the icky COM stuff, and the OPCClientBridge.dll which makes it callable from Smalltalk. Additional runtime dll's are required an can be downloaded from the OPC foundation website:
But I recommend installing the Matrikon OPC Tools, the best tools for OPC testing and debugging. The example methods in this package assume that you have the Matrikon OPC Simulation server installed on your machine. If you install the Matrikon tools, there is no need to download the runtime from the OPC foundation.
http://www.matrikonopc.com/downloads/178/software/index.aspx Simulation Server
http://www.matrikonopc.com/downloads/176/software/index.aspx OPC Explorer
WinTech is a commercial entity and sell licenses for their OPC connectivity. You must contact them for licensing and download. I am also a customer and am not affiliated with them an any other way.
OPCClientBridge.dll simply calls the WinTech wtclient.dll, but is "extern 'C' 'd" in a way that it can be called from VisualWorks. The dll can be downloaded from:
and a Microsoft Visual Studio 6 project with source code can be downloaded from:
This package requires DLLCC.pcl and COMAutomation.pcl (necessary for dealing with VARIANT and friends) as prerequisites.
Examples can be found on the class side of WinTech.OPC
This code is released under the MIT License.
Mike Hales email@example.com
Copyright (c) 2007 LMHales, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN