Method for managing multi-variety Modbus protocol message

A protocol message and management method technology, applied in the field of industrial control automation, to achieve real-time guarantee, increase the speed of sending and receiving, and the effect of simple frame format

Inactive Publication Date: 2012-05-02
JIAOJIA GOLD MINE OF SHANDONG GOLD MINING (LAIZHOU) CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing method will cause stagnation and delay when sending and receiving data, which greatly affects the transmission efficiency

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 managing multi-variety Modbus protocol message
  • Method for managing multi-variety Modbus protocol message
  • Method for managing multi-variety Modbus protocol message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0025] When the main task is initialized, multiple free sending and receiving message buffers are allocated. The allocated buffers are in the form of shared memory, and the length is basically 512 bytes. Every time a Modbus protocol is established, a corresponding copy of the Modbus protocol is created. The data members included in the Modbus protocol structure include initialization function, receiving function, sending function, sending and receiving message length, device ID, function code, register start address, etc.;

[0026] When sending a Modbus protocol message, send the message to the memory buffer. For data messages, use this buffer to cycle from front to back for message encoding, including message ID, function code, register start address, data area, CRC check, passed to the channel guardian task through the shared memory managemen...

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 method for managing a multi-variety Modbus protocol message. For sending of the multi-variety Modbus protocol message, a channel protection task can not be blocked in a Modbus, receives data of one Modbus or sends a request of the next Modbus, thus sending and receiving speeds are increased, data instantaneity is ensured, phenomenon that a Modbus protocol has a sending condition and is actually delayed in sending is eliminated, and message sending instantaneity is increased. For different data types of transmission messages, a sending index callOrder is added dynamically during sending, buffer zone replication during subsection sending is avoided and transmission efficiency is increased.

Description

technical field [0001] The invention relates to a management method of a multivariate Modbus master station protocol, which belongs to the field of industrial control automation. Background technique [0002] The Modbus protocol is a common language used in electronic controllers. Through this protocol, controllers can communicate with each other, and with other devices via a network (such as Ethernet). With the help of the Modbus protocol, control devices produced by different manufacturers can be connected into an industrial network for centralized monitoring. [0003] In my country, Modbus has become a national standard, standard number: GB / T19582-2008. According to incomplete statistics: as of 2010, the number of Modbus nodes installed has exceeded 11 million. [0004] Modbus has the following characteristics: [0005] 1. Standard and open, users can use the Modbus protocol free of charge and with confidence, without paying license fees, and will not infringe intelle...

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): H04L12/56H04L29/06H04L12/861
Inventor 董金奎栾桂勇汪卫东戚克明隋永东张广峰焦学智张凤芝王冠军孟宪禹徐玉峰徐小粝戴春田郑平张忠华李涛
Owner JIAOJIA GOLD MINE OF SHANDONG GOLD MINING (LAIZHOU) 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