Method for adding modbus equipment in customized manner

A self-defined and device technology, applied in the direction of bus network, data exchange through path configuration, etc., can solve problems such as inconvenient data collection

Active Publication Date: 2015-04-22
北海恒久天成技术开发有限公司
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The acquisition system based on CVT (current value table) and CCC compiled by Labview can easily collect the values ​​of NI devices such as CRIO, PXI and other devices, but it cannot conveniently collect other data, and there are a lot of modbus data in practical applications. Equipment and modbus data acquisition equipment, it is very important to use a method that can be set and expanded to collect and control modbus equipment

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 adding modbus equipment in customized manner

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings, so that those skilled in the art can implement it with reference to the description.

[0027] Such as figure 1 As shown, a method for customizing modbus devices, wherein the address of the modbus device has a mapping relationship with a plurality of sensor addresses, and the plurality of sensor addresses have a mapping relationship with the corresponding modbus register address respectively, and the plurality of registers are used to store The different types of data collected by the modbus device will transmit the data stored in the register to the data collection system,

[0028] Include the following steps:

[0029] Step 1, the operation interface module is set in the data acquisition system, the operation interface module returns an input interface to the user, and the user defines the parameters of the input of the modbus device, such as the name of the m...

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 adding modbus equipment in a customized manner. An address of modbus equipment and a plurality of sensor addresses have a mapping relation, the plurality of sensor addresses and corresponding modbus register addresses have a mapping relation, and registers are used for storing different kinds of acquired data of the modbus equipment and transferring data in the registers to a data acquiring system. The method comprises the following steps: inputting a parameter of the modbus equipment into the data acquiring system, establishing a parameter configuration file; establishing a register table; establishing a channel between the data acquiring system and each register; generating a channel table; setting a name of each channel, and loading in the channel table; and initializing a total acquiring table, wherein the total acquiring table uses data stored in the registers as variables and each datum corresponds to a channel address and a channel name of each corresponding channel. According to the method, the modbus equipment is added in the data acquiring system by virtue of a customized manner, and data in the modbus equipment is acquired, so that the purpose that one system is used for simultaneously acquiring data of multiple kinds of equipment is realized.

Description

technical field [0001] The invention relates to a method for adding modbus equipment in a data acquisition system. More specifically, the present invention relates to a method for customizing and adding modbus equipment in a data acquisition system. Background technique [0002] The use of CVT format files is a way to collect data between NI CRIO terminals or PXI terminals and Labview workstations. This method is efficient and fast, and is suitable for large-capacity data communication and large-scale data acquisition systems, but for modbus For the data acquisition of the equipment, it is necessary to program each modbus equipment separately to realize the data acquisition function. [0003] Among many equipment communication protocols, the modbus protocol is the most widely used protocol. It can be used in low-speed 232, 485 communication, and high-speed Ethernet communication. In the acquisition system, the equipment using the modbus protocol is very widely. Therefore,...

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/40
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