Method for achieving communication gateway

An implementation method and gateway technology, which is applied in the field of communication gateways, to reduce the burden, increase the data refresh speed, and solve the effect of long polling cycle

Active Publication Date: 2014-02-19
SHANGHAI ELECTRICAL APP RES INST +1
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved in the present invention is to make the Modbus / TCP master station realize the point-to-point single access control to the Modbus RTU slave station, and the Modbus / TCP master station can also carry out concurrent control to the connected arbitrary several ModbusRTU slave stations

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 achieving communication gateway
  • Method for achieving communication gateway
  • Method for achieving communication gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the present invention more comprehensible, preferred embodiments are described in detail below with accompanying drawings.

[0025] combine figure 1 and figure 2 , the invention provides a method for implementing a communication gateway, the steps of which are:

[0026] The first step is to configure the concurrent function of the gateway: add a Modbus read command and / or a Modbus write command for any Modbus RTU device connected to the gateway, and repeat the above steps until multiple Modbus RTU devices connected to the gateway Add Modbus read commands and / or Modbus write commands or add multiple sets of Modbus read commands and / or Modbus write commands for a Modbus RTU device.

[0027] In the second step, the gateway forms two data mapping tables, which are the read command data address mapping tables of all concurrent Modbus RTU devices, such as image 3 As shown, the write command data address mapping table of all concurrent Modbus RTU devices,...

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 provides a method for achieving a communication gateway. The method for achieving the communication gateway is characterized by comprising the steps that firstly, concurrence function configuration is conducted on the gateway; secondly, two data mapping tables are formed by the gateway; thirdly, according to control types, different values are set to unit identifier fields in a Modbus / TCP message by a Modbus / TCP master station needing concurrence control; fourthly, after the Modbus / TCP message from the Modbus / TCP master station is received by the gateway, the values of the unit identifier fields are judged, if the values of the unit identifier fields are specific values, concurrence control is conducted, and if the values of the unit identifier fields show the address of a sub station, unique control is conducted. The method for achieving the communication gateway has the following advantages that the problems that the polling cycle of a multi-device network is long and data are slow in refreshing are solved. It is guaranteed that real-time data and non-real-time data of a device can be collected at the same time according to different requirements. The burden of data processing of an upper-layer Ethernet system is relieved.

Description

technical field [0001] The invention relates to a communication gateway, which belongs to the field of industrial automation and industrial communication. Background technique [0002] Modbus / TCP industrial Ethernet is the industrial Ethernet with the largest market share and has a good application prospect. The Modbus protocol is widely used in industrial automation and power automation systems because of its simple principle and easy implementation. Therefore, how to seamlessly connect fieldbus devices supporting Modbus protocol to Modbus / TCP industrial Ethernet, and realize concurrent control and single control of fieldbus devices through networking has become a realistic demand. [0003] With the increase of the complexity of the control system, there are more and more demands for concurrent control and single control. Concurrency control can effectively reduce the polling time of underlying devices and improve system response speed. Single control is the guarantee of...

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
IPC IPC(8): H04L12/66
Inventor 吴小东薛吉李乙琚长江奚培锋
Owner SHANGHAI ELECTRICAL APP RES INST
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