基于Qt平台的OPC服务器的开发及仿真应用  被引量:9

Development and Simulation Application of OPC Server Based on Qt Platform

在线阅读下载全文

作  者:黎邦腾 梁薇 马平[1] 

机构地区:[1]华北电力大学控制与计算机工程学院,河北保定071003

出  处:《计算机测量与控制》2017年第11期154-158,共5页Computer Measurement &Control

摘  要:OPC(OLE for Process Control)技术自1996年被提出,就迅速在自动化领域得到了广泛的应用;它为工业控制软件与硬件之间的交互定义了一个标准的接口,使得工业软件及硬件之间的通讯变得非常便利;针对这个特点,提出了一种将OPC服务器作为"中转站"的仿真方案,即两个或多个支持OPC客户端功能的应用程序将OPC服务器作为"中转站",实现程序间的相互访问与控制;采用OPC开发工具包方式开发OPC服务器,并且在Qt平台实现;这摒弃了传统的基于MFC平台开发模式,充分利用了Qt在界面设计上的优势;最后利用Matlab建立了两个Simulink工程作为OPC客户端进行仿真测试,实现了两个客户端之间通过"中转站"完成信息交互;测试结果控制效果与预期一致,验证了本方案的可行性。OPC (OLE for Process Control) technology has been widely used in the field of automation since it was put forward in 1996. It defines a standard interface for the interaction between industrial control software and hardware, which makes the communication very con- venient. For this feature, a scheme of OPC server as "transfer station" is proposed, that is, two or more applications that support OPC client functionality consider the OPC server as a "transfer station" to implement mutual access and control between programs. The development of OPC server uses the way of OPC development toolkit, and it is implemented on Qt platform. It makes full use of the advantages of Qt in the interface design, abandoning the traditional MFC platform development mode. Finally, in order to demonstrate the function of two clients completing the information interaction through the "transfer station", we use matlab to build a two simulink project as an OPC client for sim ulation testing. The test results are consistent with the expected results, which verify the feasibility of the program.

关 键 词:OPC服务器 OPC开发工具包 Qt平台 仿真测试 OPC客户端 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象