Method for performing large data volume communication between Modbus master station and Modbus slave station

A large data volume, master station technology, applied in the field of communication, can solve the problems of low communication efficiency, and achieve the effect of high communication efficiency, large data capacity, and strong reliability

Active Publication Date: 2012-12-12
哈尔滨工大正元信息技术有限公司
View PDF4 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When communicating with a large amount of data, the master station needs to request multiple times, and the slave station responds multiple times, so the communication efficiency is low

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 for performing large data volume communication between Modbus master station and Modbus slave station
  • Method for performing large data volume communication between Modbus master station and Modbus slave station
  • Method for performing large data volume communication between Modbus master station and Modbus slave station

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0037] like figure 1 As shown, a Modbus master device and one or more Modbus slave devices are jointly connected on the Modbus bus to form a Modbus communication network.

[0038] like figure 2 As shown, four types of data storage areas are defined in the memory of the Modbus slave device, as follows:

[0039] (1) DWORD type, the data is DWORD_DATA0, DWORD_DATA1, ..., DWORD_DATAm, the range of m is 0~0xFFFFFFFF.

[0040] (2) WORD type, the data is WORD_DATA0, WORD_DATA1, ..., WORD_DATAn, and the range of n is 0~0xFFFFFFFF.

[0041] (3) BYTE type, the data is BYTE_DATA0, BYTE_DATA1, ..., BYTE_DATAp, and the range of p is 0~0xFFFFFFFF.

[0042] (4) BIT type, the data is BIT_DATA0, BIT_DATA1, ..., BIT_DATAq, the range of q is 0~0xFFFFFFFF.

[0043] A Modbus data transmission includes a Modbus request (sent from the client to the server) and a Modbus response (sent from the server to the client). After the Modbus server device (slave station) receives the Modbus request, it ac...

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

Disclosed is a method for performing large data volume communication between a Modbus master station and a Modbus slave station. The method includes steps that, step one, the Modbus master station sends a Modbus request message; step two, the Modbus slave station receives the Modbus request message and extracts data from an internal storage; step three, the Modbus slave station segments the data and packages the data into a Modbus response message to form segmentation response messages, and the Modbus slave station sequentially and continuously sends the segmentation response messages; step four, the Modbus master station receives the segmentation response messages and judges whether a segmentation frame is wrong or lost, a step five is executed if the segmentation frame is wrong or lost, and otherwise, a step seven is executed; step five, the Modbus master station calculates addresses and length of effective data in the wrong or lost segmentation frame according to a segmentation protocol and resends request messages for the effective data; step six, the Modbus slave station returns a response message; and step seven, the data communication is finished. The method for performing large data volume communication between the Modbus master station and the Modbus slave station supports larger data volumes and is high in communication efficiency and reliability and small in error overhead.

Description

technical field [0001] The present invention relates to a communication method, in particular to a method for large data communication between a Modbus master station and a slave station. Background technique [0002] Because of its open protocol, easy implementation and high reliability, Modbus has become a de facto industrial standard and has been supported by many manufacturers. There are currently more than 10 million Modbus nodes installed. With the continuous development of information technology, many applications require the use of existing Modbus devices for communication of large amounts of data. For example, in the field of power communication, the fault waveform record transmitted at one time may reach tens of MB, and the image data transmitted at one time in the field of video surveillance may reach hundreds of MB. The data model defined in the Modbus protocol only supports up to 65536 data addressing, and for "input register" type data, the maximum data capac...

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): H04L1/18H04L1/00
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
Try Eureka
PatSnap group products