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

基于CP341的Modbus RTU通信的设计与实现
引用本文:王海波. 基于CP341的Modbus RTU通信的设计与实现[J]. 工矿自动化, 2009, 35(8)
作者姓名:王海波
作者单位:煤炭科学研究总院常州自动化研究院,江苏,常州,213015
基金项目:煤炭科学研究总院青年创新基金(2007QN18)
摘    要:文章提出了一种基于CP341的Modbus RTU通信的设计方案,给出了硬件及软件的选择与配置,并详细介绍了CP341与智能传感器之间数据通信程序的设计。该方案基于S7-300 PLC CP341串口通信模块的ASCII通信方式,采用Step 7编程实现了S7-300 PLC与智能传感器之间的Modbus RTU通信,解决了智能传感器Modbus RTU通信协议解析、CRC-16循环冗余校验在S7-300 PLC中的实现、查询指令的发送及接收数据包的解析和存放等关键性问题。

关 键 词:工业控制  智能传感器  Modbus RTU通信  S7-300 PLC  CP341  CRC冗余校验

Design of Modbus RTU Communication Based on CP341 and Its Implementation
WANG Hai-bo. Design of Modbus RTU Communication Based on CP341 and Its Implementation[J]. Industry and Automation, 2009, 35(8)
Authors:WANG Hai-bo
Affiliation:Changzhou Automation Research Institute of CCRI.;Changzhou 213015;China
Abstract:The paper proposed a design scheme of Modbus RTU communication based on CP341,gave the selection and configuration of hardware and software,and introduced the design of data communication program between CP341 and intelligent sensor. The scheme uses Step 7 program to realize Modbus RTU communication between S7-300 PLC and intelligent sensor on the basis of ASCII communication mode of serial communication module of S7-300 PLC CP314,and resolves the key technologies such as analysis of Modbus RTU communicatio...
Keywords:industrial control  intelligent sensor  Modbus RTU communication  S7-300 PLC  CP341  CRC redundancy check  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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