Unlock instant, AI-driven research and patent intelligence for your innovation.

A modbus-rtu bus address conflict detection method

A MODBUS-RTU, bus address technology, applied in the direction of bus network, data exchange through path configuration, electrical components, etc., can solve problems such as inability to judge data abnormality, improve fault diagnosis, increase judgment time, and improve ease of use Effect

Active Publication Date: 2021-04-13
MINGDU ZHIYUN (ZHEJIANG) TECH CO LTD
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the current existing technology, all data abnormalities are analyzed, and it is impossible to judge what causes the data abnormality

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 modbus-rtu bus address conflict detection method
  • A modbus-rtu bus address conflict detection method
  • A modbus-rtu bus address conflict detection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the following will clearly and completely describe the technical solutions of the embodiments of the present invention in conjunction with the drawings of the embodiments of the present invention. Apparently, the described embodiments are some, not all, embodiments of the present invention. Based on the described embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0026] In the present invention, unless otherwise clearly specified and limited, the technical terms or scientific terms used herein shall have the usual meanings understood by those skilled in the field of the present invention. "First", "second" and similar words used in the patent application specification and claims of the present invention ...

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 discloses a MODBUS-RTU bus address conflict detection method, which comprises sending data to a MODBUS slave with a specified address and waiting for a response from the MODBUS slave, and judging whether a response data packet is received within a predetermined time, and if no data packet is received Then enter the timeout processing; otherwise, enter the data packet analysis processing: compare the received actual data length L1 with the known data length L0 that the slave device needs to respond to. When L1 is less than L0, it is determined that the data is abnormal; when L1 is equal to L0 Check whether the address code, function code and check code are correct one by one. If the address code and function code are correct but the check code is wrong, it is judged that the MODBUS slave has an address conflict, otherwise it is judged that the data is abnormal. The simple judgment of discarding abnormal data in the prior art is avoided, and the usability and reliability of the MODBUS-RTU bus are improved.

Description

technical field [0001] The invention relates to the field of MODBUS-RTU bus technology, in particular to a technique for detecting conflicts of MODBUS-RTU bus addresses. Background technique [0002] MODBUS-RTU bus is a RTU (Remote Terminal Unit, remote terminal unit) serial communication protocol. This protocol adopts the master / slave architecture. Each MODBUS-RTU bus has one and only one master node. Other nodes that use the MODBUS protocol to participate in communication are slave nodes. Each slave device (MODBUS slave) needs to have a unique address. A MODBUS command contains the MODBUS address of the device it intends to execute. All devices will receive the command, but only the device at the specified location will execute and respond to the command (except for address 0, the command specified at address 0 is a broadcast command, and all devices that receive the command will run, but will not respond to the command). All MODBUS commands include a checksum to make su...

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/40H04L29/12
CPCH04L12/40H04L61/5046
Inventor 聂浩林宏飞张腾飞占志良徐文卿
Owner MINGDU ZHIYUN (ZHEJIANG) TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More