首页 | 本学科首页   官方微博 | 高级检索  
     检索      

用Visual C++实现PC与PLC之间的串行通讯
引用本文:高潮,罗强,郭永彩,扶新.用Visual C++实现PC与PLC之间的串行通讯[J].重庆大学学报(自然科学版),2006,29(6):19-22.
作者姓名:高潮  罗强  郭永彩  扶新
作者单位:重庆大学光电工程学院,重庆400030
摘    要:在工业控制中,常常需要对PLC的采集数据和工作状态进行监测控制,实现的方式有VB、DELPHI、PB等.Visual C++是一种Windows应用程序开发工具,在图形处理和数据库管理等方面具有较强的功能,用它来实现底层的通信控制有着更快的速度,采用Visual C++和MFC实现实时要求较高的小型控制系统中的PC和PLC的串行通讯系统,给出了系统的通讯原理和软件设计方法,实现数据的快速发送和接收,实时自动控制准确、快速。该系统简单、经济、稳定、实用性强并已成功应用于实际系统中。

关 键 词:MSComm控件  可编程控制器  监督控制与数据采集  串行通讯
文章编号:1000-582X(2006)06-0019-04
修稿时间:2005年12月20

Serial Communication System Between PC and PLC Based on Visual C++
GAO Chao,LUO Qiang,GUO Yong-cai,FU Xin.Serial Communication System Between PC and PLC Based on Visual C++[J].Journal of Chongqing University(Natural Science Edition),2006,29(6):19-22.
Authors:GAO Chao  LUO Qiang  GUO Yong-cai  FU Xin
Abstract: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.
Keywords:Visual C
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《重庆大学学报(自然科学版)》浏览原始摘要信息
点击此处可从《重庆大学学报(自然科学版)》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号