CN104601420A - Method for flexibly reading power station data by utilizing Modbus - Google Patents

Method for flexibly reading power station data by utilizing Modbus Download PDF

Info

Publication number
CN104601420A
CN104601420A CN201410844424.6A CN201410844424A CN104601420A CN 104601420 A CN104601420 A CN 104601420A CN 201410844424 A CN201410844424 A CN 201410844424A CN 104601420 A CN104601420 A CN 104601420A
Authority
CN
China
Prior art keywords
data
power station
check code
address
flexibly
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
CN201410844424.6A
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.)
Jiangxi Tsinghua Taihao Sanbo Motor Co Ltd
Original Assignee
Jiangxi Tsinghua Taihao Sanbo Motor 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 Jiangxi Tsinghua Taihao Sanbo Motor Co Ltd filed Critical Jiangxi Tsinghua Taihao Sanbo Motor Co Ltd
Priority to CN201410844424.6A priority Critical patent/CN104601420A/en
Publication of CN104601420A publication Critical patent/CN104601420A/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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The invention discloses a method for flexibly reading power station data by utilizing Modbus; the method comprises the following steps: only appointing a power station address and functional codes to a communication protocol by a power station terminal; keeping an 'open' state to a starting address and a register number in query data; calculating a check code based on the power station address, the functional codes, the starting address and the register number in the query data; comparing the calculated check code with a check code in the query data; sending corresponding data to a remote control terminal if the check codes are identical; otherwise, not feeding back data. The method for flexibly reading power station data by utilizing Modbus has the advantages that the program at the power station terminal does not need any adjustment whenever the remote terminal needs to be tested, data of only a certain one or certain registers in the data field is read out, or data needs to be read out by segments when finding frequent data errors. The communication and data reading are flexible; the error rate is reduced; the manpower, material resource and financial resource are saved.

Description

A kind of Modbus of utilization reads the method for power station data flexibly
Technical field
The present invention relates to a kind of method of flexible reading power station data, be specifically related to a kind of method that Modbus of utilization reads power station data flexibly.
Background technology
Because user is to the demand of the high automation degree in power station, the control system in power station needs to carry out communication with the surveillance equipment of remote port, can be monitored data and the operating condition in power station by the surveillance equipment of remote port.
Usual employing Modbus communications protocol, the surveillance equipment of remote port and power station end realize information exchange with the form of question-response (communication format is shown in following subordinate list), reach the object of remote monitoring.
Subordinate list power station end and remote port data communication form
Way in the past: power station end and remote port clearly arrange address, power station, function code, start address, register number, check code to communications protocol; The data that the data that power station termination receives and both sides clearly arrange are identical, and power station end sends feedback data to far controlling end.Address, power station in feedback data, function code, byte number and register data address are all clear and definite, and check code calculates according to the address, power station in feedback data, function code, byte number and register data value etc.The data of final composition feedback send to far controls end.
When remote port needs the data of some or certain the several register in the read-only section of fetching data, power station end and remote port both sides need again clearly to arrange start address, register number, check code to communications protocol.The program that power station end reads needs to do corresponding adjustment, adds workload, needs the manpower of at substantial (engineer is to on-the-spot), material resources (needing computer, commissioning device), financial resources (travel charge of going on business).When the data of remote port inquiry are longer, ' check code ' of the data of power station end feedback easily makes mistakes.The data that remote port is read are wrong, produce the error message of miscommunication.
Summary of the invention
A kind of Modbus of utilization is the object of the present invention is to provide to read the method for power station data flexibly, the method uses Modbus to read power station data flexibly, mainly break former power station end with far control and hold both sides clearly to inquire ' the address, power station fixed in data, function code, start address, register number, check code ' form, power station end holds both sides clearly to inquire ' address, power station in data with far control, function code ', to the start address in inquiry data, register number keeps ' opening ' state, check code is according to address, power station, function code, start address, register number calculates.
The technical solution adopted in the present invention is: a kind of Modbus of utilization reads the method for power station data flexibly, it is characterized in that method step is as follows:
(1) power station end and remote port only arrange address, power station, function code to communications protocol; ' opening ' state is kept to the start address in inquiry data, register number;
(2) according to the address, power station in inquiry data, function code, start address, register number calculation check code, the check code calculated is compared with the check code in inquiry data;
(3) check code identical (namely correct) then sends corresponding data to far controlling end, otherwise not feedback data, guarantee that far controlling end can read arbitrarily some or a few data.
In the data of feedback of the present invention, byte number and register address change along with the difference of the register number in inquiry data and start address.
Start address in inquiry data of the present invention, register number keep ' opening ' state, and check code calculates according to address, power station, function code, start address, register number.
Advantage of the present invention is: no matter remote port need to test, the data of some or certain several register in the read-only section of fetching data, or find that data errors more frequently needs segmentation to read data, the program of power station end does not need to make any adjustments.Communication, read-fetch data flexibly, reduce the error rate, save human and material resources, financial resource.
Accompanying drawing explanation
Fig. 1 is that power station of the present invention termination transmits and receives data flowchart.
Embodiment
As shown in Figure 1, the present invention comes work and enforcement like this, and a kind of Modbus of utilization reads the method for power station data flexibly, it is characterized in that method step is as follows:
(1) power station end and remote port only arrange address, power station, function code to communications protocol; ' opening ' state is kept to the start address in inquiry data, register number;
(2) according to the address, power station in inquiry data, function code, start address, register number calculation check code, the check code calculated is compared with the check code in inquiry data;
(3) check code identical (namely correct) then sends corresponding data to far controlling end, otherwise not feedback data, guarantee that far controlling end can read arbitrarily some or a few data.

Claims (1)

1. utilize Modbus to read a method for power station data flexibly, it is characterized in that method step is as follows:
(1) power station end and remote port only arrange address, power station, function code to communications protocol; ' opening ' state is kept to the start address in inquiry data, register number;
(2) according to the address, power station in inquiry data, function code, start address, register number calculation check code, the check code calculated is compared with the check code in inquiry data;
(3) check code identical (namely correct) then sends corresponding data to far controlling end, otherwise not feedback data, guarantee that far controlling end can read arbitrarily some or a few data.
CN201410844424.6A 2014-12-31 2014-12-31 Method for flexibly reading power station data by utilizing Modbus Pending CN104601420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410844424.6A CN104601420A (en) 2014-12-31 2014-12-31 Method for flexibly reading power station data by utilizing Modbus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410844424.6A CN104601420A (en) 2014-12-31 2014-12-31 Method for flexibly reading power station data by utilizing Modbus

Publications (1)

Publication Number Publication Date
CN104601420A true CN104601420A (en) 2015-05-06

Family

ID=53126944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410844424.6A Pending CN104601420A (en) 2014-12-31 2014-12-31 Method for flexibly reading power station data by utilizing Modbus

Country Status (1)

Country Link
CN (1) CN104601420A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278918A (en) * 2015-10-15 2016-01-27 珠海格力电器股份有限公司 Reading method of register and register using reading method
CN105388833A (en) * 2015-11-07 2016-03-09 江西清华泰豪三波电机有限公司 Method for obtaining power station ID flexibly by employing S7 200PLC
CN106911646A (en) * 2015-12-23 2017-06-30 重庆川仪自动化股份有限公司 Communications protocol and communication system
CN114391234A (en) * 2020-08-06 2022-04-22 华为数字能源技术有限公司 Data acquisition method and device, Modbus system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354175A (en) * 2011-08-01 2012-02-15 李遇浦 Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor
CN103402083A (en) * 2013-08-19 2013-11-20 中国能源建设集团广东省电力设计研究院 Video monitoring method and video monitoring system of direct-current power transmission system
CN104065545A (en) * 2014-06-27 2014-09-24 浙江大学 RS485 bus communication method based on Modbus protocol and power electronic system based on communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354175A (en) * 2011-08-01 2012-02-15 李遇浦 Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor
CN103402083A (en) * 2013-08-19 2013-11-20 中国能源建设集团广东省电力设计研究院 Video monitoring method and video monitoring system of direct-current power transmission system
CN104065545A (en) * 2014-06-27 2014-09-24 浙江大学 RS485 bus communication method based on Modbus protocol and power electronic system based on communication method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278918A (en) * 2015-10-15 2016-01-27 珠海格力电器股份有限公司 Reading method of register and register using reading method
CN105278918B (en) * 2015-10-15 2017-12-08 珠海格力电器股份有限公司 The read method of register and the register using the read method
CN105388833A (en) * 2015-11-07 2016-03-09 江西清华泰豪三波电机有限公司 Method for obtaining power station ID flexibly by employing S7 200PLC
CN105388833B (en) * 2015-11-07 2018-07-06 江西清华泰豪三波电机有限公司 A kind of method that power station ID is flexibly obtained by S7 200PLC
CN106911646A (en) * 2015-12-23 2017-06-30 重庆川仪自动化股份有限公司 Communications protocol and communication system
CN114391234A (en) * 2020-08-06 2022-04-22 华为数字能源技术有限公司 Data acquisition method and device, Modbus system and storage medium

Similar Documents

Publication Publication Date Title
CN104601420A (en) Method for flexibly reading power station data by utilizing Modbus
SA518391191B1 (en) Monitoring of Field Devices Via A Communication Network
US10678592B2 (en) Process control system
AU2012200826A1 (en) Meter processing communication system
CN104281106A (en) Remote control method and system for air conditioner
CN102722461A (en) Data communication system of storage management system and communication method thereof
CN103123470A (en) Method for controlling a field device
CN103532835A (en) Universal internet of things gateway
US9170579B1 (en) System, method and computer program product for monitoring and controlling industrial energy equipment
JP2016115344A (en) Systems and methods for memory map utilization
CN113381974A (en) Protocol conversion method between field bus and Modbus-TCP applied to special communication
CN103217956B (en) Industrial control system as well as control method and control device thereof
CN113436631B (en) Voice information processing method and system and device for voice information processing
CN107566156B (en) Power-saving mode switching method and device
CN205281471U (en) Printing terminal and system
CN102420809A (en) Terminal managing system, server and method
CN105791240A (en) Multichannel and multiprotocol channel management method and system
CN104168145A (en) System and method for conducting wireless updating on wireless communication units
CN203377901U (en) Data acquisition gateway
CN113434281B (en) Equipment scheduling method and cloud platform
US9787493B2 (en) Communication apparatus, control apparatus, and program
EP3937468B1 (en) Managing certificates in a building management system
CN103647690A (en) Communication method for industrial automation devices based on CAN bus
Smaiah et al. The implementation of SCADA open protocol IEC60870-5-101 on ARDUINO UNO board
CN105338517A (en) Message transmitting method, mobile broadband device and host

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150506

RJ01 Rejection of invention patent application after publication