Modbus协议在破管检测系统中的应用
DOI:
作者:
作者单位:

作者简介:

通讯作者:

基金项目:

伦理声明:



Application of Modbus protocol in the detection system of broken pipes
Author:
Ethical statement:

Affiliation:

Funding:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
    摘要:

    本破管检测系统采用美国微芯科技公司的PIC24F单片机(PIC24FJ64GA006)为主控制器芯片。为了实现PIC24F和上位机的通信,在RS485串行通信总线接口基础上,应用了Modbus通信协议。文中分析了Modbus协议在破管检测系统中的实现和设计过程,给出了软件的主要功能流程图,阐述了Modbus RTU(远程终端单元)通信协议读写寄存器过程,并结合实际对Modbus RTU协议进行相应的裁剪,以有效实现有效数据传输,提高代码运行的效率。实验验证:本协议的实现方案能提高数据传输的稳定性和安全性,已成功运用到破管检测系统中。

    Abstract:

    The broken pipe detection system adopts a PIC24F microcontroller(PIC24FJ64GA006) of the Microchip Technology Inc. as the main controller chip. In order to realize communication between the system and the Personal Computer, Modbus communication protocol is used on the basis of RS485 serial port. The implementation and design process of the Modbus communication protocol in the broken pipe detection system are analyzed, and the main flow chart of the software is given. The reading and writing register procedure of Modbus RTU(Remote Terminal Unit) communication protocol is explained, and the Modbus RTU protocol is simplified according to the actual situation so as to effectively improve data transmission and the efficiency of the code. The experimental result shows that the scheme can improve the stability and safety in the process of data transfer.

    参考文献
    相似文献
    引证文献
引用本文

陈 俊,王 勇. Modbus协议在破管检测系统中的应用[J].太赫兹科学与电子信息学报,2014,12(2):190~194

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
历史
  • 收稿日期:2013-11-07
  • 最后修改日期:2013-12-27
  • 录用日期:
  • 在线发布日期: 2014-05-06
  • 出版日期:
关闭