Production task execution method, system and equipment, program product and storage medium
By generating and issuing standard operating procedures in the production management system, and directly controlling production equipment, the problems of easy errors in equipment operation and poor confidentiality of process formulas in the prior art are solved, and an efficient and stable production process is achieved.
Patent Information
- Application Number
- CN202411302403.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-09-18
AI Technical Summary
During the production process, existing MES systems have problems such as prone to equipment operation errors, low efficiency and poor confidentiality of process formulas.
Standard operating procedures are generated through the production management system and directly issued to the control device of the production equipment through the communication network, automatic control of the production equipment is realized, manual operation is avoided, and production accuracy and confidentiality are improved.
It realizes automated control of the production process, reduces the error rate, improves the stability and consistency of production efficiency and product quality, and reduces the learning costs of process personnel.
Smart Images

Figure CN119105430A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of intelligent manufacturing, and specifically relates to a production task execution method, system, equipment, program product and storage medium. Background Art
[0002] With the development of society, the manufacturing industry has gradually transformed from manual production to a modern production model dominated by MES (Manufacturing Execution System). The existing MES system establishes a production plan before production, and the production process steps are printed into a paper instruction sheet as a guide or displayed through the handheld terminal of the MES system. On-site workers control the production equipment on site by referring to the instruction sheet. However, this method has the following defects: First, this method can only guide production, but cannot control production. Manual operation of equipment is prone to errors and inefficient; second, the relevant parameters and formulas of the production process steps are displayed in plain text on the instruction sheet, and the confidentiality of the process formula is poor. Moreover, when there are many process formulas in a workshop, it depends on the workers' familiarity with the process formula, which is prone to errors and inefficient, and the learning cost of workers is also high. Summary of the invention
[0003] In view of this, the purpose of this application is to provide a production task execution method, system, equipment, program product and storage medium to solve the technical problems in the prior art that production is prone to errors, inefficiency and low confidentiality of process formulas.
[0004] The embodiment of the present application is implemented as follows:
[0005] On the first aspect, a production management system is used to generate a production task for producing a product and a standard operating procedure associated with the production task, wherein the standard operating procedure includes process steps for producing the product, process conditions of the process steps and a recipe; the production management system is also used to issue the production task to a control device corresponding to the production equipment via a communication network; the production management system is also used to issue the standard operating procedure or a control program corresponding to the standard operating procedure to the control device via the communication network; the control device is used to obtain the control program corresponding to the standard operating procedure, and directly control the corresponding production equipment for production according to the control program.
[0006] In the above embodiments, the process steps corresponding to the production tasks, the process conditions of the process steps and the formula can directly reach the control device of the production equipment through the communication network, and then the control device directly controls the production of the production equipment according to the control program corresponding to the standard operating procedure, so as to realize the real control production, and no manual control is required to guide the single operation of the production equipment, which is not easy to make mistakes, and the task transmission efficiency is high; in addition, the process and formula are directly connected to the control device of the production equipment, and there is no need to display the process and formula, which improves the confidentiality of the process and formula, and the production does not rely on the workshop workers at the same time. As long as the process personnel configure the process and formula, the production can be automatically carried out, and the workshop workers do not need to understand the process and formula, and the learning cost is low. Further, the production task execution system in the embodiment of the present application is directly controlled by the production management system, and the product quality produced by the same standard operating procedure is stable and the consistency is good, while the method of manually controlling the production of equipment in the prior art is unstable due to inaccurate operation and personnel differences.
[0007] In combination with a possible implementation manner of the first aspect, the production management system includes: a visual programming module, used to provide a visual programming interface, the visual programming interface displays an editing bar and a display area, the editing bar is used to input the process steps, process conditions of the process steps and formulas through natural language; and is used to generate the standard operating procedures based on the process steps, process conditions of the process steps and formulas in response to the user's input operation in the editing bar; and is also used to display the standard operating procedures in the display area according to a preset display format through natural language.
[0008] In the above embodiments, the form of natural language can make the writing of standard operating procedures easier for users to understand and write, thereby reducing the difficulty of writing standard operating procedures and improving writing efficiency. Furthermore, directly writing a control program that can be run by a control device usually requires the use of assembly language or machine language, which requires high programming expertise from process personnel. Through the embodiment of the present application, process personnel only need to write standard operating procedures in natural language, and the production management system or control device can automatically convert it into a control program that can be run by the control device, so it can effectively reduce the difficulty of writing the control program and improve writing efficiency. It is also easier to understand and maintain during subsequent maintenance.
[0009] In combination with a possible implementation manner of the first aspect, the production management system also includes: a compilation module, used to convert the standard operating procedure described in natural language into the control program that can be run by the control device; the control device is specifically used to obtain the control program from the production management system through a communication network.
[0010] In the above embodiment, the production management system compiles the control program, so there is no need to use a higher-performance control device, which meets the capabilities of the controllers of most production equipment, making the execution system in the embodiment of the present application more suitable for industrial promotion.
[0011] In combination with a possible implementation manner of the embodiment of the first aspect, the compilation module is specifically used to: obtain a PLC program template, the PLC program template includes multiple PLC program sub-templates, each of the PLC program sub-template corresponds to a process step, and each of the PLC program sub-template is preset with a position for filling in the process conditions and recipes of the corresponding process steps; extract the process steps, the process conditions of the process steps, and the recipe fields from the standard operating procedures; according to the process steps, fill the process conditions and recipe fields of each process step into the corresponding PLC program sub-templates respectively, to obtain a PLC program that can be run by the PLC controller of the production equipment, and the PLC program is the control program.
[0012] In the above embodiment, the control program is converted by module filling, which is simple and easy to implement.
[0013] In combination with a possible implementation manner of the embodiment of the first aspect, the control device is specifically used to obtain the standard operating procedure described naturally through the communication network and convert the standard operating procedure into the control program that can be run by the control device.
[0014] In the above embodiment, the control program is converted by the control device. For example, some embedded controllers have the conversion capability. Therefore, in this way, the capability of the control device can be fully utilized to avoid waste of resources.
[0015] In combination with a possible implementation manner of the first aspect, the production management system also includes: a serialization module, used to serialize the standard operating procedure according to preset serialization rules, and the serialization is used to convert the standard operating procedure into a preset storage format.
[0016] In the above embodiment, the standard operating procedure is serialized and stored to facilitate the transmission of the standard operating procedure and the use in different devices, thereby improving the versatility of the standard operating procedure.
[0017] In combination with a possible implementation manner of the embodiment of the first aspect, the production management system includes: a permission management module, which is used to configure the user's operating permissions for the production tasks and / or the standard operating procedures.
[0018] In the above embodiment, the accuracy and confidentiality of production are further improved through authority control.
[0019] In combination with a possible implementation manner of the embodiment of the first aspect, the control device includes a display screen and a controller, and the controller is used to display the production task and the name of the standard operating procedure on the display screen when receiving the production task.
[0020] In the above embodiment, by displaying the names of production tasks and standard operating procedures on the display screen, it is convenient for workshop workers to know what tasks and products need to be produced, so as to make corresponding preparations and start production.
[0021] In combination with a possible implementation manner of the embodiment of the first aspect, the controller is also used to respond to the user's confirmation on the display screen to start the operation of the production task, and send a request to the production management system to download the standard operating procedure or the control program; the production management system is specifically used to send the standard operating procedure or the control program to the control device through the communication network according to the request.
[0022] In the above embodiment, the workshop workers confirm whether to start the production task through the control device, which is more in line with the actual production situation. The workshop workers are more aware of the current status of the equipment. In addition, not downloading the standard operating procedures in advance can also save storage space on the control device.
[0023] In combination with a possible implementation manner of the embodiment of the first aspect, the product requires multiple production equipment to participate in the production, and the production management system is also used to: split the standard operating procedure or the control program into sub-processes or sub-programs corresponding one-to-one to the multiple production equipment; the production management system is specifically used to: send the sub-processes or sub-programs one-to-one to the control devices of the multiple production equipment through the communication network.
[0024] In the above embodiment, the production task management system separates the processes and formulas corresponding to each production equipment in the standard operating process, and then distributes them to the control devices corresponding to the production equipment, so that the performance requirements of the control devices are not high, which fits the performance status of the current control devices and is convenient for industrial promotion.
[0025] In combination with a possible implementation manner of the embodiment of the first aspect, the product requires multiple production equipment to participate in the production together, and the production management system is specifically used to: issue the standard operating procedure or the control program to a control device corresponding to one of the multiple production equipment; the control device corresponding to one of the production equipment is also used to split out the sub-processes or sub-programs in the standard operating procedure or the control program that correspond one-to-one to other production equipment, and send the sub-processes or sub-programs one-to-one to the control devices corresponding to the other production equipment.
[0026] In the above embodiment, the process or program is decomposed by the control device, and the control device can determine when to transfer the sub-process or sub-program to other production equipment according to its own production situation, so that the coordination between the equipment is better.
[0027] In combination with a possible implementation manner of the first aspect, the production management system also includes a data acquisition module and a quality monitoring module. The data acquisition module is used to obtain data collected by sensors installed on the production equipment and operation data of the production equipment. The quality monitoring module is used to determine whether the process conditions are met and / or whether the formula is in place based on the data collected by the sensors and the operation data; the control device is specifically used to control the production equipment to perform the next operation when the process conditions are met and / or the formula is in place.
[0028] In the above embodiment, the production management system can obtain relevant data in the production process in real time, determine whether the process conditions are met or whether the recipe is in place, and only allow the next operation to be executed if the process conditions or recipe specified in the standard operating procedures are in place, thereby truly controlling production and further improving product quality.
[0029] In combination with a possible implementation manner of the embodiment of the first aspect, the quality monitoring module is specifically used to determine whether the process conditions are met and / or whether the formula is configured in place based on whether the change trend of the data tends to be stable.
[0030] In the above embodiment, whether the process conditions are met and / or whether the formula is configured in place is determined based on whether the change trend of the data tends to be stable, which can reduce the situation where the randomness of the single-point value leads to misjudgment and further improve product quality.
[0031] In combination with a possible implementation manner of the embodiment of the first aspect, the production management system is deployed in a server.
[0032] In the above embodiment, the production management system can be implemented by software, with the server as the hardware carrier. The performance of the server is usually relatively high. Deploying the production management system in the server can give full play to the role of the production management system.
[0033] In a second aspect, an embodiment of the present application provides a production task execution method, which is applied to a server, and the method includes: generating a production task for producing a product and a standard operating procedure associated with the production task, the standard operating procedure including process steps for producing the product, process conditions of the process steps, and a recipe; issuing the production task to a control device corresponding to the production equipment; issuing the standard operating procedure or a control program corresponding to the standard operating procedure to the control device, so that the control device directly controls the corresponding production equipment for production according to the control program.
[0034] In the above embodiments, the process steps corresponding to the production tasks, the process conditions of the process steps and the formula can directly reach the control device of the production equipment through the communication network, and then the control device directly controls the production of the production equipment according to the control program corresponding to the standard operating procedure, so as to realize the real control production, and no manual control is required to guide the single operation of the production equipment, which is not easy to make mistakes, and the task transmission efficiency is high; in addition, the process and formula are directly connected to the control device of the production equipment, and there is no need to display the process and formula, which improves the confidentiality of the process and formula, and the production does not rely on the workshop workers at the same time. As long as the process personnel configure the process and formula, the production can be automatically carried out, and the workshop workers do not need to understand the process and formula, and the learning cost is low. Further, the production task execution system in the embodiment of the present application is directly controlled by the production management system, and the product quality produced by the same standard operating procedure is stable and the consistency is good, while the method of manually controlling the production of equipment in the prior art is unstable due to inaccurate operation and personnel differences.
[0035] In combination with a possible implementation method of the second aspect, generating the standard operating procedure includes: providing a visual programming interface, displaying an editing bar and a display area on the visual programming interface, the editing bar is used to input the process steps, process conditions of the process steps, and recipes through natural language; in response to the user's input operation in the editing bar, generating the standard operating procedure based on the process steps, process conditions of the process steps, and recipes; and displaying the standard operating procedure in the display area according to a preset display format through natural language.
[0036] In combination with a possible implementation manner of the second aspect, the method further includes: converting the standard operating procedure described in natural language into the control program that can be run by the control device.
[0037] In combination with a possible implementation method of the second aspect, the standard operating procedure described in natural language is converted into the control program that can be run by the control device, including: obtaining a PLC program template, the PLC program template including multiple PLC program sub-templates, each of the PLC program sub-templates corresponding to one of the process steps, and each of the PLC program sub-templates is preset with a position for filling in the process conditions and recipes of the corresponding process steps; extracting the process steps, the process conditions of the process steps, and the recipe fields from the standard operating procedure; filling the process conditions and recipe fields of each process step into the corresponding PLC program sub-templates according to the process steps, to obtain a PLC program that can be run by the PLC controller of the production equipment, and the PLC program is the control program.
[0038] In combination with a possible implementation manner of the second aspect embodiment, the method also includes: serializing the standard operating procedure according to a preset serialization rule, and the serialization is used to convert the standard operating procedure into a preset storage format; accordingly, converting the standard operating procedure described in a natural language into the control program that can be run by the control device, including: converting the serialized standard operating procedure into a PLC program that can be run by the control device, and the PLC program is the control program.
[0039] In combination with a possible implementation manner of the second aspect, the method further includes: in response to a user's configuration permission operation, setting the operation permission of the production task and / or the standard operating procedure.
[0040] In combination with a possible implementation manner of the second aspect, the product requires multiple production equipment to participate in the production, and the method also includes: splitting the standard operating procedure or the control program into sub-processes or sub-programs corresponding one-to-one to the multiple production equipment; accordingly, issuing the standard operating procedure or the control program corresponding to the standard operating procedure to the control device, including: issuing the sub-processes or sub-programs one-to-one to the control devices of the multiple production equipment.
[0041] In combination with a possible implementation manner of the second aspect, the method also includes: obtaining data collected by sensors installed on the production equipment and operating data of the production equipment; judging whether the process conditions are met and / or whether the recipe is configured in place based on the data collected by the sensors and the operating data; when the process conditions are met and / or the recipe is configured in place, sending a confirmation instruction to the control device to control the production equipment to perform the next operation.
[0042] In the third aspect, an embodiment of the present application also provides a method for executing a production task, which is applied to a control device of a production equipment, and the method includes: receiving a production task sent by a server; receiving a standard operating procedure associated with the production task, the standard operating procedure including process steps for producing the product, process conditions of the process steps, and a recipe, and the standard operating procedure is written in a natural language; converting the standard operating procedure into a control program that can be run by the control device; and directly controlling the corresponding production equipment to perform production according to the control program.
[0043] In combination with a possible implementation method of the third aspect, the standard operating procedure is converted into a control program that can be run by the control device, including: obtaining a PLC program template, the PLC program template including multiple PLC program sub-templates, each of the PLC program sub-templates corresponding to a process step, and each of the PLC program sub-templates is preset with a position for filling in the process conditions and recipes of the corresponding process steps; extracting the process steps, the process conditions of the process steps, and the recipe fields from the standard operating procedure; filling the process conditions and recipe fields of each process step into the corresponding PLC program sub-templates according to the process steps, to obtain a PLC program that can be run by the PLC controller of the production equipment, and the PLC program is the control program.
[0044] In combination with a possible implementation manner of the embodiment of the third aspect, the method further includes: in response to the user confirming the operation of starting the production task, sending a request to the server to download the standard operating procedure.
[0045] In combination with a possible implementation manner of the third aspect, the product requires multiple production equipment to participate in the production together, the standard operating procedure includes the process steps of the multiple production equipment, and the method also includes: splitting out the sub-processes in the standard operating procedure that correspond one-to-one to other production equipment, and sending the sub-processes one-to-one to the control devices corresponding to the other production equipment.
[0046] In combination with a possible implementation method of the third aspect, the corresponding production equipment is directly controlled to perform production according to the control program, including: after the current operation step is completed, after receiving the confirmation instruction sent by the server, executing the next operation step; wherein, one of the process steps includes at least one operation step.
[0047] In a fourth aspect, an embodiment of the present application also provides a production task execution method, which is applied to a control device of a production equipment, the method comprising: receiving a production task sent by a server; receiving a control program corresponding to a standard operating procedure associated with the production task, the standard operating procedure comprising process steps for producing the product, process conditions of the process steps, and a recipe; and directly controlling the corresponding production equipment for production according to the control program.
[0048] In combination with a possible implementation manner of the fourth aspect, the method further includes: in response to a user confirming an operation to start the production task, sending a request to the server to download the control program.
[0049] In combination with a possible implementation manner of the fourth aspect, the product requires multiple production equipment to participate in the production, the control program includes the process steps of the multiple production equipment, and the method also includes: splitting out the sub-programs in the control program that correspond one-to-one to other production equipment, and sending the sub-programs one-to-one to the control devices corresponding to the other production equipment.
[0050] In combination with a possible implementation method of the fourth aspect, the corresponding production equipment is directly controlled to perform production according to the control program, including: after the current operation step is completed, after receiving the confirmation instruction sent by the server, executing the next operation step; wherein, one of the process steps includes at least one of the operation steps.
[0051] In the fifth aspect, an embodiment of the present application also provides an electronic device, comprising: a memory and a processor, the processor being connected to the memory; the memory being used to store programs; the processor being used to call the programs stored in the memory to execute a production task execution method provided in any one of the embodiments of the second aspect to the fourth aspect above.
[0052] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the production task execution method provided in any one of the embodiments of the second aspect to the fourth aspect described above is executed.
[0053] In the seventh aspect, an embodiment of the present application is a computer program product, which includes computer executable instructions stored in a non-transitory medium; when the computer executable instructions are executed by a processor, they implement a production task execution method provided in any one of the embodiments of the second aspect to the fourth aspect mentioned above.
[0054] Other features and advantages of the present application will be described in the following description. The purpose and other advantages of the present application can be realized and obtained through the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings. The above and other purposes, features and advantages of the present application will be more clearly shown in the drawings.
[0056] Figure 1 A structural schematic diagram of a production task execution system provided in an embodiment of the present application is shown.
[0057] Figure 2 A schematic structural diagram of a production task execution system for producing adhesives provided in an embodiment of the present application is shown.
[0058] Figure 3 A flow chart of a production task execution method provided in an embodiment of the present application is shown.
[0059] Figure 4 A flow chart of a second production task execution method provided in an embodiment of the present application is shown.
[0060] Figure 5 A flow chart of a third production task execution method provided in an embodiment of the present application is shown.
[0061] Figure 6 A schematic diagram of the structure of a production management system provided by an embodiment of the present application is shown;
[0062] Figure 7 A schematic diagram of a visual programming interface provided by an embodiment of the present application is shown;
[0063] Figure 8 A schematic diagram of another visual programming interface provided by an embodiment of the present application is shown;
[0064] Fig. 9 A schematic diagram showing a standard operation process of displaying a display area provided by an embodiment of the present application is shown;
[0065] Fig.10 A flowchart of a specific production task execution method provided in an embodiment of the present application is shown;
[0066] Fig.11 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0067] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The following embodiments can be used as examples to more clearly illustrate the technical solutions of the present application, and cannot be used to limit the scope of protection of the present application. It will be appreciated by those skilled in the art that, in the absence of conflict, the features in the following embodiments and embodiments can be combined with each other.
[0068] It should be noted that similar numbers and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. At the same time, in the description of this application, relational terms such as "first", "second", etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0069] Furthermore, the term "and / or" in this application is merely a term used to describe the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone.
[0070] In the description of the embodiments of the present application, unless otherwise clearly specified or limited, the technical term "connection" may refer to a direct connection or an indirect connection through an intermediate medium.
[0071] In order to improve the production efficiency of products, reduce the probability of errors, and improve the confidentiality of process recipes, the present application embodiment provides a production task execution system, such as Figure 1 As shown, the system includes: a production management system and a control device. The control device is used to control the production equipment to produce. Optionally, a control device is used to control a production equipment, for example, Figure 1 As shown, there are N production equipments, and then there may be N control devices, where N is an integer greater than or equal to 1. Optionally, one control device may also control multiple production equipments.
[0072] In one possible implementation, the production management system can be deployed on a server, and the control device can be deployed on a control device of a production device, such as an HMI (Human Machine Interface). In other words, the hardware implementation of the production management system can be a server, and the hardware implementation of the control device can be a control device. The control device can include a controller and a display screen, or it can be understood that the control device includes a controller and a display screen. The control device can also include a controller and an HMI. It can also be that one HMI corresponds to multiple production devices, and each production device is also configured with a controller.
[0073] Optionally, the controller may be a PLC (Programmable Logic Controller). For example, a PLC controller may be configured in some large-scale and complex production equipment.
[0074] Optionally, the controller may also be other types of controllers. For example, a simple control chip may be configured on some production equipment with simple functions. For example, an electronic weighing device only needs to be equipped with a chip that can measure weight, perform simple calculations, and control communications.
[0075] Optionally, the control device and the production equipment are physically independent devices, or the control device and the production equipment are physically integrated together.
[0076] The production management system (server) is connected to each control device respectively, and each control device can exchange data with the server. The production management system (server) can be connected to each control device through a communication network (such as an industrial network and / or a wireless local area network). Different control devices can also be interconnected through a communication network. For example, for large-scale production equipment such as mixing equipment, the production management system (server) can connect the control device through an industrial network, and the control devices of different mixing equipment can also be interconnected through an industrial network. For some equipment with simple functions, such as electronic weighing equipment and barcode scanners, this type of equipment can be connected to the production management system (server) through a wireless local area network (such as WIFI).
[0077] Optionally, the production management system (server) may also be connected to a database server to store data generated or collected by the production management system in the database server, or the production management system (server) may access data on the database server.
[0078] Optionally, the production management system (server) may also be connected to an ERP (Enterprise Resource Planning) system and / or a WMS (Warehouse Management System).
[0079] Optionally, the production management system (server) can also be connected to the MES system.
[0080] Optionally, a firewall is provided between the production management system (server) and MES / ERP / WMS to prevent the production management system (server) from being attacked by a network.
[0081] From the perspective of different products produced, the above-mentioned production task execution system can be used for the manufacture of adhesives, such as two-component high-viscosity adhesives, and can also be used in food processing, pharmaceutical and other scenarios. From the perspective of usage scenarios, the above-mentioned production task execution system can be used in actual production workshops or in laboratories. From the perspective of the number of production equipment required to produce a product, the above-mentioned production task system can be used in scenarios where one production equipment can complete the production task, and can also be used in scenarios where multiple production equipment jointly participate in completing the production of a product.
[0082] Please refer to Figure 2 The figure shows a structural example of the above-mentioned production task execution system used in the manufacturing adhesive scenario. Figure 2 In the embodiment, the production equipment includes mixer 1, mixer 2, and mixer 3. The structures of mixers 1-3 may not be completely the same, and they can be used for different purposes. For example, mixer 1 is a drying device, mixer 2 is a cooling device, and mixer 3 is a mixing device. The control device includes HMI1, HMI2, and HMI3. One mixer corresponds to one HMI. HMI1, HMI2, and HMI3 are connected to the production management system (server) through an industrial network, and HMI1, HMI2, and HMI3 are interconnected through an industrial network. The production equipment also includes weighing station 1 and weighing station 2. Weighing station 1 can weigh materials with a relatively large weight, and weighing station 2 can weigh materials with a relatively small weight. Weighing station 1 and weighing station 2 are connected to the production management system (server) via WIFI. The production equipment also includes a barcode scanner, which is also connected to the production management system (server) via WIFI.
[0083] Optionally, each production equipment can be equipment on a fixed production line or discrete production equipment. In the scenario of discrete production equipment, if material transfer is involved, the production equipment can also include AGV (Automated Guided Vehicle), which can be connected to the production management system (server) via WIFI or industrial network.
[0084] The above briefly introduces the composition of the production task execution system. Next, the functions and execution processes of each component of the production task execution system will be described in detail. Please also refer to Figure 3-Figure 5 The method flow chart shown, wherein, Figure 3 is a flowchart of a production task execution method described from the perspective of a production management system (i.e., a server). Figure 4 This is a flow chart of the first production task execution method described from the perspective of the control device. Figure 5 The flowchart is a second method for executing a production task described from the perspective of a control device.
[0085] Specifically, the production management system (server) is used to execute steps 301 to 303.
[0086] Step 301: Generate a production task for producing a product and a SOP (Standard Operating Procedure) associated with the production task. The standard operating procedure includes the process steps for producing the product, the process conditions of the process steps, and the recipe.
[0087] Step 302: Send the production task to the control device corresponding to the production equipment.
[0088] Step 303: Send the standard operating procedure or the control program corresponding to the standard operating procedure to the control device, so that the control device directly controls the corresponding production equipment to perform production according to the control program.
[0089] Correspondingly, in a first possible implementation manner, the control device is used to execute step 401 to step 404.
[0090] Step 401: Receive a production task sent by a production management system (server).
[0091] Step 402: Receive a standard operating procedure associated with a production task, where the standard operating procedure includes process steps for producing a product, process conditions of the process steps, and a recipe, and the standard operating procedure is written in a natural language.
[0092] Step 403: Convert the standard operating procedure into a control program that can be run by the control device.
[0093] Step 404: directly controlling the corresponding production equipment to perform production according to the controlled program.
[0094] Correspondingly, when the production management system (server) executes steps 301 to 303 , in a second possible implementation manner, the control device is used to execute steps 501 to 503 .
[0095] Step 501: Receive a production task sent by a production management system (server).
[0096] Step 502: receiving a control program corresponding to a standard operating procedure associated with a production task, wherein the standard operating procedure includes process steps for producing a product, process conditions of the process steps, and a recipe;
[0097] Step 503: directly controlling the corresponding production equipment to perform production according to the control program.
[0098] In the present application embodiment, the process step corresponding to the production task, the process conditions and the formula of the process step, the control device of the production equipment can be directly reached by the communication network, and then the control device directly controls the production equipment according to the control program corresponding to the standard operating process, and realizes real control production, does not need to manually control the single operation production equipment, is not easy to make mistakes, and the task transmission efficiency is high; In addition, the control device of the production equipment is directly reached by the process and formula, and the process and formula need not be displayed, and the confidentiality of the process and formula is improved, and the production does not depend on the workshop workers at the same time, as long as the process personnel configure the process and formula, the production can be automatically carried out, and the workshop workers do not need to understand the process and formula, and the learning cost is relatively low. Further, the production task execution method in the present application embodiment is directly controlled by the production management system (server) to produce, and the product quality produced by the same SOP is stable, and the consistency is better, and the mode of manual control equipment production in the prior art is because the operation is inaccurate, and the personnel difference causes the product quality to be unstable.
[0099] The implementation of each step will be described in detail below.
[0100] In this embodiment, the products produced by the production equipment include but are not limited to finished products and semi-finished products. Taking adhesive production as an example, the product produced can be an adhesive, such as a two-component high-viscosity adhesive, and the semi-finished product produced can be an intermediate product when producing a two-component high-viscosity adhesive from raw materials.
[0101] Process steps include a series of operations to convert raw materials or semi-finished products into finished products or semi-finished products, such as drying, cooling, mixing, etc. Process conditions are the environmental conditions or execution parameters that need to be met when a certain process step is executed. Recipes refer to the raw materials required to produce finished products or semi-finished products, as well as the proportions and weights of the raw materials.
[0102] In one implementation, the generation of the standard operating procedure in step 301 includes: the process personnel importing the control program that can be directly run by the controller in advance into the production management system, or the production management system obtaining the control program from the database, in which case the production standard operating procedure is the control program. For example, the process personnel write the control program of the PLC controller in advance using a PLC executable scripting language (such as VBS / JS / SCL), and then import the control program into the production management system, or store it in the database, and the production management system obtains it from the database.
[0103] Correspondingly, in step 303, the production management system (server) sends the control program to the control device, and correspondingly, the control device executes step 503, ie, receives the control program.
[0104] In another implementation, in step 301, please combine Figure 6 As shown, it is a software structure diagram of a production management system, and the production management system includes a visual programming module for process personnel to write standard operating procedures through natural language. Correspondingly, the generation of standard operating procedures in step 301 includes: providing a visual programming interface, the visual programming interface displays an editing bar and a display area, the editing bar is used to input process steps, process conditions of process steps and formulas through natural language; in response to the user's input operation in the editing bar, the standard operating procedure is generated based on the process steps, process conditions of process steps and formulas; and the standard operating procedure is displayed in the display area according to a preset display format through natural language.
[0105] In the embodiment of the present application, the natural language can be Chinese, English, etc., and the language of the edit bar can be configured to the language that the user is proficient in. In some embodiments, a language switching option can also be displayed on the visual programming interface to switch the natural language used in the edit bar and the display area in response to the user's selection.
[0106] In one embodiment of the present application, the edit bar displays a process step serial number field, a process step name field, a process condition field, and an ingredient field, and the fields are configured to perform input operations in a filling and / or selection manner.
[0107] See also Figure 7 , Figure 7 A first schematic diagram of an edit bar provided in an embodiment of the present application. In an embodiment of the present application, the edit bar may display a process step sequence number field, a process step name field, a process condition field, and a batching field, and the fields are configured to perform the input operation in a filling and / or selection manner. The filling and selection methods may be used either alone or in combination.
[0108] See also Figure 7Taking adhesive production as an example, in the edit bar, the process step serial number and step name fields can be displayed, and there is an area for typing text behind them, in which the user can fill in the serial number and name in natural language.
[0109] In this example, the process steps include stirring, vacuum, temperature, material preparation, feeding, etc. In the edit bar, you can configure corresponding options for each process step so that users can select one or more of them according to the actual production needs of the product. Among them, the types and quantities of production equipment included in different production task execution systems may be different, and the number and types of process steps available for selection are also different. Figure 7 This is only an example and should not be construed as limiting the present application.
[0110] Furthermore, after selecting the process step, the edit bar will also display the specific configurable content of each step. Figure 7 For example, when selecting temperature control, you can further configure the temperature control method. For example, in the cooling equipment, you can choose to jump to a lower temperature, as well as control the material target temperature or other control items. Other control items can still be entered by filling in or selecting the parameters, conditions or recipes of the process steps.
[0111] In one embodiment of the present application, a standard operating procedure name field is displayed on the edit bar, and an edit interface can be displayed in response to the user's input and confirmation operations in the standard operating procedure name field. The edit interface displays a process step sequence number field, a process step name field, a process condition field, and an ingredient field; wherein the input and confirmation operations are one of the input operations. Each standard operating procedure name field corresponds to a standard operating procedure. After the user selects or enters the standard operating procedure name field, the edit bar can enter the following options: Figure 7 The editing interface shown.
[0112] See also Figure 8 , Figure 8 A second schematic diagram of an editing bar provided in an embodiment of the present application. Figure 8 The editing interface shown is the parameter configuration interface of the mixer (or mixing equipment) (parameters are collectively referred to as process conditions in the embodiment of this application), which can configure the specific content of the mixing steps, such as temperature, speed, pressure and other conditions and their corresponding specific parameter values, as well as the ingredient fields including material preparation configuration and feed configuration, and can perform specific configurations on different material preparations and feeds, such as configuring the type of material, the weight of the material, etc.
[0113] The standard operating procedure name field is displayed in the edit bar. By operating the standard operating procedure name field, you can enter the editing interface. This method allows users to easily select the standard operating procedure or some parameters in the file that need to be modified, thereby effectively simplifying the complexity of modifying the SOP. Or you can enter a unique name for a standard operating procedure by entering the standard operating procedure name field.
[0114] In one embodiment of the present application, each field in the editing bar and the editing interface may be displayed in the form of graphics and / or forms.
[0115] like Figure 7 and Figure 8 As shown, the content of the editing bar and the editing interface is divided into multiple rows in the form of process steps, each row corresponds to the content of a step, and different content is displayed for each column.
[0116] like Fig. 9 As shown, the name of the edited standard operating procedure is displayed on the left. Select any standard operating procedure and the display area on the right can display the specific content of the standard operating procedure, including the process step sequence number field, process step name field, process condition field and ingredient field, for example, the order of each process step, the conditions of each process step, such as temperature, speed, time, etc., as well as material information such as preparation and feeding related to the recipe.
[0117] The language used by the display area to display the standard operating procedures is natural language, which is convenient for users to understand and consult. In addition, in the embodiment of the present application, the display area also displays the standard operating procedures in a preset display format, which is further convenient for users to understand and consult.
[0118] The preset display format includes but is not limited to text, table, etc. For example, if the preset display format is text, each condition and parameter of each process step can be listed in a row for easy viewing. If the preset display format is a table, different process steps can be displayed in each row of the table, and different conditions, parameters and formulas can be displayed in each column.
[0119] In addition, if Fig. 9 As shown in the upper right corner, in the editing interface, the user can receive other input operations, for example, adjust the order of each process step, such as moving up or down, and can also add, delete, and insert each process step and the corresponding content. For another example, the user can also edit any process step and enter Figure 7 and Figure 8 The interface shown is used to modify the conditions and recipes of the process step.
[0120] In general, the PLC control program is written using PLC executable scripting language, and engineers have higher professional requirements. In the present application embodiment, the edit bar of the visual programming interface inputs the process steps, process conditions and formula of each process step required for production equipment to produce a product in the form of natural language, and the form of natural language can make the writing of standard operating procedures easier for users to understand, thereby reducing the difficulty of writing SOP and improving writing efficiency. Based on the process steps input, the process conditions of each process step and the formula can directly generate standard operating procedures, thus, the user only needs to input the conditions and formula of the process steps required for producing products to realize the writing of SOP, without combing and writing for each SOP, effectively simplifying the writing complexity of SOP, improving the efficiency of SOP writing, and at the same time, displaying SOP in the form of natural language, users can be made to understand SOP more easily, and it is convenient to maintain SOP. By the above method, the difficulty of writing SOP and PLC programs can be effectively reduced, and writing efficiency can be improved, and in subsequent maintenance, it is also easier to understand and maintain.
[0121] When the SOP is written in natural language, the production management system also includes a compilation module, please continue to refer to Figure 6 As shown, the compiling module is used to convert the standard operation flow described in natural language into a control program that can be run by the control device, that is, after step 301 and before step 303, the method further includes: converting the standard operation flow described in natural language into a control program that can be run by the control device. Correspondingly, in step 303, the control program is sent to the control device, and the control device executes step 502 accordingly.
[0122] In one implementation, a standard operating procedure described in natural language is converted into a control program that can be run by a control device, including: obtaining a PLC program template, the PLC program template including multiple PLC program sub-templates, each PLC program sub-template corresponding to a process step, each PLC program sub-template having a preset position for filling in process conditions and recipes of the corresponding process step; extracting process steps, process conditions of process steps, and recipe fields from the standard operating procedure; filling the process conditions and recipe fields of each process step into their respective corresponding PLC program sub-templates according to the process steps, to obtain a PLC program that can be run by the PLC controller of the production equipment, the PLC program being a control program.
[0123] In another implementation, Figure 6As shown, the production management system also includes a serialization module. Accordingly, after obtaining the standard operating procedure described in natural language, the method further includes: the serialization module serializes the standard operating procedure according to the preset serialization rules and saves it, and the serialization is used to convert the standard operating procedure into a preset storage format. Correspondingly, the standard operating procedure described in natural language is converted into a control program that can be run by the control device, including: converting the serialized standard operating procedure into a PLC program that can be run by the control device, and the PLC program is the control program. The conversion method is the same as the above-mentioned conversion method.
[0124] In an embodiment of the present application, the standard operating procedure can be serialized according to preset serialization rules to convert the standard operating procedure into a preset storage format and then save it, so as to facilitate the transmission of the standard operating procedure and its use in different devices, thereby improving the versatility of the standard operating procedure.
[0125] In one embodiment of the present application, the preset serialization rule includes a first serialization rule, and the first serialization rule is used to convert the standard operating procedure into a file in XML format.
[0126] In another embodiment of the present application, the preset serialization rule includes a second serialization rule, and the second serialization rule is used to convert the standard operating procedure into a file of a byte array.
[0127] In this embodiment, each parameter of the standard operation process can be defined and stored in different buffers. After the data is converted into a byte array, it is stored in the buffer corresponding to the data. For example, taking the target temperature as an example, its original data type is Real, and the buffer from the 2nd to the 5th bit is used to store the target temperature. In addition, part of the buffer area can be reserved for the storage of more parameters.
[0128] Convert the standard operating procedures into byte array files. As a basic data type, byte arrays can be transmitted by most communication methods, effectively improving the versatility of standard operating procedures and making them easier to convert into PLC programs.
[0129] Before or after generating the SOP, in step 301, a production task may be generated. Specifically, this step may include: generating a production task in response to the user's operation of creating a task in the visual task creation module. In other words, Figure 6 As shown, the production management system also includes a visual task creation module, in which, for example, the user can enter the task name, the task start time, the name of the associated SOP, and the quantity of the produced products. Optionally, the task batch number can also be entered.
[0130] Optionally, because the production management system in the present application is also connected to ERP or MES, the order information generated in ERP or MES can be sent to the production management system. The order information usually includes the quantity of the required products, the name of the products, and the delivery time. The user can establish at least one production task based on the order information.
[0131] Alternatively, if Figure 6 As shown, the production management system also includes a permission management module for configuring the user's operating permissions for production tasks and / or standard operating procedures. Accordingly, the method also includes: in response to the user's permission configuration operation, setting the operating permissions for production tasks and / or standard operating procedures.
[0132] The operation authority includes at least one of input operation, change operation, download authority, view authority and distribution authority.
[0133] By setting up permission management, on the one hand, production errors can be reduced, and on the other hand, the confidentiality of SOPs and production tasks can be improved.
[0134] After executing step 301 , the production management system may execute step 302 , and correspondingly, the control device may execute step 401 or step 501 .
[0135] Optionally, when a product requires multiple production equipment to participate in the production, in step 302, the production management system (server) can simultaneously send the production task to the control devices corresponding to all production equipment, and can be based on the order in which the production equipment participates in production, and then send it to the control device corresponding to the next production equipment after the current production equipment completes the part it is responsible for.
[0136] Alternatively, production tasks do not need to be sent to all participating production equipment, such as weighing equipment, scanners, and auxiliary equipment (such as vacuum equipment, heating equipment), which have single functions and do not need to issue specific production tasks and SOPs. These production equipment only need to send the data they collect to the production management system (server), or start or shut down under control.
[0137] After executing step 301, the production management system may execute step 303. If in step 303, the standard operating procedure described in natural language or the serialized standard operating procedure is sent, then the control device may execute steps 402 to 404 accordingly. If in step 303, the control program is sent, then the control device may execute steps 502 to 503 accordingly.
[0138] The implementation of step 403 is the same as the aforementioned conversion process by the production management system (server), which will not be described in detail here.
[0139] Step 302 and step 303 may be performed simultaneously, or step 302 may be performed first and then step 303.
[0140] In the embodiment of the present application, the production tasks and process recipes (SOP) are separated, and the production tasks can be sent to the production equipment in advance, so that the staff can know what production tasks are in advance. Only when the equipment is able to carry out the actual production of the production tasks, the corresponding process recipes are sent, reducing the possibility that the operators will confuse the process recipes, thereby producing unqualified products and other problems. At the same time, since the storage of each control device is limited, and the amount of data of the process recipe is relatively large, if the production tasks and process recipes are sent separately, it is beneficial to save storage space.
[0141] Optionally, the control device includes a display screen and a controller, and the controller is used to display the name of the production task and the standard operating procedure on the display screen when receiving the production task. That is, after step 401 and step 501, the name of the production task and the standard operating procedure are also displayed on the control device, and optionally, the batch number can also be displayed. In another embodiment, the batch number can be input by the workshop worker on the control device through the display screen.
[0142] By displaying the production tasks, workshop workers can know what production tasks are there, and by displaying the name of the standard operating procedure, they can also know what products are produced. In this case, there is no need to display the standard operating procedure on the display screen.
[0143] Optionally, the controller is further configured to respond to the user's operation of confirming the start of the production task on the display screen, and send a request to the production management system to download the standard operating procedure or control program; the production management system is specifically configured to send the standard operating procedure or control program to the control device through the communication network according to the request. In other words, in this embodiment, the production management system (server) executes step 303 only when it is determined to start the production task.
[0144] Optionally, when a product requires multiple production equipment (except for single-function production equipment that does not require SOP) to participate in production, and the standard operating procedure includes process steps of multiple production equipment, such as Figure 6 As shown, the production management system (server) includes a splitting module, which is used to split the standard operating process or control program into sub-processes or sub-programs corresponding one-to-one to multiple production equipment; accordingly, the production management system is specifically used to send the sub-processes or sub-programs one-to-one to the control devices of multiple production equipment through the communication network.
[0145] Specifically, the standard operating procedure or control procedure includes the equipment identification corresponding to the production equipment required to execute each process step or the production equipment required for the ingredients in the formula (for example, it can be written in the remarks information). The production equipment required to execute the standard operating procedure can be determined based on the equipment identification in the standard operating procedure, and then the standard operating procedure or control procedure can be decomposed according to the equipment identification.
[0146] In this embodiment, the equipment identification includes but is not limited to the IP address of the control device of the production equipment, the serial number of the production equipment in the production line, the asset code of the production equipment in the workshop or other preset identifications (except for the IP address, other identifications require a pre-built-in correspondence between the equipment identification and the IP address of the control device), etc., and no limitation is made here.
[0147] In this way, the SOP of each production equipment can be distributed synchronously and efficient collaboration between multiple production equipment can be achieved. Compared with manual verification and matching of production equipment and communication of SOP, the method in the embodiment of the present application does not rely on manpower. At the same time, SOP communication is timely and production efficiency can also be improved.
[0148] Optionally, when a product requires multiple production equipment (except for production equipment with a single function and no need for SOP) to participate in production together, and the standard operating procedure includes the process steps of multiple production equipment, the production management system issues the SOP or control program to the control device corresponding to one of the production equipment. Correspondingly, in one implementation, after the control device has executed step 402, the sub-process corresponding to other production equipment in the standard operating procedure is split out, and the sub-process is sent to the control device corresponding to other production equipment one by one; or after the execution of step 403, the sub-program corresponding to other production equipment in the control program is split out, and the sub-program is sent to the control device corresponding to other production equipment one by one. Correspondingly, in another implementation, after the control device has executed step 502, the sub-program corresponding to other production equipment in the control program is split out, and the sub-program is sent to the control device corresponding to other production equipment one by one. The splitting method of the control device for SOP or control program is the same as the splitting method on the production management system side, which will not be repeated here.
[0149] In this way, the SOP of each production equipment can be distributed synchronously and efficient collaboration between multiple production equipment can be achieved. Compared with manual verification and matching of production equipment and communication of SOP, the method in the embodiment of the present application does not rely on manpower. At the same time, SOP communication is timely and production efficiency can also be improved.
[0150] Optionally, it can also be the case that the product requires multiple production equipment (except for production equipment with a single function and no need for SOP) to participate in production together, and the standard operating procedure includes the process steps of multiple production equipment, and the production management system issues the SOP or control program to the control device corresponding to one of the production equipment. Correspondingly, the control device extracts the SOP or control program corresponding to itself from the SOP or control program, and then sends the remaining part or all to the control device corresponding to the next production equipment, and the control device corresponding to the next production equipment extracts the SOP or control program corresponding to itself, and then sends the remaining part or all to the control device corresponding to the next production equipment, similar to relay transmission, until it is transmitted to the control device corresponding to the last production equipment. In this embodiment, in step 402 or step 502, it can be part or all of the SOP or control program received from the control device corresponding to other production equipment.
[0151] Optionally, refer to Figure 6 As shown, the production management system also includes a data acquisition module and a quality monitoring module. The data acquisition module is used to obtain data collected by sensors installed on the production equipment and the operating data of the production equipment. The quality monitoring module is used to determine whether the process conditions are met and / or whether the recipe is configured in place based on the data collected by the sensors and the operating data; correspondingly, the control device is specifically used to control the production equipment to perform the next operation when the process conditions are met and / or the recipe is configured in place.
[0152] Accordingly, when the control device executes step 404 or step 503, after the current operation step is completed, it executes the next operation step after receiving the confirmation instruction sent by the production management system (server); wherein, a process step includes at least one operation step.
[0153] In one implementation, the control device automatically obtains the data collected by the sensors installed on the production equipment and the operating data of the production equipment, such as the rotation speed of the stirring equipment, the humidity, temperature, and vacuum pressure value in the stirring equipment, and then the control device sends the data to the data acquisition module in real time through the industrial network. Other production equipment with relatively simple functions, such as public auxiliary equipment, weighing meters, barcode scanners and other equipment, send their own operating data to the data acquisition module in real time through the wireless local area network. The production management system (server) determines whether a certain process condition is achieved through these data obtained in real time. For example, in a certain operation step, the temperature needs to be 80 degrees. Therefore, after turning on the heating equipment, the real-time temperature in the equipment is detected and the real-time temperature value is sent to the production management system (server). The production management system (server) determines whether the real-time temperature reaches 80 degrees. If it reaches, it sends a confirmation instruction to the control device, and the control device executes the next operation step, such as opening the discharge port. The production management system (server) determines whether the formula is configured in place through the data obtained in real time. For example, in the feeding step, the weight fed back by the weighing meter is used to determine whether the input material is within the weight range. If so, a confirmation instruction is sent to the control device, and the control device executes the next operation step, such as controlling the production equipment for stirring.
[0154] Through this implementation method, real data of the production process can be obtained in real time throughout the entire process, which is more authentic than the existing technology of manually entering various production data into the MES handheld terminal. Secondly, the production management system (server) can control the production process according to these real-time data throughout the entire process, ensuring that each operation step is strictly implemented in accordance with the SOP, thereby ensuring production quality.
[0155] Optionally, in order to further improve the judgment of whether a certain process condition is achieved or whether the formula is configured in place, the quality monitoring module is specifically used to determine whether the process condition is achieved or whether the formula is configured in place by whether the change trend of the data tends to be stable. If it tends to be stable, it is determined that the process condition is achieved or the formula is configured in place, otherwise, it is determined that the process condition is not achieved or the formula is not configured in place.
[0156] For example, the operating data of the production equipment is the current of the motor of the production equipment, and the quality monitoring module is specifically used to judge whether the material in the production equipment is uniformly stirred according to whether the change trend of the current tends to be stable; or
[0157] The operation data of the production equipment is the torque of the motor of the production equipment. The quality monitoring module is specifically used to judge whether the material in the production equipment is uniformly stirred according to whether the change trend of the torque tends to be stable; or
[0158] The data collected by the sensor is the temperature in the production equipment. The quality monitoring module is specifically used to determine whether the reaction of the material in the production equipment is complete based on whether the temperature change trend tends to be stable; or
[0159] The data collected by the sensor are the vacuum pressure value and temperature in the production equipment. The quality monitoring module is specifically used to jointly determine whether dehumidification and degassing are completed based on whether the changing trends of the vacuum pressure value tend to be stable and whether the changing trends of the temperature tend to be stable.
[0160] In this way, the influence of the randomness of the single-point value on the judgment result can be eliminated, making the judgment result more accurate.
[0161] Alternatively, if Figure 6 As shown, the production management system also includes a report module, which is used to generate corresponding reports based on the data collected by the above sensors and the data of the operation of the production equipment. The report can be sent to ERP, MES or WMS.
[0162] Please refer to the following Fig.10 The figure shows an example of a production task execution process provided in an embodiment of the present application.
[0163] First, generate SOP on the server through the aforementioned visual programming method, then establish production tasks on the server according to the order information, and associate the production tasks with SOP. The final production task information includes the task name, the name of the SOP, the start time of production, and the batch number. After the production task is established, the task is automatically released. Specifically, the server releases the production task to the workshop kanban and HMI through the industrial network. The production task can be displayed on the workshop kanban and HMI, and the displayed content includes the information of the production task mentioned above. When the workshop worker sees the production task, he can confirm the operation by clicking OK or starting production on the HMI. The HMI sends a production request to the server through the industrial network. When the server receives the production request, it retrieves the production task in the production list. If the retrieved task is retrieved, the server further authenticates the production task. For example, the start time of the production task is September 5, 2024, but it is currently September 6, 2024, indicating that the production task has passed the production time, then the production is rejected, and a message of rejecting production is sent to the HMI. If the authentication time is passed, the server obtains the SOP associated with the production task from the database, and splits the SOP into sub-SOPs 1-n corresponding to each associated device 1-n (i.e., production equipment participating in the production together, n is an integer greater than or equal to 1). Further, the server serializes each sub-SOP into a Byte array, obtains each sub-array, and then sends each sub-array to the control device of the corresponding associated device through the industrial network. After receiving the sub-array, each control device parses the sub-array and converts it into a control program that can be run by the control device, for example, the data of the sub-array corresponds to the value data of the corresponding bit number of the PLC program. After all control devices are successfully parsed, the production line is ready for production. If any control device fails to parse, production is rejected. When the production line is ready for production, the start button is activated, and the SOP corresponding to itself is executed in sequence from associated device 1 to associated device n, and production is completed. After completing its own SOP, each associated device can report work in stages, such as how much material is consumed.
[0164] The method provided in the embodiment of the present application has the same implementation principle and technical effects as those in the aforementioned embodiment. For the sake of brief description, for matters not mentioned in the method embodiment, reference can be made to the corresponding contents in the aforementioned embodiment.
[0165] The present application embodiment also provides an electronic device 200, such as Fig.11 As shown, the electronic device 200 includes a transceiver 210 , a memory 220 , a communication bus 230 , and a processor 240 .
[0166] The transceiver 210, the memory 220, and the processor 240 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses 230 or signal lines. Among them, the transceiver 210 is used to send and receive data. The memory 220 is used to store computer programs, wherein the computer program includes at least one software function module that can be stored in the memory 220 in the form of software or firmware (Firmware) or solidified in the operating system (Operating System, OS) of the electronic device 200. The processor 240 is used to execute the software function module or computer program stored in the memory 220. For example, the processor 240 is used to execute the above-mentioned production task execution method.
[0167] Among them, the memory 220 can be, but is not limited to, a random access memory (Random Access Memory, RAM), a programmable read-only memory (Programmable Read-Only Memory, PROM), an erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable read-only memory (ElectricErasable Programmable Read-Only Memory, EEPROM), etc.
[0168] The processor 240 may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor may be a general-purpose processor, including a PLC, a central processing unit (CPU), a network processor (NP), a graphics processor (GPU), an accelerated processing unit (GPU), a multimedia application processor (MAP), a microprocessor, etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present application may be implemented or executed. Alternatively, the processor 240 may also be any conventional processor, etc.
[0169] The electronic device 200 mentioned above may be a controller or a server.
[0170] An embodiment of the present application also provides a non-volatile computer-readable storage medium (hereinafter referred to as storage medium), on which a computer program is stored. When the computer program is run by a computer such as the above-mentioned electronic device 200, the production task execution method shown above is executed.
[0171] Based on the same inventive concept, the embodiment of the present application further provides a computer program product, which includes computer executable instructions stored in a non-transitory medium; when the computer executable instructions are executed by a processor, the above production method is implemented. The computer program product can be a software installation package or embedded software, and the above computer includes an electronic device 200.
[0172] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0173] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0174] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0175] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a computer-readable storage medium, including several instructions for enabling a computer device (which can be a personal computer, a laptop, a server, or an electronic device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0176] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A production task execution system, characterized in that: include: A production management system, used to generate a production task for producing a product and a standard operating procedure associated with the production task, wherein the standard operating procedure includes process steps for producing the product, process conditions of the process steps, and a formula; The production management system is also used to send the production task to the control device corresponding to the production equipment through the communication network; The production management system is further used to send the standard operating procedure or a control program corresponding to the standard operating procedure to the control device through the communication network; The control device is used to obtain a control program corresponding to the standard operating procedure, and directly control the corresponding production equipment to perform production according to the control program.
2. The system according to claim 1, characterized in that The production management system comprises: A visual programming module is used to provide a visual programming interface, which displays an editing bar and a display area. The editing bar is used to input the process steps, process conditions of the process steps and recipes through natural language; and is used to generate the standard operating procedures based on the process steps, process conditions of the process steps and recipes in response to the user's input operation in the editing bar; and is also used to display the standard operating procedures in a preset display format in the display area through natural language.
3. The system according to claim 2, characterized in that The production management system also includes: A compiling module, used for converting the standard operating procedure described in natural language into the control program that can be run by the control device; The control device is specifically used to obtain the control program from the production management system through a communication network.
4. The system according to claim 3, characterized in that The compilation module is specifically used for: Obtain a PLC program template, wherein the PLC program template includes a plurality of PLC program sub-templates, each of the PLC program sub-templates corresponds to one of the process steps, and each of the PLC program sub-templates is preset with a position for filling in process conditions and recipes of the corresponding process step; Extracting the process steps, process conditions of the process steps and fields of the recipe from the standard operating procedure; According to the process steps, the process conditions and recipe fields of each process step are respectively filled into the corresponding PLC program sub-templates to obtain a PLC program that can be run by the PLC controller of the production equipment. The PLC program is the control program.
5. The system according to claim 2, characterized in that The control device is specifically used to obtain the standard operating procedure described by nature through the communication network and convert the standard operating procedure into the control program that can be executed by the control device.
6. The system according to claim 2, characterized in that The production management system further includes: a serialization module, which is used to serialize the standard operating procedure according to a preset serialization rule, and the serialization is used to convert the standard operating procedure into a preset storage format.
7. The system according to any one of claims 1 to 6, characterized in that: The production management system comprises: The authority management module is used to configure the user's operating authority for the production task and / or the standard operating procedure.
8. The system according to any one of claims 1 to 6, characterized in that: The control device includes a display screen and a controller, and the controller is used to display the production task and the name of the standard operating procedure on the display screen when receiving the production task.
9. The system according to claim 8, characterized in that The controller is also used to respond to the user's confirmation on the display screen to start the production task, and send a request to the production management system to download the standard operating procedure or the control program; The production management system is specifically configured to send the standard operating procedure or the control program to the control device through the communication network according to the request.
10. The system according to any one of claims 1 to 6, characterized in that: The product requires multiple production equipment to participate in the production, and the production management system is further used to: split the standard operating procedure or the control program into sub-processes or sub-programs corresponding to the multiple production equipment one by one; The production management system is specifically used to send the sub-processes or sub-routines one by one to the control devices of the plurality of production equipment via the communication network.
11. The system according to any one of claims 1 to 6, characterized in that: The product requires multiple production equipment to participate in the production together, and the production management system is specifically used to: send the standard operating procedure or the control program to a control device corresponding to one of the multiple production equipment; The control device corresponding to one of the production equipment is also used to split out the sub-processes or sub-programs in the standard operating procedure or the control program that correspond one-to-one to other production equipment, and send the sub-processes or sub-programs one-to-one to the control device corresponding to the other production equipment.
12. The system according to any one of claims 1 to 6, characterized in that: The production management system further includes a data acquisition module and a quality monitoring module, wherein the data acquisition module is used to obtain data collected by sensors installed on the production equipment and operation data of the production equipment, and the quality monitoring module is used to determine whether the process conditions are met and / or whether the formula is configured in place based on the data collected by the sensors and the operation data; The control device is specifically used to control the production equipment to perform the next operation when the process conditions are achieved and / or the recipe is configured in place.
13. The system according to claim 12, characterized in that The quality monitoring module is specifically used to determine whether the process conditions are met and / or whether the formula is configured in place according to whether the change trend of the data tends to be stable.
14. The system according to any one of claims 1 to 6, characterized in that: The production management system is deployed in a server.
15. A production task execution method, characterized in that: Applied to a server, the method comprises: Generate a production task for producing a product and a standard operating procedure associated with the production task, wherein the standard operating procedure includes process steps for producing the product, process conditions of the process steps, and a recipe; Sending the production task to a control device corresponding to the production equipment; The standard operating procedure or a control program corresponding to the standard operating procedure is issued to the control device, so that the control device directly controls the corresponding production equipment to perform production according to the control program.
16. The method according to claim 15, characterized in that Generate the standard operating procedure, including: A visual programming interface is provided, wherein an editing bar and a display area are displayed on the visual programming interface, wherein the editing bar is used to input the process steps, process conditions of the process steps and recipes through natural language; In response to the user's input operation in the editing bar, generating the standard operating procedure based on the process steps, process conditions of the process steps and the recipe; The standard operating procedure is displayed in the display area using natural language according to a preset display format.
17. The method according to claim 16, characterized in that The method further comprises: The standard operation procedure described in natural language is converted into the control program that can be executed by the control device.
18. The method according to claim 17, characterized in that Converting the standard operating procedure described in natural language into the control program that can be run by the control device includes: Obtain a PLC program template, wherein the PLC program template includes a plurality of PLC program sub-templates, each of the PLC program sub-templates corresponds to one of the process steps, and each of the PLC program sub-templates is preset with a position for filling in process conditions and recipes of the corresponding process step; Extracting the process steps, process conditions of the process steps and fields of the recipe from the standard operating procedure; According to the process steps, the process conditions and recipe fields of each process step are respectively filled into the corresponding PLC program sub-templates to obtain a PLC program that can be run by the PLC controller of the production equipment. The PLC program is the control program.
19. The method according to claim 17, characterized in that The method further comprises: Serializing the standard operating procedure according to a preset serialization rule, wherein the serialization is used to convert the standard operating procedure into a preset storage format; Accordingly, converting the standard operating procedure described in natural language into the control program that can be run by the control device includes: The serialized standard operating procedure is converted into a PLC program that can be run by the control device, and the PLC program is the control program.
20. The method according to any one of claims 15 to 17, characterized in that: The method further comprises: In response to the user's permission configuration operation, the operation permission of the production task and / or the standard operation process is set.
21. The method according to any one of claims 15 to 17, characterized in that: The product requires multiple production equipment to participate in production, and the method further includes: Splitting the standard operating procedure or the control procedure into sub-procedures or sub-procedures corresponding to the plurality of production equipment one by one; Accordingly, the standard operating procedure or a control program corresponding to the standard operating procedure is sent to the control device, including: The sub-processes or sub-routines are sent one by one to the control devices of the multiple production equipment.
22. The method according to any one of claims 15 to 17, characterized in that: The method further comprises: Acquire data collected by sensors installed on the production equipment and operation data of the production equipment; Determining whether the process conditions are met and / or whether the recipe is configured in place based on the data collected by the sensor and the operation data; When the process conditions are met and / or the recipe is configured, a confirmation instruction is sent to the control device to control the production equipment to perform the next operation.
23. A production task execution method, characterized in that: A control device applied to a production device, the method comprising: Receive production tasks sent by the server; receiving a standard operating procedure associated with the production task, wherein the standard operating procedure includes process steps, process conditions and recipes for producing the product, and the standard operating procedure is written in a natural language; converting the standard operating procedure into a control program that can be run by the control device; According to the control program, the corresponding production equipment is directly controlled to carry out production.
24. The method according to claim 23, characterized in that Converting the standard operating procedure into a control program that can be run by the control device includes: Obtain a PLC program template, wherein the PLC program template includes a plurality of PLC program sub-templates, each of the PLC program sub-templates corresponds to one of the process steps, and each of the PLC program sub-templates is preset with a position for filling in process conditions and recipes of the corresponding process step; Extracting the process steps, process conditions of the process steps and fields of the recipe from the standard operating procedure; According to the process steps, the process conditions and recipe fields of each process step are respectively filled into the corresponding PLC program sub-templates to obtain a PLC program that can be run by the PLC controller of the production equipment. The PLC program is the control program.
25. The method according to claim 23 or 24, characterized in that The method further comprises: In response to the user confirming the operation of starting the production task, a request for downloading the standard operating procedure is sent to the server.
26. The method according to claim 23 or 24, characterized in that The product requires multiple production equipment to participate in the production, the standard operating procedure includes the process steps of the multiple production equipment, and the method further includes: The sub-processes in the standard operating process that correspond to other production equipment one by one are separated out, and the sub-processes are sent one by one to the control devices corresponding to the other production equipment.
27. The method according to claim 23 or 24, characterized in that Directly controlling the corresponding production equipment to perform production according to the control program includes: After the current operation step is completed, after receiving the confirmation instruction sent by the server, the next operation step is executed; wherein, one of the process steps includes at least one operation step.
28. A production task execution method, characterized in that: A control device applied to a production device, the method comprising: Receive production tasks sent by the server; Receiving a control program corresponding to a standard operating procedure associated with the production task, wherein the standard operating procedure includes process steps for producing the product, process conditions of the process steps, and a recipe; According to the control program, the corresponding production equipment is directly controlled to carry out production.
29. The method according to claim 28, characterized in that The method further comprises: In response to the user confirming the operation of starting the production task, a request for downloading the control program is sent to the server.
30. The method according to claim 28 or 29, characterized in that The product requires multiple production equipment to participate in the production, the control program includes the process steps of the multiple production equipment, and the method further includes: The subprograms in the control program that correspond one-to-one to other production equipment are separated out, and the subprograms are sent one-to-one to the control devices corresponding to the other production equipment.
31. The method according to claim 28 or 29, characterized in that Directly controlling the corresponding production equipment to perform production according to the control program includes: After the current operation step is completed, after receiving the confirmation instruction sent by the server, the next operation step is executed; wherein, one of the process steps includes at least one of the operation steps.
32. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is connected to the memory; The memory is used to store programs; The processor is used to call the program stored in the memory to execute the method as described in any one of claims 15-31.
33. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 15 to 31 is executed.
34. A computer program product, characterized in that The computer program product comprises computer executable instructions stored in a non-transitory medium; the computer executable instructions, when executed by a processor, implement the method according to any one of claims 15 to 31.
Citation Information
Patent Citations
On-line quality control method and system for machining, and processing machine tool
CN105573250A
Method for graphical programming development based on robot
CN105843630A
Visual programming control system, method and device
CN108594746A
Production resource management method, device and equipment and readable medium
CN111142482A
PLC program generation method and system, equipment and storage medium
CN111857028A
Cited By
Task-based sky-ground collaborative material management system and method
CN121544171A
