Method for transmitting Modbus RTU protocol in wide area network

A wide area network and protocol technology, applied in the field of Internet of Things sensing device communication, can solve the problems of reducing monitoring efficiency, increasing processing time, increasing costs, etc.

Active Publication Date: 2021-07-23
CHINA COAL TECH & ENG GRP CHONGQING RES INST CO LTD +1
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The conversion module is mainly to convert the Modbus RTU protocol to the Modbus TCP protocol, so that it can be transmitted in the Ethernet. Because the Modbus TCP protocol requires the master station to actively establish a TCP link to the slave station, and the existing slave station generally does not have a fixed IP, so the Modbus TCP protocol is only suitable for transmission in the LAN. If it is to be transmitted in the WAN, that is, to transmit the ModbusTCP data packet to the IoT management platform through the WAN, you need to add a VPN gateway device to establish a VPN network. The fixed IP address is assigned to the station, so as to realize the transmission of the Modbus TCP protocol in the WAN, but adding VPN gateway equipment not only increases the cost, but also increases the processing time and reduces the efficiency of monitoring

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 transmitting Modbus RTU protocol in wide area network
  • Method for transmitting Modbus RTU protocol in wide area network
  • Method for transmitting Modbus RTU protocol in wide area network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following is further described in detail through specific implementation methods:

[0035] The embodiment is basically as attached figure 1 Shown: a kind of method that transmits Modbus RTU agreement in wide area network, is applied to the network that slave station is connected with master station through communication module, in the present embodiment, network is as figure 2As shown, the master station includes an Internet of Things management platform and a TCP server (TCP Sever). In this embodiment, it is a GPRS network, and the data packet of the command is sent to the communication module. In this embodiment, the communication module adopts a serial communication server (DTU), and the DTU sends the order to the slave station that adopts the Modbus RTU protocol serial port connection. This implementation In the example, the slave station adopts the controller (PLC).

[0036] This method includes the following:

[0037] S1. The communication module generates...

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 the technical field of Internet of Things sensing equipment communication, in particular to a method for transmitting a Modbus RTU protocol in a wide area network, which is applied to a network in which a slave station is connected with a master station through a communication module, and comprises the steps that the communication module generates a self-defined registration message and sends the registration message to the master station, and the registration message comprises setting information of the communication module; the communication module is connected with a managed slave station address; after receiving the registration message, the master station records the setting information of the communication module and the address of the slave station connected and managed by the communication module, and establishes a link; and the master station and the slave station carry out transmission and interaction of the Modbus RTU protocol through the established link. According to the method, the Modbus RTU protocol is transmitted in the wide area network, the whole process is not limited by the fact that the slave station must have a fixed IP address, the protocol conversion process and a conversion module are omitted, the monitoring function cost of the Internet of Things sensing equipment is reduced, and the monitoring efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of Internet of Things sensing device communication, in particular to a method for transmitting the Modbus RTU protocol in a wide area network. Background technique [0002] Modbus is the world's first real bus protocol for industrial field. The Modbus protocol is a common language applied to control devices. Through the Modbus protocol, communication between controllers and between controllers and other devices via a network (such as Ethernet) can be realized. At present, the Modbus protocol has become a general industrial standard, and the control devices produced by different manufacturers are connected into an industrial network through the Modbus protocol for centralized monitoring. The ModBus network has only one host, and all communications are initiated by the host. [0003] The Modbus protocol includes the Modbus TCP protocol and the Modbus RTU protocol. Generally, the asynchronous serial transmiss...

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): H04L29/06H04L29/08H04L1/00H04L12/40
CPCH04L67/025H04L67/12H04L67/14H04L69/163H04L69/22H04L69/08H04L1/0061H04L12/40H04L2012/40228Y02P90/02
Inventor 戴书球孙中光孙维王璇钟宇李勇谭一川梁帅韩麟之张建鑫陶冶张宇
Owner CHINA COAL TECH & ENG GRP CHONGQING RES INST 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