首页 | 官方网站   微博 | 高级检索  
     

基于VC的上位机与PLC远程通信设计
引用本文:徐世许,孙卫国,于金鹏,郑健.基于VC的上位机与PLC远程通信设计[J].青岛大学学报(工程技术版),2006,21(3):41-45.
作者姓名:徐世许  孙卫国  于金鹏  郑健
作者单位:1. 青岛大学自动化工程学院,山东,青岛,266071
2. 青岛大学人事处,山东,青岛,266071
摘    要:上位机对远程PLC监控时,需要与远程PLC建立通信连接,研究通过电话网实现上位机和远程PLC通信的方法。下位机选用OMRONCQM1H型机,上位机利用Visu-alC 6.0及MSComm控件编程,调用调制解调器指令拨号与远程PLC建立连接,接着上位机根据HOSTLINK通信协议,向PLC发送命令帧数据,与PLC进行信息交换。该方法为进一步开发基于电话网的远程监控PLC系统提供了有价值的参考。

关 键 词:电话网  远程通信  MSComm  PLC  HOST  LINK协议  VC
文章编号:1006-9798(2006)03-0041-05
修稿时间:2006年1月20日

Remote Communication Between Master-Computer and PLC Based on VC 6.0
XU Shi-xu,SUN Wei-guo,YU Jin-peng,ZHENG Jian.Remote Communication Between Master-Computer and PLC Based on VC 6.0[J].Journal of Qingdao University(Engineering & Technology Edition),2006,21(3):41-45.
Authors:XU Shi-xu  SUN Wei-guo  YU Jin-peng  ZHENG Jian
Abstract:In order to realize master-computer monitoring remote PLC, the connection of communication between them is needed. The communication method between master-computer and remote PLC through telephone network is investigated. OMRON CQM1H PLC is chosen as a remote slave-computer. The programming technique using Visual C 6.0 and MSComm Control, which is based on HOST LINK protocol, is introduced in detail. Master-computer utilizes Modem commands to dial up and create communication with remote PLC, then realizes message exchange by sending HOST LINK command frames to PLC. This method can be further developed as a simple, remote and real time supervision method through telephone networks.
Keywords:telephone network  remote communication  MSComm  PLC  HOST link protocol  VC 6  0
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号