Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and system for realizing Modbus communication on serial link

A serial link, host technology, applied in the application field of Modbus communication technology, can solve problems such as confusion, and achieve the effect of avoiding data loss

Inactive Publication Date: 2020-04-03
山东有人物联网股份有限公司
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a method and system for realizing Modbus communication on a serial link, aiming at solving the difficult problem of simultaneously controlling multiple slaves under the serial link in the prior art, and avoiding multiple slaves at the same time. The problem of data loss and data confusion caused by computer requests can be solved, and work efficiency can be improved

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
  • Method and system for realizing Modbus communication on serial link
  • Method and system for realizing Modbus communication on serial link

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to clearly illustrate the technical features of the present solution, the present invention will be described in detail below through specific implementations and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, the components and settings of specific examples are described below. In addition, the present invention may repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not indicate the relationship between the various embodiments and / or settings discussed. It should be noted that the components illustrated in the drawings are not necessarily drawn to scale. The present invention omits descriptions of well-known components and processing techniques and processes to avoid unnecessarily limiti...

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

The invention provides a method and a system for realizing Modbus communication on a serial link. According to the invention, control requests of the host to slaves are issued to the slaves in sequence by establishing a message queue, and a second request instruction is issued only after the slaves send back response data, so that only one request transaction is ensured at the same moment under aserial link, and the data is not collided; the states of the host and the slaves are defined, a retry mechanism is matched, a solution is provided when the slaves do not reply, and the problem that the host is always in a response waiting state due to the fact that the slaves do not reply messages in time is solved. The problem of simultaneous control request for the multiple slaves under the serial link is solved; the problems of data loss and data disorder caused by requests for the multiple slaves at the same time are avoided, and the method is suitable for all scenes that the cloud platform controls the multiple slaves on the serial link, such as data acquisition and control based on serial bus Modbus equipment and data acquisition and control based on serial bus ammeter protocol equipment.

Description

Technical field [0001] The invention relates to the application field of Modbus communication technology, in particular to a method and system for realizing Modbus communication on a serial link. Background technique [0002] Modbus protocol is a universal language used in electronic controllers. It was originally developed by Modicon. Now Modbus is the world's most popular protocol in the industrial field. This protocol supports traditional RS232, RS422, RS485 and Ethernet devices. Many industrial equipment, including PLCs, smart meters, etc., are using Modbus as the communication standard between them. Through the Modbus protocol, control equipment produced by different manufacturers can be connected to an industrial network for centralized monitoring. [0003] Modbus serial link protocol is a master-slave protocol. At the same time, only one master is connected to the bus, and one or more slaves are connected to the same serial bus. Modbus communication is always initiated by t...

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 Applications(China)
IPC IPC(8): G06F13/42
CPCG06F13/4282
Inventor 古欣马雅东王伟陈淑伟许通
Owner 山东有人物联网股份有限公司
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
Eureka Blog
Learn More
PatSnap group products