CN104792391A - MODBUS protocol converter and ultrasonic water meter detection system and method - Google Patents

MODBUS protocol converter and ultrasonic water meter detection system and method Download PDF

Info

Publication number
CN104792391A
CN104792391A CN201510172762.4A CN201510172762A CN104792391A CN 104792391 A CN104792391 A CN 104792391A CN 201510172762 A CN201510172762 A CN 201510172762A CN 104792391 A CN104792391 A CN 104792391A
Authority
CN
China
Prior art keywords
protocol converter
modbus protocol
output terminal
resistance
water meter
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.)
Pending
Application number
CN201510172762.4A
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.)
Anhui University of Science and Technology
Original Assignee
Anhui University of 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 Anhui University of Science and Technology filed Critical Anhui University of Science and Technology
Priority to CN201510172762.4A priority Critical patent/CN104792391A/en
Publication of CN104792391A publication Critical patent/CN104792391A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses an MODBUS protocol converter and an ultrasonic water meter detection system and method. The MODBUS protocol converter comprises a single chip microcomputer, a USB to serial port circuit, a communication address circuit, a drive circuit, a downstream communication interface, an RS-232/485 switching circuit and an upstream communication interface. The single chip microcomputer is in bidirectional communication connection with the USB to serial port circuit, the input end of the single chip microcomputer is connected with the output end of the communication address circuit, the output end of the single chip microcomputer is connected with the input end of the drive circuit, the output end of the drive circuit is connected with the downstream communication interface, and the downstream communication interface is in bidirectional communication connection with the single chip microcomputer. The single chip microcomputer is in bidirectional communication connection with the upstream communication interface through the RS-232/485 switching circuit. The enabled end of the upstream communication interface is connected with the output end of the drive circuit. The MODBUS protocol converter converts a massage frame of an SCL-61D ultrasonic water meter communication protocol into a message frame of an MODBUS protocol, and SCL-61D ultrasonic water meter data transmission is achieved.

Description

A kind of MODBUS protocol converter and Ultrasonic water meter detection system and method
Technical field
The invention belongs to industrial automation control system technical field, particularly a kind of MODBUS protocol converter and Ultrasonic water meter detection system.
Background technology
Controller in general industry control system all adopts programmable controller to carry out Industry Control.But existing defects in the transmitting procedure of data, the Data Transport Protocol that the Data Transport Protocol of sensor use and control system use is inconsistent, thus can not realize the long-range reading etc. of data.Such as, agreement during the flow sensor acquiescence in remittance in SCL-61D Ultrasonic water meter adopts and converges; Programmable controller adopts the MODBUS agreement of RS-485 or RS-232; Because host-host protocol is different, thus cause programmable controller cannot data on flows in long-range reading SCL-61D Ultrasonic water meter, and then data remote transmission, collection, display and closed-loop control etc. cannot be realized.
Summary of the invention
The present invention is in order to overcome above-mentioned the deficiencies in the prior art, provide a kind of MODBUS protocol converter and Ultrasonic water meter detection system, this MODBUS protocol converter converts the message frame of SCL-61D Ultrasonic water meter communications protocol the message frame of MODBUS agreement to, make programmable controller collect the data on flows of SCL-61D Ultrasonic water meter in remittance by MODBUS protocol translation device, thus solve the problem of SCL-61D Ultrasonic water meter data transmission in remittance.
For achieving the above object, present invention employs following technical scheme:
A kind of MODBUS protocol converter, comprise single-chip microcomputer, USB turns serial port circuit, address circuit, driving circuit, downstream communication interface, RS-232/485 commutation circuit, upstream communication interface; Described single-chip microcomputer and described USB turn and carry out two-way communication between serial port circuit and be connected; The input end of described single-chip microcomputer is connected with the output terminal of described address circuit; The output terminal of described single-chip microcomputer is connected with the input end of described driving circuit, and the output terminal of described driving circuit is connected with described downstream communication interface, described downstream communication interface with carry out two-way communication between described single-chip microcomputer and be connected; Described single-chip microcomputer carries out two-way communication by described RS-232/485 commutation circuit with described upstream communication interface and is connected, and the Enable Pin of described upstream communication interface is connected with the output terminal of described driving circuit.
The present invention can also be realized further by following steps.
Preferably, described USB turns serial port circuit and at least comprises usb bus conversion chip CH340T, described usb bus conversion chip CH340T is circumscribed with crystal oscillating circuit, and data receiver, the transmitting terminal of described usb bus conversion chip CH340T send with the data of described single-chip microcomputer respectively, receiving end is connected; The data sending terminal of described usb bus conversion chip CH340T is connected with the negative pole of diode D1, and the positive pole of described diode D1 is connected with the data receiver of described single-chip microcomputer.
Preferably, described address circuit at least comprises five toggle switch S1, and the input end of described five toggle switch S1 is connected with the output terminal of multiple pull-up resistor respectively, and the input end of the plurality of pull-up resistor all connects power supply; The output terminal of described multiple pull-up resistor is connected with the input end of described single-chip microcomputer respectively; The output head grounding of described five toggle switch S1;
Described address circuit also comprises 4-bit DIP switch S4, S5, and the input end of described 4-bit DIP switch S4, S5 is connected with the output terminal of multiple pull-up resistor respectively, and the input end of the plurality of pull-up resistor all connects power supply; The output terminal of described multiple pull-up resistor is connected with the input end of described single-chip microcomputer respectively; The output head grounding of described 4-bit DIP switch S4, S5.
Preferably, described driving circuit comprises six bit Inverting devices, and the first input end of described six bit Inverting devices is connected with an output terminal of described single-chip microcomputer, and the second input end of described phase inverter is connected with another output terminal of described single-chip microcomputer.
Preferably, described downstream communication interface comprises downstream interface chip MAX485, containing driver and receiver in described downstream interface chip MAX485, the receiver output terminal RO of described downstream interface chip MAX485 is connected with the data receiver of described single-chip microcomputer, and the driver input end DI of described downstream interface chip MAX485 is connected with the data sending terminal of described single-chip microcomputer; Receiver output terminal RO, the driver input end DI of described downstream interface chip MAX485 are also connected with the negative pole of light emitting diode D3, D2 respectively, and the positive pole of described light emitting diode D3, D2 all connects power supply;
The differential signal receiving end A of described downstream interface chip MAX485 is connected with one end of resistance R1, another termination power of this resistance R1; The differential signal receiving end A of described downstream interface chip MAX485 is also connected with one end of resistance R2, the other end of this resistance R2 is connected with the negative pole of voltage stabilizing diode V1, the plus earth of described voltage stabilizing diode V1, one end that described resistance R2 is connected with the negative pole of voltage stabilizing diode V1 forms a data transmission terminal of interface J1;
The differential signal transmitting terminal B of described downstream interface chip MAX485 is connected with one end of resistance R5, the other end ground connection of this resistance R5; The differential signal transmitting terminal B of described downstream interface chip MAX485 is also connected with one end of resistance R3, and the other end of this resistance R3 is connected with the differential signal receiving end A of described downstream interface chip MAX485; The differential signal transmitting terminal B of described downstream interface chip MAX485 is also connected with one end of resistance R4, the other end of this resistance R4 is connected with the negative pole of voltage stabilizing diode V2, the plus earth of described voltage stabilizing diode V2, one end that described resistance R4 is connected with the negative pole of voltage stabilizing diode V2 forms another data transmission terminal of interface J1;
Reception Enable Pin/RE, the transmission Enable Pin DE of described downstream interface chip MAX485 are all connected with the first output terminal of described six reversers.
Preferably, described RS-232/485 commutation circuit at least comprises relay K M1, relay K M2, the common point input end of described relay K M1 is connected with the data receiver of described single-chip microcomputer, the common point input end of described relay K M1 is also connected with the negative pole of light emitting diode D5, and the positive pole of this light emitting diode D5 connects power supply;
The common point input end of described relay K M2 is connected with the data sending terminal of described single-chip microcomputer, and the common point input end of described relay K M2 is also connected with the negative pole of light emitting diode D4, and the positive pole of this light emitting diode D4 connects power supply.
Preferably, described upstream communication interface comprises Upstream Interface chip MAX485 and Upstream Interface chip MAX232, and reception Enable Pin/RE, the transmission Enable Pin DE of described Upstream Interface chip MAX485 are all connected with the second output terminal of described six bit Inverting devices; The receiver output terminal RO of described Upstream Interface chip MAX485 is connected with the normally closed contact output terminal of described relay K M1, and the described driver input end DI of Upstream Interface chip MAX485 is connected with the normally closed contact output terminal of described relay K M2;
The differential signal receiving end A of described Upstream Interface chip MAX485 is connected with one end of resistance R8, another termination power of this resistance R8; The differential signal receiving end A of described downstream interface chip MAX485 is also connected with one end of resistance R9, the other end of this resistance R9 is connected with the negative pole of voltage stabilizing diode V3, the plus earth of described voltage stabilizing diode V3, the other end of described resistance R9 is also connected with the terminals 9 of interface COM1;
The differential signal transmitting terminal B of described Upstream Interface chip MAX485 is connected with one end of resistance R7, the other end ground connection of this resistance R7; The differential signal transmitting terminal B of described interface chip MAX485 is also connected with one end of resistance R6, and the other end of this resistance R6 is connected with the differential signal receiving end A of described Upstream Interface chip MAX485; The differential signal transmitting terminal B of described interface chip MAX485 is also connected with one end of resistance R10, the other end of this resistance R10 is connected with the negative pole of voltage stabilizing diode V4, the plus earth of described voltage stabilizing diode V4, the other end of described resistance R10 is also connected with the terminals 9 of described interface COM1;
The second data receiver output terminal R2OUT of described Upstream Interface chip MAX232 is connected with the normally opened contact output terminal of described relay K M1; Second data of described Upstream Interface chip MAX232 send input end T2IN and are connected with the normally opened contact output terminal of described relay K M2;
The second data reception input R2IN of described Upstream Interface chip MAX232 is connected with the terminals 3 of described interface COM1, and second data of described Upstream Interface chip MAX232 send output terminal T2IN and are connected with the terminals 2 of described interface COM1;
The terminals VCC of described Upstream Interface chip MAX232 is connected with an output terminal of slide switch K1, an output terminal of this slide switch K1 is also connected with the positive pole of polar capacitor C6, and the negative pole of this polar capacitor C6 is connected with the terminals V+ of described Upstream Interface chip MAX232; The terminals V-of described Upstream Interface chip MAX232 is connected with the negative pole of polar capacitor C9, the plus earth of this polar capacitor C9, the positive pole of described this polar capacitor C9 is also connected with the negative pole of polar capacitor C8, and the positive pole of described polar capacitor C8 is connected with an output terminal of slide switch K1;
An output terminal of described slide switch K1 is also connected with the coil input end of described relay K M1, relay K M2, the coil output ground connection of described relay K M1, relay K M2;
Another output terminal of described slide switch K1 is connected with the terminals VCC of described Upstream Interface chip MAX485, and another output terminal of described slide switch K1 is also connected with the terminals GND of described Upstream Interface chip MAX485 by electric capacity C11; The input termination power of described slide switch K1.
A kind of Ultrasonic water meter detection system containing MODBUS protocol converter, comprise MODBUS protocol converter, for monitoring Ultrasonic water meter, the programmable controller of discharge state in water pipe, carry out two-way communication between described programmable controller with described MODBUS protocol converter to be connected, described MODBUS protocol converter with carry out two-way communication between described Ultrasonic water meter and be connected; The model of described Ultrasonic water meter is SCL-61D Ultrasonic water meter in remittance; The model of described single-chip microcomputer is the single-chip microcomputer IAP15W58S that macrocrystalline science and technology is produced, and this single-chip microcomputer IAP15W58S has hypervelocity four serial ports.
For the detection method in the Ultrasonic water meter detection system of implication MODBUS protocol converter, the communication steps comprised between described MODBUS protocol converter and described Ultrasonic water meter is as follows:
S1: described MODBUS protocol converter arranges the Ultrasonic water meter address in the communication of downstream by address circuit; Described MODBUS protocol converter arranges the MODBUS protocol converter address in the communication of upstream by address circuit;
S2: described MODBUS protocol converter sends communication request command with Ultrasonic water meter communications protocol command format to Ultrasonic water meter according to setting cycle T, containing Ultrasonic water meter address in this communication request command; Ultrasonic water meter responding communication request corresponding to described Ultrasonic water meter address, this Ultrasonic water meter sends the water flow data containing Ultrasonic water meter mailing address to described MODBUS protocol converter;
S3: described MODBUS protocol converter receives the water flow data that Ultrasonic water meter sends over, and verifies this water flow data; If verification is correct, then go to step S4; Otherwise, then S2 is gone to step;
S4: the water flow data received is carried out format conversion processing by described MODBUS protocol converter, be about to the data transformations of protocol format in converging and become the data of MODBUS protocol format, water flow data after process is stored in the register of described MODBUS protocol converter by described MODBUS protocol converter, waits for the reading of programmable controller.
The present invention can also be realized further by following steps.
Preferably, this contains the Ultrasonic water meter detection method of MODBUS protocol converter, and the communication steps also comprised between described MODBUS protocol converter and described programmable controller is as follows:
S11: described programmable controller sends communication request command with MODBUS protocol command form to described MODBUS protocol converter, containing MODBUS protocol converter address in this communication request command; MODBUS protocol converter responding communication request corresponding to described MODBUS protocol converter address, this MODBUS protocol converter verifies communication request command;
S12: if communication request command verification is correct, then go to step S13; Otherwise, go to S14;
S13: the water flow data of described MODBUS protocol converter from register after extraction process, and this water flow data is sent to described programmable controller; Described programmable controller receives water flow data, and verifies this water flow data;
S14: described MODBUS protocol converter sends the information of communication request command mistake to described programmable controller, then goes to step S11.
Beneficial effect of the present invention is:
1) in the present invention, the message frame of SCL-61D Ultrasonic water meter communications protocol is converted to the message frame of MODBUS agreement by MODBUS protocol converter; Ultrasonic water meter detection system containing MODBUS protocol converter in the present invention, programmable controller is made to collect the data on flows of SCL-61D Ultrasonic water meter in remittance by MODBUS protocol translation device, thus solve the problem of SCL-61D Ultrasonic water meter data transmission in remittance, finally realize the automatic control to water pipe flow.
2) the Upstream Interface circuit communicated is carried out in this MODBUS protocol converter with programmable controller, have employed interface chip MAX485 or MAX232 in this Upstream Interface circuit to communicate, wherein interface chip MAX485 can realize the transmission of remote data and Long-distance Control, interface chip MAX232 can realize the data transmission of closer distance and control, carry out docking port chip MAX485 or MAX232 communication by the slide switch K1 in upstream communication interface circuit to switch, enhance the dirigibility of this MODBUS protocol converter, bring convenience to user.
3) MODBUS protocol converter address and Ultrasonic water meter address can be set by address circuit in this MODBUS protocol converter, when wherein communicating between Ultrasonic water meter with MODBUS protocol converter, the Ultrasonic water meter corresponding to Ultrasonic water meter address in communication request command carries out communication response; When communicating between programmable controller with MODBUS protocol converter, the MODBUS protocol converter corresponding to MODBUS protocol converter address in communication request command carries out communication response, these means of communication can judge that whether communication process is normal clear, intuitively, thus guarantee to securely communicate.
Accompanying drawing explanation
Fig. 1 is downstream communication interface circuit of the present invention;
Fig. 2 is upstream communication interface circuit of the present invention and RS-232/485 commutation circuit;
Fig. 3 is that USB of the present invention turns sub address circuit and driving circuit in serial port circuit, MODBUS agreement;
Fig. 4 is that circuit theory of the present invention is always schemed;
Fig. 5 is the schematic flow sheet of detection method in the present invention;
Fig. 6 is the block diagram of detection system in the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The model of the single-chip microcomputer in described MODBUS protocol converter is the single-chip microcomputer IAP15W58S of macrocrystalline science and technology research and development, this single-chip microcomputer IAP15W58S has hypervelocity four serial ports, MODBUS protocol converter can be met carry out with programmable controller the requirement communicated, can meet again with converge in SCL-61D Ultrasonic water meter carry out the requirement that communicates.
The communication interface circuit carrying out communicating with SCL-61D Ultrasonic water meter in remittance in described MODBUS protocol converter is downstream communication interface circuit or downstream communication interface, described downstream communication interface circuit at least comprises downstream interface chip MAX485, containing driver and receiver in described downstream interface chip MAX485, the driver input end DI of described downstream interface chip MAX485 is connected with the data sending terminal TXD2 of Asynchronous Reception/dispensing device UART2 in described single-chip microcomputer IAP15W58S, the driver input end DI of described downstream interface chip MAX485 is also connected with the negative pole of light emitting diode D2, the positive pole of this light emitting diode D2 connects power supply,
The receiver output terminal RO of described downstream interface chip MAX485 is connected with the data receiver RXD2 of Asynchronous Reception in single-chip microcomputer IAP15W58S/dispensing device UART2, the receiver output terminal RO of described downstream interface chip MAX485 is also connected with the negative pole of light emitting diode D3, and the positive pole of this light emitting diode D3 connects power supply; The situation of downstream communication is judged according to the flashing state of light emitting diode D2, D3;
The differential signal receiving end A of described downstream interface chip MAX485 is connected with one end of resistance R1, another termination power of this resistance R1; The differential signal receiving end A of described downstream interface chip MAX485 is also connected with one end of resistance R2, the other end of this resistance R2 is connected with the negative pole of voltage stabilizing diode V1, the plus earth of described voltage stabilizing diode V1, one end that described resistance R2 is connected with the negative pole of voltage stabilizing diode V1 forms a data transmission terminal of interface J1;
The differential signal receiving end A of described downstream interface chip MAX485 is also connected with one end of resistance R3, and the other end of this resistance R3 is connected with the differential signal transmitting terminal B of described downstream interface chip MAX485; The differential signal transmitting terminal B of described downstream interface chip MAX485 is also connected with one end of resistance R5, the other end ground connection of this resistance R5; The differential signal transmitting terminal B of described downstream interface chip MAX485 is also connected with one end of resistance R4, the other end of this resistance R4 is connected with the negative pole of voltage stabilizing diode V2, the plus earth of described voltage stabilizing diode V2, one end that described resistance R4 is connected with the negative pole of voltage stabilizing diode V2 forms another data transmission terminal of interface J1;
Described voltage stabilizing diode V1, V2 for the protection of downstream communication interface circuit, transient suppression voltage; Wherein, resistance R3 is used for avoiding causing signal reflex to bus cable resistance, and resistance R1, R2 fully ensure that differential signal receiving end A and differential signal transmitting terminal B difference are in normal working range;
Enable Pin the DE ,/RE of described downstream interface chip MAX485 are all connected with six the reverse Schmidt triggers i.e. first output terminal Y1 of six reverser 74HC14, and first input end A1, the second input end A2 of these six reverser 74HC14 are connected with data-interface P1.2, P1.3 of described single-chip microcomputer IAP15W58S respectively; Described six reverser 74HC14 are for controlling the communications status of Upstream Interface chip MAX485, downstream interface chip MAX485;
The terminals VCC of described downstream interface chip MAX485 is by capacity earth, and the terminals VCC of described downstream interface chip MAX485 also connects power supply.
The communication interface circuit carrying out communicating with programmable controller in described MODBUS protocol converter is upstream communication interface circuit or upstream communication interface, and described upstream communication interface circuit at least comprises Upstream Interface chip MAX485 and Upstream Interface chip MAX232; The circuit that differential signal receiving end A, the differential signal transmitting terminal B of described Upstream Interface chip MAX485 are external and described downstream communication interface circuit are consistent, and the data transmission terminal of the interface J1 formed in described downstream communication interface circuit is connected with the terminals 9,5 of interface COM1 respectively in described upstream communication interface circuit; Described interface COM1 is used for being connected with programmable controller;
The receiver output terminal RO of described Upstream Interface chip MAX485 is connected with the normally closed contact output terminal of relay K M1, the common point input end of this relay K M1 is connected with the data sending terminal RXD3 of Asynchronous Reception in single-chip microcomputer IAP15W58S/dispensing device UART3, the common point input end of described relay K M1 is also connected with the negative pole of light emitting diode D5, and the positive pole of this light emitting diode D5 connects power supply;
The described driver input end DI of Upstream Interface chip MAX485 is connected with the normally closed contact output terminal of relay K M2, the common point input end of this relay K M2 is connected with the data sending terminal TXD3 of Asynchronous Reception in single-chip microcomputer IAP15W58S/dispensing device UART3, the common point input end of described relay K M2 is also connected with the negative pole of light emitting diode D4, and the positive pole of this light emitting diode D4 connects power supply;
Transmission Enable Pin DE, the reception Enable Pin/RE of described Upstream Interface chip MAX485 are all connected with the secondary signal output terminal Y2 of six reverser 74HC14.
The second data receiver output terminal R2OUT of described Upstream Interface chip MAX232 is connected with the normally opened contact output terminal of relay K M1; Second data of described Upstream Interface chip MAX232 send input end T2IN and are connected with the normally opened contact output terminal of relay K M2; Described relay K M1, relay K M2 are configured for the RS-232/485 commutation circuit of switching interface chip MAX485, MAX232 communication;
The second data reception input R2IN of described Upstream Interface chip MAX232, the second data send output terminal T2OUT and are connected with the terminals 3,2 of described interface COM1 respectively;
The terminals VCC of described Upstream Interface chip MAX232 is connected with an output terminal of slide switch K1, an output terminal of this slide switch K1 is also connected with the positive pole of polar capacitor C6, and the negative pole of this polar capacitor C6 is connected with the terminals V+ of described Upstream Interface chip MAX232; The terminals V-of described Upstream Interface chip MAX232 is connected with the negative pole of polar capacitor C9, the plus earth of this polar capacitor C9, the positive pole of described this polar capacitor C9 is also connected with the negative pole of polar capacitor C8, and the positive pole of described polar capacitor C8 is connected with an output terminal of slide switch K1;
An output terminal of described slide switch K1 is also connected with the coil input end of described relay K M1, relay K M2, the coil output ground connection of described relay K M1, relay K M2;
Another output terminal of described slide switch K1 is connected with the terminals VCC of Upstream Interface chip MAX485, and another output terminal of described slide switch K1 is also connected with the terminals GND of Upstream Interface chip MAX485 by electric capacity C11; The input termination power of described slide switch K1; When described slide switch K1 opens, interface chip MAX232 can be made to communicate;
Terminals GND, first data of described Upstream Interface chip MAX232 send input end T1IN, the equal ground connection of the first data reception input R1IN, terminals C1+, C2+ of described Upstream Interface chip MAX232 are connected with the positive pole of polar capacitor C7, C10 respectively, and the negative pole of described polar capacitor C7, C10 is connected with terminals C1-, C2-of described Upstream Interface chip MAX232 respectively.
Described single-chip microcomputer IAP15W58S is circumscribed with and turns serial port circuit for downloading to the USB in single-chip microcomputer IAP15W58S, described USB turns serial port circuit and comprises usb bus conversion chip CH340T, the data sending terminal TXD of described usb bus conversion chip CH340T is connected with the negative pole of diode D1, the positive pole of this diode D1 is connected with the data receiver RXD of asynchronous transmission/receiving trap UART in described single-chip microcomputer IAP15W58S, and described diode D1 is used for preventing usb bus conversion chip CH340T from powering to described single-chip microcomputer IAP15W58S; The data receiver RXD of described usb bus conversion chip CH340T is connected with the data sending terminal TXD of asynchronous transmission/receiving trap UART in described single-chip microcomputer IAP15W58S;
The terminals X1 of described usb bus conversion chip CH340T is connected with one end of crystal oscillator Y1, and the other end of this crystal oscillator Y1 is also connected with the terminals X0 of described usb bus conversion chip CH340T; The terminals X1 of described usb bus conversion chip CH340T is also by electric capacity C5 ground connection, and the terminals X0 of described usb bus conversion chip CH340T is also by electric capacity C4 ground connection;
Terminals VCC, V3 of described usb bus conversion chip CH340T are respectively by filter capacitor C1, C2 ground connection, and the terminals VCC of described usb bus conversion chip CH340T also connects power supply.
Described single-chip microcomputer IAP15W58S is circumscribed with the address circuit for realizing address setting, this address circuit comprises the converter address circuit for arranging MODBUS protocol converter address, and for arranging the Ultrasonic water meter address circuit of Ultrasonic water meter address; Described MODBUS protocol converter address is used in the communication request command between MODBUS protocol converter and programmable controller; Described Ultrasonic water meter address is used in the communication request command between MODBUS protocol converter and Ultrasonic water meter;
Described converter address circuit at least comprises five toggle switch S1, the input end of described five toggle switch S1 is connected with data-interface P2.3, P2.4, P2.5, P2.6, P2.7 of described single-chip microcomputer IAP15W58S respectively, data-interface P2.3, P2.4, P2.5, P2.6, P2.7 of described single-chip microcomputer IAP15W58S are also connected with the output terminal of pull-up resistor R11, R12, R13, R14, R15 respectively, and the input end of described pull-up resistor R11, R12, R13, R14, R15 all connects power supply; The output head grounding of described toggle switch S1;
Described Ultrasonic water meter address circuit comprises 4-bit DIP switch S4, S5, described 4-bit DIP switch S4 input end is connected with data-interface P3.6, P3.7, P4.1, P4.2 of described single-chip microcomputer IAP15W58S respectively, and data-interface P3.6, P3.7, P4.1, P4.2 of described single-chip microcomputer IAP15W58S are also connected with the output terminal of pull-up resistor R22, R23, R24, R25 respectively; Described 4-bit DIP switch S5 input end is connected with data-interface P3.2, P3.3, P3.4, P3.5 of described single-chip microcomputer IAP15W58S respectively, and data-interface P3.2, P3.3, P3.4, P3.5 of described single-chip microcomputer IAP15W58S are also connected with the output terminal of pull-up resistor R18, R19, R20, R21 respectively; The input end of described pull-up resistor R18, R19, R20, R21, R22, R23, R24, R25 all connects power supply; The output head grounding of described toggle switch S4, S5.
Upstream and downstream communication interface in this MOBUS protocol converter all supports RS-485 communication protocol, upstream communication also supports RS-232 communication protocol simultaneously, can communicate with various programmable controller easily, by slide switch K1, RS-232 communication protocol or RS-485 communication protocol be switched.Wherein, interface chip MAX485, interface chip MAX232 are RS-232 communication protocol, RS-485 communication protocol carries out the hardware device that communicates.By setting the address that five toggle switch S1 determine to carry out between MODBUS protocol converter and programmable controller responding in converter address circuit, the setting range of this address is 1-31.Determined the address carrying out between MODBUS protocol converter and Ultrasonic water meter responding by setting 4-bit DIP switch S4, S5 in Ultrasonic water meter address circuit, 4-bit DIP switch S4, S5 are respectively used to the high-low position setting Ultrasonic water meter address, and the setting range of this point of station address is 41H-A5H.Interface chip MAX485 takes multiple safeguard measure in the design of upstream and downstream communication interface circuit.
Wherein upstream and downstream communication interface all has communication pilot lamp to be light emitting diode D2, D3, D4, D5; When namely two communication pilot lamp in each interface send pilot lamp and codan lamp flicker, represent that this interface communication circuit communicates; If the flicker that the transmission pilot lamp frequency of this interface is lower illustrates that this communication line only has transmission data not have data to respond; If the flicker that the codan lamp frequency of this interface is lower illustrates that this communication line only has data receiver not have the transmission of data, signal intelligence can be observed intuitively, easily.
A kind of Ultrasonic water meter detection system containing MODBUS protocol converter, comprise MODBUS protocol converter, for monitoring the Ultrasonic water meter of discharge state in water pipe, carrying out the programmable controller of Long-distance Control, described programmable controller and the interface COM1 in described MODBUS protocol converter carry out two-way communication after being connected and are connected, and in described MODBUS protocol converter, interface J1 carries out two-way communication after being connected with described Ultrasonic water meter and is connected.The model of described Ultrasonic water meter is SCL-61D in remittance.
For the detection method in the Ultrasonic water meter detection system containing MODBUS protocol converter, the communication steps comprised in described MODBUS protocol converter and described remittance between SCL-61D Ultrasonic water meter is as follows, as shown in Figure 5, Figure 6:
S1: described MODBUS protocol converter arranges Ultrasonic water meter address by Ultrasonic water meter address circuit, during described Ultrasonic water meter address is used for MODBUS protocol converter and converges in the communication of SCL-61D Ultrasonic water meter; Described MODBUS protocol converter arranges MODBUS protocol converter address by converter address circuit, and described MODBUS protocol converter address is used in MODBUS protocol converter and PLC Communication;
S2: described MODBUS protocol converter sends communication request command with SCL-61D Ultrasonic water meter communications protocol command format in remittance to SCL-61D Ultrasonic water meter in remittance according to setting cycle T, containing Ultrasonic water meter address in this communication request command, this request command form is: 2AH XXH 4AH, XXH represents Ultrasonic water meter address, and described Ultrasonic water meter address obtains by carrying out setting to 4-bit DIP switch S4, S5;
SCL-61D Ultrasonic water meter responding communication request in remittance corresponding to described Ultrasonic water meter address, in this remittance, SCL-61D Ultrasonic water meter sends the water flow data containing SCL-61D Ultrasonic water meter mailing address in remittance to described MODBUS protocol converter; This water flow data form is as follows: 26H XXH 4AH LLLL LL LL LL LL LL LL LL LL LL LL LL ZZH;
XXH represents Ultrasonic water meter address; ZZH represents check code; LL represents with binary-coded decimal, and the 1st LL represents instantaneous delivery to the 4th LL, accounts for 4 bytes, reduces 1000 times for actual numerical value, unit: M3/H; 5th LL represents instantaneous delivery to the 8th LL, accounts for 4 bytes, reduces 10 times for actual numerical value, unit: M3; 9th LL represents instantaneous delivery to the 12nd LL, accounts for 4 bytes, unit: hour; 13rd LL represents diagnostic message code; ZZH represents data check byte, and all data contents (not comprising control and command byte) add up by byte, disregard the numerical value exceeding FFH;
S3: the water flow data that during described MODBUS protocol converter receives and converges, SCL-61D Ultrasonic water meter sends over, and this water flow data is verified, also namely " ZZH " in water flow data is verified, if verification is correct, then go to step S4; Otherwise, then S2 is gone to step;
S4: the water flow data received is carried out format conversion processing by described MODBUS protocol converter, be about to the data transformations of protocol format in converging and become the data of MODBUS protocol format, water flow data after process is stored in register by described MODBUS protocol converter, waits for the reading of programmable controller.
The communication request command that in remittance, SCL-61D Ultrasonic water meter sends according to MODBUS protocol converter, makes response; Monitor RS-485 bus when single-chip microcomputer is 1 millisecond according to setting cycle T, single-chip microcomputer receives data, when its counter is greater than zero, empties controlling bus free time; When Counter Value is zero, timing bus free time.More than the time required for four byte transmission when idle, namely think that a frame message has accepted.
The Ultrasonic water meter detection method of this MODBUS protocol converter, the communication steps also comprising described MODBUS protocol converter and described programmable controller is as follows:
S11: described programmable controller sends communication request command with MODBUS protocol command form to described MODBUS protocol converter, containing MODBUS protocol converter address in this communication request command; This communication request command form is: 01H 03H 00H 01H 00H 07H 55H C8H;
Wherein 01H is MODBUS protocol converter address, acquiescence 01; Can be set by five toggle switch S1; When MODBUS protocol converter address is not 01H, CRC check code is not 55HC8H; 03 is MODBUS function code, because only needing the data reading associated flow, therefore only supports 03 function code in the present invention; 00H and 01H is a high position and the low level of register start address respectively; 00H and 07H is a high position and the low level of register offset amount; 55H and C8H is a high position and the low level of CRC check code respectively;
MODBUS protocol converter responding communication request corresponding to described MODBUS protocol converter address, this MODBUS protocol converter carries out CRC check to communication request command, and also namely MODBUS protocol converter verifies " ZZH " in response; Described MODBUS protocol converter to the form that programmable controller responds is: 01H 03H CCH YYH YYH YYH YYH YYH YYH YYH YYH ZZHZZH;
01H is MODBUS protocol converter address, can be set by five toggle switch S1; 03H is MODBUS function code; CCH is message frame byte length; YYH is the data of protocol converter response; ZZH is the high-low-position of CRC check code;
S12: if communication request command verification is correct, then go to step S13; Otherwise, go to S14;
S13: the water flow data of described MODBUS protocol converter from register after extraction process, and this water flow data is sent to described programmable controller; Described programmable controller receives water flow data, and carries out height verification to this water flow data;
S14: described MODBUS protocol converter sends the information of communication request command mistake to described programmable controller, then goes to step S11.
In the Ultrasonic water meter detection system containing MOBUS protocol converter, when SCL-61D Ultrasonic water meter communicates with single-chip microcomputer IAP15W58S in remittance, the Asynchronous Reception/dispensing device UART2 of single-chip microcomputer IAP15W58S is adopted to communicate; When programmable controller communicates with single-chip microcomputer IAP15W58S, adopt the Asynchronous Reception/dispensing device UART3 of single-chip microcomputer IAP15W58S to communicate, thus complete the conversion of whole agreement and the transmission of data.MODBUS protocol converter with SCL-61D Ultrasonic water meter and MODBUS protocol converter in remittance with when communicating between programmable controller, in order to save mcu resource, all use the timer 2 of single-chip microcomputer IAP15W58S as Asynchronous Reception/dispensing device UART2, UART3 Baud rate generator.

Claims (10)

1. a MODBUS protocol converter, it is characterized in that: comprise single-chip microcomputer, USB turns serial port circuit, address circuit, driving circuit, downstream communication interface, RS-232/485 commutation circuit, upstream communication interface; Described single-chip microcomputer and described USB turn and carry out two-way communication between serial port circuit and be connected; The input end of described single-chip microcomputer is connected with the output terminal of described address circuit; The output terminal of described single-chip microcomputer is connected with the input end of described driving circuit, and the output terminal of described driving circuit is connected with described downstream communication interface, described downstream communication interface with carry out two-way communication between described single-chip microcomputer and be connected; Described single-chip microcomputer carries out two-way communication by described RS-232/485 commutation circuit with described upstream communication interface and is connected, and the Enable Pin of described upstream communication interface is connected with the output terminal of described driving circuit.
2. MODBUS protocol converter according to claim 1, it is characterized in that: described USB turns serial port circuit and at least comprises usb bus conversion chip CH340T, described usb bus conversion chip CH340T is circumscribed with crystal oscillating circuit, and data receiver, the transmitting terminal of described usb bus conversion chip CH340T send with the data of described single-chip microcomputer respectively, receiving end is connected; The data sending terminal of described usb bus conversion chip CH340T is connected with the negative pole of diode D1, and the positive pole of described diode D1 is connected with the data receiver of described single-chip microcomputer.
3. MODBUS protocol converter according to claim 1, it is characterized in that: described address circuit at least comprises five toggle switch S1, the input end of described five toggle switch S1 is connected with the output terminal of multiple pull-up resistor respectively, and the input end of the plurality of pull-up resistor all connects power supply; The output terminal of described multiple pull-up resistor is connected with the input end of described single-chip microcomputer respectively; The output head grounding of described five toggle switch S1;
Described address circuit also comprises 4-bit DIP switch S4, S5, and the input end of described 4-bit DIP switch S4, S5 is connected with the output terminal of multiple pull-up resistor respectively, and the input end of the plurality of pull-up resistor all connects power supply; The output terminal of described multiple pull-up resistor is connected with the input end of described single-chip microcomputer respectively; The output head grounding of described 4-bit DIP switch S4, S5.
4. MODBUS protocol converter according to claim 1, it is characterized in that: described driving circuit comprises six bit Inverting devices, the first input end of described six bit Inverting devices is connected with an output terminal of described single-chip microcomputer, and the second input end of described phase inverter is connected with another output terminal of described single-chip microcomputer.
5. MODBUS protocol converter according to claim 4, it is characterized in that: described downstream communication interface comprises downstream interface chip MAX485, containing driver and receiver in described downstream interface chip MAX485, the receiver output terminal RO of described downstream interface chip MAX485 is connected with the data receiver of described single-chip microcomputer, and the driver input end DI of described downstream interface chip MAX485 is connected with the data sending terminal of described single-chip microcomputer; Receiver output terminal RO, the driver input end DI of described downstream interface chip MAX485 are also connected with the negative pole of light emitting diode D3, D2 respectively, and the positive pole of described light emitting diode D3, D2 all connects power supply;
The differential signal receiving end A of described downstream interface chip MAX485 is connected with one end of resistance R1, another termination power of this resistance R1; The differential signal receiving end A of described downstream interface chip MAX485 is also connected with one end of resistance R2, the other end of this resistance R2 is connected with the negative pole of voltage stabilizing diode V1, the plus earth of described voltage stabilizing diode V1, one end that described resistance R2 is connected with the negative pole of voltage stabilizing diode V1 forms a data transmission terminal of interface J1;
The differential signal transmitting terminal B of described downstream interface chip MAX485 is connected with one end of resistance R5, the other end ground connection of this resistance R5; The differential signal transmitting terminal B of described downstream interface chip MAX485 is also connected with one end of resistance R3, and the other end of this resistance R3 is connected with the differential signal receiving end A of described downstream interface chip MAX485; The differential signal transmitting terminal B of described downstream interface chip MAX485 is also connected with one end of resistance R4, the other end of this resistance R4 is connected with the negative pole of voltage stabilizing diode V2, the plus earth of described voltage stabilizing diode V2, one end that described resistance R4 is connected with the negative pole of voltage stabilizing diode V2 forms another data transmission terminal of interface J1;
Reception Enable Pin/RE, the transmission Enable Pin DE of described downstream interface chip MAX485 are all connected with the first output terminal of described six reversers.
6. the MODBUS protocol converter according to claim 4 or 5, it is characterized in that: described RS-232/485 commutation circuit at least comprises relay K M1, relay K M2, the common point input end of described relay K M1 is connected with the data receiver of described single-chip microcomputer, the common point input end of described relay K M1 is also connected with the negative pole of light emitting diode D5, and the positive pole of this light emitting diode D5 connects power supply;
The common point input end of described relay K M2 is connected with the data sending terminal of described single-chip microcomputer, and the common point input end of described relay K M2 is also connected with the negative pole of light emitting diode D4, and the positive pole of this light emitting diode D4 connects power supply.
7. MODBUS protocol converter according to claim 6, it is characterized in that: described upstream communication interface comprises Upstream Interface chip MAX485 and Upstream Interface chip MAX232, reception Enable Pin/RE, the transmission Enable Pin DE of described Upstream Interface chip MAX485 are all connected with the second output terminal of described six bit Inverting devices; The receiver output terminal RO of described Upstream Interface chip MAX485 is connected with the normally closed contact output terminal of described relay K M1, and the described driver input end DI of Upstream Interface chip MAX485 is connected with the normally closed contact output terminal of described relay K M2;
The differential signal receiving end A of described Upstream Interface chip MAX485 is connected with one end of resistance R8, another termination power of this resistance R8; The differential signal receiving end A of described downstream interface chip MAX485 is also connected with one end of resistance R9, the other end of this resistance R9 is connected with the negative pole of voltage stabilizing diode V3, the plus earth of described voltage stabilizing diode V3, the other end of described resistance R9 is also connected with the terminals 9 of interface COM1;
The differential signal transmitting terminal B of described Upstream Interface chip MAX485 is connected with one end of resistance R7, the other end ground connection of this resistance R7; The differential signal transmitting terminal B of described interface chip MAX485 is also connected with one end of resistance R6, and the other end of this resistance R6 is connected with the differential signal receiving end A of described Upstream Interface chip MAX485; The differential signal transmitting terminal B of described interface chip MAX485 is also connected with one end of resistance R10, the other end of this resistance R10 is connected with the negative pole of voltage stabilizing diode V4, the plus earth of described voltage stabilizing diode V4, the other end of described resistance R10 is also connected with the terminals 9 of described interface COM1;
The second data receiver output terminal R2OUT of described Upstream Interface chip MAX232 is connected with the normally opened contact output terminal of described relay K M1; Second data of described Upstream Interface chip MAX232 send input end T2IN and are connected with the normally opened contact output terminal of described relay K M2;
The second data reception input R2IN of described Upstream Interface chip MAX232 is connected with the terminals 3 of described interface COM1, and second data of described Upstream Interface chip MAX232 send output terminal T2IN and are connected with the terminals 2 of described interface COM1;
The terminals VCC of described Upstream Interface chip MAX232 is connected with an output terminal of slide switch K1, an output terminal of this slide switch K1 is also connected with the positive pole of polar capacitor C6, and the negative pole of this polar capacitor C6 is connected with the terminals V+ of described Upstream Interface chip MAX232; The terminals V-of described Upstream Interface chip MAX232 is connected with the negative pole of polar capacitor C9, the plus earth of this polar capacitor C9, the positive pole of described this polar capacitor C9 is also connected with the negative pole of polar capacitor C8, and the positive pole of described polar capacitor C8 is connected with an output terminal of slide switch K1;
An output terminal of described slide switch K1 is also connected with the coil input end of described relay K M1, relay K M2, the coil output ground connection of described relay K M1, relay K M2;
Another output terminal of described slide switch K1 is connected with the terminals VCC of described Upstream Interface chip MAX485, and another output terminal of described slide switch K1 is also connected with the terminals GND of described Upstream Interface chip MAX485 by electric capacity C11; The input termination power of described slide switch K1.
8. one kind contains Ultrasonic water meter detection system according to claim 1, it is characterized in that: comprise MODBUS protocol converter, for monitoring Ultrasonic water meter, the programmable controller of discharge state in water pipe, carry out two-way communication between described programmable controller with described MODBUS protocol converter to be connected, described MODBUS protocol converter with carry out two-way communication between described Ultrasonic water meter and be connected; The model of described Ultrasonic water meter is SCL-61D Ultrasonic water meter in remittance; The model of described single-chip microcomputer is the single-chip microcomputer IAP15W58S that macrocrystalline science and technology is produced, and this single-chip microcomputer IAP15W58S has hypervelocity four serial ports.
9., for the detection method in Ultrasonic water meter detection system according to claim 8, the communication steps comprised between described MODBUS protocol converter and described Ultrasonic water meter is as follows:
S1: described MODBUS protocol converter arranges the Ultrasonic water meter address in the communication of downstream by address circuit; Described MODBUS protocol converter arranges the MODBUS protocol converter address in the communication of upstream by address circuit;
S2: described MODBUS protocol converter sends communication request command with Ultrasonic water meter communications protocol command format to Ultrasonic water meter according to setting cycle T, containing Ultrasonic water meter address in this communication request command; Ultrasonic water meter responding communication request corresponding to described Ultrasonic water meter address, this Ultrasonic water meter sends the water flow data containing Ultrasonic water meter mailing address to described MODBUS protocol converter;
S3: described MODBUS protocol converter receives the water flow data that Ultrasonic water meter sends over, and verifies this water flow data; If verification is correct, then go to step S4; Otherwise, then S2 is gone to step;
S4: the water flow data received is carried out format conversion processing by described MODBUS protocol converter, be about to the data transformations of protocol format in converging and become the data of MODBUS protocol format, water flow data after process is stored in the register of described MODBUS protocol converter by described MODBUS protocol converter, waits for the reading of programmable controller.
10. Ultrasonic water meter detection method according to claim 9, the communication steps also comprised between described MODBUS protocol converter and described programmable controller is as follows:
S11: described programmable controller sends communication request command with MODBUS protocol command form to described MODBUS protocol converter, containing MODBUS protocol converter address in this communication request command; MODBUS protocol converter responding communication request corresponding to described MODBUS protocol converter address, this MODBUS protocol converter verifies communication request command;
S12: if communication request command verification is correct, then go to step S13; Otherwise, go to S14;
S13: the water flow data of described MODBUS protocol converter from register after extraction process, and this water flow data is sent to described programmable controller; Described programmable controller receives water flow data, and verifies this water flow data;
S14: described MODBUS protocol converter sends the information of communication request command mistake to described programmable controller, then goes to step S11.
CN201510172762.4A 2015-04-13 2015-04-13 MODBUS protocol converter and ultrasonic water meter detection system and method Pending CN104792391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510172762.4A CN104792391A (en) 2015-04-13 2015-04-13 MODBUS protocol converter and ultrasonic water meter detection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510172762.4A CN104792391A (en) 2015-04-13 2015-04-13 MODBUS protocol converter and ultrasonic water meter detection system and method

Publications (1)

Publication Number Publication Date
CN104792391A true CN104792391A (en) 2015-07-22

Family

ID=53557387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510172762.4A Pending CN104792391A (en) 2015-04-13 2015-04-13 MODBUS protocol converter and ultrasonic water meter detection system and method

Country Status (1)

Country Link
CN (1) CN104792391A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0282849A (en) * 1988-09-20 1990-03-23 Hitachi Ltd Interface by variable communication system
CN201111717Y (en) * 2007-10-31 2008-09-10 北京农业信息技术研究中心 Water meter reading and controlling remote terminal and control system using the terminal
CN101324995A (en) * 2007-06-13 2008-12-17 上海电机学院 Method and apparatus for searching resident meter reading based on bus structure
CN101393451A (en) * 2007-09-19 2009-03-25 谭雄 Construction energy-conserving control method and system
CN101470943A (en) * 2008-02-05 2009-07-01 陈攀 Electric power remote meter reading communication method and apparatus, and data gathering equipment
CN102014118A (en) * 2010-08-13 2011-04-13 深圳市科陆电子科技股份有限公司 Method for reading multiple electric energy meters generally
CN102096992A (en) * 2010-12-14 2011-06-15 广东雅达电子股份有限公司 OPC communication-based energy consumption monitoring system and building method thereof
CN202257553U (en) * 2011-04-08 2012-05-30 昆明华奥航星电气有限公司 Protocol converter for converting universal serial port to MODBUS
CN203300035U (en) * 2013-04-25 2013-11-20 国家电网公司 Acquirer and power utilization information acquiring system
CN204013486U (en) * 2014-08-27 2014-12-10 国家电网公司 The circuit of device address is set with toggle switch
CN104240481A (en) * 2014-10-17 2014-12-24 成都四为电子信息股份有限公司 Railway station building remote automatic data logging and load management system and method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0282849A (en) * 1988-09-20 1990-03-23 Hitachi Ltd Interface by variable communication system
CN101324995A (en) * 2007-06-13 2008-12-17 上海电机学院 Method and apparatus for searching resident meter reading based on bus structure
CN101393451A (en) * 2007-09-19 2009-03-25 谭雄 Construction energy-conserving control method and system
CN201111717Y (en) * 2007-10-31 2008-09-10 北京农业信息技术研究中心 Water meter reading and controlling remote terminal and control system using the terminal
CN101470943A (en) * 2008-02-05 2009-07-01 陈攀 Electric power remote meter reading communication method and apparatus, and data gathering equipment
CN102014118A (en) * 2010-08-13 2011-04-13 深圳市科陆电子科技股份有限公司 Method for reading multiple electric energy meters generally
CN102096992A (en) * 2010-12-14 2011-06-15 广东雅达电子股份有限公司 OPC communication-based energy consumption monitoring system and building method thereof
CN202257553U (en) * 2011-04-08 2012-05-30 昆明华奥航星电气有限公司 Protocol converter for converting universal serial port to MODBUS
CN203300035U (en) * 2013-04-25 2013-11-20 国家电网公司 Acquirer and power utilization information acquiring system
CN204013486U (en) * 2014-08-27 2014-12-10 国家电网公司 The circuit of device address is set with toggle switch
CN104240481A (en) * 2014-10-17 2014-12-24 成都四为电子信息股份有限公司 Railway station building remote automatic data logging and load management system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘平: "《深入浅出玩转51单片》", 31 May 2014 *
无: "请教如何用拨码开关设置RS485地址电路", 《中国电子网技术论坛 HTTP://BBS.21IC.COM/ICVIEW-20848-1-1.HTML》 *
薛维虎: "《火灾自动报警系统》", 28 February 2015 *

Similar Documents

Publication Publication Date Title
CN201448966U (en) Air conditioning multi-couple machine wire control controller
SA07270496B1 (en) Bus modem for building and industrial electrical systems
CN106533874B (en) A kind of permanent magnet synchronous motor data communication system and method based on Modbus rtu protocol
CN103412528B (en) A kind of electric-controlled light-regulating material control system
CN106647316A (en) Smart home control system and control method thereof
CN102053935A (en) MODBUS serial communication protocol-based communication method
CN104391814A (en) Parameter-regulable universal RS232-CAN (Controller Area Network) bus adapter
CN203982576U (en) M-BUS slave telecommunication circuit
CN203933666U (en) A kind of CAN bus repeater
CN208477523U (en) A kind of arithmetic system and corresponding electronic equipment
CN101895534B (en) Protocol conversion interface device of substation intelligent device
CN101226672A (en) Communication control alarm device
CN104792391A (en) MODBUS protocol converter and ultrasonic water meter detection system and method
CN214409671U (en) Programmable controller with M-BUS BUS
CN112783081A (en) Programmable controller with M-BUS and control method thereof
CN204465598U (en) A kind of multiprotocol conversion alert Information Remote Transmission System based on MODBUS
CN204651757U (en) A kind of breaker handcart of switch cabinet, grounding switch electric controller
CN203786221U (en) Energy efficiency data acquisition terminal possessing two RS485 interfaces
CN203732908U (en) Universal monitor module for agriculture
CN208079109U (en) Intelligent industrial gateway
CN202634445U (en) Low speed optical fiber transmission module based on microprogrammed control unit (MCU)
CN201985886U (en) Two-wire slave machine circuit
CN101520764A (en) System for directly using serial signal control device
CN204740445U (en) Household electrical appliances remote control system of prevening disaster based on cell -phone mobile terminal
CN204667148U (en) A kind of electric equipment control device based on Internet of Things

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20150722

RJ01 Rejection of invention patent application after publication