Journal of Jilin University (Information Science Edition) ›› 2020, Vol. 38 ›› Issue (2): 148-153.

Previous Articles     Next Articles

Implementation of MODBUS Protocol in 32-Bit MCU-Based Cross-Linked Cable Production Line#br#

HU Kehuan 1 ,SHI Jinglong 1 ,MIAO Zheng 1 ,XU Xin 2 ,WANG Xiangchao 2 ,QI Wenbin 2 ,ZHANG Jun 3   

  1. 1. College of Electronic Science and Engineering,Jilin University,Changchun 130012,China;
    2. Department of Engineering,Baicheng Fujia Technology Company Limited,Baicheng 137000,China;
    3. Information Center,Jilin Technical College of Electronic Information,Jilin 132001,China
  • Received:2019-11-29 Online:2020-03-24 Published:2020-05-20

Abstract: In order to solve the communication problem between the 32-bit MCU(Microcontroller Unit) and the DC
(Direct Current) governor,a communication method and implementation process based on the Modbus bus protocol
is proposed. The 32-bit MCU selects the STM32F103 chip as the communication host,and the DC governor uses
the ETD DC790P as the communication slave. The method can realize the communication structure of a host multi-
slave,and realizes communication between a 32-bit MCU host and a plurality of DC governor slaves. The host
sends a command to the slave through the protocol,and the slave receives the command to make an action and
responds to the host through the protocol. Repeated experiments have proved that the communication method based on Modbus protocol can accurately realize the communication between the host and multiple slaves,and can
accurately realize the control of the motor speed and torque of the 32-bit MCU. And the Modbus implementation
method has the advantages of high stability,strong anti-interference ability and high portability.

Key words: Modbus bus protocol, direct current (DC) governor, STM32 chip, master-slave communication

CLC Number: 

  •