[英]Implementing Classic OPC DA Server from scratch
I would like to implement my own OPC DA Server (versions 1. X-2. X) from scratch but without using any third-party. 我想从头开始实现自己的OPC DA服务器(版本1. X-2。X),但不使用任何第三方。 I have a classical OPC DA client (COM/DCOM based).
我有一个经典的OPC DA客户端(基于COM / DCOM)。 So I need to create an opc DA Server which can connect to the server.
因此,我需要创建一个可以连接到服务器的opc DA服务器。
Is there any kind of document that explains detailed and step by step the process to implement an OPC client? 是否有某种文档详细解释了逐步实现OPC客户端的过程?
To implement from scratch an OPC DA Server I recommend you to read the OPC DA Specification. 要从头开始实现OPC DA服务器,我建议您阅读OPC DA规范。 But why do you want to implement an OPC DA Server 1.x or 2.x since the last (2003) is 3 ?
但是为什么您要实施OPC DA Server 1.x或2.x,因为最后一个(2003)是3?
On the OPC Foundation you could find the specification for OPC DA 2.05 or OPC DA 3 . 在OPC Foundation上可以找到OPC DA 2.05或OPC DA 3的规范。 However you need to be a member of the OPC Foundation to download them !
但是,您需要成为OPC基金会的成员才能下载它们!
I think it may be a best alternative for you to consider OPC UA. 我认为这可能是您考虑使用OPC UA的最佳选择。 This is a much more interesting solution since OPC DA will be soon deprecated !
因为OPC DA将很快被弃用,所以这是一个更有趣的解决方案!
While I don't agree that OPC DA will disappear any time soon I think it would be better if you focus on doing a OPC UA server. 虽然我不同意OPC DA会很快消失,但我认为如果您专注于OPC UA服务器会更好。 There are (or at least there will be) adapters that allow you to connect a OPC DA client to an OPC UA server.
有(或至少会有)适配器,可以将OPC DA客户端连接到OPC UA服务器。
There is an open source OPC UA project that you can look at where you can get the source code from, that should be a good start. 您可以查看一个开放源代码的OPC UA项目,这是一个很好的开始。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.