摘要: 随着工业自动化的发展,工控领域中常常会遇到异构平台之间的用于过程控制的OLE(OPC)通信问题。提出3种方法,分别利用EntireX DCOM, Java以及XML OPC,在Linux下开发OPC客户端。使用Linux上的OPC客户端访问Windows平台上的OPC服务器,从而实现OPC的跨平台通信。描述各种方法的关键技术并给出相关代码,并对所有实现方法进行比较,分析它们在工业应用中的前景。
关键词:
用于过程控制的OLE,
XML DA协议,
Python语言,
Java技术,
Linux平台
Abstract: With the development of industrial automation, communication between OLE for Process Control(OPC) applications in heterogeneous platforms becomes a frequent issue in industrial process control area. This paper describes three methods, using EntireX DCOM/Java/XML OPC respectively to develop OPC clients under Linux. OPC client on Linux platform is able to communicate with OPC server on Windows platform, which is a successful implementation of OPC cross-platform communication. Key technologies in each method are discussed and corresponding code is also included with explicit explanation. A comparison is made between all implementations, based on which their further application in industrial environment is evaluated.
Key words:
OLE for Process Control(OPC),
XML DA protocol,
Python,
Java,
Linux platform
中图分类号:
吴 鑫;宫 亮;杨煜普. OPC跨平台通信的实现方法[J]. 计算机工程, 2009, 35(13): 240-242.
WU Xin; GONG Liang; YANG Yu-pu. Implementation Method of OPC Cross-platform Communication[J]. Computer Engineering, 2009, 35(13): 240-242.