CN106293619A - A kind of plant control unit for MES system - Google Patents

A kind of plant control unit for MES system Download PDF

Info

Publication number
CN106293619A
CN106293619A CN201610670453.4A CN201610670453A CN106293619A CN 106293619 A CN106293619 A CN 106293619A CN 201610670453 A CN201610670453 A CN 201610670453A CN 106293619 A CN106293619 A CN 106293619A
Authority
CN
China
Prior art keywords
module
function
control unit
mes system
plant control
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
CN201610670453.4A
Other languages
Chinese (zh)
Other versions
CN106293619B (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.)
Suzhou Friend Intelligent Technology Co Ltd
Original Assignee
Suzhou Friend Intelligent 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 Suzhou Friend Intelligent Technology Co Ltd filed Critical Suzhou Friend Intelligent Technology Co Ltd
Priority to CN201610670453.4A priority Critical patent/CN106293619B/en
Publication of CN106293619A publication Critical patent/CN106293619A/en
Application granted granted Critical
Publication of CN106293619B publication Critical patent/CN106293619B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs

Abstract

The embodiment of the present application provides a kind of plant control unit for MES system, it is characterised in that described control device at least includes ability module and control module;Described ability module is for reading operation logic file and the function library of extraneous transmission;Described control module is used for loading and run described operation logic file and described function library.It can read the extraneous operation logic file transmitted and function library and with this in real time to define the control device of the MES system of self function, make the application developer can power function in the most self-defined operation logic file and function library, without the function controlling device is solidified in systems in advance, compared to existing technology, improve the flexibility ratio that manufacturing process controls, reduce development cost.

Description

A kind of plant control unit for MES system
Technical field
The invention belongs to manufacturing execution system (manufacturing execution system is called for short MES) field, especially It relates to a kind of plant control unit for MES system.
Background technology
The whole production process completed from order placement to product can be carried out excellent by information transmission by manufacturing execution system Change management.It can obtain information with the ERP system communication of upper end and can collect the data message of the terminal unit being positioned at end, Operation to end-equipment is controlled.Existing MES product is primarily present some problem following:
Products scheme transplantability is poor
Products scheme especially exploitation code transplantability difference is a subject matter of puzzlement MES market development.Owing to passing The software frame thinking of system too pursues the flow monitoring of concentration, and in the scheme preliminary design phase, developer must be the most pre- Working ability and the flow process of estimating manufacture system are possible, and in so making systems soft ware, verification hardware device relies on too strong, and limits The probability that system self extension and products scheme are transplanted, the most fundamentally constrains the whole potential processing of manufacture system Flexible performance.
Industry limitation is the strongest
Because the problem of the products scheme transplantability difference being before previously mentioned, so almost all of MES supplier today Product is all just for certain types of enterprise in very specific industry, even industry, and marketing has the strongest limitation.
Product opening is poor
MES market is seriously split, and data and pattern aspect lack the employing of the universal standard.A lot of MES developers are even Ye Shi equipment manufacturers own, the software system of exploitation is high with the equipment of itself degree of coupling, whole with third party device and software Conjunction ability is poor, systemic openness serious loss, with before two reciprocal causations, limits the development of self product.Even as SAP such large software enterprise, the ERP product of himself also has in data with MES product and necessarily exchange freely, and it is described ERP and MES product lacks Global motion planning design on designing and developing before.
Development cost is high
Transplantability is poor, and reason is in its client's scheme that the reuse ratio of code is the lowest, and customized development cannot be avoided Substantial amounts of poor efficiency repeated work, this directly result in developer MES conceptual design, develop and implement in huge input.
Tradition collection middle frame motility poor (as shown in Figure 1), also result in system to the adaptibility to response of random case not Foot, any change all may relate to basic framework and the kernel program of system, not only develops difficulty, for Client Enterprise also Mean that longer system is stopped and test period, may be directly affected it and normally produce.
On the whole, tradition MES system many employings centerized fusion, its control unit is cured among system, so Requirement system is in the design phase, and program development designer is necessary for fully taking into account the production that whole manufacture system may use Flow process and the interface of distinct device, technology characteristics, which greatly limits giving full play to of each process equipment production capacity The flexibility ratio controlled with manufacturing process.
Summary of the invention
It is an object of the invention to provide a kind of plant control unit for MES system, to read external documents in real time, Defining its concrete control function, bottom line reduces MES system to concrete equipment and the degree of dependence of technique, reduction secondary The cost of exploitation.
For achieving the above object, the embodiment of the present invention provides a kind of plant control unit for MES system,
Described control device at least includes ability module and control module;
Described ability module is for reading operation logic file and the function library of extraneous transmission;
Described control module is used for loading and run described operation logic file and described function library.
Preferably, described operation logic file includes representing external environment condition or the variable of internal state value, function sensing And run the condition flow process of the function pointed to;
Described control device also includes cognition module, for obtaining and preserve the value of described variable;
Whether described control module meets described condition flow process for checking according to the value of described variable, and when meeting, Run the power function pointed by the sensing of described function.
Preferably, described cognition module is additionally operable to preserve described operation logic file, equipment configuration and running log information.
Preferably, described control device also includes communication module, is used for setting up communication and connects, according to communications protocol number According to transmission.
Preferably, described communication module, for transmitting first kind data according to udp protocol, and for assisting according to HTTP View transmits Second Type data, and described first kind data are different from the attribute of described Second Type data.
Preferably, described communication module is for transmitting described data based on XML format.
Preferably, described ability module is additionally operable to be identified the form of described data by described power function and locate Reason.
Preferably, described operation logic file is XML file and/or described function library is DLL function library.
Preferably, described control module is additionally operable to be managed own thread and process abnormal conditions.
Preferably, described ability module also includes a consolidator class interface, and all self-defining power functions are inherited Described interface.
The present invention is by providing a kind of operation logic file that can read extraneous transmission in real time and function library and with this Define the control device of the MES system of self function so that application developer can the most self-defined operation logic Power function in file and function library, it is not necessary to the function controlling device is solidified in systems in advance, compares existing skill Art, improves the flexibility ratio that manufacturing process controls, reduces development cost.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments described in application, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is MES system Organization Chart of the prior art;
Fig. 2 is that the present invention controls structure drawing of device;
Fig. 3 is MES system Organization Chart of the present invention.
Detailed description of the invention
For the technical scheme making those skilled in the art be more fully understood that in the application, real below in conjunction with the application Execute the accompanying drawing in example, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described enforcement Example is only some embodiments of the present application rather than whole embodiments.Based on the embodiment in the application, this area is common The every other embodiment that technical staff is obtained under not making creative work premise, all should belong to the application protection Scope.
It is desirable to provide a kind of operation logic file that can read the external world in real time and function library, come real with this The control device of existing user-defined function, this control device is applied in MES system, for carrying out corresponding production equipment Data collection and flow monitoring.The control device of this structure, it is possible to realize user-defined function, and functional software without Solidification in advance in systems, improves flexibility ratio, reduces cost.
As in figure 2 it is shown, be a kind of concrete structure controlling device, this control device includes ability module 12 and control module 11。
The control thread of the operating control device of control module 11 own, is the nucleus module controlling device.First, it comprises One main thread, startup stage, be loaded into operation logic file based on XML format and DLL function library, afterwards according to reality Time environmental information and internal information data continual circular test operation logic, any logical relation meeting condition will swash One the one or more power functions pointed by thread startup optimization function library alive.
In the present invention, an operation logic file based on XML format definition probably divides three ingredients:
Variable V ariable
One variable represents an external environment condition or internal state value.The most here control device controls one and sets Standby, then by the electronic signal of induction apparatus, it can determine that this equipment has connected, at this moment we are accomplished by determining One Boolean variables D eviceConnected of justice preserves this data.
Function points to Function
Control one of device to be characterized mainly in that external environment condition is made a response, and reaction here runs specific exactly Power function.A definition shown below is pointed to certain power function and is gone to set up with equipment to be connected.
Condition flow process Process
Environmental variable and power function point to and have existed, and need to need to carry out determining to the critical condition running this function Justice.In this example, we can it is well understood that control device started relevant with equipment loading is set after, as Really equipment does not connect, and system should initiate the connection application to equipment.
In the present invention, the function of control module 11 also includes the function such as the management to own thread and abnormal conditions process.
Ability module 12, for reading operation logic file and function library from the external world, is responsible for controlling device and is carried The all functional function entered.This module provides a consolidator class interface ICapability, any self-defining function letter Number classes must inherit this interface, to ensure that it can be automatically by ability module identification and run when being written into.
The power function thread that control module 11 is initiated finally is checked by ability module 12 and starts.According to operation logic literary composition Parameters different in part sets, and same power function here can be to synchronize and the operation of asynchronous both of which.
Above-mentioned operation logic file can use XML format, and function library can be DLL function library.Ability mould Block 12 can obtain operation logic file etc. from any extraneous interface such as ERP system or other-end etc..
Further, the present invention controls device and may also include cognition module 13.As before described in the control module 11 , all monitoring to environment and internal operation situation are all by a series of variablees, and these variablees just can be by cognitive mould Block 13 is managed.In addition to these real-time variables, cognition module 13 is also in operation and is responsible for preserving the operation controlling device Logic, program and all information such as equipment configuration and running log.
Further, control device and can also include communication module 14.Control the data communication of device be divided into outside and Internal two major parts.Outside mentioned here, refers to the equipment outside MES system software section or software, such as, produces Process equipment.So in order to realize comparing external communication function widely, communication module 14 here supports that multiple industry is commonly used Communications protocol and form such as HTTP, UDP, USB, RS232, RS485, TCP/IP etc..This module is responsible for setting up connection, and Connected by this and send and receive data.
Internal communication, includes that controlling device hands over another data controlling device or control device and ERP system here Stream.
In the present invention, internal communication data could dictate that and are all based on XML formatization transmission, and communications protocol is according to data sheet The big I of unit carries out different disposal, to ensure that ageing and safety meets the requirements.Feature according to data and requirement, this Two kinds of communications protocol of bright employing:
Low data are required less than 4K or to integrity security
Less than the small data of 4K, such as, control device basic status information, current IP and operation information, need uninterruptedly to exist The internal broadcast of MES.This data use udp protocol, typically need not reciever and confirm.If it is desired, Tongxu module is also supported Reciever confirms, realizes handshake pattern.
High data are required more than 4K or to integrity security
This part is probably the status information of equipment of complexity, comes from the data of data base, file or high flux test The test result information of equipment and equipment control instruction, will pass through the http protocol that more safe but possible treatment effeciency is lower slightly Transmission.If higher for security requirement, transmitted data can be carried out SSL encryption, it is ensured that internal information will not be by Tripartite's Malware intercepts.
Here, Tongxu module 14 realizes controlling the ability to communicate that device is internal and external in MES system, and different Data processing method can use the most flexibly, meets the different demands customized.
It should be noted that actual application has multiple data form, the identification in the present invention, to concrete data form And process, can be completed by power function self-defining in ability module, ensure general in different schemes of communication module with this Property.
Visible, in above-mentioned control device, its basic structure is the most identical, and different is its function library and logic literary composition Dynamic importing when part is to control plant running, this makes, when developing for different process equipments, to use same core The heart encodes, and then writes logical file and power function for its difference, it is achieved that the height of procedure subject part can move Planting property.
Each aforementioned four module controlling device calls mutually combination.Such as, if we need to develop one Planting the power function for certain equipment, such as, connect certain equipment Connect2Device, in this function inside, we are permissible Call the communications protocol to external equipment of communication module, then according to the correlated variables of operation result change cognition module.
Predictably, in MES system, various functions can be completed by using the control device of multiple said structures Demand, not only include the monitoring of equipment, but also comprise the data interaction to third party software (such as ERP, CRM etc.), And to the monitoring of MES system and analysis etc..Fig. 3 shows MES system framework based on multiple control devices.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application have many deformation and Change is without deviating from spirit herein, it is desirable to appended claim includes that these deformation and change are without deviating from the application's Spirit.

Claims (10)

1. the plant control unit for MES system, it is characterised in that described control device at least include ability module and Control module;
Described ability module is for reading operation logic file and the function library of extraneous transmission;
Described control module is used for loading and run described operation logic file and described function library.
2. the plant control unit for MES system as claimed in claim 1, it is characterised in that described operation logic file Including representing the variable of external environment condition or internal state value, function sensing and running the condition flow process of the function pointed to;
Described control device also includes cognition module, for obtaining and preserve the value of described variable;
Whether described control module meets described condition flow process for checking according to the value of described variable, and when meeting, runs Power function pointed by the sensing of described function.
3. the plant control unit for MES system as claimed in claim 2, it is characterised in that described cognition module is also used In preserving described operation logic file, equipment configuration and running log information.
4. the plant control unit for MES system as claimed in claim 1, it is characterised in that described control device also wraps Include communication module, be used for setting up communication and connect, carry out data transmission according to communications protocol.
5. the plant control unit for MES system as claimed in claim 4, it is characterised in that described communication module, is used for First kind data are transmitted according to udp protocol, and for transmitting Second Type data, described first kind number according to http protocol According to different from the attribute of described Second Type data.
6. the plant control unit for MES system as claimed in claim 4, it is characterised in that described communication module is used for Described data are transmitted based on XML format.
7. the plant control unit for MES system as claimed in claim 4, it is characterised in that described ability module is also used In by described power function the form of described data being identified and processing.
8. the plant control unit for MES system as claimed in claim 1, it is characterised in that described operation logic file It is DLL function library for XML file and/or described function library.
9. the plant control unit for MES system as claimed in claim 1, it is characterised in that described control module is also used In own thread being managed and abnormal conditions being processed.
10. the plant control unit for MES system as claimed in claim 1, it is characterised in that described ability module also wraps Including a consolidator class interface, all self-defining power functions inherit described interface.
CN201610670453.4A 2016-08-16 2016-08-16 Equipment control device for MES system Expired - Fee Related CN106293619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610670453.4A CN106293619B (en) 2016-08-16 2016-08-16 Equipment control device for MES system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610670453.4A CN106293619B (en) 2016-08-16 2016-08-16 Equipment control device for MES system

Publications (2)

Publication Number Publication Date
CN106293619A true CN106293619A (en) 2017-01-04
CN106293619B CN106293619B (en) 2020-01-21

Family

ID=57671589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610670453.4A Expired - Fee Related CN106293619B (en) 2016-08-16 2016-08-16 Equipment control device for MES system

Country Status (1)

Country Link
CN (1) CN106293619B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030200130A1 (en) * 2002-02-06 2003-10-23 Kall Jonathan J. Suite of configurable supply chain infrastructure modules for deploying collaborative e-manufacturing solutions
US20030208294A1 (en) * 2001-12-26 2003-11-06 National Science Council Equipment management method
CN101477357A (en) * 2008-01-04 2009-07-08 无锡职业技术学院 Establishment of flexible manufacturing system model based on CORBA
CN101713994A (en) * 2009-12-03 2010-05-26 陕西北人印刷机械有限责任公司 Information management system for on-line production of printing machine and method thereof
CN101751031A (en) * 2008-11-28 2010-06-23 西门子公司 Control component and method for an energy management unit in an industrial automation arrangement
CN103116822A (en) * 2013-01-23 2013-05-22 湖南视拓科技发展有限公司 Steel-making manufacturing execution management system based on visualized heat tracking
US20130166612A1 (en) * 2011-12-21 2013-06-27 Siemens Aktiengesellschaft Method and system for executing database insert calls in a mes system
CN104571026A (en) * 2014-12-17 2015-04-29 中冶南方(武汉)信息技术工程有限公司 Platform and method for establishing whole-process metallurgical manufacturing execution system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030208294A1 (en) * 2001-12-26 2003-11-06 National Science Council Equipment management method
US20030200130A1 (en) * 2002-02-06 2003-10-23 Kall Jonathan J. Suite of configurable supply chain infrastructure modules for deploying collaborative e-manufacturing solutions
CN101477357A (en) * 2008-01-04 2009-07-08 无锡职业技术学院 Establishment of flexible manufacturing system model based on CORBA
CN101751031A (en) * 2008-11-28 2010-06-23 西门子公司 Control component and method for an energy management unit in an industrial automation arrangement
CN101713994A (en) * 2009-12-03 2010-05-26 陕西北人印刷机械有限责任公司 Information management system for on-line production of printing machine and method thereof
US20130166612A1 (en) * 2011-12-21 2013-06-27 Siemens Aktiengesellschaft Method and system for executing database insert calls in a mes system
CN103116822A (en) * 2013-01-23 2013-05-22 湖南视拓科技发展有限公司 Steel-making manufacturing execution management system based on visualized heat tracking
CN104571026A (en) * 2014-12-17 2015-04-29 中冶南方(武汉)信息技术工程有限公司 Platform and method for establishing whole-process metallurgical manufacturing execution system

Also Published As

Publication number Publication date
CN106293619B (en) 2020-01-21

Similar Documents

Publication Publication Date Title
CN105573955A (en) Multiple protocol system management method and system, and computer readable media
CN106325242A (en) MES system based on modularized control units
CN106292584A (en) A kind of flexible manufacturing system based on modular control unit
CN104317236A (en) Soft PLC technology-based wireless sensor network control terminal
EP3075147B1 (en) Method for remote monitoring, and system for signal capturing and remote monitoring
CN105577463B (en) A kind of test method and its device based on communication protocol
CN109564609A (en) It mitigates and corrects using the detection of the computer attack of advanced computers decision-making platform
CN114501501B (en) Configuration management method, device, equipment and medium for mobile communication network target range
CN108829594A (en) The method and system of automatic test BMC web assets information function under a kind of Linux
CN108345449A (en) A kind of information processing method, device, storage medium and computer equipment
CN111414348A (en) Method and device for modifying database instance parameters
CN108984216A (en) A kind of method and apparatus automatically into configuration BIOS
WO2018113184A1 (en) Intelligent device control and management method based on forces protocol
CN106293619A (en) A kind of plant control unit for MES system
US10095209B2 (en) Programming system for device control
CN111813725A (en) Computer equipment, serial port connection method, system and related equipment
CN116303069A (en) Test method, device, upper computer, system and medium of vehicle-mounted terminal
CN104461904A (en) Method and device for testing mobile terminal
CN114925516A (en) Method and device for automatic modeling and simulation
CN114116343A (en) Equipment testing method and device, electronic equipment and storage medium
CN105242921A (en) Compatibile UI developing device and application therefor
CN108897675A (en) A kind of server test method and device
KR20200081657A (en) Platform of Smart Factory
CN113406925A (en) Virtual debugging-based method for debugging AC (alternating Current) linkage swing head of five-axis linkage machine tool
Naval et al. Electronics and Internet of Things Integration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200121

Termination date: 20210816

CF01 Termination of patent right due to non-payment of annual fee