摘要
提出了一种基于Automation(自动化)技术的控制系统实时在线仿真方法。该方法以Matlab建立实时仿真的虚拟对象模型,由C++Builder编程语言建立的通讯子系统处理虚拟对象与实际控制器PLC间的数据交换,其中与Matlab间通过基于COM的自动化接口,与实际控制器(OMRON PLC)间通过串口通信。最后指出了该系统应用于分布式实时仿真的可能性。
In this article a real-time online simulation method of control system based on Matlab is proposed.ln the method, Matlab is used to set up the virtual object model of the real-time simulation, a communication subsystem constructed in C++ Builder programming language handles the data exchange between the virtual object and the real control instrument--OMRON PLC.lt communicates with Matlab through automation interface based on COM and communicates with PLC through serial port.This article also indicates the capability of the system to be applied in the distributed real-time simulation.
出处
《电子质量》
2004年第2期J030-J033,共4页
Electronics Quality