CN102830649A - Method used for cross-platform transplantation of software of PLC (Programmable Logic Controller) of wind power control system - Google Patents

Method used for cross-platform transplantation of software of PLC (Programmable Logic Controller) of wind power control system Download PDF

Info

Publication number
CN102830649A
CN102830649A CN2012103015457A CN201210301545A CN102830649A CN 102830649 A CN102830649 A CN 102830649A CN 2012103015457 A CN2012103015457 A CN 2012103015457A CN 201210301545 A CN201210301545 A CN 201210301545A CN 102830649 A CN102830649 A CN 102830649A
Authority
CN
China
Prior art keywords
control system
wind power
power control
cross
language
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
CN2012103015457A
Other languages
Chinese (zh)
Other versions
CN102830649B (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.)
Guodian United Power Technology Co Ltd
Original Assignee
Guodian United Power 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 Guodian United Power Technology Co Ltd filed Critical Guodian United Power Technology Co Ltd
Priority to CN201210301545.7A priority Critical patent/CN102830649B/en
Publication of CN102830649A publication Critical patent/CN102830649A/en
Application granted granted Critical
Publication of CN102830649B publication Critical patent/CN102830649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method used for cross-platform transplantation of software of a PLC (Programmable Logic Controller) of a wind power control system. The method comprises the following steps of: (1) analyzing a configuration code rule of a PLC control program of a manufacturer A, wherein an analysis content comprises a configuration database and a configuration rule, and meanwhile, generating a C language template; (2) generating an IO (Input Output) list comprising a database and a variable logical table by utilizing the analysis content in the step (1); (3) selecting the C language template according to the variable logical table generated in the step (2), and converting the analysis content to a C language file; and (4) compiling the file converted in the step (3) and an interface procedure provided by a manufacturer B so as to generate a C language program capable of being operated on a device of the manufacturer B. According to the invention, a time period is greatly reduced, and the cost is saved.

Description

The method that is used for the cross-platform transplanting of wind power control system PLC controller software
Technical field
The present invention relates to the wind power technology field, particularly relate to a kind of method that is used for the cross-platform transplanting of wind power control system PLC controller software.
Background technology
All the time; In wind-powered electricity generation control field; One of problem that is perplexing the research staff to control system for a long time just is based on the consideration of cost of products and supplier's production capacity; Need the research staff that one cover primary control program is applied on the PLC controller of different producers, and the predicament that faces now is: meet the IEC61131 standard though all PLC producers are known as self configuration software, different producer's programming software environment is different; In the time of program portable, in B producer programming interface, be the program copy of A producer infeasible basically directly.
It is following to carry out the thing that software transplanting generally need do: 1. need the slip-stick artist that be familiar with very much master control system to do concrete work; 2. need PLC supplier whole process to carry out technical support; 3. so-called the transplanting; Be actually program is write again, therefore the intact module of every transplanting need take much time and test the function of individual module, and integral transplanting finishes and also will test.With wind-powered electricity generation 1.5MW control system is example; Probably need two or three slip-stick artists wholeheartedly to carry out software transplanting work and the test job in 1 year about 1 year, and that research staff's development time is left in market for is very limited, a certain supplier of family that this has directly caused selecting for use the design initial technician the PLC controller can only continue to use down always; Depend on the controller of a producer always; And the software transplanting of existing P LC control system need be spent considerable energy to different production producer, and time cost is high, and the construction cycle is long; Lose more than gain; Having caused the situation of having only supplier's dominance, for research staff and manufacturer, all is very passive.
This shows, on the cross-platform implantation method of above-mentioned existing wind power control system PLC controller software, obviously still have inconvenience and defective, and demand urgently further improving.How to found the cross-platform implantation method of a kind of simple, fast wind power control system PLC controller software, becoming the current industry utmost point needs improved target.
Summary of the invention
The technical matters that the present invention will solve provides a kind of method that is used for the cross-platform transplanting of wind power control system PLC controller software; It can be significantly reduced the construction cycle, accelerate tempo of development, existing the software transplanting of PLC control system need be spent considerable energy to different production producer thereby overcome; Time cost is high; Construction cycle is long, and the deficiency that loses more than gain is improved the situation of supplier's dominance.
For solving the problems of the technologies described above, the invention provides a kind of method that is used for the cross-platform transplanting of wind power control system PLC controller software, may further comprise the steps:
(1) the configuration code regulation of the parsing A PLC of producer control program, resolving content is configuration database and configuration rule, generates the C language template simultaneously;
(2) utilize the described parsing content of step (1) to generate the IO inventory that comprises database and variable logical table;
(3) the variable logical table that generates according to step (2) is selected the C language template, and converts described parsing content into the C language file;
(4) file after step (3) conversion is compiled with the interface routine that B producer provides, generate and may operate at the C programmer on the B producer equipment.
As a kind of improvement of the present invention; Parsing in the said step (1) is to convert the configuration code form to text formatting or database format; And obtaining the name variable of program, the C language template is at least by the template that comprises IO inventory and logic and comprise that the masterplate of intermediate variable forms.
Described step (2) also generates one or more in the following document: configuration document, logic drawing, IO accessory drawing.
Described C language template is textual form or word template form.
After adopting such design, the present invention has the following advantages at least:
(1) overcome existing with the software transplanting of PLC control system to long shortcoming of different production producer time cycle, significantly reduce workload, make the research staff can in the relatively short time, accomplish the exploitation of new product;
(2) overcome existing method and need spend quite a lot of human and material resources and financial resources, input cost is high, and the deficiency that loses more than gain can be saved cost to greatest extent;
(3) because the more existing conventional method of this method more saves time, fast, when consumer choice supplier, can improve the situation of supplier's dominance.
Description of drawings
Above-mentioned only is the general introduction of technical scheme of the present invention, understands technological means of the present invention in order can more to know, below in conjunction with accompanying drawing and embodiment the present invention is done further detailed description.
Fig. 1 is the synoptic diagram that the present invention is used for the method for the cross-platform transplanting of wind power control system PLC controller software.
Embodiment
See also shown in Figure 1ly, the producer that control system is provided is made as A producer, the equipment producer that accepts to transplant is made as B producer.And since on the wind-power market main flow PLC product vendor be mostly to support the C language, the primary control program of C language is constant, develops the different hardware interface programs to PLC equipment according to different suppliers, and this interface routine normally hardware supplier provide.Therefore, utilize the present invention to be used for the method for the cross-platform transplanting of wind power control system PLC controller software, can the program of A producer be converted to the C programmer that meets B producer code regulation.
Specifically, the present invention is used for the method for the cross-platform transplanting of wind power control system PLC controller software, may further comprise the steps:
(1) the configuration code regulation of the parsing A PLC of producer control program; Generate the C language template simultaneously; The mode of resolving can be to convert the configuration code form to text formatting or database format, and the content that the configuration code regulation of the PLC of A producer control program is resolved the back acquisition is configuration database and configuration rule.
Because the code of configuration can be opened with the form of text, variable and interrelated logic are being followed certain form, and the user can open text with excel software, obtain the name variable of program with the mode of selecting key word.
Generate the C language template according to initial selection simultaneously, this template can be textual form or word template form, and template can be divided into a lot of types, and a kind of is the template that is comprising IO inventory and logic, and a kind of is the template that is comprising intermediate variable.The content of these two kinds of templates has certain rule; Identical and the code that content is different of rule; Such as variable of definition, the template of C language be NameType IOName IOExpression corresponding generate by the form of the derivative IO inventory of A producer and intermediate variable and interrelated logic.
(2) utilize the described parsing content of step (1)---configuration database and configuration rule; Generation comprises the IO inventory of the variable logical table of database and interrelated logic, also generates one or more in following the document: be used to submit to the client the configuration document, supply the document of logic drawing, IO accessory drawing or other client's needs of client's reading.
(3) the variable logical table that generates according to step (2) through the form of VBA or other higher level lanquages, is selected the C language template according to the particular content of logical table, and is converted described parsing content into the C language file.Through the variable in the VBA program reading program Microsoft Excel, the bright template used type of a tabulation is arranged in these variable forms, be to generate the file of variable-definition or generate file of variable logical definition or the like.
(4) interface routine that the file after step (3) conversion is provided with B producer; Project file as a c program; These project files through the C CompilerTools compiling that B producer provides, are generated and may operate at the C programmer on the B producer equipment, as; * .m file, thus realize the cross-platform transplanting of software.
The applicant experimentized in 2011; The 1.5MW control program successfully is transplanted in the controller of an other tame manufacturer with the form of C language, very high through experiment showed, feasible degree of the present invention; The human resources that drop into are transplanted relatively in a large number and will be lacked a lot, have obtained good effect.
The above; It only is preferred embodiment of the present invention; Be not that the present invention is done any pro forma restriction, those skilled in the art utilize the technology contents of above-mentioned announcement to make a little simple modification, equivalent variations or modification, all drop in protection scope of the present invention.

Claims (4)

1. method that is used for the cross-platform transplanting of wind power control system PLC controller software is characterized in that may further comprise the steps:
(1) the configuration code regulation of the parsing A PLC of producer control program, resolving content is configuration database and configuration rule, generates the C language template simultaneously;
(2) utilize the described parsing content of step (1) to generate the IO inventory that comprises database and variable logical table;
(3) the variable logical table that generates according to step (2) is selected the C language template, and converts described parsing content into the C language file;
(4) file after step (3) conversion is compiled with the interface routine that B producer provides, generate and may operate at the C programmer on the B producer equipment.
2. a kind of method that is used for the cross-platform transplanting of wind power control system PLC controller software according to claim 1; It is characterized in that the parsing in the said step (1) is to convert the configuration code form to text formatting or database format; And obtaining the name variable of program, the C language template is at least by the template that comprises IO inventory and logic and comprise that the masterplate of intermediate variable forms.
3. a kind of method that is used for the cross-platform transplanting of wind power control system PLC controller software according to claim 1 is characterized in that described step (2) also generates one or more in the following document: configuration document, logic drawing, IO accessory drawing.
4. a kind of method that is used for the cross-platform transplanting of wind power control system PLC controller software according to claim 1 is characterized in that described C language template is textual form or word template form.
CN201210301545.7A 2012-08-22 2012-08-22 Method used for cross-platform transplantation of software of PLC (Programmable Logic Controller) of wind power control system Active CN102830649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210301545.7A CN102830649B (en) 2012-08-22 2012-08-22 Method used for cross-platform transplantation of software of PLC (Programmable Logic Controller) of wind power control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210301545.7A CN102830649B (en) 2012-08-22 2012-08-22 Method used for cross-platform transplantation of software of PLC (Programmable Logic Controller) of wind power control system

Publications (2)

Publication Number Publication Date
CN102830649A true CN102830649A (en) 2012-12-19
CN102830649B CN102830649B (en) 2015-02-04

Family

ID=47333823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210301545.7A Active CN102830649B (en) 2012-08-22 2012-08-22 Method used for cross-platform transplantation of software of PLC (Programmable Logic Controller) of wind power control system

Country Status (1)

Country Link
CN (1) CN102830649B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077114A (en) * 2014-10-30 2017-08-18 西门子公司 Soft sensor is used in programmable logic controller (PLC)
CN111290771A (en) * 2020-03-11 2020-06-16 杭州和利时自动化有限公司 System upgrading method, device, equipment and computer readable storage medium
CN112367206A (en) * 2020-11-12 2021-02-12 珠海格力电器股份有限公司 Configuration data processing method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382783A (en) * 2007-09-03 2009-03-11 台达电子工业股份有限公司 Program mechanical code compiling method for programmable logic controller
JP4247664B2 (en) * 2003-03-13 2009-04-02 オムロン株式会社 Programmable controller equipment
JP2009086898A (en) * 2007-09-28 2009-04-23 Delta Electronics Inc Method for compiling machine code program for programmable logic controller
CN102497360A (en) * 2011-12-05 2012-06-13 济南钢铁股份有限公司 Method for realizing data association and communication among programmable logic controllers (PLC) of different types

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4247664B2 (en) * 2003-03-13 2009-04-02 オムロン株式会社 Programmable controller equipment
CN101382783A (en) * 2007-09-03 2009-03-11 台达电子工业股份有限公司 Program mechanical code compiling method for programmable logic controller
JP2009086898A (en) * 2007-09-28 2009-04-23 Delta Electronics Inc Method for compiling machine code program for programmable logic controller
CN102497360A (en) * 2011-12-05 2012-06-13 济南钢铁股份有限公司 Method for realizing data association and communication among programmable logic controllers (PLC) of different types

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张雄等: "DCS系统组态工程中的缺陷及IO清单标准化问题研究", 《华东电力》, vol. 38, no. 3, 31 March 2010 (2010-03-31), pages 425 - 1 *
张雄等: "Ovation控制系统点数据库组态通用模型设计与软件应用", 《计算机应用与软件》, vol. 29, no. 8, 15 August 2012 (2012-08-15) *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077114A (en) * 2014-10-30 2017-08-18 西门子公司 Soft sensor is used in programmable logic controller (PLC)
US10739746B2 (en) 2014-10-30 2020-08-11 Siemens Aktiengesellschaft Using soft-sensors in a programmable logic controller
CN107077114B (en) * 2014-10-30 2020-09-29 西门子公司 Use of soft sensors in programmable logic controllers
CN111290771A (en) * 2020-03-11 2020-06-16 杭州和利时自动化有限公司 System upgrading method, device, equipment and computer readable storage medium
CN112367206A (en) * 2020-11-12 2021-02-12 珠海格力电器股份有限公司 Configuration data processing method, device and system
CN112367206B (en) * 2020-11-12 2021-10-22 珠海格力电器股份有限公司 Configuration data processing method, device and system

Also Published As

Publication number Publication date
CN102830649B (en) 2015-02-04

Similar Documents

Publication Publication Date Title
CN102004659B (en) Integration environment generator
Backe et al. EMPIRE: An open-source model based on multi-horizon programming for energy transition analyses
CN101533349B (en) Platform-related model of large-granularity components and method of automatic code generation thereof
Turcotte et al. Photovoltaic hybrid system sizing and simulation tools: status and needs
CN103425572B (en) Code analysis methods and code analysis system
CN102356370A (en) System and method for generating control system database and graphics from schema-based intermediate descriptions
CN104317589A (en) Automatic code generating method and automatic code generating device for loading dynamic link library
Fleming et al. SOWFA+ super controller user's manual
CN104657274A (en) Method and device for testing software interface
Neis et al. Model driven software engineering of power systems applications: literature review and trends
Talbot et al. HERON as a Tool for LWR Market Interaction in a Deregulated Market
CN102830649A (en) Method used for cross-platform transplantation of software of PLC (Programmable Logic Controller) of wind power control system
CN102799137B (en) Method for cross-platform transportation of programmable logic controller (PLC) software of wind power control system
Morriet et al. Multi-actor modelling for MILP energy systems optimisation: application to collective self-consumption
Mohseni Power to gas: Bridging renewable electricity to the transport sector
US8074200B2 (en) Method and system for providing tooling instructions through parameterization as an aid for software application development
Martínez‐Quintana et al. A power optimization model for the long‐term planning scenarios: Case study of Mexico's power system decarbonization
CN103150189A (en) Intelligent watt-hour meter parameter setting method
Pichidtienthum et al. Developing Module Generation for Odoo Using Concept of Low-Code Development Platform and Automation Systems
Hayman MExtemes Manual Version 1.00
CN102799694A (en) Method for configuring fan master control system
Radu Strategies for provision of secondary reserve capacity to balance short-term fluctuations of variable renewable energy
Fricke et al. Python Framework for Wind Turbines Enabling Test Automation of MoWiT
Varga et al. Programmable Process Structure Based Analysis of Hydrogen Supply Chains
Pfenninger Calliope documentation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant