摘要
基于DDE(DynamicDataExchange)技术,研究了VB6.0下组态软件与下位机串口通信服务程序的实现方法,并对其进行了改进,解决了组态软件没有提供某些现场设备的通信驱动程序的问题。服务程序利用串口通信控件MSComm与下位机进行通信,同时采用DDE技术与组态软件进行数据交换。工程实践表明,该方法通用性强、实现简便。
Based on the technology of DDE (Dynamic Data Exchange), the develop of serial communication service program between configuration software and slave system is studied and improved. The problem that the serial communication driver for current devices is not provided by configuration software is resolved. The MSComm Controller is used to make service program communicate with slave system. For configuration software, the data is exchanged via DDE. The engineering practice proves that this method is universal and easy in implementation.
出处
《微计算机信息》
北大核心
2005年第11S期34-36,共3页
Control & Automation
基金
受军队国防预研基金资助
批准号不公开