摘要
Modbus通信协议以其透明、开放和易于理解的特性,在现场工业控制等领域得到了广泛的应用。详细介绍了基于MCS51系统的Modbus通信协议实现方法和uVision集成开发环境的优越性。基于uVision集成开发环境,系统实现了Modbus协议的RTU模式通信,解决了通信过程中较为复杂的同步问题,并通过格式化打印的方法,高效地实现了浮点数的运算和显示。实验结果表明,Modbus通信响应率为100%。将uVision集成开发环境和MCS51的优势相结合,为系统的通信接口提供了很好的低成本解决方案。
As its widely opening and easy performance,Modbus communication protocol has a great advantage in field bus using.Details are given on a method to implement Modbus communication protocol based on MCS51 system,and the advantage of uVision integrated environment.The design realizes Modbus RTU mode communication,meanwhile the problem of synchronization in communication is solved.And float-point operation and display are achieved by format print.All of this are carried out under uVision integrated environment.The result approves that the response ratio of Modbus communication is 100%.The design shows the advantage of uVision integrated environment and MCS51 system.And also gives solution to the occasion where communication interface and low cost are required.
出处
《核电子学与探测技术》
CAS
CSCD
北大核心
2010年第12期1560-1564,共5页
Nuclear Electronics & Detection Technology