CN104796415B - A kind of conversion method between multi-protocols and TCP procotols in RS485 buses - Google Patents

A kind of conversion method between multi-protocols and TCP procotols in RS485 buses Download PDF

Info

Publication number
CN104796415B
CN104796415B CN201510159994.6A CN201510159994A CN104796415B CN 104796415 B CN104796415 B CN 104796415B CN 201510159994 A CN201510159994 A CN 201510159994A CN 104796415 B CN104796415 B CN 104796415B
Authority
CN
China
Prior art keywords
station equipment
slave station
communication
buses
tcp
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.)
Active
Application number
CN201510159994.6A
Other languages
Chinese (zh)
Other versions
CN104796415A (en
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.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN201510159994.6A priority Critical patent/CN104796415B/en
Publication of CN104796415A publication Critical patent/CN104796415A/en
Application granted granted Critical
Publication of CN104796415B publication Critical patent/CN104796415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/08Protocols for interworking; Protocol conversion

Abstract

The present invention relates to the multi-protocols in a kind of RS485 buses and the conversion method between TCP procotols.This method downlink communication is connect by RS485 interfaces with microprocessor using RS485 buses, uplink communication accesses internet using microprocessor by Ethernet interface, microprocessor is also associated with NandFlash, SDRAM and SD card, the hardware platform of protocol conversion is built, and system configuration file is generated by Ethernet interface in systems, then a communication slave station equipment information table is built according to the configuration file, finally use each slave station equipment in the communication slave station equipment information table automatic regular polling RS485 buses, and the protocol data packet of reception is parsed, the data that parsing is obtained are with certain XML format(In the form of text)It is packaged into TCP/IP data packets and carries out teletransmission, to realize the conversion between DL/T645-1997, CJ/T188-2004 and GB/T19582-2008 communication protocol and TCP procotols.Present invention is mainly applied in building energy consumption data collector.

Description

A kind of conversion method between multi-protocols and TCP procotols in RS485 buses
Technical field
Present document relates to the multi-protocols in a kind of RS485 buses and the conversion method between TCP procotols, belong to scene
Bus control technology field.
Background technology
Fieldbus is the underlying communication network for the scene of manufacturing, it realizes the in-site measurement control of Microcomputer Bidirectional linked list node digital communication between instrument or equipment, has the characteristics that real-time, stability are high.Since the world in 2000 The electrician committee(IEC)Announcement has passed through IEC61158 standard for Fieldbus, now existing ten multiple fieldbus standards.
Ethernet is the local area network generally used in commercial field, constitutes Internet's in conjunction with ICP/IP protocol
Basis becomes de facto standards in network application, this but also field bus control system by Ethernet with National information net
The monitoring integration of the integration realization whole nation becomes trend of the times.
DL/T 645-1997《Multifunction electric meter communication protocol》It is the rate that China is unification and specification multifunctional electric energy meter
Physical connection and agreement when device and data terminal equipment carry out data exchange and the power industry formulated Standard.
CJ/T 188-2004《Family metering instrumented data transmission technology condition》It is that China is formulated for family with measuring instrument
The instrumented datas transmission such as a professional standard, including water meter, gas meter, flow meter, calorimeter basic principle, interface shape Formula and physics
The requirement of performance, data link, Data Identification and data safety and data expression format.
Modbus agreements initially developed by Modicon companies, and it is most popular general to have become the industrial circle whole world
One of industry-standard protocol.China promulgates national standard GB/T 19582-2008 within 2008《Work based on Modbus agreements Industry automated network specification》, and implement in 2008-09-01.
DL/T 645-1997, CJ/T 188-2004 and GB/T 19582-2008 communication protocols generally use standard at present
RS485 communication interfaces are as its physical layer transmission mode, communication baud rate 1200BPS-115200BPS, Zhu Congban Duplex mode.
According to《State Council is about the notice for printing and distributing the comprehensive programme of work of energy-saving and emission-reduction》, gradually set up national network
Government offices' office building and large public building energy consumption monitoring platform, to national key cities' important building energy consumption (Electricity, water,
Combustion gas, heat)It is monitored in real time, this is just needed using energy consumption data acquisition device to energy consumption measure device into line number According to acquisition,
Then collected energy consumption data is uploaded into data center by TCP networks(Or data relay station), and measure Device is universal
Using DL/T 645-1997, CJ/T 188-2004 and GB/T 19582-2008 communication protocols, meanwhile, energy consumption number According to collector
The physical interface for meeting professional standard is used between metering device(RS485 interfaces), it is total that this relates to RS485 Conversion between three of the above agreement on line and TCP procotols, so, the present invention proposes in a kind of RS485 buses Conversion method between multi-protocols and TCP procotols.
Invention content
It is an object of the invention to propose the multi-protocols in a kind of RS485 buses and the conversion between TCP procotols
Method realizes that DL/T645-1997, CJ/T188-2004 and GB/T19582-2008 communication protocol and TCP networks are assisted Conversion between view.This protocol conversion model mainly uses the main website model based on agreement.
To achieve the goals above, design of the invention is as follows:
Generate system configuration file
In fieldbus based main website-slave station communication system, a communication main station equipment is connected by fieldbus
There are multiple communication slave station equipments, in entire main website-slave station communication system, only communication main station equipment, which has, actively sends out The ability of communication is played, communication slave station equipment receives the information of communication main station equipment and carries out information exchange with communication main station equipment. And communication main station equipment will be realized and communicate the communication between slave station equipment, communication main station equipment needs to know communication slave station equipment The information such as address, communication protocol therefore first have to carry out a system configuration to whole system by communication main station equipment, allow Communication main station equipment knows the relevant information for the communication slave station equipment being connected in bus, convenient for communication main station equipment to being entirely System is managed.
Structure communication slave station equipment information table
Since communication main station equipment is to be controlled to realize by processor software with the communication communicated between slave station equipment, communication Master device will be communicated with slave station equipment is communicated, it is necessary first to which the configuration information that system is read by program is communicated Then the relevant informations such as address, the communication protocol of slave station equipment could be initiated to communicate.
If communication main station equipment actively initiates the configuration that communication is required for reading system to communication slave station equipment every time The efficiency of information, system will be very low, in order to improve the operational efficiency of system, can be built according to the system configuration information of reading Vertical communication slave station equipment information table, which is an Array for structural body, each nodes records of array are one The information of a communication slave station equipment, the information include communication slave station equipment number, communication slave station equipment address, communication slave station equipment Used protocol type, communication connected bus of slave station equipment etc..
Initialize RS485 interfaces and TCP networks
Due in RS485 buses communicating requirement communication main station equipment and communication slave station equipment send and receive the speed of data Rate is identical, and the communication on TCP networks needs to know the information such as the IP address of destination host, so in communication main station equipment, It needs to initialize RS485 interfaces and TCP networks by the system configuration information of reading.
Each communication slave station equipment in automatic regular polling RS485 buses and protocol conversion
For communication main station equipment according to communication slave station equipment information table, automatic regular polling respectively communicates slave station equipment, and communication slave station is set The standby data packet sent out according to communication main station equipment responds, and communication main station equipment receives the reply data of communication slave station equipment Packet, then, communication main station equipment is according to communication from facility information table analysis protocol data, and the data that parsing is obtained are with certain XML format(In the form of text)Be packaged into TCP/IP data packets carry out teletransmission, to realize the multi-protocols in RS485 buses with Protocol conversion between TCP procotols.
Conceived according to foregoing invention, the present invention uses following technical proposals:
A kind of conversion method between multi-protocols and TCP procotols in RS485 buses, it is characterised in that:This method Downlink communication is connect by RS485 interfaces with microprocessor using RS485 buses, and uplink communication passes through ether using microprocessor Network interface accesses internet, and microprocessor is also associated with NandFlash, SDRAM and SD card, has built the hardware of protocol conversion Platform, and each slave station equipment in communication slave station equipment information table automatic regular polling RS485 buses provided by the invention is used, and it is right The protocol data packet of reception is parsed, and the data that parsing is obtained are with certain XML format(In the form of text)It is packaged into TCP/IP data packets carry out teletransmission, realize the multi-protocols in RS485 buses and the conversion between TCP procotols.
Above-mentioned protocol conversion is as follows:
(1)Microprocesser initialization;
(2)Operating system initialization;
(3)System configuration file is generated by Ethernet interface;
(4)According to step(3)Configuration file build one communication slave station equipment information table;
(5)According to step(3)Configuration file initialize RS485 interfaces and TCP networks respectively;
(6)According to step(4)Communication from facility information table, by each in RS485 bus timing poll RS485 buses Slave station equipment, and the protocol data of reception is parsed, the data for finally obtaining parsing are with certain XML format(With text This form)Be packaged into TCP/IP data packets and carry out teletransmission, to realize the multi-protocols in RS485 buses and TCP procotols it Between conversion.
The step(3)In generation system configuration file specific method:It will be connected to by the form of embedded Web The information such as device numbering, device address, the protocol type of each communication slave station equipment of communication main station equipment are written in system In one XML file, to generate a system configuration file.
The step(4)In communication slave station equipment information table be a structure type chained list(Or array), chained list (Or array)One communication slave station equipment of each nodes records relevant information, these information include communication slave station equipment The ports RS485 connected, the equipment for communication slave station equipment type, communication slave station equipment used agreement and communicating slave station equipment Number.
The step(6)The specific method of the conversion between multi-protocols and TCP procotols in middle RS485 buses is:
1)According to system configuration file, timer is set;
2)After timing arrives, communication main station equipment is according in the RS485 buses recorded in communication slave station equipment information table The relevant information of connection communication slave station equipment, the successively each communication slave station equipment of poll;
3)The protocol data for receiving communication slave station equipment, according to the facility information analysis protocol data in information table;
4) data for obtaining parsing are with certain XML format(In the form of text)It is packaged into TCP/IP data packets
Teletransmission is carried out, to realize the conversion between the multi-protocols in RS485 buses and TCP procotols.
Device numbering of the above-mentioned system configuration file comprising the communication slave station equipment in RS485 buses, device address, association Discuss the IP address of the data remote host of type and Ethernet interface;The communication slave station equipment information table is according to system What configuration file generated, communicate the communication slave station equipment connected in information and RS485 buses in slave station equipment information table one by one It is corresponding.
According to the data in above-mentioned method for converting protocol, allowing to transmit various protocols in the same RS485 buses: DL/T645-1997, CJ/T188-2004 and GB/T19582-2008 communication protocol.
In above-mentioned method for converting protocol, by communicating slave station equipment information table, communication main station equipment can be to each communication Slave station equipment is managed collectively;Communication main station equipment can determine whether out setting for the transmission protocol data according to the address of protocol data Standby number, then slave station equipment information table is communicated by access, it can get protocol type used in the protocol data.
The present invention compared with prior art, has following obvious prominent substantive distinguishing features and remarkable advantage:This
DL/T645-1997, CJ/T188-2004 and the GB/T19582-2008 and TCP of invention in structure RS485 buses On the hardware platform of procotol conversion, a communication slave station equipment information table is constructed according to system configuration file, is then adopted With each slave station equipment in the communication slave station equipment information table automatic regular polling RS485 buses, and to the protocol data packet of reception into Row parsing, the data for finally obtaining parsing are with certain XML format(In the form of text)It is packaged into the progress of TCP/IP data packets Teletransmission, to realize DL/T645-1997, CJ/T188-2004 and GB/T19582-2008 communication protocol and TCP procotols it Between conversion.
Description of the drawings
Fig. 1 is the hardware block diagram of the embodiment of the present invention.
Fig. 2 is the main program block diagram of the embodiment of the present invention.
Fig. 3 is the communication slave station equipment information table of the embodiment of the present invention.
Fig. 4 is the protocol convertor block diagram of the embodiment of the present invention.
Specific implementation mode
Details are as follows for the preferred embodiment of the present invention combination attached drawing:
Embodiment one:
Referring to Fig. 1, the conversion method downlink communication between the multi-protocols in this RS485 buses and TCP procotols is adopted
It is connect with microprocessor by RS485 interfaces with RS485 buses, uplink communication passes through Ethernet using microprocessor Interface accesses internet, and microprocessor is also associated with NandFlash, SDRAM and SD card, and the hardware for having built protocol conversion is flat Platform, and following communication slave station equipment information tables is used, realize DL/T645-1997, CJ/T188-2004 and GB/T19582- Conversion between 2008 communication protocols and TCP procotols:System configuration file is generated in systems by Ethernet interface, so A communication slave station equipment information table is built according to the configuration file afterwards, finally uses the communication slave station equipment information table timing wheel Each slave station equipment in RS485 buses is ask, and the protocol data packet of reception is parsed, the data that parsing is obtained are with certain XML format(In the form of text)It is packaged into TCP/IP data packets and carries out teletransmission.
Embodiment two:
The present embodiment and embodiment one are essentially identical, and special feature is as follows:
The system configuration file include the device numbering of communication slave station equipment in RS485 buses, device address,
The IP address of the data remote host of protocol type and Ethernet interface;The communication slave station equipment information table To be generated according to system configuration file, communicate the communication that is connected in information and RS485 buses in slave station equipment information table from Station equipment corresponds.Allow the data for transmitting various protocols in the same RS485 buses:DL/T645-1997,CJ/ T188-2004 and GB/T19582-2008 communication protocols.The communication slave station equipment information table, passes through the table, communication main station Equipment can be managed collectively each communication slave station equipment;Communication main station equipment can determine whether out transmission according to the address of protocol data The device numbering of the protocol data, then slave station equipment information table is communicated by access, it can get association used in the protocol data Discuss type.
Embodiment three:
Referring to Fig. 2, the conversion method concrete operation step between multi-protocols and TCP procotols in this RS485 buses:
One, microprocesser initialization;
Two, operating system initialization;
Three, system configuration file is generated by Ethernet interface;
In order to allow the setting of communication main station equipment to know address, communication protocol and the progress TCP networks of communication slave station equipment
The information such as IP address of destination host when transmission need to do a system to whole system by communication main station equipment Configuration.It herein, can be by the form of embedded Web by the configuration information of system(Communication slave station equipment number, communication slave station are set Destination host when protocol type, the connected bus of communication slave station equipment and TCP communication used in standby address, communication slave station equipment IP etc.)It is written in an XML file.Wherein, the format of XML file is:
<?xml version="1.0" encoding="utf-8" ?>
<config>
<common>
<gateway_id>08</gateway_id >
<socket port=”5000”>59.79.2.35</socket>
</common>
<RS485_0>
<meter id="0001" type=”10” protocol=”1”>01020304050607</meter>
<meter id="0002" type=”30” protocol=”2”>01020304050608</meter>
</ RS485_0>
<RS485_1>
<meter id="0003" type=”40” protocol=”3”>01020304050609</meter>
</ RS485_1>
</config>
Wherein, " 59.79.2.35 " represents data center(Or data relay station)IP address, id represent communication slave station set Standby number, type represent communication slave station equipment type, and protocol represents communication protocol used in communication slave station equipment, " 01020304050607 " represents the address of communication slave station equipment.
Four, structure is communicated from facility information table
Since communication main station equipment is to be controlled to realize by processor software with the communication communicated between slave station equipment, communication
Master device will be communicated with slave station equipment is communicated, it is necessary first to the configuration information of system is read by program, Obtain communication from
Then the relevant informations such as address, the communication protocol of station equipment according to the system configuration information of reading, establish one Communicate slave station
Facility information table, the information table are an Array for structural body:struct meter Dev&#91;SIZE&#93;(SIZE is practical It is articulated in the quantity of the communication slave station equipment in RS485 buses), each nodes records of array are that a communication slave station is set Standby information, the information include communication slave station equipment number, communication slave station equipment address, communicate agreement used in slave station equipment Type, communication connected bus of slave station equipment etc., referring to Fig. 3.Wherein, which is:
struct meter{
char num&#91;5&#93;;// slave station equipment is numbered
char port;The RS485 buses that // slave station equipment is mounted
char protocol;Protocol type used in // slave station equipment
char metertype;// slave station equipment type
unsigned char addr&#91;7&#93;;// slave station equipment address
};
Wherein, protocol is protocol type used in slave station equipment:
0x01:DL/T645-1997 agreements
0x02:CJ/T188-2004 agreements
0x03:GB/T19582-2008 agreements
Five, according to the system configuration information of reading, RS485 interfaces and TCP networks are initialized respectively;
Six, automatic regular polling respectively communicates slave station equipment
Communication main station equipment query communicates slave station equipment information table, determines communication protocol used in each communication slave station equipment With the relevant informations such as address, then automatic regular polling respectively communicate slave station equipment, each slave station equipment that communicates is sent out according to communication main station equipment The request data package gone out responds, and communication main station equipment receives the reply data packet of communication slave station equipment, specifically communicates Journey is as shown in Figure 4.
Seven, protocol conversion
Communication main station equipment is according to communication communication protocol used in the equipment, the protocol data of parsing communication slave station equipment Packet, extracts the information such as electricity consumption, water consumption or hot cold, then, communication main station equipment is by slave station equipment from data packet Location, energy consumption type and electricity consumption(Or water consumption, hot cold)Etc. information with certain XML format(In the form of text)It is packaged into TCP/IP data packets carry out teletransmission, to realize the multi-protocols in RS485 buses(DL/T645-1997 agreements, CJ/T188- 2004 agreements and GB/T19582-2008 agreements)With the conversion between TCP procotols.For XML format, can refer to《Country Organ's office building and large public building energy-consumption monitoring system subitem energy consumption data transmission technology directive/guide》, specific XML format For:
<?xml version="1.0" encoding="utf-8" ?>
<root>
<!-- common segment -- >
<!--
building_id:Lou Dong is numbered
gateway_id:Master device is numbered
type:The type of teletransmission data packet
-->
<common>
<building_id>XXXXXX</building_id >
<gateway_id>XXX</gateway_id >
<type>report</type>
</common>
<!-- data remote -- >
<!--
Member is known as 5 types
Sequence element:Serial number of the collector to server transmission data
Parser elements:Whether acquired the data device sent to server be parsed
Time elements:Data acquisition time
Meter elements:The device number of slave station equipment has id attributes
Function elements:The concrete function of each slave station equipment, has following 3 attribute,
Id attributes:The function number of slave station equipment(It is used for multifunctional electric energy meter)
Coding attributes:Energy consumption data classification/subitem coding
Error attributes:There is the conditional code of mistake in the function, and 0 indicates no mistake
-->
<data operation=" reply ">
<sequence>XXXXXXXX</sequence>
<parser>yes/no</parser>
<time> YYYYMMDDHHMMSS </time>
<meter id="1">
<function id="1" coding="XXX" error="XXX">Data 1</function>
</meter>
<meter id="2">
<function id="1" coding="XXX" error="XXX">Data 1</function>
</meter>
</data>
</root>

Claims (6)

1. the conversion method between multi-protocols and TCP procotols in a kind of RS485 buses, it is characterised in that:Downlink communication It is connect with microprocessor by RS485 interfaces using RS485 buses, uplink communication is connect using microprocessor by Ethernet interface Enter internet, microprocessor is also associated with NandFlash, SDRAM and SD card, has built the hardware platform of protocol conversion, tool Body implementation steps are as follows:
(1) microprocesser initialization;
(2) operating system initialization;
(3) system configuration file is generated by Ethernet interface;
(4) a communication slave station equipment information table is built according to the configuration file of step (3);
(5) RS485 interfaces and TCP networks are initialized according to the configuration file of step (3) respectively;
(6) each slave station in RS485 bus timing poll RS485 buses is passed through from facility information table according to the communication of step (4) Equipment, and the protocol data of reception is parsed, the data for finally obtaining parsing are with certain XML format --- with text Form is packaged into TCP/IP data packets and carries out teletransmission, to realize between the multi-protocols in RS485 buses and TCP procotols Conversion;
1) according to system configuration file, timer is set;
2) after timing arrives, communication main station equipment is connected according in the RS485 buses recorded in communication slave station equipment information table The relevant information of slave station equipment is communicated, successively each communication slave station equipment of poll;
3) protocol data for receiving communication slave station equipment, according to the facility information analysis protocol data in information table.
2. the conversion method between multi-protocols and TCP procotols in RS485 buses as described in claim 1, feature It is:The specific method of generation system configuration file in the step (3):It will be connected to by the form of embedded Web logical The information such as device numbering, device address, the protocol type of each communication slave station equipment of letter master device are written to one in system In a XML file, to generate a system configuration file.
3. the conversion method between multi-protocols and TCP procotols in RS485 buses as described in claim 1, feature It is:Communication slave station equipment information table in the step (4) is the chained list or array of a structure type, the chained list or number The relevant information of one communication slave station equipment of each nodes records of group, these information include that communication slave station equipment is connected The ports RS485, communication slave station equipment type, the used agreement of communication slave station equipment and communication slave station equipment device number.
4. the conversion method between multi-protocols and TCP procotols in RS485 buses as described in claim 1, feature It is:Device numbering of the system configuration file comprising the communication slave station equipment in RS485 buses, device address, agreement The IP address of the data remote host of type and Ethernet interface;The communication slave station equipment information table is matched according to system File generated is set, it is a pair of to communicate the communication slave station equipment one connected in information and RS485 buses in slave station equipment information table It answers.
5. the conversion method between multi-protocols and TCP procotols in RS485 buses as described in claim 1, feature It is:Allow the data for transmitting various protocols in the same RS485 buses:DL/T645-1997, CJ/T188-2004 and GB/ T19582-2008 communication protocols.
6. the conversion method between multi-protocols and TCP procotols in RS485 buses as described in claim 1, feature It is:The communication slave station equipment information table, by the table, communication main station equipment can carry out each communication slave station equipment unification Management;Communication main station equipment can determine whether out the device numbering of transmission protocol data according to the address of protocol data, then pass through access Slave station equipment information table is communicated, protocol type used in protocol data is can get.
CN201510159994.6A 2015-04-07 2015-04-07 A kind of conversion method between multi-protocols and TCP procotols in RS485 buses Active CN104796415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510159994.6A CN104796415B (en) 2015-04-07 2015-04-07 A kind of conversion method between multi-protocols and TCP procotols in RS485 buses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510159994.6A CN104796415B (en) 2015-04-07 2015-04-07 A kind of conversion method between multi-protocols and TCP procotols in RS485 buses

Publications (2)

Publication Number Publication Date
CN104796415A CN104796415A (en) 2015-07-22
CN104796415B true CN104796415B (en) 2018-10-23

Family

ID=53560927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510159994.6A Active CN104796415B (en) 2015-04-07 2015-04-07 A kind of conversion method between multi-protocols and TCP procotols in RS485 buses

Country Status (1)

Country Link
CN (1) CN104796415B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109374841A (en) * 2018-12-14 2019-02-22 安徽芯核防务装备技术股份有限公司 A kind of method and apparatus of the interior inflammable volatilization gas concentration of monitoring of bus

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105182827A (en) * 2015-09-17 2015-12-23 山东钢铁股份有限公司 Embedded-information-terminal-based application system in HMI
CN105491017B (en) * 2015-11-23 2018-05-15 泰华智慧产业集团股份有限公司 The more equipment multi-protocol analysis method and system of RS485 buses
CN105959288A (en) * 2016-05-27 2016-09-21 姹や寒 Network protocol conversion method for power grid system and intercommunication method of power grid system
CN110601892B (en) * 2019-09-18 2022-04-29 南方电网科学研究院有限责任公司 Main module access method, device and equipment based on object-oriented protocol
CN111143268B (en) * 2019-12-31 2021-08-31 苏州联视泰电子信息技术有限公司 RS-485 bus-based communication method for distributed data acquisition and transmission system
CN111800394B (en) * 2020-06-16 2023-03-07 深圳市三旺通信股份有限公司 TRDP and Modbus-based protocol conversion gateway method
CN111935196B (en) * 2020-10-13 2021-03-23 之江实验室 Protocol conversion method of Modbus and dnp3 based on EdgeX Foundation
CN113438144A (en) * 2021-06-30 2021-09-24 珠海格力电器股份有限公司 Ethernet bus data acquisition system, method, storage medium and computer equipment
CN114301995B (en) * 2021-12-30 2023-07-18 上海交通大学 Conversion switching and intercommunication fusion system and method of real-time industrial Ethernet protocol

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2569460Y (en) * 2002-09-12 2003-08-27 刘曙生 Industrial ether net and R232/RS485/can converting card based on DSP
CN1482782A (en) * 2003-06-20 2004-03-17 上海大学 Method and apparatus for protocol switch between MODBUS/TCP industrial Ethernet and device network field bus
CN2705957Y (en) * 2004-06-07 2005-06-22 上海电器科学研究所(集团)有限公司 On-site bus communication protocol switching interface module
CN1645852A (en) * 2004-12-15 2005-07-27 上海大学 Agreement converting method and device between MODBUS/TCP industrial Ethernet and PROFIBUS-DP bus on-the-spot
CN1697448A (en) * 2005-04-21 2005-11-16 上海大学 Multi protocol conversion method and device between MODBUS/TCP industry Ethernet and field bus device network as well as field bus of PRofibus DP
CN201118612Y (en) * 2007-11-23 2008-09-17 江苏斯菲尔电气有限公司 Network communication controller with multiple uplink interface communication mode
CN101388889A (en) * 2008-10-23 2009-03-18 上海大学 Conversion method between multiple protocol bus
CN101483663A (en) * 2008-01-10 2009-07-15 宝山钢铁股份有限公司 Automatic meter reading system and automatic meter reading method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7367028B2 (en) * 2001-08-14 2008-04-29 National Instruments Corporation Graphically deploying programs on devices in a system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2569460Y (en) * 2002-09-12 2003-08-27 刘曙生 Industrial ether net and R232/RS485/can converting card based on DSP
CN1482782A (en) * 2003-06-20 2004-03-17 上海大学 Method and apparatus for protocol switch between MODBUS/TCP industrial Ethernet and device network field bus
CN2705957Y (en) * 2004-06-07 2005-06-22 上海电器科学研究所(集团)有限公司 On-site bus communication protocol switching interface module
CN1645852A (en) * 2004-12-15 2005-07-27 上海大学 Agreement converting method and device between MODBUS/TCP industrial Ethernet and PROFIBUS-DP bus on-the-spot
CN1697448A (en) * 2005-04-21 2005-11-16 上海大学 Multi protocol conversion method and device between MODBUS/TCP industry Ethernet and field bus device network as well as field bus of PRofibus DP
CN201118612Y (en) * 2007-11-23 2008-09-17 江苏斯菲尔电气有限公司 Network communication controller with multiple uplink interface communication mode
CN101483663A (en) * 2008-01-10 2009-07-15 宝山钢铁股份有限公司 Automatic meter reading system and automatic meter reading method
CN101388889A (en) * 2008-10-23 2009-03-18 上海大学 Conversion method between multiple protocol bus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《Modbus协议的RS485总线通讯机的设计及应用》;王书根等;《总线与网络》;20111231;全文 *
《基于RS-485主从通信协议的改进》;周建章等;《测试测量技术》;20111231;全文 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109374841A (en) * 2018-12-14 2019-02-22 安徽芯核防务装备技术股份有限公司 A kind of method and apparatus of the interior inflammable volatilization gas concentration of monitoring of bus

Also Published As

Publication number Publication date
CN104796415A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104796415B (en) A kind of conversion method between multi-protocols and TCP procotols in RS485 buses
CN101680775B (en) Method and system of reading of utility meter data over a network
CN201600774U (en) Double-channel automatic meter reading system
CN206773423U (en) A kind of four table centralized procurements and smart home integrated system based on power line carrier
CN106131028B (en) A kind of data transmission method of Free-port communication gateway
CN102946260B (en) Automatic meter reading system and communication link quality detecting method thereof
CN102053935A (en) MODBUS serial communication protocol-based communication method
CN109688102A (en) A kind of multipotency acquisition system and its multipotency acquisition method based on wisdom energy source gateway
CN204465578U (en) Integrated information acquisition gateway
CN104283746A (en) System and method for achieving digital substation three-in-one network through FPGA
CN110610604A (en) Smart power grids gateway based on LoRaWAN
CN206775651U (en) A kind of intelligent converter based on power line carrier
Hui et al. Design and application of communication gateway of EPA and MODBUS on electric power system
CN106993051A (en) A kind of internet of things data acquisition terminal based on ZigBee
CN104468703A (en) Communication method and system for distributed small power source and upper computer
CN202385126U (en) Gateway device for internet of things
CN205404700U (en) Take multi -functional FPGA acquisition unit of time reference output
CN102096992A (en) OPC communication-based energy consumption monitoring system and building method thereof
Di Leo et al. Towards visual smart metering exploiting wM-Bus and DLMS/COSEM
CN109120063A (en) A kind of plug &amp; play sensor monitoring method and its system and acquisition unit
Faria Wireless sensor network for electrical secondary substations
CN204425672U (en) The gateway apparatus of health detection Internet of Things is moved for ZigBee-HL7
CN109539379A (en) A kind of remote data monitoring device of heating plant
CN111862571B (en) Method for reading a flow meter
CN2922306Y (en) Built-in type gateway equipment for realizing network intercommunication among Ethernet and wireless sensor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant