摘要
针对在自动检测设备中上下位机通讯可靠性的问题,研究了Modbus协议的基本原理及其主要功能码组成,完成了支持Modbus通讯的硬件电路和软件流程图设计。采用了基于时基的判断方法,有效地处理了数据传输串是否结束判断的问题。由于下位机检测设备采用了符合工业标准Modbus协议,因此对市场上现有的组态软件、触摸屏、智能仪表等产品的兼容性非常好,同时保证了数据传输的可靠性。
Communication reliability problems exist between micro-controller and personal computer. This paper analysisd the basic principle and function codes of Modbus protocol and designed the hardware circuit and software flow chart. Based on the time base judgment method, solved the problem of how to judge whether or not the end of a communication series, Due to the use of industry standard Modbus protocol, it can support most of intelligent instruments on market, such as kingview,touch scerrn, module. And ensure the reliability of data transmission.
出处
《煤矿机械》
北大核心
2013年第5期273-275,共3页
Coal Mine Machinery