摘要
在工业控制中,常常需要对PLC的采集数据和工作状态进行监测控制,实现的方式有VB、DELPHI、PB等.V isual C++是一种W indows应用程序开发工具,在图形处理和数据库管理等方面具有较强的功能,用它来实现底层的通信控制有着更快的速度.采用V isual C++和MFC实现实时要求较高的小型控制系统中的PC和PLC的串行通讯系统,给出了系统的通讯原理和软件设计方法,实现数据的快速发送和接收,实时自动控制准确、快速.该系统简单、经济、稳定、实用性强并已成功应用于实际系统中.
It is usually need to supervise and control gathering data and working status of PLC in industry control. There are some ways such as VB, DELPHI, PB to carry out the requirement. Visual C + + is an exploiture tool for Windows application program and has quite strong function in the aspect of image processing and database managing etc. It has faster speed to realize bottom communication control. Using Visual C + + and MFC, the authors implement the serial communication system between PC and PLC. The paper introduces the communication protocol and software design method and realizes data's sending and incepted rapidly, real - time auto - control accurately and quickly. This system is simple, economical, and reliable and has an application value, which has been applied successfully in real system.
出处
《重庆大学学报(自然科学版)》
EI
CAS
CSCD
北大核心
2006年第6期19-22,共4页
Journal of Chongqing University
基金
"十五"军工计划(JGSJ03-S379)资助