CN108337141A - Multi-gang air-conditioner gateway Modbus communication protocols - Google Patents

Multi-gang air-conditioner gateway Modbus communication protocols Download PDF

Info

Publication number
CN108337141A
CN108337141A CN201810009805.0A CN201810009805A CN108337141A CN 108337141 A CN108337141 A CN 108337141A CN 201810009805 A CN201810009805 A CN 201810009805A CN 108337141 A CN108337141 A CN 108337141A
Authority
CN
China
Prior art keywords
gateway
value
machine
slave
group
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.)
Granted
Application number
CN201810009805.0A
Other languages
Chinese (zh)
Other versions
CN108337141B (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.)
Wuxi Tengyue Information Technology Co Ltd
Original Assignee
Wuxi Tengyue Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Tengyue Information Technology Co Ltd filed Critical Wuxi Tengyue Information Technology Co Ltd
Priority to CN201810009805.0A priority Critical patent/CN108337141B/en
Publication of CN108337141A publication Critical patent/CN108337141A/en
Application granted granted Critical
Publication of CN108337141B publication Critical patent/CN108337141B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40097Interconnection with other networks
    • 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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40228Modbus

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)
  • Air Conditioning Control Device (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a kind of multi-gang air-conditioner gateway Modbus communication protocols, the default value of gateway SLAVE ID is 1, when only there are one when gateway, use acquiescence SLAVE ID on circuit;When there is multiple gateways on circuit, each gateway needs to be used for distinguishing each gateway using different SLAVE ID, and the value of SLAVE ID can be modified by changing the value of holding register 5000;Timeliness of the present invention is good, communication efficiency is high.

Description

Multi-gang air-conditioner gateway Modbus communication protocols
Technical field
The invention belongs to multi-gang air-conditioner gateway communication protocol correlative technology fields.
Background technology
In air-conditioning system, the communication network of multi-connected machine is the most complicated communication system in air-conditioning the inside, network equipment node It is more, data interaction amount is big, communication distance is remote, data age and accuracy requirement are high, this to the communication of multi-connected machine propose compared with High request.In traditional technology, the communication network of multi-connected machine is set up based on RS-485 communication modes mostly, and network is using master From structure, i.e. main controller recycles roll-call slave, and slave responds the mode of main controller, causes traditional multi-gang air-conditioner system in this way The poor in timeliness of significant data response in system, communication efficiency are low.
Invention content
Goal of the invention:In order to overcome the deficiencies in the prior art, the present invention to provide a kind of multi-gang air-conditioner gateway Modbus communication protocols, timeliness is good, communication efficiency is high.
Technical solution:To achieve the above object, technical scheme is as follows:
Multi-gang air-conditioner gateway Modbus communication protocol methods:
The value of the default value of gateway S LAVE ID is 1, when on circuit only there are one gateway when, use acquiescence S LAVE ID;
When there is multiple gateways on circuit, each gateway needs to be used for distinguishing each gateway using different S LAVE ID, The value of S LAVE ID can be modified by changing the value of holding register 5000;
When gateway uses serial communication with computer end, acquiescence communications parameter is:9600,8 data bit of baud rate, 1 is stopped Stop bit, no parity check.Serial communication parameter can be changed by changing the value of holding register 5008~5011;
When gateway is communicated with computer end using network interface, gateway default network address is 192.168.138.212, routing 192.168.138.1 acquiescence is communicated using UDP, port 502;It can be repaiied by changing the value of holding register 5014~5023 Change network communication parameter;Wherein network address and routing address can also be carried out by the button screen of WSU312:It presses simultaneously 3,4 number keys enter system setup menu, are then scrolled up and down in a menu by 1,2 number keys, and 3 number keys are acknowledgement key, 4 number keys For cancel key;
Gateway can at most manage 256 interior machines, for the air-conditioning system of different brands, the real manageable most imperial palace of gateway Machine number is different, and specific number can be multiplied by by the value of holding register 5026, i.e. largest packet number, i.e., maximum outer machine quantity 5028 value, i.e. every group of maximum device quantity, i.e. every outer machine most imperial palace machine quantity obtain;The air-conditioning of part brand cannot be distinguished Outer machine, maximum group number are set as 1;Interior machine is ranked sequentially by group in gateway, maximum device number retention position is pressed in every group, in gateway Interior machine number divided by every group of maximum air-conditioning number can obtain belonging to outer machine coding, remainder is that the interior machine in machine in addition encodes.
When parameter setting mistake, gateway power-off is please given, pins resetting button simultaneously when power-up, carrying out initialization to equipment sets It sets.
Advantageous effect:The present invention provides 312 multi-gang air-conditioner gateway Modbus communication protocols of WSU/WCU, timeliness is good, Communication efficiency is high.
Specific implementation mode
This agreement has used following four kinds of SMODBUS data types:
The value of the default value of gateway SLAVE ID is 1, when only there are one when gateway, use acquiescence S LAVE ID on circuit ;
When there is multiple gateways on circuit, each gateway needs to be used for distinguishing each gateway using different S LAVE ID, The value of S LAVE ID can be modified by changing the value of holding register 5000;
When gateway uses serial communication with computer end, acquiescence communications parameter is:9600,8 data bit of baud rate, 1 is stopped Stop bit, no parity check.Serial communication parameter can be changed by changing the value of holding register 5008~5011;
When gateway is communicated with computer end using network interface, gateway default network address is 192.168.138.212, routing 192.168.138.1 acquiescence is communicated using UDP, port 502;It can be repaiied by changing the value of holding register 5014~5023 Change network communication parameter;Wherein network address and routing address can also be carried out by the button screen of WSU312:It presses simultaneously 3,4 number keys enter system setup menu, are then scrolled up and down in a menu by 1,2 number keys, and 3 number keys are acknowledgement key, 4 number keys For cancel key;
Gateway can at most manage 256 interior machines, for the air-conditioning system of different brands, the real manageable most imperial palace of gateway Machine number is different, and specific number can be by the value of holding register 5026, and (i.e. largest packet number, i.e., maximum outer machine quantity) multiplies It is obtained with 5028 value (every group of maximum device quantity, i.e. every outer machine most imperial palace machine quantity);The air-conditioning of part brand can not area Exceptionally machine, maximum group number are set as 1;Interior machine is ranked sequentially by group in gateway, and maximum device number retention position is pressed in every group, uses gateway In interior machine number divided by every group of maximum air-conditioning number can obtain belonging to outer machine coding, remainder is that the interior machine in machine in addition encodes.
1. discrete magnitude inputs (Discrete Inputs)
2. coil (Coil)
3. input register (Input Register)
4. holding register (Holding Register)
5. default (holding register)
The above is only a preferred embodiment of the present invention, it should be pointed out that:For the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (2)

1. multi-gang air-conditioner gateway Modbus communication protocols, it is characterised in that:
The default value of gateway SLAVE ID is 1, when only there are one when gateway, use acquiescence SLAVE ID on circuit;
When there is multiple gateways on circuit, each gateway needs to be used for distinguishing each gateway, SLAVE using different SLAVE ID The value of ID can be modified by changing the value of holding register 5000;
When gateway uses serial communication with computer end, acquiescence communications parameter is:9600,8 data bit of baud rate, 1 stop position, No parity check;Serial communication parameter can be changed by changing the value of holding register 5008~5011;
When gateway is communicated with computer end using network interface, gateway default network address is 192.168.138.212, routing 192.168.138.1 acquiescence is communicated using UDP, port 502;It can be repaiied by changing the value of holding register 5014~5023 Change network communication parameter;Wherein network address and routing address can also be carried out by the button screen of WSU312:It presses simultaneously 3,4 number keys enter system setup menu, are then scrolled up and down in a menu by 1,2 number keys, and 3 number keys are acknowledgement key, 4 number keys For cancel key;
Gateway can at most manage 256 interior machines, for the air-conditioning system of different brands, the real manageable most imperial palace machine number of gateway It is different, specific number can be multiplied by 5028 by the value of holding register 5026, i.e. largest packet number, i.e., maximum outer machine quantity Value, i.e. every group of maximum device quantity, i.e. every outer machine most imperial palace machine quantity obtains;The air-conditioning of part brand cannot be distinguished outer Machine, maximum group number are set as 1;Interior machine is ranked sequentially by group in gateway, maximum device number retention position is pressed in every group, in gateway Interior machine number divided by every group of maximum air-conditioning number can obtain affiliated outer machine coding, and remainder is the interior machine coding in machine in addition.
2. multi-gang air-conditioner gateway Modbus communication protocols according to claim 1, it is characterised in that:Parameter setting mistake When, gateway power-off is given, pins resetting button simultaneously when power-up, Initialize installation is carried out to equipment.
CN201810009805.0A 2018-01-05 2018-01-05 Modbus communication method for multi-split air conditioner gateway Active CN108337141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810009805.0A CN108337141B (en) 2018-01-05 2018-01-05 Modbus communication method for multi-split air conditioner gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810009805.0A CN108337141B (en) 2018-01-05 2018-01-05 Modbus communication method for multi-split air conditioner gateway

Publications (2)

Publication Number Publication Date
CN108337141A true CN108337141A (en) 2018-07-27
CN108337141B CN108337141B (en) 2020-08-18

Family

ID=62924756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810009805.0A Active CN108337141B (en) 2018-01-05 2018-01-05 Modbus communication method for multi-split air conditioner gateway

Country Status (1)

Country Link
CN (1) CN108337141B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113587383A (en) * 2021-07-08 2021-11-02 青岛海信日立空调系统有限公司 Air conditioning system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271570A1 (en) * 2011-04-19 2012-10-25 Namwook Paik System of intelligent sensors in an electrical panelboard
CN103200078A (en) * 2012-01-06 2013-07-10 珠海格力电器股份有限公司 Gateway, communication network and data processing method
CN104102871A (en) * 2013-04-12 2014-10-15 北京旋极信息技术股份有限公司 Electronic signature verification extension equipment and information processing method
CN104346310A (en) * 2013-08-05 2015-02-11 豪威科技(上海)有限公司 Data exchange circuit and method of high-performance I2C slave equipment
CN104968028A (en) * 2015-07-23 2015-10-07 珠海格力电器股份有限公司 Networking method, system and device for VRV air-conditioning system
CN105783210A (en) * 2014-12-26 2016-07-20 广州地铁设计研究院有限公司 Multi-split air conditioner system applied to subway station and control method of multi-split air conditioner system
CN107124421A (en) * 2017-05-11 2017-09-01 珠海格力电器股份有限公司 Communication means based on multi-protocols, multi-protocol gateway equipment and can storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271570A1 (en) * 2011-04-19 2012-10-25 Namwook Paik System of intelligent sensors in an electrical panelboard
CN103200078A (en) * 2012-01-06 2013-07-10 珠海格力电器股份有限公司 Gateway, communication network and data processing method
CN104102871A (en) * 2013-04-12 2014-10-15 北京旋极信息技术股份有限公司 Electronic signature verification extension equipment and information processing method
CN104346310A (en) * 2013-08-05 2015-02-11 豪威科技(上海)有限公司 Data exchange circuit and method of high-performance I2C slave equipment
CN105783210A (en) * 2014-12-26 2016-07-20 广州地铁设计研究院有限公司 Multi-split air conditioner system applied to subway station and control method of multi-split air conditioner system
CN104968028A (en) * 2015-07-23 2015-10-07 珠海格力电器股份有限公司 Networking method, system and device for VRV air-conditioning system
CN107124421A (en) * 2017-05-11 2017-09-01 珠海格力电器股份有限公司 Communication means based on multi-protocols, multi-protocol gateway equipment and can storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
珠海格力电器股份有限公司: "《多联机Modbus通讯协议V1.2》", 《CSDN》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113587383A (en) * 2021-07-08 2021-11-02 青岛海信日立空调系统有限公司 Air conditioning system

Also Published As

Publication number Publication date
CN108337141B (en) 2020-08-18

Similar Documents

Publication Publication Date Title
CN105260337B (en) A kind of automatic addressing method and system of single-chip microcomputer
CN109272733B (en) Multi-terminal multi-mode Internet of things communication terminal supporting multi-meter combined reading and meter reading method thereof
EP4142224A1 (en) Bras system-based packet encapsulation method and apparatus
CN104317255A (en) Internet-of-things-based intelligent household control system
CN103236960A (en) Method and system for data interaction between home server and plurality of terminals
CN104113792A (en) OpenFlow control channel establishing method and system
CN109597779A (en) A kind of serial-port inquiring method and equipment and computer storage medium
CN105556916A (en) Network flow information statistics method and apparatus
CN107222458A (en) A kind of data processing method and system of the BACnet protocol stacks of compatible Modbus agreements
CN108337141A (en) Multi-gang air-conditioner gateway Modbus communication protocols
CN105141671A (en) Air conditioning unit system and control method of air conditioning unit
CN106790282A (en) A kind of method of protocol conversion, device and air-conditioning system
CN104468497B (en) The data isolation method and device of monitoring system
CN103534995B (en) A kind of interplate communication method of router cluster, router and router cluster
CN105791452A (en) NAT information acquisition method and BRAS device
CN106102124B (en) The method for improving the capacity of the extended MAC addresses forwarding table of working efficiency
CN203027289U (en) System for realizing serial communication among computer, host computer and slave computer
CN104506668A (en) Route configuration method and device of dedicated cloud host
CN105306259B (en) A kind of processing method and electronic equipment
CN103458058A (en) Network household appliance communication agent method and equipment
CN107483275A (en) Configure the method, apparatus and system of wireless routing
CN106603430A (en) SOPC-based general data communication interface integration method
CN102739695A (en) Remote control method for power distributor unit
CN104917814B (en) A kind of network transmission protocol conversion middleware based on JAVA
CN104052670B (en) A kind of communication means and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant