摘要
该文介绍了STM32单片机与步科ET070型触摸屏之间采用Modbus协议的通讯方法和实现过程,简要叙述了Modbus通讯协议的基本概念,给出了STM32单片机与触摸屏通讯的硬件连接图和主要的软件实现流程图,并对测试结果进行了分析。经实验证明,该方法能够准确无误地传送数据,可提供良好的人机交互环境。目前已运用于风机轴套自动涂胶机系统,能够经受实际工业生产的考验。
This paper introduced the communication method using Modbus protocol between STM32 signal chip professor(SCP)and Kinco ET070 touch-screen and its implementation. It briefly introduced Modbus protocol,provided hardware connection diagram of communication between STM32 SCP and Kinco touch-screen and presented parts of key program flow chart,and finally analyzed the test results. The experimental results showed that the method mentioned in this paper feature can accurately transmit data,providing good interactive environment. Currently it has been applied to the automatic gluing system for shaft sleeve of fan and it is able to stand the test of actual industrial production.
出处
《自动化与仪表》
2015年第8期45-48,共4页
Automation & Instrumentation
基金
广东省科技计划项目(2014A010104006)