江汉大学学报(自然科学版) ›› 2021, Vol. 49 ›› Issue (2): 89-96.doi: 10.16389/j.cnki.cn42-1737/n.2021.02.012

• 单片机与嵌入式系统应用 • 上一篇    

STM32 单片机与西门子Smart 700触摸屏通信的实现

李鹏,王莉*   

  1. 江汉大学 智能制造学院,湖北 武汉 430056
  • 发布日期:2021-03-19
  • 作者简介:李鹏(1986— ),男,实验师,硕士,研究方向:过程控制。
  • 基金资助:
    WANG Li

Realization of Communication Between STM32 MCU and Siemens Smart 700 Touch Screen

LI Peng,WANG Li*   

  1. School of Intelligent Manufacturing,Jianghan University,Wuhan 430056,Hubei,China
  • Published:2021-03-19
  • Contact: 王莉
  • Supported by:
    江汉大学2020 年青年教师专项教研项目(JyQ2020071)

摘要: 建立了STM32 单片机与Smart 700 触摸屏的通信,分析了Modbus RTU 通信协议的指令组成和格式、Smart 700 触摸屏的基本通信方式、STM32 单片机的通信特点,提出了STM32 单片机通信程序设计方法。通过设计实验平台测试STM32 单片机与Smart 700 触摸屏间的Modbus RTU 通信可靠性,实验结果达到预期效果。

关键词: STM32 单片机, Smart 700 触摸屏, Modbus RTU

Abstract: The paper establishes the communication between STM32 MCU and Smart 700 touch screen, and analyzes the composition and format of Modbus RTU, the basic communication mode of Smart 700 touch screen and the communication characteristics of STM32 MCU. Then,the communication program of STM32 MCU is proposed. Finally,the experimental platform is designed to test the communication reliability between STM32 MCU and Smart 700 touch screen. The experimental results achieve the expected results.

Key words: STM32 MCU, Smart 700 touch screen, Modbus RTU

中图分类号: