18 January 2008
It has been a few years since my last look at this code and I thought it time to update the source for Delphi 2007 SP3. I also made some changes for additional testing performed.
I can be reached at zayin@pdq.net.
Enjoy,
Mark
Everest Software LLC
http://www.hmisys.com
While every precaution has been taken in the preparation of this example/source code, Everest Software LLC and its employees assume no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein.
6 September, 2002
Small changes to allow Delphi 7.0 build.
5 July, 2001
Now compatible with Delphi 6.0 and 5.01.
14 March, 2001
I have run the server through the compliance test tool. I made the needed changes to pass the
test. It now passes with just the warning(s) in data types. I have been told the test will be
changed in the next version of the test tool. I used version 1.0.1070 of the Compliance Test
Tool.
One of the changes was to revert back to "flat" data storage. I have done a real hierarchical
system and I did not have the time to implement it in this example. I also added the calls to
prevent an error when terminating the example while clients are connected. I also incorporated
the new headers Mike created.
Enjoy.
31 January, 2000
Changed the browse method to "OPC_NS_HIERARCHIAL" which led to some other changes in data
storage and collection.
Added support for multiple clients.
7 October, 1999
I wrote this server code when I was learning COM and OPC. Errors in the code may be present and
my interpretation/implementation of the specification for OPC Data Access 2.03, July 27, 1999
may also contain FUBARs. If you find any discrepancies or plain old errors please let me know
what you found.
This code is released with the purpose: give others a working example of how to write an OPC
server using Delphi and OOP. It is intended to be an aid in learning how to write a server.
It is not intended to be a template or a base for a product. If you wish to include any of this
code in a product please contact Fire and Safety International, Systems, Inc.
http://www.fsi-corp.com
OOP is a great language and Delphi is a wonderful product for implementing OPC.
Several people helped with an example or just an ear and a comment. I have never shaken hands
with any of these guys. I say to them "Thank you".
D.G. Somerton
Astrit Shapiri
John Romedahl
Nickolas Robinson
Roland Miezianko
Mike Dillamore
I tested the server with a program named Visual OPCTest Client. It is a great program.
Roland Miezianko is the author. http://www.opctest.com is the web address.
I can be reached at zayin@pdq.net.
Enjoy the code,
Mark R. Drake
Fire and Safety International, Systems, Inc.
Some other data:
NT4 SP5 or later
Delphi 5.01, 6.02 or Delphi 2007 SP3
You will need the OPC supplied DLLs: http://www.opcfoundation.org/
You will also need the Delphi conversions of the OPC interfaces:
http://www.opcconnect.com/delphi.php
While every precaution has been taken in the preparation of this example/source code,
Fire and Safety International, Systems, Inc. and its employees assume no responsibility for
errors or omissions. Neither is any liability assumed for damages resulting from the use of the
information contained herein.
没有合适的资源?快使用搜索试试~ 我知道了~
DELPHI-opcserver
共35个文件
pas:21个
tlb:2个
dfm:2个
4星 · 超过85%的资源 需积分: 10 47 下载量 101 浏览量
2008-10-27
10:45:14
上传
评论
收藏 51KB ZIP 举报
温馨提示
这是一个用delphi编写的OPCSERVER,以这个为框架能设计出自己的SERVER
资源推荐
资源详情
资源评论
收起资源包目录
delphiopcserver.zip (35个子文件)
OPCErrorStrings.pas 3KB
FirstServ_TLB.tlb 2KB
OPCRemovedGroupUnit.pas 549B
FirstServ_TLB.pas 7KB
comcat.pas 6KB
EnumUnknown.pas 3KB
FirstServ.dsk 12KB
ItemPropIMPL.pas 7KB
RegDeRegServer.pas 3KB
IOPCCommonUnit.pas 2KB
Main.dfm 2KB
FirstServ.tlb 2KB
FirstServ.identcache 2KB
FirstServ.mes 7KB
Enumstring.pas 3KB
FirstServ.dof 1KB
FirstServ.drc 21KB
ItemsUnit.pas 6KB
FirstServ.dproj.local 562B
FirstServ.res 2KB
IOPCBrowseServerAddressSpaceIMPL.pas 3KB
EnumItemAtt.pas 4KB
Main.pas 5KB
readme-server.txt 3KB
ShutDownRequest.pas 401B
IOPCServerIMPL.pas 7KB
FirstServ.dpr 1KB
ItemAttributesOPC.pas 1KB
Globals.pas 5KB
ShutDownRequest.dfm 601B
GroupUnit.pas 32KB
ServIMPL.pas 11KB
DataPointsUnit.pas 1KB
AsyncUnit.pas 12KB
FirstServ.dproj 5KB
共 35 条
- 1
资源评论
- wpj6782013-10-30[DCC Fatal Error] RegDeRegServer.pas(6): F1026 File not found: 'OPCDA.dcu' 无法编译通过,缺少'OPCDA.dcu'
- dujinfeng2013-08-01选择dpr直接打开时,就停止了不知是不是版本不一样(delphi),和delphi Opc Server的内容程序标题一样。
- cow80632012-08-22下了,可运行 ,可调用 ,不错,可惜代码看不懂。没有个文档 之类
- AlphaGIS2014-10-13可运行 ,可调用 ,不错
satelite1013
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功