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

基于电话网的PLC与计算机远程通信
引用本文:刘刚,王仲东,陈智华.基于电话网的PLC与计算机远程通信[J].兵工自动化,2003,22(3):31-34.
作者姓名:刘刚  王仲东  陈智华
作者单位:华中科技大学,控制科学与工程系,湖北,武汉,430074
摘    要:用电话网构成的分布式实时监控系统,上位机为工控机,下位机为S7—200系列PLC,采用PLC自由口通信.上位机利用VB 6.0MSComm通信控件,在Text中输入电话号码,调用ATD语句,通过Modem拔号,实现音频和脉冲上网,并接受其物理连接和数据持输的通信流程管理.PLC通信遵循MODBUS协议,支持RTU格式,数据交换类型由功能号控制,采用模块化结构.其通信调度模块判定通信出借,初始化模块进行工作区复位,寄存器刷新模块对寄存器实时刷新,控制命令接收模块接收上位机命令。

关 键 词:电话网  PLC  计算机  远程通信  工业自动化  Modem  通信编程  MODBUS协议  分布式实时监控系统
文章编号:1006-1576(2003)03-0031-04
修稿时间:2002年12月27日

Remote Communication for PLC and Computer Based on Telephone Network
LIU Gang,WANG Zhong-dong,CHEN Zhi-hua.Remote Communication for PLC and Computer Based on Telephone Network[J].Ordnance Industry Automation,2003,22(3):31-34.
Authors:LIU Gang  WANG Zhong-dong  CHEN Zhi-hua
Abstract:The real-time distributed supervision and control system based on telephone network is composed of industrial control Computer and PLC in S7-200 series, it adopts PLC free port communication. MSComm in VB6.0 was used in upper PC, as long as telephone number is input in Text, network browsing is realized with calling ATD sentence and modem dialing. The host can connect to PLC and transmit data to it and realize remote communication management. MODBUS protocol and RTU format is adopted in PLC communication, function numbers control the type of data switching. The modularization programming is used in PLC network, scheduler module determines whether communication make a mistake. Work area reposition is made with initialization module, refurbishing module real-time refurbish register, and command module receives command from upper PC.
Keywords:Remote communication  Telephone network  PLC  MODBUS protocol
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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