CN107453915A - Internet of Things access system and method based on Modbus external interfaces - Google Patents

Internet of Things access system and method based on Modbus external interfaces Download PDF

Info

Publication number
CN107453915A
CN107453915A CN201710707160.3A CN201710707160A CN107453915A CN 107453915 A CN107453915 A CN 107453915A CN 201710707160 A CN201710707160 A CN 201710707160A CN 107453915 A CN107453915 A CN 107453915A
Authority
CN
China
Prior art keywords
modbus
internet
modules
field apparatus
access system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201710707160.3A
Other languages
Chinese (zh)
Inventor
代勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Million Rongyun Joint Technology Development Co Ltd
Original Assignee
Harbin Million Rongyun Joint Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Million Rongyun Joint Technology Development Co Ltd filed Critical Harbin Million Rongyun Joint Technology Development Co Ltd
Priority to CN201710707160.3A priority Critical patent/CN107453915A/en
Publication of CN107453915A publication Critical patent/CN107453915A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40228Modbus

Abstract

Internet of Things access system of the present invention based on Modbus external interfaces is related to the external communication interface specification and linking Internet technology of a kind of field apparatus with method;The system is by the first universal asynchronous receiving-transmitting transmitter, central processing unit, Modbus and WiFi state indicator modules, the second universal asynchronous receiving-transmitting transmitter, ESP8266WiFi modules and Android mobile phone APP program modules composition;The fault information collection and running log that this method combination field apparatus has had, the log of field apparatus and working condition are set up into standard Modbus protocol registers and stored, and the Modbus response frames for getting field apparatus are built into IP messages using the WiFi network of popularization, it is reliably connected with TCP and sends IP messages to remote server in real time, forms the continuous working condition of field apparatus and daily record of work;The present invention is not only convenient with the interface of field apparatus, and provides a kind of inexpensive and reliable linking Internet solution, while has parameter setting easily technical characterstic.

Description

Internet of Things access system and method based on Modbus external interfaces
Technical field
Internet of Things access system of the present invention based on Modbus external interfaces is related to a kind of outside of field apparatus with method Communication interface specification and linking Internet technology.
Background technology
Technology of Internet of things is progressively applied to the industries such as industrial field device, intelligent home device and medicine equipment, and With internet+go deep into, Internet of Things will provide low cost and easily data acquisition and control device.In current live equipment In running, the running status of equipment generally stores on the spot, and the after-sale service and fault diagnosis for producer need scene to adjust Log or the description of user of service are taken, because process is cumbersome or reports deviation, is unfavorable for quick positioning question and failure is examined It is disconnected, and add equipment after service cost.
The content of the invention
In view of the above-mentioned problems, the invention discloses a kind of based on the Internet of Things access system of Modbus external interfaces and side Method, it is not only convenient with the interface of field apparatus, and a kind of inexpensive and reliable linking Internet solution is provided, together When there is parameter setting easily technical characterstic.
The purpose of the present invention is realized as follows:
Internet of Things access system based on Modbus external interfaces, 5V power supplys are provided by external equipment, it is general different by first Step receiving-transmitting transmitter, central processing unit, Modbus and WiFi state indicator modules, the second universal asynchronous receiving-transmitting transmitter, ESP8266WiFi modules and Android mobile phone APP program modules composition;
The first described universal asynchronous receiving-transmitting transmitter is used to complete the Modbus request of data to field apparatus slave station;
Described central processing unit is used to change communication protocol, completes parsing and restructuring to Modbus data messages, and Build IP messages;
Described Modbus and WiFi state indicator modules be used to exporting Modbus communication states and WiFi module with it is long-range The connection status of server;
The second described universal asynchronous receiving-transmitting transmitter is used to IP messages being sent to ESP8266WiFi modules;
Described ESP8266WiFi modules are used to be connected with remote server progress TCP and realize data penetration transmission;
Described Android mobile phone APP program modules are used to set SSID and Password, ensure ESP8266WiFi module energy Enough access internet.
The above-mentioned Internet of Things access system based on Modbus external interfaces, Modbus is set to post using remote server program Storage address, complete the long distance wireless data transfer of external equipment.
The above-mentioned Internet of Things access system based on Modbus external interfaces, it is TTL's to the data-interface that external equipment provides Serial asynchronous communication, the interface to external equipment are standard Modbus communications protocol.
Realized more than in the Internet of Things access system based on Modbus external interfaces based on Modbus external interfaces Internet of things access method, comprise the following steps:
Step a, SSID and Password is set by Android mobile phone APP program modules, enables ESP8266WiFi modules Access internet;
Step b, remote server will receive heartbeat IP messages transmitted by access system, by the TCP connections of foundation, Starting and termination in the multiple parameters and register list for the field apparatus for needing to gather is set using remote server program Address, any setting range in the address list from 0x0000 to 0xNNNN, the register data 0xNNNN of acquisition is original two Scale coding;
Step c, access system will utilize the first universal asynchronous receiving-transmitting transmitter to complete the Modbus to field apparatus slave station Request of data, and responsive data frame is built into IP message contents and sent in real time to remote server;
Step d, in remote server, the combination of multibyte is carried out to original 0xNNNN binary data and decoding obtains Corresponding physical quantity, while central processing unit is by the state of real-time detection ESP8266WiFi modules access internet and in suspension Auto-reconnect automatic restarts being successfully transmitted for the measure of grade guarantee IP messages.
The present invention combines the fault information collection and running log that field apparatus has had, and the operation of field apparatus is remembered Record and working condition are set up to be stored into standard Modbus protocol registers, and will be got now using the WiFi network of popularization The Modbus response frames of field device are built into IP messages, can be reliably connected with TCP and send IP messages to remote server in real time, Form the continuous working condition of field apparatus and daily record of work.Its advantage is:
Firstth, it is convenient with the interface of field apparatus:Modbus agreements are as puppy parc standard, most field apparatus Support universal asynchronous receiving-transmitting transmitter interface, the convenient service data and working condition for obtaining field apparatus.
Secondth, inexpensive and reliable linking Internet:Data remote transmission is provided using existing WiFi network Channel, communication link are not easy to be disturbed, are reliable and stable.
3rd, parameter setting is convenient:Only need that using cell phone application the access of internet can be completed, while pass through service Device end program can remotely to acquisition parameter setting and control.
Brief description of the drawings
Fig. 1 is the Internet of Things access system module diagram of the invention based on Modbus external interfaces.
Fig. 2 is the Internet of things access method flow chart of the invention based on Modbus external interfaces.
In figure:1 first universal asynchronous receiving-transmitting transmitter, 2 central processing units, 3Modbus and Wi-Fi state indicator modules, 4 Second universal asynchronous receiving-transmitting transmitter, 5ESP8266WiFi modules, 6 Android mobile phone APP program modules.
Specific embodiment
The specific embodiment of the invention is described in further detail below in conjunction with the accompanying drawings.
Specific embodiment one
The present embodiment is the Internet of Things access system embodiment based on Modbus external interfaces.
The Internet of Things access system based on Modbus external interfaces of the present embodiment, module diagram are as shown in Figure 1.This is System provides 5V power supplys by external equipment, by the first universal asynchronous receiving-transmitting transmitter 1, central processing unit 2, Modbus and WiFi states 6 groups of indicating module 3, the second universal asynchronous receiving-transmitting transmitter 4, ESP8266WiFi modules 5 and Android mobile phone APP program modules Into;
The first described universal asynchronous receiving-transmitting transmitter 1 is used to complete the Modbus request of data to field apparatus slave station;
Described central processing unit 2 is used to change communication protocol, completes parsing and restructuring to Modbus data messages, and Build IP messages;
Described Modbus and Wi-Fi state indicator modules 3 be used to exporting Modbus communication states and WiFi module with it is remote The connection status of journey server;
The second described universal asynchronous receiving-transmitting transmitter 4 is used to IP messages being sent to ESP8266WiFi modules 5;
Described ESP8266WiFi modules 5 are used to be connected with remote server progress TCP and realize data penetration transmission;
Described Android mobile phone APP program modules 6 are used to set SSID and Password, ensure ESP8266WiFi modules 5 Have access to internet.
Specific embodiment two
The present embodiment is the Internet of Things access system embodiment based on Modbus external interfaces.
The Internet of Things access system based on Modbus external interfaces of the present embodiment, on the basis of specific embodiment one, Further limit and Modbus register address is set using remote server program, the long distance wireless data for completing external equipment pass It is defeated.Specific embodiment three
The present embodiment is the Internet of Things access system embodiment based on Modbus external interfaces.
The Internet of Things access system based on Modbus external interfaces of the present embodiment, on the basis of specific embodiment one, The data-interface provided external equipment is further limited as TTL serial asynchronous communication, the interface to external equipment is standard Modbus communications protocol.
Specific embodiment four
The present embodiment is the Internet of things access method embodiment based on Modbus external interfaces.
The present embodiment is the Internet of things access method based on Modbus external interfaces, in specific embodiment one, specific implementation Realized on the basis of example two or specific embodiment three.The flow chart of this method is as shown in Fig. 2 comprise the following steps:
Step a, SSID and Password is set by Android mobile phone APP program modules 6, makes ESP8266WiFi modules 5 Have access to internet;
Step b, remote server will receive heartbeat IP messages transmitted by access system, by the TCP connections of foundation, Starting and termination in the multiple parameters and register list for the field apparatus for needing to gather is set using remote server program Address, any setting range in the address list from 0x0000 to 0xNNNN, the register data 0xNNNN of acquisition is original two Scale coding;The register list of field apparatus is as follows:
The register list of field device
Field apparatus register address Content of registers
0x0000 0xNNNN
0x0001 0xNNNN
0x0002 0xNNNN
0xNNNN 0xNNNN
Step c, access system will complete Modbus to field apparatus slave station using the first universal asynchronous receiving-transmitting transmitter 1 Request of data, and responsive data frame is built into IP message contents and sent in real time to remote server;
Step d, in remote server, the combination of multibyte is carried out to original 0xNNNN binary data and decoding obtains Corresponding physical quantity, while real-time detection ESP8266WiFi modules 5 are accessed the state of internet and in suspension by central processing unit 2 When Auto-reconnect or automatic restart being successfully transmitted for the measure of grade guarantee IP messages.

Claims (4)

1. the Internet of Things access system based on Modbus external interfaces, 5V power supplys are provided by external equipment, it is characterised in that by the One universal asynchronous receiving-transmitting transmitter (1), central processing unit (2), Modbus and WiFi state indicator modules (3), second is general different Walk receiving-transmitting transmitter (4), ESP8266WiFi modules (5) and Android mobile phone APP program modules (6) composition;
Described the first universal asynchronous receiving-transmitting transmitter (1) is used to complete the Modbus request of data to field apparatus slave station;
Described central processing unit (2) is used to change communication protocol, completes parsing and restructuring to Modbus data messages, and structure Build IP messages;
Described Modbus and WiFi state indicator modules (3) are used to export Modbus communication states and WiFi module and long-range clothes The connection status of business device;
Described the second universal asynchronous receiving-transmitting transmitter (4) is used to IP messages being sent to ESP8266WiFi modules (5);
Described ESP8266WiFi modules (5) are used to be connected with remote server progress TCP and realize data penetration transmission;
Described Android mobile phone APP program modules (6) are used to set SSID and Password, ensure ESP8266WiFi modules (5) Have access to internet.
2. the Internet of Things access system according to claim 1 based on Modbus external interfaces, it is characterised in that using far Journey server program sets Modbus register address, completes the long distance wireless data transfer of external equipment.
3. the Internet of Things access system according to claim 1 based on Modbus external interfaces, it is characterised in that to peripheral hardware The serial asynchronous communication that the standby data-interface provided is TTL, the interface to external equipment is standard Modbus communications protocol.
4. realized described in claim 1 in the Internet of Things access system based on Modbus external interfaces outside based on Modbus The Internet of things access method of interface, it is characterised in that comprise the following steps:
Step a, SSID and Password is set by Android mobile phone APP program modules (6), makes ESP8266WiFi modules (5) energy Enough access internet;
Step b, remote server will receive heartbeat IP messages transmitted by access system, pass through the TCP connections of foundation, utilize Remote server program sets starting and termination address in the multiple parameters and register list of the field apparatus for needing to gather, Any setting range in address list from 0x0000 to 0xNNNN, the register data 0xNNNN of acquisition compile for original binary Code;
Step c, access system will utilize the first universal asynchronous receiving-transmitting transmitter (1) to complete the Modbus numbers to field apparatus slave station According to request, and responsive data frame is built into IP message contents and sent in real time to remote server;
Step d, in remote server, the combination of multibyte is carried out to original 0xNNNN binary data and decoding obtains correspondingly Physical quantity, while central processing unit (2) will detect the state of ESP8266WiFi modules (5) access internet in real time and in suspension When Auto-reconnect or automatic restart being successfully transmitted for the measure of grade guarantee IP messages.
CN201710707160.3A 2017-08-17 2017-08-17 Internet of Things access system and method based on Modbus external interfaces Withdrawn CN107453915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710707160.3A CN107453915A (en) 2017-08-17 2017-08-17 Internet of Things access system and method based on Modbus external interfaces

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710707160.3A CN107453915A (en) 2017-08-17 2017-08-17 Internet of Things access system and method based on Modbus external interfaces

Publications (1)

Publication Number Publication Date
CN107453915A true CN107453915A (en) 2017-12-08

Family

ID=60491457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710707160.3A Withdrawn CN107453915A (en) 2017-08-17 2017-08-17 Internet of Things access system and method based on Modbus external interfaces

Country Status (1)

Country Link
CN (1) CN107453915A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104362A (en) * 2018-10-13 2018-12-28 南京吉目希自动化科技有限公司 A kind of industrial data collection gateway

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946447A (en) * 2012-12-11 2013-02-27 西南大学 Long-distance data transmission system and long-distance data transmission method of commercial plant
US20150381642A1 (en) * 2014-06-30 2015-12-31 Electronics And Telecommunications Research Institute Abnormal traffic detection apparatus and method based on modbus communication pattern learning
CN106131056A (en) * 2016-08-17 2016-11-16 广州中国科学院沈阳自动化研究所分所 A kind of wireless industrial adapter and method of work thereof
CN106530656A (en) * 2016-11-10 2017-03-22 常州大学怀德学院 Portable acquisition system on basis of MODBUS protocols
CN106713480A (en) * 2017-01-06 2017-05-24 常熟开关制造有限公司(原常熟开关厂) Communication device for circuit breaker monitoring
CN106790222A (en) * 2017-01-12 2017-05-31 重庆邮电大学 A kind of MODBUS/ interconnects manufacture network information service adapter and its implementation entirely

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946447A (en) * 2012-12-11 2013-02-27 西南大学 Long-distance data transmission system and long-distance data transmission method of commercial plant
US20150381642A1 (en) * 2014-06-30 2015-12-31 Electronics And Telecommunications Research Institute Abnormal traffic detection apparatus and method based on modbus communication pattern learning
CN106131056A (en) * 2016-08-17 2016-11-16 广州中国科学院沈阳自动化研究所分所 A kind of wireless industrial adapter and method of work thereof
CN106530656A (en) * 2016-11-10 2017-03-22 常州大学怀德学院 Portable acquisition system on basis of MODBUS protocols
CN106713480A (en) * 2017-01-06 2017-05-24 常熟开关制造有限公司(原常熟开关厂) Communication device for circuit breaker monitoring
CN106790222A (en) * 2017-01-12 2017-05-31 重庆邮电大学 A kind of MODBUS/ interconnects manufacture network information service adapter and its implementation entirely

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104362A (en) * 2018-10-13 2018-12-28 南京吉目希自动化科技有限公司 A kind of industrial data collection gateway

Similar Documents

Publication Publication Date Title
CN104660682B (en) A kind of OPC data collection and monitoring intelligent terminal based on TD-LTE
CN103236960B (en) Method and system for data interaction between home server and plurality of terminals
CN109548019B (en) Network distribution method and system
CN106793007B (en) Interactive communication method and system of cloud and Bluetooth device and wireless router
CN102857381A (en) Medical device intelligent cloud management and maintenance system and method
CN107018203A (en) A kind of frequency converter remote monitoring control method
CN204961272U (en) Centralized control system that pump station is wireless
CN109981360B (en) Internet of things equipment site opening method, device and system and storage medium
CN105180367A (en) Data transmitting method and system for air conditioner unit
CN103701630A (en) Data processing method and device for data monitoring
CN103996276A (en) Remote transmission system and method for data of power plant
CN105727397A (en) Infusion alarm monitoring system based on wireless local area network and smartphone terminals
CN104936201A (en) Wireless terminal monitoring method, device thereof and system thereof
CN202918312U (en) Medical equipment intelligent cloud management and maintenance system
CN110362055A (en) A kind of industrial data acquisition system that terminal is expansible and method
CN107453915A (en) Internet of Things access system and method based on Modbus external interfaces
CN208158631U (en) A kind of Modbus protocol data transparent transmission device based on WiFi and TCP
CN102497306B (en) A kind of distribution substation realizes the method and system of transfer of data
CN105955902A (en) Serial-to-wireless communicator
CN202841300U (en) Apparatus for monitoring controlled object through using mobile phone message to transmit dynamic IP address
CN107302448B (en) Port snoop method and device
CN113965447B (en) Online cloud diagnosis method, device, system, equipment and storage medium
CN204836240U (en) Intelligent monitoring system
US9173199B2 (en) Radio module as web-controllable remote sensor
CN107171440B (en) System for collecting electrical data of switch cabinet by intelligent transformer terminal and collecting method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171208