摘要
Windows操作系统下的工控组态软件已经被越来越广泛地应用.WinCC作为目前较为流行的组态软件,具有实用性强、组态灵活等优点.而MATLAB是系统仿真与设计强有力的工具,被广泛应用于科学计算、数学建模与仿真.为了将MATLAB的数学建模与仿真功能和组态软件WinCC的人机交互以及控制功能相结合,发挥各自优势,提出了一种MATLAB和组态软件WinCC之间的通信方法.采用DDE技术来实现二者之间的数据交换,该方法具有编程效率高,实现方便,通用性强等特点.
Configuration software under Windows operation system for process control has been widely used. As a popular configuration software at present, WinCC possesses the advantages of powerful practicability and flexible configuration. MATLAB has strong capabilities in system design and simulation, which has been widely used in scientific calculation, mathematics modeling and simulation. Combining mathematics modeling and simulation function of MATLAB with humanmachine interactive and controlling function of configuration software WinCC to achieve respective advantage, the paper proposes the communication method between MATLAB and configuration software WinCC. By using DDE technology, data exchange between MATLAB and WinCC is implemented. This method is characteristic of efficient programming, convenient using and good general performance.
出处
《华东交通大学学报》
2008年第4期43-46,共4页
Journal of East China Jiaotong University