A fast communication method based on modbus-rs485 multi-channel integrated system

A MODBUS-RS485, RS485 technology, applied in the field of fast communication, can solve the problems of reducing the running speed and response speed of the main control chip, that is, the system, increasing the program of the main control chip, and slowing the control speed, so as to improve the communication efficiency and improve the execution complexity. The ability to move, the effect of increasing the recovery speed

Active Publication Date: 2021-07-09
GUIZHOU AEROSPACE LINQUAN MOTOR CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Most robots need multiple drive control modules to control the motor to achieve various complex actions, but the existing drive control board usually only has one communication interface to communicate with the main control chip. If MODBUS-RS485 is used for communication, in order to ensure safe and reliable communication , can only control the drive control boards on the bus one by one, and can only collect data one by one, resulting in long communication time for the main control chip to poll multiple drive control boards, low communication efficiency and slow control speed, and greatly increases the number of main control boards. The program of the chip reduces the running speed and response speed of the main control chip, that is, the system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A fast communication method based on modbus-rs485 multi-channel integrated system
  • A fast communication method based on modbus-rs485 multi-channel integrated system
  • A fast communication method based on modbus-rs485 multi-channel integrated system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] Embodiment: a kind of fast communication method based on MODBUS-RS485 multi-channel integrated system, because carry out the initialization work of the whole system this moment, all RS485 turn UART module 1 and RS485 turn UART module 2 all in receiving state, at this moment 485 bus and 485 The communication on bus 1 is carried out at the same time, but they do not interfere with each other, so the communication is divided into two parts, which specifically includes the following steps:

[0035] 485 bus part 1:

[0036] Step 1: Start to initialize the whole system.

[0037] Step 2: The RS485 to UART module 2 of all drive control boards is in the receiving state.

[0038] Step 3: Set the register address in the acquisition command to be sent by the drive control board 1 to 0X2003.

[0039] Step 4: Set the RS485 to UART module 2 of the drive control board 1 to the sending state.

[0040] Step 5: The drive control board 1 sends an instruction to read parameters to the 485 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A fast communication method based on MODBUS-RS485 multi-channel integrated system provided by the present invention; the MCU of the drive control panel of the present invention is connected with two RS485 to UART modules through two different UARTs, and the RS485 to UART modules 1 and 485 The bus is connected, and only one drive control board responds, realizing the group control and fast control of the drive control board by the main control chip, which greatly improves the ability of the robot to perform complex actions; through all RS485 to UART modules 2 and 485 bus 1 connection, which realizes fast acquisition without affecting the communication on the 485 bus where the main control chip is located, greatly reducing the time for the main control chip to complete a cycle of polling, and the main control chip updates the parameters of the motor on the drive control board The interval will also be greatly reduced; the sending and receiving of one frame of data of the main control chip can also reduce the program of the main control chip, and improve the running speed and response speed of the main control chip, that is, the system; the reply speed is greatly improved, which not only greatly reduces the communication time It is long, and improves the communication efficiency, and realizes the fast communication of the system.

Description

technical field [0001] The invention relates to a fast communication method based on MODBUS-RS485 multi-channel integrated system. Background technique [0002] The MODBUS communication protocol is commonly used in distributed industrial control systems (DCS). This protocol is a pure software protocol. RS485 connection is usually used in application. RS485 communication is reliable, low cost, and the speed can reach more than 10M, which fully meets the communication needs of robots. [0003] Most robots need multiple drive control modules to control the motor to achieve various complex actions, but the existing drive control board usually only has one communication interface to communicate with the main control chip. If MODBUS-RS485 is used for communication, in order to ensure safe and reliable communication , can only control the drive control boards on the bus one by one, and can only collect data one by one, resulting in long communication time for the main control chip ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/40H04L12/403
CPCH04L12/40006H04L12/403
Inventor 吴兴校蔡华祥唐德宇唐杨秦青青
Owner GUIZHOU AEROSPACE LINQUAN MOTOR CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products