Resource selection and matching is key to system integration phase. CAPP system in accordance with the technological requirements of selected workshop possible methods of processing and manufacturing resources, MES is trying to allocate available resources to process the specified parts. Usually have a variety of machining process plan, the economics of the process plan and the availability of resources, not all the same. In the planning process, should be taken into account the economics of technology programs and real-time rational allocation of resources, reduce operating costs, improve shop scheduling flexibility, achieving CAPP integration with MES parallel thinking, planning and scheduling for the downstream production process scheme to provide feasible. Meanwhile, according to the results and the detailed allocation of resources provided by the process design parameters, specific arrangements for the operation plan, according to organize production, and dynamic simulation to determine its feasibility. System will have a specific final process planning and detailed scheduling order, be placed under the workshop, workshop co-directed the production.
Research methods described in this article, parallel distributed integrated thinking, enabling decentralized production tasks, reducing the planning He Kongzhi of the scale, Xiangdiyiwang as Jizhong Based on Integration of Wen Ti the Dai Lai solving the Fuza Xing, and allows different time range planning and control decision making in the different functional levels, thus achieving better integration of CAPP and Distributed MES. Integrated model in Figure 3.
5 MES and shop floor data integration CAPP
5.1 Web-Based MES and shop floor data integration framework CAPP
In the networked manufacturing mode, Web technology and database technology more widely, the role played by more and more important, the need for application of Web technology and database technology, B / S mode MES / CAPP loosely coupled integration development. Web-Based MES and CAPP integrated system framework shown in Figure 3.
The framework adopts the client, middle tier and server mode, is a three-tier architecture.
(1) layer of the client browser. Interaction through the Web page components to achieve interaction with the user.
(2) application server layer. Application server layer consists of Web servers and applications in two parts. One Web server for handling the client browser to issue the HTTP request layer and explain the application processing the results returned. Applications to distributed object approach by a number of independent functional modules package. Network CAPP system consists of process and project management, collaborative process design platform, process resource management module, CAPP's mission to achieve distribution and process definition, process design flow management, personnel rights management, coordination of user behavior, system management, system status maintenance, resource retrieval, resource sharing and other functions. MES system implementation network workshop on the underlying device management, personnel management, process management, production planning and management.
(3) the database server layer. CAPP database server layer technology resources include libraries, technology database, workflow management database, user and rights management database and other databases and database management systems. To balance the load, CAPP database and MES data is stored on the database can be used in distributed database storage, to improve system efficiency.
5.2 Support Network Manufacturing CAPP integrated MES and the preliminary design of the database
In the network-based manufacturing environment, applying relevant technology to the MES and Web CAPP system resources integration, but the integration mainly through the application processes 后 Jing Intranet / Internet Chuanshuxinxi Ji user access, is the form of loosely coupled integration. Enterprise MES and the implementation of CAPP system is built on the basis of separate databases, the general integration of the production plan and carry out process design and can not really play a role. Integration of the two described in this article, production planning and CAPP in the MES database design, process design to achieve unity, this is a very useful resource management. This paper proposes an integrated part of the database design model, shown in Figure 4.
We use an entity - relationship (ER) method is a conceptual model of the database design. After analysis of the data on the workshop can be drawn entities and their relationships, and attributes of each entity. Entities through the XML extensible markup language to define and dynamically generated on the client to obtain and to explain, to achieve different software providers, seamlessly between different platforms. Summarized in the following entities:
(1) parts information. Any part can be used corresponding part number, part name, and feature information, materials used, type of information to describe the rough. And a part has a series of interrelated features (such as cylindrical, flat, thread, etc.), each a character and a set of processing methods corresponding to a complete description of the parts of the design information.
(2) process information. According to the type of plant resources and capabilities of each component can form multiple process plan, while the real use is a definite technical rules. Formed by the process technology point of order.
(3) production tasks. Production tasks to be processed by a number of different types of parts composed of parts of these tasks that can be part identification number, production number, start date, completion date, priority, etc., said. According to production tasks, combining the choice of each process equipment and other resources, refer to the resources of the state, and shop the completion of production tasks, you can form a reasonable schedule, which is schedule result.
(4) status. * Status information can be divided into areas: The first is the completion of production preparation, such as estimated time of arrival of raw materials such as rough; second workshop resource status information, such as the lathe is machining, wait, fault; the third for the production of completion information, such as process status, quality information. This information is to describe the dynamics of the production plant, with production to the constantly changing. To achieve true integration, the dynamic accuracy of the information is vital, in database design should be fully considered.
6 Conclusion
In the networked manufacturing environment, the shop floor MES and CAPP in resource integration and the integration of production plans for the improvement of small and medium manufacturing enterprises the bottom of the manufacturing process efficiency and improve their core competitiveness and to better adapt to the development of networked manufacturing has a positive The significance and practical value. This support network for the manufacturing of the MES and the CAPP study for the next step and lay the foundation for enterprises.