摘要
设计了典型单片机与PC机串口通信系统,详细介绍了基于组态王的PC端上位机软件设计程序及下位机单片机端的硬件设计。利用组态王软件和Visual Basic都支持DDE的特点,以VB为开发平台,写出一个数据通信应用程序,一方面实现与单片机的连接,另一方面实现与组态王的动态数据交换。
The special serial communication for MCU and PC system was designed,and the KingView-based software design process for upper PC and the hardware design for lower computer were expounded.Making use of the KingView and Visual Basic(VB) both supporting DDE to write out a data communication program to achieve a connection with microcontroller and the dynamic data exchange with the KingView.
出处
《化工自动化及仪表》
CAS
北大核心
2011年第5期551-553,共3页
Control and Instruments in Chemical Industry