摘要
在色谱仪系统开发中,为了解决ARM7与mcgsTpc触摸屏之间的通讯,提高ARM7处理器与触摸屏之间通讯的稳定性和可靠性,采用了基于Modbus RTU通讯协议的串口通讯的设计方法。在S3C44BOX微处理器上,以μC/OS-II实时操作系统为软件平台,详细分析了Modbus从站的设计和实现过程,解决了使用Modbus RTU通讯协议的读或写寄存器功能传输浮点数的问题。完成Modbus从站应用通讯程序的设计。实现了ARM7与触摸屏的通讯。经测试验证通讯稳定可靠。
In development of chromatograph system, to solve communication issue between ARM7 and mcgsTpc touch screen and improve its stability and reliability, the serial communication based on the Modbus RTU protocol is used. To be specific, in S3C44BOX microprocessor, μC/OS-Ⅱ real-time operating system is used as the soft- ware platform to analyze design and implementation course of Modbus slave station in detail, thus solving transmis- sion issue of floating-point numbers by using read or write register function based on the Modbus RTU protocol and realizing design of Modbus slave communication application. Communication between ARM7 and touch screen are tested and verified to be stable and reliable.
出处
《科学技术与工程》
北大核心
2012年第31期8344-8348,8354,共6页
Science Technology and Engineering