Data acquisition method, system and device based on Modbus protocol and medium

A data acquisition and protocol technology, applied in the direction of digital transmission system, transmission system, data exchange network, etc., can solve the problems of point address discontinuity, address bit discontinuity, address discontinuity, etc., to eliminate performance bottlenecks, increase The number of devices and the effect of improving real-time performance

Pending Publication Date: 2022-05-03
ZHEJIANG WEIXING IND DEV +1
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. Each interaction can only read the data of consecutive address bits;
[0008] 2. Points with discontinuous addresses need to be read through multiple communication interactions to collect point data;
[0009] 3. Points with different data types (Float, String, etc.) must be read separately
The premise of this method is that the addresses of each point are continuous, but in actual engineering applications, the addresses of points in the point table are often discontinuous, and in actual use, the points will continue to increase or deleted, which will further lead to discontinuous point addresses, so in actual use, it is impossible to read data by reading continuous address bits, but it becomes polling and reading point by point The way to obtain point data, so with the increase of point data, the real-time collection of equipment data has become a bottleneck

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
  • Data acquisition method, system and device based on Modbus protocol and medium
  • Data acquisition method, system and device based on Modbus protocol and medium
  • Data acquisition method, system and device based on Modbus protocol and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] see figure 1 , figure 1 Shown is the flow chart of a kind of data acquisition method based on Modbus agreement in the embodiment of the present invention, and its method comprises the following steps:

[0055] S100. Input a point table, wherein a plurality of points are set in the point table, and each point corresponds to a piece of equipment data to be collected;

[0056] For the point table shown in Table 1 in the background technology, each row represents a point, and each point represents equipment data collected from the device, and the point table includes point name, point code, Data type, forwarding address and offset. When the server collects device data according to the point table, it generally specifies which points of the forwarding address to read, and then parses the point according to the forwarding address and offset, and converts it into The actual device data value.

[0057] S110. Preset the polling frequency of the point according to the first ...

Embodiment 2

[0103] see image 3 , image 3It is a structural diagram of a data acquisition system based on the Modbus protocol of the present invention. This embodiment is a system in which the method described in Embodiment 1 realizes its functions through modules or systems. The specific principle can refer to the method of Embodiment 1, and its system includes the following modules :

[0104] The point input module 300 is used for inputting the point table, and the point table is provided with a plurality of points, and each of the points corresponds to a piece of equipment data that needs to be collected;

[0105] The polling frequency module 310 is configured to preset the polling frequency of the point according to the first data type of the device data, and the first data type is preset according to the polling time requirement of the device data ;

[0106] Preferably, the first data type includes device status data, device real-time event and alarm event data, device real-time ...

Embodiment 3

[0118] Another technical solution adopted by the present invention is that a data acquisition device includes a memory and a processor, the memory stores a computer program, and the processor implements the data based on the Modbus protocol when executing the computer program. The steps of the collection method.

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 relates to a data acquisition method, system and device based on a Modbus protocol and a medium, and the method comprises the steps: inputting a point location table, setting a plurality of point locations in the point location table, and enabling each point location to correspond to one piece of equipment data needing to be acquired; presetting the polling frequency of the point location according to a first data type of the equipment data, wherein the first data type is preset according to a polling time demand of the equipment data; according to a second data type of the device data, a specified address interval corresponding to the second data type is determined, and the second data type is preset according to service content represented by the device data; determining the address of the point location corresponding to the equipment data in the determined specified address interval according to the physical space of the equipment to which the equipment data belongs; generating a scheduling point location table corresponding to the point location table according to the polling frequency and the address of the point location; and performing polling collection on the equipment according to the scheduling point location table to obtain the equipment data.

Description

technical field [0001] The present invention relates to the technical field of data acquisition, and more specifically, to a data acquisition method, system, device and medium based on the Modbus protocol. Background technique [0002] At present, in the process of promoting the digital upgrading of industrial manufacturing and implementing intelligent manufacturing, one of the key issues is how to connect a large number of devices distributed on the production line to the The data generated in the process, data mining and analysis of these data on the platform, integration with the production process, and reverse control of the equipment by issuing commands, so as to realize the transparency of the manufacturing process, enhance predictability, and Monitor and maintain it in real time. [0003] In the process of building machine networking, although more protocols for smart devices have been proposed and applied in some fields, for a large number of industrial enterprises,...

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/40H04L67/10H04L67/12H04L67/60
CPCH04L12/40H04L67/10H04L67/12H04L2012/40228
Inventor 祝惠君章仁马刘鹤辉滕华李国志洪跃杰施海峰王德力胡李志
Owner ZHEJIANG WEIXING IND DEV
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