Modbus communication method and system based on MQTT cloud platform

A communication method and cloud platform technology, applied in the field of gateways, can solve the problems of high cost, troublesome process, and many installations of Modbus devices, and achieve the effect of low cost and simple process

Inactive Publication Date: 2021-02-09
广州河东科技有限公司
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present application provides a Modbus communication method and system based on the MQTT cloud platform to solve the problem that the remote control of existing Modbus devices needs to install more components, making the process more troublesome and costly

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
  • Modbus communication method and system based on MQTT cloud platform
  • Modbus communication method and system based on MQTT cloud platform
  • Modbus communication method and system based on MQTT cloud platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055]In order to make the purpose, technical solution and advantages of the present application clearer, specific embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only parts relevant to the present application are shown in the drawings but not all content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe various operations (or steps) as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The proce...

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 embodiment of the invention discloses a Modbus communication method and system based on an MQTT cloud platform. The method comprises the following steps: obtaining an MQTT client; acquiring an MQTT server; establishing an MQTT connection thread between the MQTT client and the MQTT server by the MQTT client; enabling the gateway to establish an MQTT thread, and establish an MQTT connection thread with the MQTT server; enabling the gateway to establish a Modbus thread and establish a Modbus connection thread with a Modbus bus, wherein the Modbus is connected with a Modbus device; wherein theModbus device is used for carrying out data transmission with the MQTT server and the MQTT client by the gateway; according to the embodiment of the invention, data transmission between the Modbus equipment and the MQTT client is realized by setting the gateway, namely remote acquisition control of the Modbus equipment is realized, other components are not needed, remote communication of the Modbus equipment is realized by only adopting the gateway and setting a connection protocol and a thread, the process is simple, the cost is low, and the development of intelligent control is facilitated.

Description

technical field [0001] The embodiment of the present application relates to the technical field of gateways, and in particular to a Modbus communication method and system based on an MQTT cloud platform. Background technique [0002] At present, in the field of intelligent control, most of them use wired control to realize device connection, mainly using traditional industrial control buses, such as PLC, BACNET, Modbus, lonwork, etc. If remote data collection or remote device control is required, other The process is cumbersome, and the host must be installed locally. In addition, a remote plug-in needs to be installed to complete the remote control collection function, which requires the use of a lot of components, making the cost very high, which is not conducive to the development of intelligent control. Contents of the invention [0003] The embodiment of the present application provides a Modbus communication method and system based on the MQTT cloud platform, so as t...

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/40H04L29/08H04L29/06
CPCH04L12/40H04L67/141H04L67/025H04L2012/40228H04L67/51H04L67/01
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