Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Communication method, communication device, communication system and storage medium based on modbustcp protocol

A communication method and protocol technology, applied in the field of network communication, can solve problems such as inability to correspond to requests and responses, inability to distinguish and parse, and affect the data communication rate of devices, so as to avoid data parsing errors, improve communication efficiency, and improve reliability.

Active Publication Date: 2022-02-25
珠海科创储能科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the host requests multiple times and the slave device responds multiple times, but because there is no transaction identifier in the returned data packet, or the transaction identifier is a default fixed value, it will appear that after the host receives multiple response packets, it cannot Corresponding to the relationship between request and response, which leads to the problem of indistinguishable parsing, which seriously affects the data communication rate between devices

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
  • Communication method, communication device, communication system and storage medium based on modbustcp protocol
  • Communication method, communication device, communication system and storage medium based on modbustcp protocol
  • Communication method, communication device, communication system and storage medium based on modbustcp protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0030] In the description of the present invention, the meaning of several means one or more, and the meaning of multiple means two or more than two. Greater than, less than, exceeding, etc. are understood as not including the original number, and above, below, within, etc. are understood as including the original number . If the description of the first, second, and third is only for the purpose of distinguishing the technical features, it cannot be understood as indicating or implying relative importance or implicitly indicating the nu...

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 communication method, a communication device, a communication system and a storage medium based on the ModbusTCP protocol. The communication method based on the ModbusTCP protocol comprises the steps of: obtaining the register read number of the request data packet and the data domain length of the returned data packet; according to the register read number and the data domain length, setting up the request data packet Correspondence with the returned data packet. The communication equipment includes a data transceiver and a processor, the data transceiver is used to send a request packet and receive a return packet, and the processor is used to obtain the number of register reads of the request packet and the length of the data field of the return packet, and is used to The number of registers read and the length of the data field are used to establish the corresponding relationship between the request data packet and the return data packet. The communication method, communication device, communication system and storage medium based on the ModbusTCP protocol of the present invention can improve communication efficiency and communication reliability.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a communication method based on the ModbusTCP protocol, a communication device, a communication system and a storage medium. Background technique [0002] The Modbus protocol is an industrial fieldbus protocol standard, and the ModbusTCP protocol is a Modbus protocol based on Ethernet TCP / IP. The ModbusTCP protocol request packet format includes: transaction identifier, protocol identifier, length, unit identifier, function code, starting register address, and the number of registers read. The returned data packet format of the normal response of the ModbusTCP protocol includes: transaction identifier, protocol identifier, length, unit identifier, function code, data field length, and data field. [0003] In actual use, some equipment manufacturers do not fully comply with the ModbusTCP protocol format when using this protocol, and the transaction identifier is oft...

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): H04L67/14H04L12/40H04L69/22H04L69/16
CPCH04L67/14H04L12/40H04L69/22H04L69/16H04L2012/40228
Inventor 李永通周凌朱伟
Owner 珠海科创储能科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products