摘要
由于嵌入式系统内部数据显示的需要,基于Modbus通信协议,设计了一种MCGS与嵌入式系统通信的方法,并给出了相应的软件设计流程。最后成功地实现了STM32与上位机MCGS的通信。为Modbus协议的上、下位机通信系统提供了通信依据,也为嵌入式系统在工业上的控制应用提供了更加简单、直观的通信基础。
Due to need of internal data display of embedded system,this paper designs a method suitable for MCGS and embedded communication based on Modbus communication protocol and proposes corresponding software design process.At last,the communication of STM32 and upper computer MCGS has been successful realized.It provides the communication basis for the communication system of lower and upper computers of Modbus protocol,it also provides simpler and more intuitive communication basis for industrial control application of embedded system.
出处
《甘肃科学学报》
2017年第1期34-37,共4页
Journal of Gansu Sciences