CN109086070A - A kind of industry control industry library packaging method and system defined based on free logic - Google Patents

A kind of industry control industry library packaging method and system defined based on free logic Download PDF

Info

Publication number
CN109086070A
CN109086070A CN201810825950.6A CN201810825950A CN109086070A CN 109086070 A CN109086070 A CN 109086070A CN 201810825950 A CN201810825950 A CN 201810825950A CN 109086070 A CN109086070 A CN 109086070A
Authority
CN
China
Prior art keywords
functional block
industry
block library
library
essential information
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
CN201810825950.6A
Other languages
Chinese (zh)
Other versions
CN109086070B (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.)
Zhejiang Supcon Technology Co Ltd
Original Assignee
Zhejiang Supcon 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 Zhejiang Supcon Technology Co Ltd filed Critical Zhejiang Supcon Technology Co Ltd
Priority to CN201810825950.6A priority Critical patent/CN109086070B/en
Publication of CN109086070A publication Critical patent/CN109086070A/en
Application granted granted Critical
Publication of CN109086070B publication Critical patent/CN109086070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

This application discloses a kind of industry control industry library packaging methods and system defined based on free logic, the described method includes: export industry functional block library, by the data file in derived industry special function block library, the installation kit for industry functional block library is handled by package, by way of installation kit, industry functional block library is installed in computer, on the computer for having installed industry functional block library, the industry functional block library is imported in configuration.The application in configuration by importing the industry functional block library, while meeting different industries functional block specificity, existing general purpose function block in configuration can be multiplexed to the greatest extent again, reduce the workload of implementation personnel, realize safe, easy-to-use, efficient configuration.

Description

A kind of industry control industry library packaging method and system defined based on free logic
Technical field
This application involves technical field of data processing more particularly to a kind of industry control industry library envelopes defined based on free logic Fill method and system.
Background technique
All it is badly in need of providing for its industry characteristic in the different field of industry control industry, such as cement, electric power, ethylene, oil refining Dedicated Control System Software.
Currently, demand of the industry control industry for various industries, using following solution: being developed for single industry a set of Dedicated Control System Software and matched functional block database, the cement industry specialized version for being such as suitable for cement industry control System, functional block within the system are only applicable to cement industry.
Such scheme is able to satisfy the demand of industry, but there is also more limitations: it is versatility and flexibility are insufficient first, Dedicated Control System Software must be developed for single industry field, while will also be corresponding to the functional block of exploitation the sector.It is right The software and functional block answered are only applicable to particular area, can not be compatible with other industry.Secondly development cost and maintenance cost are higher, If individual feature block logic changes, it may be necessary to the upgrading of entire software;Its last installation and use are also relatively complicated.
Summary of the invention
In view of this, this application provides a kind of industry control industry library packaging method defined based on free logic, Ji Nengman The specificity of sufficient different industries functional block, and general solution can be provided.
This application provides a kind of industry control industry library packaging methods defined based on free logic, which comprises
Export industry functional block library;
By the data file in the derived industry special function block library, the peace for industry functional block library is handled by package Dress packet;
By way of installation kit, the industry functional block library is installed in computer;
On the computer for having installed the industry functional block library, the industry functional block library is imported in configuration.
Preferably, the export industry functional block library includes:
Extract the essential information of functional block in the industry functional block library;
Extract the essential information of the industry functional block library;
By the essential information of the essential information of functional block and the industry functional block library in the industry functional block library, storage Into message file;
Data and component all in the industry functional block library are extracted, are binary data text by all data conversion storages Part.
Preferably, described on the computer for having installed the industry functional block library, the industry function is imported in configuration Energy block library includes:
The message file for reading the industry functional block library obtains the essential information and industry functional block library of all functional blocks Essential information;
Judge the essential information of all functional blocks and the essential information of industry functional block library, if with the configuration In existing functional block or functional block library conflict, if it is not, then:
According to the relevant information for importing industry functional block library, relevant industry functional block library is created in system controlling software Information parses the binary data file of the industry functional block library, and data are converted respectively according to the structure of functional block.
Preferably, when the essential information of all functional blocks and the essential information of industry functional block library, with described group When existing functional block or functional block library mutually conflict in state, forbid importing the industry functional block library.
A kind of industry control industry library package system defined based on free logic, comprising:
Export module, for exporting industry functional block library;
Package module, for handling the data file in the derived industry special function block library by package as row The installation kit of industry functional block library;
Module is installed, for by way of installation kit, the industry functional block library to be installed in computer;
Import modul, for importing the industry in configuration in the computer for having installed the industry functional block library Functional block library.
Preferably, the export module includes:
First extraction unit, for extracting the essential information of functional block in the industry functional block library;
Second extraction unit, for extracting the essential information of the industry functional block library;
Storage unit, for by the essential information of functional block in the industry functional block library and the industry functional block library Essential information is stored into message file;
Unloading unit, for extracting data and component all in the industry functional block library, by all data conversion storages For binary data file.
Preferably, the import modul includes:
Acquiring unit obtains the essential information of all functional blocks for reading the message file of the industry functional block library With the essential information of industry functional block library;
Judging unit, for judging the essential information of all functional blocks and the essential information of industry functional block library, Whether conflict with existing functional block in the configuration or functional block library;
Resolution unit, for working as the essential information of all functional blocks and the essential information of industry functional block library, with When existing functional block or functional block library do not conflict in the configuration, foundation imports the relevant information of industry functional block library, Relevant industry functional block library information is created in system controlling software, parses the binary data text of the industry functional block library Part converts data according to the structure of functional block respectively.
Preferably, the system also includes:
Forbid unit, for working as the essential information of all functional blocks and the essential information of industry functional block library, with When existing functional block or functional block library mutually conflict in the configuration, forbid importing the industry functional block library.
In conclusion working as needs this application discloses a kind of industry control industry library packaging method defined based on free logic When being packaged to industry control industry library, industry functional block library is exported first, then by the number in derived industry special function block library According to file, the installation kit for industry functional block library is handled by package, by way of installation kit, by the industry functional block library It is installed in computer, on the computer for having installed the industry functional block library, the industry functional block is imported in configuration Library while meeting different industries functional block specificity, and can be multiplexed existing general purpose function block in configuration to the greatest extent, The workload for reducing implementation personnel realizes safe, easy-to-use, efficient configuration.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of stream of the industry control industry library packaging method embodiment 1 defined based on free logic disclosed in the present application Cheng Tu;
Fig. 2 is a kind of stream of the industry control industry library packaging method embodiment 2 defined based on free logic disclosed in the present application Cheng Tu;
Fig. 3 is a kind of knot of the industry control industry library package system embodiment 1 defined based on free logic disclosed in the present application Structure schematic diagram;
Fig. 4 is a kind of knot of the industry control industry library package system embodiment 2 defined based on free logic disclosed in the present application Structure schematic diagram.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
As shown in Figure 1, for a kind of industry control industry library packaging method implementation defined based on free logic disclosed in the present application The flow chart of example 1, the method may include following steps:
S101, export industry functional block library;
For different fields, corresponding special function block library, i.e. industry functional block library need to be prepared.Such as export cement industry When, first the general functional block of cement industry is integrated into after the same functional block library in system controlling software and is exported again.Similarly, If export other industry functional block library, the special function block of corresponding industry is selected, i.e. different industries functional block library can be with Unrestricted choice and combination.
S102, by the data file in derived industry special function block library, handling by package is industry functional block library Installation kit;
After exporting industry functional block library, the data file in industry special function block library is further subjected to package processing, The installation kit for generating industry functional block library is handled by package.
S103, by way of installation kit, industry functional block library is installed in computer;
After generating the installation kit of industry functional block library, further by way of installation kit, industry functional block library is pacified It is attached in computer.Wherein, the information of installation includes the message file and data file of industry functional block library.
S104, on the computer for having installed industry functional block library, in configuration import industry functional block library.
Finally, importing industry functional block library in configuration on the computer for having installed industry functional block library.In industry function After energy block library imports, functional block and icon in industry functional block library, panel can use in system controlling software.
The functional block in industry functional block library after importing is, it can be achieved that the function completely the same with GF global functions block, can The functional block in industry functional block library is instantiated directly in user program to participate in control configuration.Can adjust again logic, After the components such as panel, map sheet, used in configuration.Peace is made as the industry functional block library of a new version after can also exporting Dress cladding is used, and thereby realizes functional block itself and flexible processing that component can be adjusted freely, be modified.
In conclusion in the above-described embodiments, when needing to be packaged industry control industry library, exporting industry function first Block library handles the installation for industry functional block library by package then by the data file in derived industry special function block library Packet, by way of installation kit, the industry functional block library is installed in computer, is installing the industry functional block library Computer on, the industry functional block library is imported in configuration, while meeting different industries functional block specificity, and energy To the greatest extent multiplexing configuration in existing general purpose function block, reduce the workload of implementation personnel, realize it is safe, easy-to-use, Efficient configuration.
As shown in Fig. 2, for a kind of industry control industry library packaging method implementation defined based on free logic disclosed in the present application The flow chart of example 2, the method may include following steps:
S201, the essential information for extracting functional block in industry functional block library;
For different fields, corresponding special function block library, i.e. industry functional block library need to be prepared.Such as export cement industry When, first the general functional block of cement industry is integrated into after the same functional block library in system controlling software and is exported again.Similarly, If export other industry functional block library, the special function block of corresponding industry is selected, i.e. different industries functional block library can be with Unrestricted choice and combination.
In industry functional block library everywhere, the essential information of functional block first in extraction industry functional block library, wherein industry The essential information of functional block includes: the information such as title, programming language, the description of functional block in functional block library.
S202, the essential information for extracting industry functional block library;
Meanwhile the essential information of industry functional block library is extracted, the essential information of industry functional block library includes: industry function The information such as title, description, the version number in block library.This partial information is used for the definition of industry functional block library self information, needs to use Family is customized.
S203, by the essential information of the essential information of functional block and industry functional block library in industry functional block library, storage is arrived In message file;
After extracting the essential information of the essential information of functional block and industry functional block library in industry functional block library, it will go The storage of the essential information of the essential information of functional block and industry functional block library is into message file in industry functional block library.
S204, data and component all in industry functional block library are extracted, is binary data by all data conversion storages File;
Then, data and component all in industry functional block library, such as icon, panel, logic are extracted, by all numbers It is binary data file according to unloading.
S205, by the data file in derived industry special function block library, handling by package is industry functional block library Installation kit;
After exporting industry functional block library, the data file in industry special function block library is further subjected to package processing, The installation kit for generating industry functional block library is handled by package.
S206, by way of installation kit, industry functional block library is installed in computer;
After generating the installation kit of industry functional block library, further by way of installation kit, industry functional block library is pacified It is attached in computer.Wherein, the information of installation includes the message file and data file of industry functional block library.
S207, the message file for reading industry functional block library, obtain the essential information and industry functional block of all functional blocks The essential information in library;
Finally, importing industry functional block library in configuration on the computer for having installed industry functional block library.It goes importing When industry functional block library, the message file of industry functional block library is read first, obtains the essential information and industry function of all functional blocks The essential information in energy block library.
The essential information of S208, the essential information for judging all functional blocks and industry functional block library, if with described group Existing functional block or functional block library conflict in state, if it is not, then enter S209, if so, into S210:
Then, judge the essential information of all functional blocks and the essential information of industry functional block library, if with described group Whether existing functional block or functional block library conflict in state, e.g., arbitration functions block bear the same name with functional block existing in configuration, go Whether industry functional block library bears the same name with industry functional block library existing in configuration.
S209, foundation import the relevant information of industry functional block library, and relevant industry function is created in system controlling software Can block library information, parse the binary data file of the industry functional block library, by data according to functional block structure respectively into Row conversion;
When the essential information of all functional blocks and the essential information of industry functional block library, with functional block existing in configuration Or functional block library according to the relevant information for importing industry functional block library, is created related in system controlling software when not conflicting Industry functional block library information, then parse the binary data file of industry functional block library, by data according to the structure of functional block, It is respectively converted into logic, panel, icon etc., the importing of industry functional block library can be completed.
The functional block in industry functional block library after importing is, it can be achieved that the function completely the same with GF global functions block, can The functional block in industry functional block library is instantiated directly in user program to participate in control configuration.Can adjust again logic, After the components such as panel, map sheet, used in configuration.Peace is made as the industry functional block library of a new version after can also exporting Dress cladding is used, and thereby realizes functional block itself and flexible processing that component can be adjusted freely, be modified.
S210, forbid importing the industry functional block library.
When the essential information of all functional blocks and the essential information of industry functional block library, with functional block existing in configuration Or functional block library forbids importing industry functional block library when mutually conflicting.
In conclusion different industries can be individually encapsulated the industry in corresponding field using technical solution disclosed in the present application Functional block library, each industry functional block library include the special function block in its field;Without developing single industry specific versions Control System Software, it is only necessary to develop different industry functional block libraries, after general Control System Software, then import each row The corresponding industry functional block library of industry can meet the needs of different industries;Each industry functional block library can be encapsulated repeatedly, be realized Edition upgrading and iteration can be made as 2.0 version of cement bunker after adjustment, upgrading, for difference such as 1.0 version of cement bunker again Scene, its industry functional block library for being applicable in version may be selected and install and use;It can support the industry functional block library of different editions Between covering import, realize quickly upgrading, such as use 1.0 version of cement bunker, again importing 2.0 version of cement bunker after, Without deleting former cement bunker, 2.0 versions cover the data of 1.0 versions;It can be realized the compatible controllable and data of multi version Source is traceable.
As shown in figure 3, for a kind of industry control industry library package system implementation defined based on free logic disclosed in the present application The structural schematic diagram of example 1, the system may include:
Export module 301, for exporting industry functional block library;
For different fields, corresponding special function block library, i.e. industry functional block library need to be prepared.Such as export cement industry When, first the general functional block of cement industry is integrated into after the same functional block library in system controlling software and is exported again.Similarly, If export other industry functional block library, the special function block of corresponding industry is selected, i.e. different industries functional block library can be with Unrestricted choice and combination.
Package module 302, for by the data file in derived industry special function block library, handling by package to be industry The installation kit of functional block library;
After exporting industry functional block library, the data file in industry special function block library is further subjected to package processing, The installation kit for generating industry functional block library is handled by package.
Module 303 is installed, for by way of installation kit, industry functional block library to be installed in computer;
After generating the installation kit of industry functional block library, further by way of installation kit, industry functional block library is pacified It is attached in computer.Wherein, the information of installation includes the message file and data file of industry functional block library.
Import modul 304, for importing industry functional block in configuration in the computer for having installed industry functional block library Library.
Finally, importing industry functional block library in configuration on the computer for having installed industry functional block library.In industry function After energy block library imports, functional block and icon in industry functional block library, panel can use in system controlling software.
The functional block in industry functional block library after importing is, it can be achieved that the function completely the same with GF global functions block, can The functional block in industry functional block library is instantiated directly in user program to participate in control configuration.Can adjust again logic, After the components such as panel, map sheet, used in configuration.Peace is made as the industry functional block library of a new version after can also exporting Dress cladding is used, and thereby realizes functional block itself and flexible processing that component can be adjusted freely, be modified.
In conclusion in the above-described embodiments, when needing to be packaged industry control industry library, exporting industry function first Block library handles the installation for industry functional block library by package then by the data file in derived industry special function block library Packet, by way of installation kit, the industry functional block library is installed in computer, is installing the industry functional block library Computer on, the industry functional block library is imported in configuration, while meeting different industries functional block specificity, and energy To the greatest extent multiplexing configuration in existing general purpose function block, reduce the workload of implementation personnel, realize it is safe, easy-to-use, Efficient configuration.
As shown in figure 4, for a kind of industry control industry library package system implementation defined based on free logic disclosed in the present application The structural schematic diagram of example 2, the system may include:
First extraction unit 401, for extracting the essential information of functional block in industry functional block library;
For different fields, corresponding special function block library, i.e. industry functional block library need to be prepared.Such as export cement industry When, first the general functional block of cement industry is integrated into after the same functional block library in system controlling software and is exported again.Similarly, If export other industry functional block library, the special function block of corresponding industry is selected, i.e. different industries functional block library can be with Unrestricted choice and combination.
In industry functional block library everywhere, the essential information of functional block first in extraction industry functional block library, wherein industry The essential information of functional block includes: the information such as title, programming language, the description of functional block in functional block library.
Second extraction unit 402, for extracting the essential information of industry functional block library;
Meanwhile the essential information of industry functional block library is extracted, the essential information of industry functional block library includes: industry function The information such as title, description, the version number in block library.This partial information is used for the definition of industry functional block library self information, needs to use Family is customized.
Storage unit 403, for by the basic of the essential information of functional block in industry functional block library and industry functional block library Information is stored into message file;
After extracting the essential information of the essential information of functional block and industry functional block library in industry functional block library, it will go The storage of the essential information of the essential information of functional block and industry functional block library is into message file in industry functional block library.
All data conversion storages are by unloading unit 404 for extracting data and component all in industry functional block library Binary data file;
Then, data and component all in industry functional block library, such as icon, panel, logic are extracted, by all numbers It is binary data file according to unloading.
Package module 405, for by the data file in derived industry special function block library, handling by package to be industry The installation kit of functional block library;
After exporting industry functional block library, the data file in industry special function block library is further subjected to package processing, The installation kit for generating industry functional block library is handled by package.
Module 406 is installed, for by way of installation kit, industry functional block library to be installed in computer;
After generating the installation kit of industry functional block library, further by way of installation kit, industry functional block library is pacified It is attached in computer.Wherein, the information of installation includes the message file and data file of industry functional block library.
Acquiring unit 407, for reading the message file of industry functional block library, obtain all functional blocks essential information and The essential information of industry functional block library;
Finally, importing industry functional block library in configuration on the computer for having installed industry functional block library.It goes importing When industry functional block library, the message file of industry functional block library is read first, obtains the essential information and industry function of all functional blocks The essential information in energy block library.
Judging unit 408 is for judging the essential information of all functional blocks and the essential information of industry functional block library It is no to conflict with existing functional block in the configuration or functional block library;
Then, judge the essential information of all functional blocks and the essential information of industry functional block library, if with described group Whether existing functional block or functional block library conflict in state, e.g., arbitration functions block bear the same name with functional block existing in configuration, go Whether industry functional block library bears the same name with industry functional block library existing in configuration.
Resolution unit 409, for working as the essential information of all functional blocks and the essential information of industry functional block library, When not conflicting with functional block existing in the configuration or functional block library, foundation imports the relevant information of industry functional block library, Relevant industry functional block library information is created in system controlling software, parses the binary data text of the industry functional block library Part converts data according to the structure of functional block respectively;
When the essential information of all functional blocks and the essential information of industry functional block library, with functional block existing in configuration Or functional block library according to the relevant information for importing industry functional block library, is created related in system controlling software when not conflicting Industry functional block library information, then parse the binary data file of industry functional block library, by data according to the structure of functional block, It is respectively converted into logic, panel, icon etc., the importing of industry functional block library can be completed.
The functional block in industry functional block library after importing is, it can be achieved that the function completely the same with GF global functions block, can The functional block in industry functional block library is instantiated directly in user program to participate in control configuration.Can adjust again logic, After the components such as panel, map sheet, used in configuration.Peace is made as the industry functional block library of a new version after can also exporting Dress cladding is used, and thereby realizes functional block itself and flexible processing that component can be adjusted freely, be modified.
Forbid unit 410, for working as the essential information of all functional blocks and the essential information of industry functional block library, When mutually conflicting with functional block existing in the configuration or functional block library, forbid importing the industry functional block library.
When the essential information of all functional blocks and the essential information of industry functional block library, with functional block existing in configuration Or functional block library forbids importing industry functional block library when mutually conflicting.
In conclusion different industries can be individually encapsulated the industry in corresponding field using technical solution disclosed in the present application Functional block library, each industry functional block library include the special function block in its field;Without developing single industry specific versions Control System Software, it is only necessary to develop different industry functional block libraries, after general Control System Software, then import each row The corresponding industry functional block library of industry can meet the needs of different industries;Each industry functional block library can be encapsulated repeatedly, be realized Edition upgrading and iteration can be made as 2.0 version of cement bunker after adjustment, upgrading, for difference such as 1.0 version of cement bunker again Scene, its industry functional block library for being applicable in version may be selected and install and use;It can support the industry functional block library of different editions Between covering import, realize quickly upgrading, such as use 1.0 version of cement bunker, again importing 2.0 version of cement bunker after, Without deleting former cement bunker, 2.0 versions cover the data of 1.0 versions;It can be realized the compatible controllable and data of multi version Source is traceable.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (8)

1. a kind of industry control industry library packaging method defined based on free logic, which is characterized in that the described method includes:
Export industry functional block library;
By the data file in the derived industry special function block library, the installation for industry functional block library is handled by package Packet;
By way of installation kit, the industry functional block library is installed in computer;
On the computer for having installed the industry functional block library, the industry functional block library is imported in configuration.
2. the method according to claim 1, wherein the export industry functional block library includes:
Extract the essential information of functional block in the industry functional block library;
Extract the essential information of the industry functional block library;
By the essential information of the essential information of functional block and the industry functional block library in the industry functional block library, storage to letter It ceases in file;
Data and component all in the industry functional block library are extracted, are binary data file by all data conversion storages.
3. according to the method described in claim 2, it is characterized in that, described in the computer for having installed the industry functional block library On, the industry functional block library is imported in configuration includes:
The message file for reading the industry functional block library obtains the essential information of all functional blocks and the base of industry functional block library This information;
Judge the essential information of all functional blocks and the essential information of industry functional block library, if in the configuration Some functional blocks or functional block library conflict, if it is not, then:
According to the relevant information for importing industry functional block library, relevant industry functional block library letter is created in system controlling software Breath, parses the binary data file of the industry functional block library, data is converted respectively according to the structure of functional block.
4. according to the method described in claim 3, it is characterized in that, working as the essential information and industry function of all functional blocks The essential information in energy block library, when mutually conflicting with existing functional block in the configuration or functional block library, forbids importing the row Industry functional block library.
5. a kind of industry control industry library package system defined based on free logic characterized by comprising
Export module, for exporting industry functional block library;
Package module, for by the data file in the derived industry special function block library, handling by package to be industry function The installation kit in energy block library;
Module is installed, for by way of installation kit, the industry functional block library to be installed in computer;
Import modul, for importing the industry function in configuration in the computer for having installed the industry functional block library Block library.
6. system according to claim 5, which is characterized in that the export module includes:
First extraction unit, for extracting the essential information of functional block in the industry functional block library;
Second extraction unit, for extracting the essential information of the industry functional block library;
Storage unit, for by the basic of the essential information of functional block in the industry functional block library and the industry functional block library Information is stored into message file;
All data conversion storages are two for extracting data and component all in the industry functional block library by unloading unit Binary data file.
7. system according to claim 6, which is characterized in that the import modul includes:
Acquiring unit obtains the essential information and row of all functional blocks for reading the message file of the industry functional block library The essential information of industry functional block library;
Judging unit, for judging the essential information of all functional blocks and the essential information of industry functional block library, if Conflict with functional block existing in the configuration or functional block library;
Resolution unit, it is and described for when the essential information of all functional blocks and the essential information of industry functional block library When existing functional block or functional block library do not conflict in configuration, according to the relevant information for importing industry functional block library, in system Relevant industry functional block library information is created in control software, parses the binary data file of the industry functional block library, it will Data are converted respectively according to the structure of functional block.
8. system according to claim 7, which is characterized in that further include:
Forbid unit, it is and described for when the essential information of all functional blocks and the essential information of industry functional block library When existing functional block or functional block library mutually conflict in configuration, forbid importing the industry functional block library.
CN201810825950.6A 2018-07-25 2018-07-25 Industrial control industry library packaging method and system based on free logic definition Active CN109086070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810825950.6A CN109086070B (en) 2018-07-25 2018-07-25 Industrial control industry library packaging method and system based on free logic definition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810825950.6A CN109086070B (en) 2018-07-25 2018-07-25 Industrial control industry library packaging method and system based on free logic definition

Publications (2)

Publication Number Publication Date
CN109086070A true CN109086070A (en) 2018-12-25
CN109086070B CN109086070B (en) 2022-04-19

Family

ID=64838548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810825950.6A Active CN109086070B (en) 2018-07-25 2018-07-25 Industrial control industry library packaging method and system based on free logic definition

Country Status (1)

Country Link
CN (1) CN109086070B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596485A (en) * 2020-12-22 2021-04-02 浙江中控技术股份有限公司 Method and device for packaging and reusing configuration data in industrial control system
CN113534682A (en) * 2020-04-16 2021-10-22 北京国电智深控制技术有限公司 Method and device for managing logic blocks in industrial controller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193536A (en) * 2010-02-12 2011-09-21 洛克威尔自动控制技术股份有限公司 Marco functional block for packaging device-level embedded logic
CN107844093A (en) * 2016-09-18 2018-03-27 南京南瑞继保电气有限公司 A kind of custom feature block and configuration method for packing based on component models
CN108319161A (en) * 2018-02-05 2018-07-24 浙江大学 A kind of industry SCADA system emulation platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193536A (en) * 2010-02-12 2011-09-21 洛克威尔自动控制技术股份有限公司 Marco functional block for packaging device-level embedded logic
CN107844093A (en) * 2016-09-18 2018-03-27 南京南瑞继保电气有限公司 A kind of custom feature block and configuration method for packing based on component models
CN108319161A (en) * 2018-02-05 2018-07-24 浙江大学 A kind of industry SCADA system emulation platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113534682A (en) * 2020-04-16 2021-10-22 北京国电智深控制技术有限公司 Method and device for managing logic blocks in industrial controller
CN112596485A (en) * 2020-12-22 2021-04-02 浙江中控技术股份有限公司 Method and device for packaging and reusing configuration data in industrial control system
CN112596485B (en) * 2020-12-22 2022-05-27 浙江中控技术股份有限公司 Method and device for packaging and reusing configuration data in industrial control system

Also Published As

Publication number Publication date
CN109086070B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
CN107291480B (en) Function calling method and device
US7945895B2 (en) Graphical programs with FIFO structure for controller/FPGA communications
US7606950B2 (en) Graphical programs with direct memory access FIFO for controller/FPGA communications
US7331037B2 (en) Static memory allocation in a graphical programming system
CN105607897B (en) Chip register code automatic generation method and its system
CN106371838A (en) Method and system for maintaining software package dependence relationship
CN107133502B (en) A kind of processing method and processing device of application program
US20060036799A1 (en) Multi-platform development and execution of graphical programs
CN101256482A (en) Development system and method for built-in application program
CN106325965B (en) The Compilation Method and device of operating system
CN111881102A (en) Method, device and readable medium for collecting audit logs based on AOP (automatic optical plane protocol) section
CN109542459A (en) Application program packaging method and device, computer installation and computer storage medium
CN105224309B (en) A kind of method and apparatus for transferring function
CN101859251A (en) Method and device for installing embedded operating system
EP3367238A1 (en) Producing method and producing system for desktop launcher of mobile terminal
WO2018032653A1 (en) Function implementing method and apparatus for java card application
CN102221998A (en) Method for extending EJB container in component running support platform
CN109086070A (en) A kind of industry control industry library packaging method and system defined based on free logic
CN109670299A (en) A kind of method and electronic equipment creating Python sandbox environment
CN110059456A (en) Code protection method, code protection device, storage medium and electronic equipment
CN101650663A (en) Database system and upgrading method thereof
Schulze et al. Automotive model-driven development and the challenge of variability
CN108846264A (en) Code reinforcement means, device, intelligent terminal and computer readable storage medium
CN110275706A (en) Program publication and loading method, device, computer system and readable storage medium storing program for executing
KR20180098584A (en) Method and apparatus for executing APP program

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