Extended communication method based on Modbus communication protocol

A communication protocol and communication method technology, applied in the direction of error prevention/detection, digital transmission system, electrical components, etc. using return channels, can solve problems such as reducing data exchange efficiency, and achieve improved data processing efficiency, good scalability and compatibility. performance, improve fault tolerance

Inactive Publication Date: 2014-04-23
NARI TECH CO LTD
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In some field applications, the equipment monitored by the sub-station does not change frequently, but a large amount of the same data is frequently exchanged between the main station and the sub-station, which reduces the efficiency of data exchange

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
  • Extended communication method based on Modbus communication protocol
  • Extended communication method based on Modbus communication protocol
  • Extended communication method based on Modbus communication protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be further described below in conjunction with the accompanying drawings.

[0022] Such as figure 1 As shown, if the master station and slave station devices are configured to send messages through the Modbus RTU format, the message of the master station device is 8 bytes, which are: slave station address 1 byte, function code 1 byte, register address 2 bytes, register quantity 2 bytes and CRC Check 2byte; and the reply message of substation equipment is: substation address 1byte, function code 1byte, follow-up message byte number 2byte, register address and value N byte, CRC check 2byte, register address and value N byte The first 2bytes are the number of change registers.

[0023] Such as figure 2 As shown, if the master station and slave station equipment are configured to send messages through the Modbus TCP format, the message of the master station device is 12 bytes, which are: transmission flag 2byte, protocol flag 2byte, message len...

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 an extended communication method based on the Modbus communication protocol. The method is characterized in that a function code which is not used in the Modbus communication protocol is defined into a changeable data query function code, master station and substation equipment are configured through the Modbus RTU format and the Modbus Tcp format, and the physical layer communication method adopts the serial port RS485 or the Ethernet; and according to the received function code sent by the master station equipment, the register address and the register code value which are changed currently are sent by the substation equipment to the master station in a packaging manner. According to the communication method, the data processing efficiency of the master station can be improved, the repetitive transmission and processing of a lot of same data can be avoided, the method is specially suitable for being used in the condition that the number of the equipment is large and the change data amount of a single piece of equipment is less; after data query is completed by the substation equipment, reply is performed according to the protocol data format, and the register address is added into the replied message to make the master station be easy to judge whether the received data is the required data, so the fault tolerance of the master station and substation communication can be improved.

Description

technical field [0001] The invention relates to an extended communication method based on the Modbus communication protocol. Background technique [0002] Invented by Modicon in 1979, Modbus is the world's first real bus protocol for industrial field. Modbus has been widely used due to its simple protocol, easy implementation, high cost performance and high reliability. After years of development, Modbus has been widely used in various industries and fields. At the same time, Modbus can be used in serial bus It can be implemented on the serial link, and RS485 can be used to form a bus network topology, which has the advantages of easy installation and cable saving. [0003] In the communication protocol between the master station and the slave station defined in the current standard Modbus protocol, the communication mode between the master station and the slave station is a simple communication form of question and answer, and the register address information for query is ...

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/22H04L1/00H04L1/16
Inventor 傅强张巍陈侃王侠唐哲
Owner NARI TECH 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