Parameter configuration method, industrial personal computer, controller, server, system and medium
By automatically configuring the formula parameters of battery modules to battery pack assembly processes using industrial control computers and servers, the problem of low efficiency in cutting and changing models caused by manual adjustments in existing technologies has been solved, and efficient and accurate automated parameter management has been achieved.
Patent Information
- Application Number
- CN202411162245.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2026-03-03
AI Technical Summary
In the battery module to battery pack assembly process, different models of battery modules or battery packs require different formula parameters. In the existing technology, the change of formula parameters requires manual modification, resulting in low efficiency of changeover.
The industrial control computer obtains the barcode information of the target product, sends the barcode information to the server to obtain the material code, and sends the material code to the controller. After the server responds, it sends the formula parameters to the controller for automatic configuration, realizing parameter adjustment without human intervention.
It improved the efficiency of switching between different configurations, reduced manpower consumption, ensured the accuracy and security of parameter configuration, and reduced server load and storage space usage.
Smart Images

Figure CN121596786A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of batteries, and in particular to a parameter configuration method, an industrial computer, a controller, a server, a system, and a medium. Background Technology
[0002] In the battery pack assembly line, the assembly process from battery modules to battery packs involves frequent changes in configuration due to the large number of battery module and pack models. Different models of battery modules or packs typically require different formulation parameters. To ensure the successful production of qualified battery pack products, different formulation parameters need to be configured for different models of battery modules or packs.
[0003] In related technologies, formula parameters are usually stored in a lower-level computer or a higher-level computer. This means that when the formula parameters change, engineers need to manually modify the program in the lower-level computer or reconfigure the formula parameters stored in the higher-level computer. Both methods require a lot of manpower, resulting in low efficiency of line cutting and changing. Summary of the Invention
[0004] This application provides a parameter configuration method, an industrial computer, a controller, a server, a system, a storage medium, and a program product, which can automatically configure the formula parameters corresponding to the product without manual configuration, thereby improving the efficiency of changeover.
[0005] In a first aspect, this application provides a parameter configuration method applied to an industrial control computer. The method includes: acquiring barcode information of a target product and sending the barcode information to a server; receiving a first material code corresponding to the barcode information sent by the server; sending the first material code to a controller; receiving the first material code sent by the controller; sending a parameter retrieval request to the server based on the first material code and the device identifier of the controller; receiving a first formula parameter sent by the server in response to the parameter retrieval request, wherein the first formula parameter is a formula parameter corresponding to the first material code; and sending the first formula parameter to the controller to configure the first formula parameter corresponding to the target product on the controller.
[0006] Through the above technical solution, during the changeover process, the industrial control computer obtains the first material code of the target product after the changeover and sends it to the server. The server then sends the first formula parameters corresponding to the target product, which are then sent to the controller. This allows the controller to configure the formula parameters corresponding to the target product. According to this technical solution, formula parameter configuration can be performed automatically, eliminating the need for manual parameter setting, reducing manpower costs, and improving changeover efficiency.
[0007] In some or more embodiments of this application, before sending a parameter retrieval request to the server based on the first material code and the device identifier of the controller, the method further includes: determining whether a first formula parameter corresponding to the first material code is stored in the first memory; if it is determined that the first formula parameter is stored in the first memory, sending the first formula parameter stored in the first memory to the controller; sending a parameter retrieval request to the server based on the first material code and the device identifier of the controller includes: if it is determined that the first formula parameter is not stored in the first memory, sending a parameter retrieval request to the server based on the first material code and the device identifier.
[0008] The above technical solutions can reduce the frequency of sending parameter call requests to the server, thereby reducing the server load.
[0009] In some or more embodiments of this application, a first memory stores a second formula parameter corresponding to a second material code. Determining whether the first memory stores a first formula parameter corresponding to the first material code includes: comparing the first material code with the second material code to obtain a first comparison result; in response to the first comparison result indicating that the first material code and the second material code are consistent, using the second formula parameter stored in the first memory as the first formula parameter corresponding to the first material code.
[0010] With the above technical solution, the first memory can store only the formula parameters corresponding to a material code. In this way, the frequency of sending parameter call requests to the server can be reduced, while the storage space occupied by the first memory can be reduced.
[0011] In some or more embodiments of this application, after sending the first recipe parameter to the controller, the method further includes: reading the second recipe parameter configured in the controller; if the second recipe parameter is read, comparing the first recipe parameter with the second recipe parameter to obtain a second comparison result; in response to the second comparison result indicating that the first recipe parameter and the second recipe parameter are consistent, determining that the controller parameter configuration is successful; in response to the second recipe parameter not being read, or the second comparison result indicating that the first recipe parameter and the second recipe parameter are inconsistent, outputting a first alarm message, the first alarm message being used to indicate that the controller parameter configuration is unsuccessful.
[0012] The above technical solution can be used to verify the completeness and accuracy of the configuration parameters in the controller.
[0013] In some or more embodiments of this application, after determining that the controller parameters are successfully configured, the method further includes: reading the second formula parameters configured in the controller; comparing the first formula parameters with the second formula parameters to obtain a third comparison result; in response to the third comparison result indicating that the first formula parameters and the second formula parameters are inconsistent, outputting a second alarm message and sending an alarm command to the controller, wherein the second alarm message and the alarm command are both used to indicate that the formula parameters configured in the controller have been tampered with.
[0014] The above technical solutions can promptly detect parameter tampering issues in the controller, thereby improving the controller's security.
[0015] In some or more embodiments of this application, after sending the first material code to the controller, the method further includes: if it is determined that the controller parameter configuration is successful, reading the second formula parameter configured in the controller; if the second formula parameter is not stored in the second memory, storing the second formula parameter in the second memory.
[0016] The above technical solution allows the second formula parameters to be stored in the second memory, making it easier to retrieve the second formula parameters directly from the second memory later.
[0017] In some or more embodiments of this application, before sending the first material code to the controller, the method further includes: determining whether the controller can obtain the first formula parameter corresponding to the first material code from the server; in response to the controller not being able to obtain the first formula parameter corresponding to the first material code from the server, sending the first formula parameter corresponding to the first material code stored in a second memory to the controller to configure the first formula parameter corresponding to the target product on the controller; sending the first material code to the controller includes: in response to the controller being able to obtain the first formula parameter corresponding to the first material code from the server, sending the first material code to the controller.
[0018] The above technical solution enables the controller to complete parameter configuration even when the controller cannot obtain the first formula parameters corresponding to the first material code from the server, thereby improving the success rate of parameter configuration.
[0019] Secondly, this application provides a parameter configuration method applied to a controller. The method includes: receiving a first material code sent by an industrial control computer; sending the first material code to the industrial control computer; and receiving a first formula parameter corresponding to the first material code sent by the industrial control computer, so as to configure the first formula parameter corresponding to the target product on the controller.
[0020] Through the above technical solution, during changeover, the industrial control computer obtains the first material code of the target product after changeover and sends it to the server. The industrial control computer then receives the first formula parameters corresponding to the target product from the server and sends these parameters to the controller, enabling the controller to configure the formula parameters corresponding to the target product. This technical solution allows for automatic formula parameter configuration, eliminating the need for manual parameter setting, reducing manpower costs, and improving changeover efficiency.
[0021] In some or more embodiments of this application, after receiving the first formula parameter corresponding to the first material code sent by the industrial control computer, the method further includes: in response to receiving the alarm command sent by the industrial control computer, performing a shutdown action and outputting third alarm information, wherein both the alarm command and the third alarm information are used to indicate that the formula parameter configured in the controller has been tampered with.
[0022] By using the methods described above, the adverse effects of parameter tampering on the controller can be reduced.
[0023] In some or more embodiments of this application, after sending the first material code to the industrial control computer, the method further includes: accumulating the time from sending the first material code to the industrial control computer to receiving the first formula parameter corresponding to the first material code sent by the industrial control computer, and obtaining an accumulated duration; in response to the accumulated duration being equal to a preset duration and the first formula parameter not being received from the industrial control computer, outputting a fourth alarm message, the fourth alarm message being used to indicate that the acquisition of formula parameters has timed out.
[0024] The above technical solution can reduce the problem of low parameter configuration efficiency caused by the controller's inability to obtain the first formula parameters for a long time.
[0025] Thirdly, this application provides a parameter configuration method applied to a server. The method includes: receiving a parameter retrieval request sent by an industrial control computer; parsing the parameter retrieval request to obtain a first material code and an equipment identifier; searching for a first formula parameter corresponding to the first material code from a pre-set formula parameter; and sending the first formula parameter to the industrial control computer corresponding to the equipment identifier.
[0026] Through the above technical solution, during changeover, the industrial control computer sends the first material code to the server, thereby receiving the first formula parameters corresponding to the target product from the server. The industrial control computer then sends the first formula parameters to the controller, enabling the controller to configure the formula parameters corresponding to the target product. According to this technical solution, formula parameter configuration can be performed automatically, eliminating the need for manual parameter setting, reducing manpower costs, and improving changeover efficiency.
[0027] In some or more embodiments of this application, before obtaining the first formula parameter corresponding to the first material code from the pre-set formula parameters, the method further includes: importing a formula parameter table into a server, wherein the formula parameter table includes at least the first material code and the first formula parameter corresponding to the first material code.
[0028] The above technical solution allows for the rapid setting of recipe parameters on the server.
[0029] In some or more embodiments of this application, after importing the formula parameter table into the server, the method further includes: displaying a first page, the first page including a first information selection control, a first operation control, and a first display area; receiving a first input to the first information selection control and a second input to the first operation control; and, in response to the first input and the second input, displaying summary information of the formula parameters corresponding to the first input and the second input and a second operation control corresponding to the formula parameters in the first display area.
[0030] Using the above technical solution, the recipe parameters set within can be easily viewed through the server.
[0031] In some or more embodiments of this application, after displaying summary information of the formula parameters corresponding to the first input and the second input and the second operation control corresponding to the formula parameters in the first display area, the method further includes: receiving a third input to a view details control corresponding to a target formula parameter in the first display area, wherein the target formula parameter is any formula parameter displayed in the first display area, and the view details control is a control in the second operation control used to view the details of the formula parameter; in response to the third input, displaying a second page, wherein the second page includes a second display area, wherein the second display area includes detailed information corresponding to the formula identifier in the target formula parameter and a fourth operation control corresponding to the formula identifier; receiving a fourth input to the fourth operation control corresponding to the target formula identifier in the second display area, wherein the target formula identifier is any formula identifier displayed in the second display area; and in response to the fourth input, editing the detailed information corresponding to the target formula identifier to obtain the edited detailed information.
[0032] The above technical solution allows for convenient editing of formula parameters on the server.
[0033] Fourthly, this application provides an industrial control computer, comprising: an acquisition module for acquiring barcode information of a target product; a first sending module for sending the barcode information to a server; a first receiving module for receiving a first material code corresponding to the barcode information sent by the server; a second sending module for sending the first material code to a controller; a second receiving module for receiving the first material code sent by the controller; a third sending module for sending a parameter retrieval request to the server based on the first material code and a pre-stored device identifier of the controller; a third receiving module for receiving a first formula parameter sent by the server in response to the parameter retrieval request, wherein the first formula parameter is a formula parameter corresponding to the first material code; and a fourth sending module for sending the first formula parameter to the controller to configure the first formula parameter corresponding to the target product on the controller.
[0034] Fifthly, this application provides a controller, comprising: a first receiving module for receiving a first material code sent by an industrial control computer; a sending module for sending the first material code to the industrial control computer; and a second receiving module for receiving a first formula parameter corresponding to the first material code sent by the industrial control computer, so as to configure the first formula parameter corresponding to the target product on the controller.
[0035] Sixthly, this application provides a server, comprising: a receiving module for receiving a parameter retrieval request sent by an industrial control computer; a parsing module for parsing the parameter retrieval request to obtain a first material code and an equipment identifier; a searching module for searching for a first formula parameter corresponding to the first material code from a pre-set formula parameter; and a sending module for sending the first formula parameter to the industrial control computer corresponding to the equipment identifier.
[0036] In a seventh aspect, this application provides a parameter configuration system, including: an industrial control computer, a controller, and a server; the industrial control computer is used to acquire barcode information of a target product; send the barcode information to the server; receive a first material code corresponding to the barcode information sent by the server; and send the first material code to the controller; the server is used to receive the barcode information sent by the industrial control computer; search for the first material code corresponding to the barcode information from pre-stored material codes; and send the first material code to the industrial control computer; the controller is used to receive the first material code sent by the industrial control computer; send the first material code to the industrial control computer; and receive a first formula parameter corresponding to the first material code sent by the industrial control computer, so as to configure the parameter on the controller. The system configures the first formula parameters corresponding to the target product; the industrial control computer is also used to receive the first material code sent by the controller; send a parameter retrieval request to the server based on the first material code and the device identifier of the controller; receive the first formula parameters sent by the server in response to the parameter retrieval request, the first formula parameters being the formula parameters corresponding to the first material code; send the first formula parameters to the controller; the server is also used to receive the parameter retrieval request sent by the industrial control computer; parse the parameter retrieval request to obtain the first material code and the device identifier; search for the first formula parameters corresponding to the first material code from the pre-set formula parameters; and send the first formula parameters to the industrial control computer corresponding to the device identifier.
[0037] Eighthly, this application provides a computer-readable storage medium storing computer program instructions that, when executed by a processor, implement the parameter configuration method as described in the first, second, or third aspect.
[0038] Ninthly, this application provides a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform the parameter configuration method as described in the first, second, or third aspects. Attached Figure Description
[0039] The features, advantages, and technical effects of exemplary embodiments of this application will now be described with reference to the accompanying drawings.
[0040] Figure 1 A schematic diagram of a parameter configuration system provided in some embodiments of this application;
[0041] Figure 2 A flowchart illustrating the parameter configuration method provided in some embodiments of this application;
[0042] Figure 3 A flowchart illustrating the parameter configuration method provided in other embodiments of this application;
[0043] Figure 4 A flowchart illustrating a parameter configuration method provided in some embodiments of this application;
[0044] Figure 5 A flowchart illustrating a parameter configuration method provided in some embodiments of this application;
[0045] Figure 6 A flowchart illustrating a parameter configuration method provided in some embodiments of this application;
[0046] Figure 7 A flowchart illustrating a parameter configuration method provided in some embodiments of this application;
[0047] Figure 8 A flowchart illustrating a parameter configuration method provided in some embodiments of this application;
[0048] Figure 9 A flowchart illustrating a parameter configuration method provided in some embodiments of this application;
[0049] Figure 10 A flowchart illustrating a parameter configuration method provided in some embodiments of this application;
[0050] Figure 11 A schematic diagram of the server architecture provided for some embodiments of this application;
[0051] Figure 12 A flowchart illustrating a parameter configuration method provided in some embodiments of this application;
[0052] Figure 13 A schematic diagram of the server architecture provided for other embodiments of this application;
[0053] Figure 14 This is a schematic diagram of the structure of an industrial control computer provided in some embodiments of this application;
[0054] Figure 15 Schematic diagrams of the controller provided in some embodiments of this application;
[0055] Figure 16 The structural intent of the server provided in some embodiments of this application.
[0056] The accompanying drawings are not necessarily drawn to scale. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.
[0059] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.
[0060] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0061] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0062] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).
[0063] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.
[0064] To facilitate understanding, the technical terms used in the embodiments of this application will be explained first.
[0065] A workstation, in general, refers to a work area or position in a manufacturing process that has specific functions and tasks. A workstation is the location where a process is executed, and a process may be completed in one or more workstations.
[0066] Production lines, also known as assembly lines or production lines, are an indispensable part of industrial production. They are mainly used to transport raw materials, semi-finished products, and finished products between various production stages to achieve continuous and efficient production.
[0067] M / P products, where M stands for Battery Module and P stands for Battery Pack, refer to the products involved in the assembly process from battery module to battery pack, specifically in the module segment (module transfer, insulation testing, battery pad installation, BSB welding, etc.) and the pack segment (module tightening, top cover tightening, etc.). M / P products include, but are not limited to, battery modules and battery packs.
[0068] Formula parameters refer to a series of key parameters that are used to control raw materials, equipment, and operations during the production process.
[0069] Material codes, also known as PN codes (Part Number codes), are serial numbers used to identify specific products or components. Barcodes can carry the information of the PN code. By scanning a barcode, the corresponding PN code can be quickly obtained, thereby determining the specific model, specifications, and other relevant information of the scanned item. One PN code can correspond to multiple barcodes.
[0070] The M / P (Model / Package) assembly line corresponds to the assembly process from battery modules to battery packs. It involves numerous product models and frequent changes in assembly lines. Different products correspond to different formula parameters, requiring adjustments to these parameters as product models change. Currently, there are three main methods for managing the formula parameters of the M / P assembly line: saving the formula parameters in the host computer software, configuring them in the lower-level PLC program, and configuring them through an HMI (Hardware Management Interface).
[0071] MES, or Manufacturing Execution System, is a production information management system for the shop floor execution layer of manufacturing enterprises.
[0072] The applicant noted that if the formula parameters are stored in the PLC or HMI, when the formula parameters change, engineers need to manually modify the PLC or HMI program; if the formula parameters are stored in the host computer, although the modification of the PLC or HMI program can be reduced, engineers need to configure the host computer formula parameters through the process. All three methods require a lot of manpower and cannot achieve rapid production line changeover.
[0073] In view of this, in order to improve the changeover efficiency of the production line, the applicant has found that formula parameters can be uniformly managed through a server. The workstation can retrieve the corresponding formula parameters from the server based on the product's material code, thereby realizing the automatic distribution of formula parameters. In this way, changes to formula parameters can be made without human intervention, thereby improving changeover efficiency. Based on this, this application provides a parameter configuration method, an industrial control computer, a controller, a server, a system, a storage medium, and a program product.
[0074] The technical solutions provided in this application can be applied to the wire drawing process corresponding to the battery production process. The battery production process includes any process after assigning barcodes to the product, including but not limited to the assembly process from battery module to battery pack.
[0075] See Figure 1 This is a schematic diagram of a parameter configuration system provided in some embodiments of this application, such as... Figure 1 As shown, the parameter configuration system 100 includes a server 101, an industrial computer 102, and a controller 103, wherein the controller 103 includes, but is not limited to, a programmable logic controller (PLC). In some embodiments of this application, the server 101 can be a machine server deployed with an edge intelligent control platform and a production execution system (MES).
[0076] like Figure 1 As shown, the industrial control computer 102 and the controller 103 are located in the same workstation. In practical applications, the parameter configuration system 100 may include N workstations, the number of which can be determined according to the actual situation. Each workstation includes a corresponding industrial control computer 102 and controller 103, and each workstation can interact with the server 101. Thus, the parameter configuration system 100 can perform unified parameter configuration on multiple workstations. Since the parameter configuration system 100 uses the same parameter configuration method for each workstation, for ease of description, this embodiment uses parameter configuration of one workstation as an example for illustration.
[0077] See Figure 2 This is a flowchart illustrating a parameter configuration method provided in some embodiments of this application. This method can be applied to, for example... Figure 1 The parameters configured in system 100 are shown below, such as Figure 2 As shown, the method includes the following steps S21-S211, which will be explained in detail below.
[0078] S21. The industrial control computer acquires the barcode information of the target product.
[0079] Here, the target product is the product in the assembly line to which the parameter configuration method is applied. Taking the M / P assembly line corresponding to the assembly process from battery module to battery pack as an example, the target product can be a battery module or a battery pack.
[0080] In some embodiments of this application, the parameter configuration system 100 may include a barcode scanning component connected to an industrial control computer 102. This barcode scanning component is used to scan barcodes on products in the workstation. Based on this, the industrial control computer 102 can control the barcode scanning component to scan the barcode on the target product when the target product enters the workstation, in the event of a change in the product model during the production line process, thereby obtaining the barcode information of the target product.
[0081] In some embodiments of this application, the controller 103 includes a barcode scanning signal, which has two states: reset and set. When the product model in the pull line changes, the state of the barcode scanning signal can be updated from the reset state to the set state. The industrial control computer 1011 can monitor the barcode scanning signal in the controller 103. In this way, when the industrial control computer 1011 detects that the barcode scanning signal in the controller 103 has been updated from the reset state to the set state, it can determine that the product model in the pull line has changed, and thus control the barcode scanning component to scan the barcode on the target product when the target product enters the station.
[0082] S22. The industrial control computer sends barcode information to the server.
[0083] In some embodiments of this application, the server 101 pre-stores the material codes corresponding to each type of product in the parameter configuration system 100, as well as the barcode information corresponding to each material code. Based on this, after the industrial control computer 102 obtains the barcode information of the target product, it sends the barcode information to the server 101 to obtain the first material code corresponding to the target product from the server 101.
[0084] S23. The server receives the barcode information sent by the industrial control computer and searches for the first material code corresponding to the barcode information from the pre-stored material codes.
[0085] In some embodiments of this application, in response to receiving barcode information sent by industrial computer 102, server 101 can search for pre-stored material codes based on the correspondence between pre-stored material codes and barcode information, thereby finding the material code corresponding to the barcode information sent by industrial computer 102, and using the found material code as the first material code corresponding to the barcode information sent by industrial computer 102, that is, the first material code corresponding to the target product.
[0086] S24. The server sends the first material code to the industrial control computer.
[0087] In some embodiments of this application, after the server 101 finds the first material code corresponding to the target product based on the barcode information thrown by the industrial control computer 102, it feeds back the first material code to the industrial control computer 102, so that the industrial control computer 102 can obtain the first material code corresponding to the target product.
[0088] S25. The industrial computer sends the received first material code to the controller.
[0089] In some embodiments of this application, after receiving the first material code sent by the server 101, the industrial control computer 102 can transmit the first material code to the controller 103, so that the controller 103 can obtain the first material code.
[0090] S26. The controller sends the received first material code to the industrial computer.
[0091] In some embodiments of this application, the controller 103 includes a parameter sending trigger signal and a parameter sending completion signal. The parameter sending trigger signal has two states: set and reset. The parameter sending completion signal also has two states: set and reset. Specifically, a set parameter sending trigger signal indicates that the controller 103 needs to configure formula parameters; a reset parameter sending trigger signal indicates that the controller 103 does not need to configure formula parameters; a set parameter sending completion signal indicates that the controller 103 has completed formula parameter configuration; and a reset parameter sending completion signal indicates that the controller 103 has not completed formula parameter configuration. Upon receiving a first material code from the industrial control computer 102, the controller 103 can update the parameter sending configuration signal from the reset state to the set state and the parameter sending completion signal from the set state to the reset state, and then send the first material code to the industrial control computer 102.
[0092] S27. The industrial control computer sends a parameter retrieval request to the server based on the received first material code and the controller's device identifier.
[0093] In some embodiments of this application, the industrial computer 102 and the controller 103 can be connected via a heartbeat. The industrial computer 102 can monitor the status of the parameter sending trigger signal and the parameter sending completion signal in the controller 103 based on the heartbeat packets between them. Based on this, the industrial computer 102 can determine that the controller 103 needs to perform parameter configuration when it detects that the parameter sending configuration signal in the controller 103 has been updated from a reset state to a set state, and the parameter sending completion signal has been updated from a set state to a reset state. It then receives the first material code sent by the controller 103. At this time, in order for the controller 103 to complete the parameter configuration, the industrial computer 102 sends a parameter retrieval request containing the first material code to the server 101.
[0094] In some embodiments of this application, as described above, server 101 can correspond to multiple workstations, each workstation including a corresponding industrial control computer 102 and controller 103. Therefore, server 101 can receive parameter retrieval requests sent by industrial control computers 102 in multiple workstations. Since the products used in different workstations may differ, the required formula parameters may also differ. Therefore, to improve the accuracy of parameter configuration, server 101 needs to distinguish between workstations. Based on this, industrial control computers 102 encapsulate the corresponding device identifier in the parameter retrieval request they send, so that server 101 can determine the workstation corresponding to industrial control computer 102 based on the device identifier, and then accurately send the formula parameters to that industrial control computer 102. Specifically, in response to receiving the first material code sent by controller 103, industrial control computer 102 can encapsulate the first material code and the pre-configured device identifier in industrial control computer 102 based on a preset target communication protocol to obtain the parameter retrieval request. The target communication protocol is a pre-configured communication protocol used between the industrial control computer 102 and the server 101. This target communication protocol includes, but is not limited to, protocols such as HTTP, TCP, UDP, and MQTT. In this embodiment, the industrial control computer 102 and the controller 103 have a one-to-one correspondence. Therefore, the device identifier pre-configured in the industrial control computer 102 is the device identifier corresponding to the controller 103. The device identifier includes, but is not limited to, configuration information such as the pull wire identifier and the device resource number. The industrial control computer 102 sends a parameter retrieval request to the server 101 to request the server 101 to issue the first formula parameters corresponding to the first material code.
[0095] S28. The server receives the parameter retrieval request sent by the industrial control computer, parses the parameter retrieval request, and obtains the first material code and equipment identifier.
[0096] In some embodiments of this application, server 101 and industrial computer 102 interact with each other via a target communication protocol. Based on this, server 101 responds to receiving a parameter retrieval request sent by industrial computer 102 by parsing the parameter retrieval request based on the target communication protocol, thereby obtaining the first material code and equipment identifier contained in the parameter retrieval request.
[0097] S29. The server searches for the first formula parameter corresponding to the first material code from the pre-set formula parameters and sends the first formula parameter to the industrial control computer corresponding to the equipment identifier.
[0098] In some embodiments of this application, server 101 may pre-store multiple material codes and corresponding formula parameters for each material code. Based on this, after receiving a first material code, server 101 can search for the formula parameter corresponding to the first material code in the pre-set formula parameters, use the found formula parameter as the first formula parameter corresponding to the first material code, and send the first formula parameter to the corresponding industrial control computer 102 based on the parsed device identifier.
[0099] S210. The industrial control computer receives the first recipe parameter sent by the server in response to the parameter retrieval request, and sends the first recipe parameter to the controller.
[0100] In some embodiments of this application, the industrial control computer 102 connects the controller 103 and the server 101. After receiving the first recipe parameter sent by the server 101, the industrial control computer 102 sends the first recipe parameter to the controller 103 in the controller 103, thereby completing the parameter configuration of the controller 103.
[0101] S211. The controller receives the first formula parameters corresponding to the first material code sent by the industrial computer, so as to configure the first formula parameters corresponding to the target product on the controller.
[0102] In some embodiments of this application, the controller 103 may include at least one parameter interface corresponding to the target product. The first formula parameter includes parameter values corresponding to each parameter interface in the at least one parameter interface. After receiving the first formula parameter sent by the industrial control computer 102, the controller 103 can write the parameter values in the first formula parameter into the corresponding parameter interface, thereby completing the configuration of the formula parameter corresponding to the target product.
[0103] Through the above technical solution, during the changeover process, the industrial control computer 102 obtains the first material code of the target product after the changeover and sends it to the server 101. The server 101 then sends the first formula parameters corresponding to the target product. The industrial control computer 102 then sends these first formula parameters to the controller 103, enabling the controller 103 to configure the formula parameters corresponding to the target product. According to this technical solution, formula parameter configuration can be performed automatically, eliminating the need for manual parameter setting, reducing manpower consumption, and improving changeover efficiency.
[0104] In some embodiments of this application, the industrial control computer 102 may be equipped with a first application and a second application. The first application is a host computer application corresponding to the cable pulling, and the second application is a data acquisition application used to connect the controller 103 and the server 101. Based on this, the industrial control computer 102 executes the above steps S21, S22, and S25 through the first application, and executes the above steps S27 and S210 through the second application. Accordingly, in step S26, the controller 103 sends the received first material code to the second application, and in step S29, the server sends the first formula parameter to the second application.
[0105] In some embodiments of this application, a second application in the industrial control computer 102 can be configured using low-code development, enabling the second application to interface with the controller 103 and the server 101, and to implement corresponding data acquisition functions. Low-code development can reduce the development difficulty of the industrial control computer 102 and improve its development efficiency and flexibility.
[0106] In some embodiments, to avoid server 101 receiving frequent parameter retrieval requests, increasing the load on server 101, and causing server 101 to crash, see [reference needed]. Figure 3 After receiving the first material code sent by the controller 103, before executing step S27 above, the industrial control computer 102 can also execute the following steps S31-S32. If the industrial control computer 102 includes a second application, steps S31-S32 are executed through the second application. The following explanation uses the execution of steps S31-S32 through the second application as an example.
[0107] S31. Determine whether the first memory contains the first formula parameter corresponding to the first material code.
[0108] Here, the first memory is the memory in the industrial control computer 102 corresponding to the second application.
[0109] In some embodiments of this application, the first memory is used to cache data corresponding to the second application. For example, the first memory may store material codes sent by the controller 103 and formula parameters corresponding to the material codes issued by the server 101, which are received by the second application. Based on this, in order to reduce requests to the server 101, after receiving the first material code sent by the controller 103, the second application may not send a parameter call request to the server 101 immediately, but instead determine whether the first formula parameters corresponding to the first material code are stored in the first memory.
[0110] S32. If it is determined that the first formula parameter is stored in the first memory, the first formula parameter stored in the first memory is sent to the controller. In some embodiments of this application, if the second application determines that the first formula parameter corresponding to the first material code is stored in the first memory, the first formula parameter in the first memory can be directly sent to the controller 103, without needing to generate a parameter retrieval request or send a parameter call request to the server 101. This reduces access to the server 101.
[0111] Accordingly, if the second application determines that the first formula parameter is not stored in the first memory, it sends a parameter retrieval request to the server 101 based on the first material code and device identifier. This technical solution reduces the frequency of sending parameter retrieval requests to the server 101, thus reducing the load on the server 101.
[0112] In some embodiments, to reduce the storage space occupied in the first memory, the industrial computer 102 can update the formula parameters stored in the first memory each time it receives formula parameters sent by the server 101. Thus, the first memory can only cache the second formula parameters corresponding to the second material code most recently received by the industrial computer 102. Based on this, as... Figure 4 As shown, the industrial control computer 102 can determine whether the first recipe parameter corresponding to the first physical code is stored in the first memory through the following steps S41-S43. If the industrial control computer 102 includes a second application, steps S41-S43 are executed by the second application. The following explanation uses the execution of steps S41-S43 by the second application as an example.
[0113] S41. Compare the first material code with the second material code to obtain the first comparison result.
[0114] S42. In response to the first comparison result indicating that the first material code and the second material code are consistent, the second formula parameter stored in the first memory is used as the first formula parameter corresponding to the first material code.
[0115] S43. In response to the first comparison result indicating that the first material code and the second material code are inconsistent, it is determined that the first formula parameter corresponding to the first material code is not stored in the first memory.
[0116] With the above technical solution, the first memory can store only the formula parameters corresponding to one material code. In this way, the frequency of sending parameter call requests to server 101 can be reduced, while the storage space occupied by the first memory can be reduced.
[0117] In some embodiments, to improve the completeness and accuracy of the first recipe parameters sent to the controller 103, such as Figure 5As shown, after step S210 above, the industrial computer 102 can also execute the following steps S51-S54. If the industrial computer 102 includes a second application, steps S51-S54 are executed through the second application. The following explanation will use the execution of steps S51-S54 through the second application as an example.
[0118] S51. Read the second recipe parameter configured in the controller.
[0119] In some embodiments of this application, after the second application sends the first recipe parameter to the controller 103, it can read back the recipe parameter already written in the controller 103 to obtain the second recipe parameter written in the controller 103.
[0120] In some embodiments of this application, the first formula parameters include at least one parameter item, and the controller 103 includes a parameter interface corresponding to each of the at least one parameter item. The second application can obtain the second formula parameters by reading the parameter values written in the parameter interface corresponding to the at least one parameter item in the controller 103.
[0121] S52. If the second formula parameter is read, compare the first formula parameter with the second formula parameter to obtain the second comparison result.
[0122] In some embodiments of this application, after the second application reads the second formula parameters written in the controller 103, it compares the parameter value of each parameter in the second formula parameters with the corresponding parameter value in the first formula parameters to obtain a second comparison result.
[0123] S53. In response to the second comparison result indicating that the first formulation parameters and the second formulation parameters are consistent, it is determined that the controller parameter configuration is successful.
[0124] In some embodiments of this application, the consistency of the first formulation parameter and the second formulation parameter means that the parameter items in the second formulation parameter are consistent with the parameter items in the first formulation parameter, and the parameter values of each parameter in the second formulation parameter are the same as the parameter values of the corresponding parameter items in the first formulation parameter. For example, the first formula parameters include four parameters corresponding to the target product: A, B, C, and D. The first formula parameters also include the parameter values corresponding to each of the four parameter items: A1, B1, C1, and D1. The controller 103 includes four parameter interfaces corresponding to the above four parameter items: 1, 2, 3, and 4. After sending the first formula parameters to the controller 103, the second application reads the parameter values configured in interfaces 1, 2, 3, and 4 of the controller 103, obtaining A2, B2, C2, and D2. A2, B2, C2, and D2 are then compared with A1, B1, C1, and D1 in the first formula parameters as second configuration parameters. If A1 = A2, B1 = B2, C1 = C2, and D1 = D2, then the first formula parameters are consistent with the second formula parameters; otherwise, they are inconsistent. If the first formula parameters are consistent with the second formula parameters, it indicates that the first formula parameters have been completely written into the controller 103, thus confirming that the controller 103 parameter configuration is successful.
[0125] S54. In response to the failure to read the second formula parameter, or the second comparison result indicating that the first formula parameter and the second formula parameter are inconsistent, output the first alarm information, which is used to indicate that the controller parameter configuration is unsuccessful.
[0126] In some embodiments of this application, if the second application fails to read the second configuration parameter from the controller 103 or the read second configuration parameter is inconsistent with the first configuration parameter, it indicates that the first configuration parameter has not been successfully written to the controller 103, thus determining that the controller 103 parameter configuration is unsuccessful. In this case, to promptly detect the problem of unsuccessful controller 103 parameter configuration, the second application controls the industrial control computer 102 to output a first alarm message to indicate that the controller 103 parameter configuration is unsuccessful. The output method of the first alarm message includes, but is not limited to, pop-up display, voice broadcast, etc.
[0127] The above technical solution can verify the completeness and accuracy of the configuration parameters in controller 103.
[0128] In some embodiments, in order to improve the success rate of parameter configuration of controller 103, after step S54 above, industrial computer 102 may also perform the following steps:
[0129] Return to step S27 or S31 above to resend the first formula parameters corresponding to the first material code to the controller 103.
[0130] If the industrial control computer 102 includes a second application, the above steps are performed through the second application.
[0131] The above technical solutions can improve the success rate of parameter configuration for controller 103.
[0132] In some embodiments, after successfully configuring parameters based on the first configuration parameters, the controller 103 can execute corresponding action logic to complete the changeover and perform corresponding process actions. Considering that the configured parameters may be maliciously modified during the operation of the controller 103, and that parameter modification may cause process errors, resulting in defective products, in order to improve the security of the controller 103, after step S53, as follows... Figure 6 As shown, the industrial computer 102 can also execute the following steps S61-S63. When the industrial computer 102 includes a second application, steps S61-S63 are executed through the second application. The following explanation uses the execution of steps S61-S63 through the second application as an example.
[0133] S61. Read the second recipe parameter configured in the controller.
[0134] In some embodiments of this application, the second application here can read the second recipe parameters configured in the controller 103 in the same way as step S51 described above. To avoid repetition, it will not be described in detail here.
[0135] S62. Compare the first formula parameters with the second formula parameters to obtain the third comparison result.
[0136] In some embodiments of this application, the second application here can compare the first formula parameters and the second formula parameters in the same way as step S52 above. To avoid repetition, it will not be described in detail here.
[0137] S63. In response to the third comparison result indicating that the first formula parameter and the second formula parameter are inconsistent, a second alarm message is output and an alarm command is sent to the controller. Both the second alarm message and the alarm command are used to indicate that the formula parameter configured in the controller has been tampered with.
[0138] In some embodiments of this application, under normal circumstances, after the controller 103 successfully writes the first formula parameter, that is, after completing the parameter configuration of the target product, the second formula parameter configured in the controller 103 should be consistent with the first formula parameter. If the second formula parameter is inconsistent with the first formula parameter, it indicates that the parameter configured in the controller 103 has been tampered with. In order to detect the tampering problem in a timely manner, the second application outputs a second alarm message and sends an alarm command to the controller 103 when it determines that the first formula parameter is inconsistent with the second formula parameter, so that the engineering technicians on the industrial control computer 102 side and the engineering technicians on the controller 103 side can detect the parameter tampering problem in a timely manner and take timely action. The industrial control computer 102 outputs the second alarm message in ways including but not limited to pop-up display, voice broadcast, etc.
[0139] In some embodiments of this application, in order to detect parameter tampering issues in the controller 103 in a timely manner, the second application can periodically execute the above steps S61-S63 according to a preset period.
[0140] The above technical solution can promptly detect parameter tampering issues in controller 103, thereby improving the security of controller 103.
[0141] In some embodiments, to reduce the adverse effects of parameter tampering on the controller 103, after step S63 above, the controller 103 may perform the following steps:
[0142] In response to receiving an alarm command from the industrial control computer, the system executes a shutdown action and outputs a third alarm message, which indicates that the recipe parameters configured in the controller have been tampered with.
[0143] In some embodiments of this application, after receiving the alarm command sent by the second application, the controller 103 can determine that the parameters configured in the controller 103 have been tampered with. At this time, the controller 103 can perform a shutdown action to control the equipment to stop, thereby reducing the generation of defective products, and output a third alarm message to promptly remind the engineering technicians on the controller 103 side that the parameters have been tampered with.
[0144] In some embodiments of this application, the controller 103 can be used in conjunction with a front-end interface, i.e., an HMI interface. Based on this, to enable engineers on the controller 103 side to more intuitively understand parameter tampering issues, the controller 103 can output a third alarm message through the HMI interface. The methods for outputting the third alarm message include, but are not limited to, pop-up displays and voice announcements. After receiving the third alarm message through the HMI interface, engineers can manually troubleshoot to determine the root cause of the problem and can re-execute the parameter configuration process to obtain accurate formula parameters.
[0145] By using the above methods, the adverse effects of parameter tampering on controller 103 can be reduced.
[0146] In some embodiments, after step S25 described above, such as Figure 7 As shown, after sending the first material code to the controller 103, the industrial control computer 102 can also execute the following steps S71-S72. If the industrial control computer 102 includes a first application, steps S71-S72 are executed through the first application. The following explanation uses the execution of steps S71-S72 through the first application as an example.
[0147] S71. If the controller parameter configuration is confirmed to be successful, read the second recipe parameter configured in the controller.
[0148] In some embodiments of this application, as described above, the controller 103 may include a parameter sending trigger signal and a parameter sending completion signal. After the second application determines that the controller 103 has been successfully configured through the above step S53, the second application can control the controller 103 to update the parameter sending trigger signal from a set state to a reset state, and update the parameter sending completion signal from a reset state to a set state. A rising edge is generated when the signal is updated from a reset state to a set state. The first application can monitor the state of the parameter sending trigger signal and the parameter sending completion signal in the controller 103. Based on this, the first application can determine whether the controller 103 has been successfully configured by performing rising edge detection on the parameter sending completion signal in the controller 103. If the first application detects the rising edge of the parameter sending completion signal, it determines that the controller 103 has been successfully configured.
[0149] In some embodiments of this application, after the first application determines that the controller 103 parameters are successfully configured, it can read the second recipe parameters in a manner similar to that of the second application reading the second recipe parameters in step S53 above. It is only necessary to replace the execution subject with the first application instead of the second application. To avoid repetition, it will not be described in detail here.
[0150] Here, the first application reads the second recipe parameters after confirming that the controller 103 parameters are configured successfully, which can improve the accuracy and completeness of the read second recipe parameters.
[0151] S72. If the second recipe parameters are not stored in the second memory, store the second recipe parameters in the second memory.
[0152] Here, the second memory is the memory space in the industrial control computer 102 corresponding to the first application, and the second memory is used to store the data corresponding to the first application.
[0153] In some embodiments of this application, after reading the second formula parameter, the first application can store the second formula parameter in a second memory, so that it can be directly retrieved from the second memory later. To avoid duplicate storage, before storing the second formula parameter in the second memory, it can be determined whether the second formula parameter is already stored in the second memory. If it is determined that the second formula parameter is not stored in the second memory, then the read second formula parameter is stored in the second memory.
[0154] In some embodiments of this application, the first application can store the formula parameters read from the controller 103 each time along with their corresponding material codes in a second memory. Based on this, the first application can determine whether a second formula parameter is stored in the second memory by judging whether the formula parameter corresponding to the first material code is stored in the second memory. If the formula parameter corresponding to the first material code is stored in the second memory, it is determined that the second formula parameter is stored in the second memory; if the first material code is not stored in the second memory, it is determined that the second formula parameter is not stored in the second memory. In this way, it is possible to quickly determine whether a second formula parameter is stored in the second memory.
[0155] The above technical solution allows the second formula parameters to be stored in the second memory, making it easier to retrieve the second formula parameters directly from the second memory later.
[0156] In some embodiments, considering that due to server 101 failure, connection failure between industrial computer 102 and server 101, etc., controller 103 may be unable to obtain the first formula parameters corresponding to the first material code from server 101, therefore, in order to improve the success rate of parameter configuration, before the above step S25, such as Figure 8 As shown, the industrial computer 102 can execute the following steps S81-S82. When the industrial computer 102 includes a first application, steps S81-S82 are executed through the first application. The following explanation uses the execution of steps S81-S82 through the first application as an example.
[0157] S81. Determine whether the controller can obtain the first formula parameters corresponding to the first material code through the industrial control computer.
[0158] In some embodiments of this application, the controller 103 may include a shielding signal, which may have two states: a set state and a reset state. The first application can monitor the state of this shielding signal. Engineers can detect the state of the server 101, the connection status between the industrial computer 102 and the server 101, etc. If it is determined that the controller 103 cannot obtain the first formula parameter corresponding to the first material code from the server 101 due to a fault in the server 101, a connection failure between the industrial computer 102 and the server 101, etc., the shielding signal will be updated from the reset state to the set state. Based on this, the first application can determine whether the controller 103 can obtain the first formula parameter corresponding to the first material code from the server 101 by monitoring the state of the shielding signal. If the shielding signal is updated from the reset state to the set state, it is determined that the controller 103 cannot obtain the first formula parameter corresponding to the first material code from the server 101.
[0159] S82. In response to the controller being unable to obtain the first formula parameter corresponding to the first material code from the server, the controller sends the first formula parameter corresponding to the first material code stored in the second memory to the controller so as to configure the first formula parameter corresponding to the target product on the controller.
[0160] In some embodiments of this application, as described above, the first application can store the formula parameters configured in the controller 103 into the second memory. Based on this, when the host computer determines that the controller 103 cannot obtain the first formula parameters corresponding to the first material code from the server 101, it can stop sending the first material code to the controller 103. Instead, it can search for the first formula parameters corresponding to the first material code in the second memory based on the first material code and directly send the found first formula parameters to the controller 103 so as to configure the first formula parameters corresponding to the target product on the controller 103.
[0161] Accordingly, in step S25 above, the first application can send the first material code to the controller 103 when the controller 103 is able to obtain the first formula parameters corresponding to the first material code from the server 101.
[0162] The above technical solution enables the parameter configuration of controller 103 to be completed even when controller 103 cannot obtain the first formula parameters corresponding to the first material code from the server, thereby improving the success rate of parameter configuration.
[0163] In some embodiments, to reduce the problem of low parameter configuration efficiency caused by the controller 103's inability to obtain the first recipe parameters for an extended period of time, such as Figure 9 As shown, after step S26 above, the controller 103 can also execute the following steps S91-S92.
[0164] S91. Accumulate the time from sending the first material code to the industrial control computer to receiving the first formula parameter corresponding to the first material code sent by the industrial control computer, and obtain the cumulative duration.
[0165] In some embodiments of this application, the controller 103 may include a timing unit. The initial value of the timing unit is 0. The timing unit starts timing when the controller 103 sends the first material code to the industrial computer 102. It accumulates the time spent from sending the first material code to the industrial computer 102 to receiving the first formula parameter sent by the industrial computer 102, and uses the timing value of the timing unit as the cumulative duration.
[0166] S92. In response to the cumulative duration being equal to the preset duration and no first recipe parameter being received from the industrial control computer, output a fourth alarm message. The fourth alarm message is used to indicate that the acquisition of recipe parameters has timed out.
[0167] In some embodiments of this application, the accumulated time is compared with a preset time. If the controller 103 still has not received the first recipe parameter sent by the industrial control computer 102 when the accumulated time equals the preset time, it is determined that the recipe parameter acquisition has timed out. At this time, the host computer can input a fourth alarm message to prompt the engineering technicians that the recipe parameter acquisition has timed out, and the engineering technicians can decide whether to continue waiting or stop receiving. The controller 103 outputs the fourth alarm message in ways including but not limited to pop-up display, voice broadcast, etc.
[0168] The above technical solution can reduce the problem of low parameter configuration efficiency caused by the controller 103's inability to obtain the first formula parameters for a long time.
[0169] In some embodiments, server 101 may include a first server and a second server, wherein the first server is a machine server deployed with a Production Execution System (MES), and the second server is an edge server deployed with an edge intelligent control platform. Based on this, steps S23 and S24 are executed through the first server, and steps S28 and S29 are executed through the second server. Accordingly, in step S22, the industrial control computer 102 sends barcode information to the first server, and in step S27, the industrial control computer 102 sends a parameter retrieval request to the second server.
[0170] In some embodiments, before performing step S29 above, server 101 may first perform the following steps:
[0171] Import the formula parameter table into server 101. The formula parameter table includes at least the first material code and the first formula parameter corresponding to the first material code.
[0172] When server 101 includes a second server, the step of importing the formula parameter table into server 101 described above can be performed by the second server. The formula parameter table is imported into the second server to enable the setting of formula parameters in server 101. The following explanation uses the example of importing the formula parameter table into the second server as an example.
[0173] In some embodiments of this application, engineers can create a formula parameter table according to actual conditions. The formula parameter table includes at least a first material code and a first formula parameter corresponding to the first material code. After creating the formula parameter table, engineers can import it into a second server to set the formula parameters in the second server. Thus, when the second server receives a parameter retrieval request sent by the industrial control computer 102, it can find the first formula parameter corresponding to the first material code from the formula parameter table.
[0174] The above technical solution allows for the rapid setting of recipe parameters in server 101.
[0175] In some embodiments, such as Figure 10 As shown, after importing the formula parameter table into server 101, server 101 can also perform the following steps S101-S103. If server 101 includes a second server, steps S101-S103 are performed through the second server. The following explanation uses the execution of steps S101-S103 through the second server as an example.
[0176] S101. Display the first page, which includes a first information selection control, a first operation control, and a first display area.
[0177] In some embodiments of this application, such as Figure 11As shown, the first page 110 includes a first information selection control 111, a first operation control 112, and a first display area 113. The first information selection control 111 is used to select information corresponding to the formula parameter to be viewed. For example, in a battery manufacturing scenario, the first information selection control 111 may include at least one of the following controls: base selection control, wire selection control, equipment resource number selection control, process name selection control, formula number selection control, and formula name selection control. The first operation control 112 is used to operate on the information selected in the first information selection control 111. The first operation control 112 includes, but is not limited to, one or more controls such as query control, import control, add control, and reset control. The first display area 113 is used to display summary information 1131 of at least one formula parameter stored in the second server and the corresponding second operation control 1132. The summary information 1131 is a brief description of the formula parameter, and the information items contained in the summary information may correspond to the first information selection control 111. For example, in a battery manufacturing scenario, the summary information 1131 may include at least one of the following: base, production line, equipment resource number, process name, formula number, formula name, formula unused time, product model, and number of module strings. The second operation control 1132 is used to operate on the formula parameters corresponding to the summary information 1131. The second operation control 1132 includes at least one of the following: a modification control, a deletion control, and a view details control.
[0178] S102. Receive a first input to the first information selection control and a second input to the first operation control.
[0179] S103. In response to the first input and the second input, a summary information of the recipe parameters corresponding to the first input and the second input and a second operation control corresponding to the recipe parameters are displayed in the first display area.
[0180] In some embodiments of this application, the first input is used to set the value of any control in the first information selection control 111. For each control in the first information selection control 111, engineers can set the value of the control by inputting data into the control or selecting a preset option in the control. Based on this, the first input can be an input operation or an option selection operation for any control in the first information selection control 111.
[0181] In some embodiments of this application, the second input is used to select any control in the first operation control 112. Therefore, the second input can be a selection operation of a query control in the first operation control 112, a selection operation of an imported control, a selection operation of a newly added control, or a selection operation of a reset control, etc.
[0182] In some embodiments of this application, after the formula parameter table is imported into the second server, engineers can browse the imported formula parameters through the first page. When browsing, engineers can set corresponding values for any control in the first information selection control 111 and select any control in the first operation control 112 according to actual needs. In this way, the second server can determine the formula parameters that engineers want to browse based on the operations of engineers on the first information selection control 111 and the first operation control 112, and then display the summary information 1131 and the second operation control 1132 of the formula parameters that engineers want to browse in the first display area 113.
[0183] Using the above technical solution, the recipe parameters set therein can be easily viewed through server 101.
[0184] In some embodiments, such as Figure 12 As shown, after step S103, server 101 can also execute steps S121-S124. If server 101 includes a second server, steps S121-S124 are executed through the second server. The following explanation uses the execution of steps S121-S124 through the second server as an example.
[0185] S121. Receive a third input to the view details control corresponding to the target recipe parameter in the first display area. The target recipe parameter is any recipe parameter displayed in the first display area, and the view details control is the control in the second operation control used to view the details of the recipe parameter.
[0186] In some embodiments of this application, when engineers browse the formula parameters displayed in the first display area 113, they can use any formula parameter as the target formula parameter according to the actual situation, and then operate any control in the second operation control 1132 corresponding to the target formula parameter. Thus, the second server can receive input to the second operation control 1132 corresponding to the target formula parameter. As mentioned above, the second operation control 1132 includes at least one of the following: a modification control, a deletion control, and a view details control. Therefore, the input received by the second server to the second operation control 1132 corresponding to the target formula parameter can be a selection operation of the modification control, a selection operation of the deletion control, or a selection operation of the view details control, etc. The selection operation of the view details control is used as the third input.
[0187] S122. In response to the third input, a second page is displayed, which includes a second display area and detailed information corresponding to the formula identifier in the target formula parameters and a fourth operation control corresponding to the formula identifier.
[0188] In some embodiments of this application, such as Figure 13 As shown, the second page 130 includes a second information selection control 131, a third operation control 132, and a second display area 133. The second information selection control 131 is used to select information corresponding to the detailed recipe information to be viewed. For example, the second information selection control 131 may include at least one of the following controls: a recipe identifier selection control, a recipe value selection control, and a recipe description selection control. The recipe identifier is an identifier corresponding to a parameter item in the recipe parameters. For example, the recipe identifier in a recipe parameter may include program number, work number, bolt type, bolt quantity, torque, etc. Each recipe identifier corresponds to a recipe value and a recipe description; different recipe identifiers correspond to different recipe values and recipe descriptions. The third operation control 132 is used to operate on the information selected in the second information selection control 131. The third operation control 132 may include at least one of the following controls: a reset control, a query control, a new control, an import control, an export control, and a return-to-previous-level control. The second display area 133 is used to display detailed information 1331 of at least one formula identifier in the formula parameters and the fourth operation control 1332 corresponding to the formula identifier. The information items included in the detailed information 1331 may correspond to the controls included in the second information selection control 131. For example, the detailed information 1331 may include at least one of the following: formula identifier, formula value, and formula description. The fourth operation control 1332 is used to edit the corresponding detailed information 1331. The fourth operation control 1332 may include at least one of the following controls: delete and modify.
[0189] In some embodiments of this application, when the second server receives a third input, it can determine that the engineer wants to view the detailed information of the target formula parameters. At this time, it jumps to the second page 130, that is, displays the second page 130, so as to display the detailed information of the target formula parameters through the second page 130.
[0190] In some embodiments of this application, after navigating to the second page 130, detailed information of at least one formula identifier in the target formula parameters can be directly displayed in the second display area 133. Alternatively, the second information selection control 131 can be operated based on actual needs to select the relevant information of the formula identifier to be displayed, and then the detailed information of the formula identifier corresponding to the information set by the second information selection control 131 can be displayed in the second display area 133.
[0191] S123. Receive the fourth input to the fourth operation control corresponding to the target recipe identifier in the second display area, wherein the target recipe identifier is any recipe identifier displayed in the second display area.
[0192] S124. In response to the fourth input, edit the detailed information corresponding to the target formula identifier to obtain the edited detailed information.
[0193] In some embodiments of this application, when detailed information corresponding to a formula identifier is displayed in the second display area 133, engineers can use any formula identifier displayed in the second display area 133 as the target formula identifier when they need to edit the target formula parameters. Based on actual needs, they can operate the fourth operation control 1332 corresponding to the target formula identifier. Thus, the second server can receive the fourth input to the fourth operation control 1332 corresponding to the target formula identifier. The fourth input can be a selection operation of any control in the fourth operation control 1332, such as a selection operation of a modification control or a deletion control. Upon receiving the fourth input, the second server responds by editing the formula value and / or formula description of the target detailed information based on the editing method encapsulated in the fourth operation control 1332, obtaining the edited detailed information. This achieves the editing of the target formula parameters.
[0194] The above technical solution allows for convenient editing of formula parameters on server 101.
[0195] Based on the parameter configuration method provided in the above embodiments, this application also provides corresponding embodiments of industrial control computers, controllers, and servers, which will be described below in conjunction with the accompanying drawings.
[0196] See Figure 14 The above is a schematic diagram of an industrial control computer provided in some embodiments of this application, such as... Figure 14 As shown, the industrial computer 1400 includes the following modules:
[0197] Module 1401 is used to acquire the barcode information of the target product;
[0198] The first sending module 1402 is used to send barcode information to the server;
[0199] The first receiving module 1403 is used to receive the first material code corresponding to the barcode information sent by the server;
[0200] The second sending module 1404 is used to send the first material code to the controller;
[0201] The second receiving module 1405 is used to receive the first material code sent by the controller;
[0202] The third sending module 1406 is used to send a parameter retrieval request to the server based on the first material code and the pre-stored device identifier of the controller;
[0203] The third receiving module 1407 is used to receive the first formula parameter sent by the server in response to the parameter retrieval request. The first formula parameter is the formula parameter corresponding to the first material code.
[0204] The fourth sending module 1408 is used to send the first formula parameters to the controller so as to configure the first formula parameters corresponding to the target product on the controller.
[0205] In some embodiments, the industrial computer 1400 further includes:
[0206] The first judgment module is used to determine whether the first memory stores the first formula parameter corresponding to the first material code;
[0207] The fourth sending module 1408 is further configured to send the first recipe parameters stored in the first memory to the controller when it is determined that the first recipe parameters are stored in the first memory.
[0208] The fourth sending module 1408 is used by the client to send a parameter retrieval request to the server based on the first material code and the device identifier when it is determined that the first formula parameters are not stored in the first memory.
[0209] In some embodiments, the first memory stores a second formula parameter corresponding to the second material code, and the first judgment module is specifically used for:
[0210] The first material code is compared with the second material code to obtain the first comparison result;
[0211] In response to the first comparison result indicating that the first material code and the second material code are consistent, the second formula parameter stored in the first memory is used as the first formula parameter corresponding to the first material code.
[0212] In some embodiments, the industrial computer 1400 further includes:
[0213] The first reading module is used to read the second recipe parameters configured in the controller;
[0214] The comparison module is used to compare the first formula parameters with the second formula parameters when the second formula parameters are read, and to obtain a second comparison result;
[0215] The determination module is used to determine that the controller parameter configuration is successful in response to the second comparison result indicating that the first and second formula parameters are consistent.
[0216] An alarm module is used to output a first alarm message in response to the failure to read the second formula parameter or the second comparison result indicating that the first formula parameter and the second formula parameter are inconsistent. The first alarm message is used to indicate that the controller parameter configuration was unsuccessful.
[0217] In some embodiments, the first reading module is further configured to read the second recipe parameters configured in the controller after determining that the controller parameters have been successfully configured;
[0218] The comparison module is also used to compare the first formula parameters with the second formula parameters to obtain a third comparison result;
[0219] The alarm module is also used to output a second alarm message in response to the third comparison result indicating that the first formula parameter and the second formula parameter are inconsistent.
[0220] The fourth sending module is also used to send an alarm command to the controller in response to the third comparison result indicating that the first formula parameter and the second formula parameter are inconsistent. Both the second alarm information and the alarm command are used to indicate that the formula parameter configured in the controller has been tampered with.
[0221] In some embodiments, the industrial computer 1400 further includes:
[0222] The second reading module is used to read the second formula parameters configured in the controller after sending the first material code to the controller and confirming that the controller parameters are configured successfully.
[0223] A storage module is used to store the second recipe parameters in the second memory when the second recipe parameters are not stored in the second memory.
[0224] In some embodiments, the industrial computer 1400 further includes:
[0225] The second judgment module is used to determine whether the controller can obtain the first formula parameter corresponding to the first material code from the server before sending the first material code to the controller.
[0226] The second sending module 1404 is further configured to send the first formula parameters corresponding to the first material code stored in the second memory to the controller in response to the controller being unable to obtain the first formula parameters corresponding to the first material code from the server, so as to configure the first formula parameters corresponding to the target product on the controller.
[0227] The second sending module 1404 is also used to send the first material code to the controller in response to the controller being able to obtain the first formula parameters corresponding to the first material code from the server.
[0228] The industrial computer 1400 provided in this application embodiment can achieve... Figures 2 to 13 The various processes implemented by the industrial control computer 102 in the method embodiment will not be described again here to avoid repetition.
[0229] See Figure 15 The above are schematic diagrams of controllers provided in some embodiments of this application, such as... Figure 15As shown, the controller 1500 includes:
[0230] The first receiving module 1501 is used to receive the first material code sent by the industrial control computer;
[0231] The sending module 1502 is used to send the first material code to the industrial control computer;
[0232] The second receiving module 1503 is used to receive the first formula parameters corresponding to the first material code sent by the industrial control computer, so as to configure the first formula parameters corresponding to the target product on the controller.
[0233] In some embodiments, the controller 1500 further includes:
[0234] The alarm processing module is used to receive the first formula parameters corresponding to the first material code sent by the industrial control computer, and in response to the alarm command sent by the industrial control computer, execute a shutdown action and output a third alarm message. Both the alarm command and the third alarm message are used to indicate that the formula parameters configured in the controller have been tampered with.
[0235] In some embodiments, the controller 1500 further includes:
[0236] The timing module is used to accumulate the time from sending the first material code to the industrial control computer to receiving the first formula parameter corresponding to the first material code sent by the industrial control computer, and obtain the cumulative duration.
[0237] The timeout processing module is used to respond to the situation where the cumulative time is equal to the preset time and the first recipe parameter sent by the industrial control computer is not received, and outputs the fourth alarm information. The fourth alarm information is used to indicate that the acquisition of recipe parameters has timed out.
[0238] The controller 1500 provided in this application embodiment can achieve... Figures 2 to 13 The various processes implemented by the controller 103 in the method embodiment will not be described again here to avoid repetition.
[0239] See Figure 16 The above is a schematic diagram of a server provided in some embodiments of this application, such as... Figure 16 As shown, server 1600 includes:
[0240] The receiving module 1601 is used to receive parameter retrieval requests sent by the industrial control computer;
[0241] The parsing module 1602 is used to parse the parameter retrieval request to obtain the first material code and equipment identifier;
[0242] The lookup module 1603 is used to look up the first formula parameter corresponding to the first material code from the preset formula parameters;
[0243] The sending module 1604 is used to send the first recipe parameters to the industrial control computer corresponding to the device identifier.
[0244] In some embodiments, server 1600 further includes:
[0245] The formula setting module is used to import the formula parameter table into the server before obtaining the first formula parameter corresponding to the first material code from the pre-set formula parameters. The formula parameter table includes at least the first material code and the first formula parameter corresponding to the first material code.
[0246] In some embodiments, the server 1600 further includes a browsing module for:
[0247] After the formula parameter table is imported into the server, the first page is displayed. The first page includes a first information selection control, a first operation control, and a first display area.
[0248] Receive a first input to the first information selection control and a second input to the first operation control;
[0249] In response to the first input and the second input, a summary of the recipe parameters corresponding to the first input and the second input and a second operation control corresponding to the recipe parameters are displayed in the first display area.
[0250] In some embodiments, the server 1600 further includes an editing module for:
[0251] After displaying summary information of the recipe parameters corresponding to the first and second inputs and the second operation control corresponding to the recipe parameters in the first display area, a third input is received to the view details control corresponding to the target recipe parameter in the first display area. The target recipe parameter is any recipe parameter displayed in the first display area, and the view details control is the control in the second operation control used to view the details of the recipe parameter.
[0252] In response to the third input, a second page is displayed, which includes a second display area. The second display area includes detailed information corresponding to the formula identifier in the target formula parameters and a fourth operation control corresponding to the formula identifier.
[0253] Receive a fourth input to the fourth operation control corresponding to the target recipe identifier in the second display area, wherein the target recipe identifier is any recipe identifier displayed in the second display area;
[0254] In response to the fourth input, the detailed information corresponding to the target formula identifier is edited to obtain the edited detailed information.
[0255] The server 1600 provided in this embodiment of the application can achieve... Figures 2 to 13The various processes implemented by server 101 in the method embodiment will not be described again here to avoid repetition.
[0256] Furthermore, in conjunction with the parameter configuration methods in the above embodiments, this application embodiment can provide a computer storage medium for implementation. This computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the parameter configuration methods in the above embodiments.
[0257] This application also provides a computer program product, including a computer program, which, when executed, implements any of the parameter configuration methods described in the above embodiments.
[0258] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0259] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0260] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0261] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0262] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A parameter configuration method, characterized in that, Applied to industrial control computers, the method includes: Obtain the barcode information of the target product and send the barcode information to the server; Receive the first material code corresponding to the barcode information sent by the server; Send the first material code to the controller; Receive the first material code sent by the controller; A parameter retrieval request is sent to the server based on the first material code and the device identifier of the controller; Receive the first formula parameter sent by the server in response to the parameter retrieval request, wherein the first formula parameter is a formula parameter corresponding to the first material code; The first formula parameter is sent to the controller to configure the first formula parameter corresponding to the target product on the controller.
2. The method according to claim 1, characterized in that, Before sending a parameter retrieval request to the server based on the first material code and the device identifier of the controller, the method further includes: Determine whether the first memory contains the first formula parameter corresponding to the first material code; If it is determined that the first recipe parameter is stored in the first memory, the first recipe parameter stored in the first memory is sent to the controller; The step of sending a parameter retrieval request to the server based on the first material code and the device identifier of the controller includes: If it is determined that the first formula parameters are not stored in the first memory, a parameter retrieval request is sent to the server based on the first material code and the device identifier.
3. The method according to claim 2, characterized in that, The first memory stores a second formula parameter corresponding to the second material code. Determining whether the first memory stores a first formula parameter corresponding to the first material code includes: The first material code is compared with the second material code to obtain the first comparison result; In response to the first comparison result indicating that the first material code and the second material code are consistent, the second formula parameter stored in the first memory is used as the first formula parameter corresponding to the first material code.
4. The method according to any one of claims 1-3, characterized in that, After sending the first recipe parameter to the controller, the method further includes: Read the second recipe parameters configured in the controller; If the second formula parameter is read, the first formula parameter is compared with the second formula parameter to obtain a second comparison result; In response to the second comparison result indicating that the first formula parameters and the second formula parameters are consistent, it is determined that the controller parameters are configured successfully. In response to the failure to read the second formula parameter, or the second comparison result indicating that the first formula parameter and the second formula parameter are inconsistent, a first alarm message is output, which is used to indicate that the controller parameter configuration is unsuccessful.
5. The method according to claim 4, characterized in that, After confirming that the controller parameters have been successfully configured, the method further includes: Read the second recipe parameters configured in the controller; The first formula parameters are compared with the second formula parameters to obtain a third comparison result; In response to the third comparison result indicating that the first formula parameter and the second formula parameter are inconsistent, a second alarm message is output and an alarm command is sent to the controller. Both the second alarm message and the alarm command are used to indicate that the formula parameter configured in the controller has been tampered with.
6. The method according to any one of claims 1-5, characterized in that, After sending the first material code to the controller, the method further includes: If the controller parameter configuration is confirmed to be successful, read the second recipe parameter configured in the controller; If the second recipe parameters are not stored in the second memory, the second recipe parameters are stored in the second memory.
7. The method according to claim 6, characterized in that, Before sending the first material code to the controller, the method further includes: Determine whether the controller can obtain the first formula parameter corresponding to the first material code from the server; In response to the controller being unable to obtain the first formula parameter corresponding to the first material code from the server, the controller sends the first formula parameter corresponding to the first material code stored in the second memory to the controller, so as to configure the first formula parameter corresponding to the target product on the controller; Sending the first material code to the controller includes: In response to the controller being able to obtain the first formula parameter corresponding to the first material code from the server, the first material code is sent to the controller.
8. A parameter configuration method, characterized in that, Applied to a controller, the method includes: Receive the first material code sent by the industrial control computer; Send the first material code to the industrial control computer; The controller receives the first formula parameters corresponding to the first material code sent by the industrial control computer, and configures the first formula parameters corresponding to the target product on the controller.
9. The method according to claim 8, characterized in that, After receiving the first formula parameter corresponding to the first material code sent by the industrial control computer, the method further includes: In response to receiving an alarm command from the industrial control computer, the system performs a shutdown action and outputs a third alarm message. Both the alarm command and the third alarm message are used to indicate that the recipe parameters configured in the controller have been tampered with.
10. The method according to any one of claims 8-9, characterized in that, After sending the first material code to the industrial control computer, the method further includes: The cumulative time is obtained by accumulating the time from sending the first material code to the industrial control computer to receiving the first formula parameter corresponding to the first material code sent by the industrial control computer; In response to the cumulative duration being equal to a preset duration and no receipt of the first recipe parameter from the industrial control computer, a fourth alarm message is output, which indicates that the acquisition of recipe parameters has timed out.
11. A parameter configuration method, characterized in that, Applied to a server, the method includes: Receive parameter retrieval requests sent from the industrial control computer; Parse the parameter retrieval request to obtain the first material code and equipment identifier; Find the first formula parameter corresponding to the first material code from the preset formula parameters; The first recipe parameters are sent to the industrial control computer corresponding to the device identifier.
12. The method according to claim 11, characterized in that, Before obtaining the first formula parameter corresponding to the first material code from the preset formula parameters, the method further includes: The formula parameter table is imported into the server, and the formula parameter table includes at least the first material code and the first formula parameter corresponding to the first material code.
13. The method according to claim 12, characterized in that, After importing the formula parameter table into the server, the method further includes: Display a first page, the first page including a first information selection control, a first operation control and a first display area; Receive a first input to the first information selection control and a second input to the first operation control; In response to the first input and the second input, a summary of the recipe parameters corresponding to the first input and the second input and a second operation control corresponding to the recipe parameters are displayed in the first display area.
14. The method according to claim 13, characterized in that, After displaying summary information of the recipe parameters corresponding to the first input and the second input, and the second operation control corresponding to the recipe parameters in the first display area, the method further includes: The system receives a third input to the view details control corresponding to the target recipe parameter in the first display area, wherein the target recipe parameter is any recipe parameter displayed in the first display area, and the view details control is the control in the second operation control used to view recipe parameter details; In response to the third input, a second page is displayed, the second page including a second display area, the second display area including detailed information corresponding to the formula identifier in the target formula parameters and a fourth operation control corresponding to the formula identifier; Receive a fourth input to a fourth operation control corresponding to a target recipe identifier in the second display area, wherein the target recipe identifier is any recipe identifier displayed in the second display area; In response to the fourth input, the detailed information corresponding to the target formula identifier is edited to obtain the edited detailed information.
15. An industrial control computer, characterized in that, include The acquisition module is used to acquire the barcode information of the target product; The first sending module is used to send the barcode information to the server; The first receiving module is used to receive the first material code corresponding to the barcode information sent by the server; The second sending module is used to send the first material code to the controller; The second receiving module is used to receive the first material code sent by the controller; The third sending module is used to send a parameter retrieval request to the server based on the first material code and the pre-stored device identifier of the controller; The third receiving module is used to receive the first formula parameter sent by the server in response to the parameter retrieval request, wherein the first formula parameter is a formula parameter corresponding to the first material code; The fourth sending module is used to send the first formula parameters to the controller to configure the first formula parameters corresponding to the target product on the controller.
16. A controller, characterized in that: include: The first receiving module is used to receive the first material code sent by the industrial control computer; The sending module is used to send the first material code to the industrial control computer; The second receiving module is used to receive the first formula parameters corresponding to the first material code sent by the industrial control computer, so as to configure the first formula parameters corresponding to the target product on the controller.
17. A server, characterized in that, include: The receiving module is used to receive parameter retrieval requests sent by the industrial control computer; The parsing module is used to parse the parameter retrieval request to obtain the first material code and equipment identifier; The lookup module is used to search for the first formula parameter corresponding to the first material code from the pre-set formula parameters; The sending module is used to send the first recipe parameters to the industrial control computer corresponding to the device identifier.
18. A parameter configuration system, characterized in that, include: Industrial control computers, controllers, and servers; The industrial control computer is used to acquire the barcode information of the target product; Send the barcode information to the server; Receive the first material code corresponding to the barcode information sent by the server; Send the first material code to the controller; The server is used to receive the barcode information sent by the industrial control computer; and to search for the first material code corresponding to the barcode information from the pre-stored material codes; Send the first material code to the industrial control computer; The controller is used to receive the first material code sent by the industrial computer; Send the first material code to the industrial control computer; The system receives the first formula parameters corresponding to the first material code sent by the industrial control computer, and configures the first formula parameters corresponding to the target product on the controller. The industrial computer is also used to receive the first material code sent by the controller; A parameter retrieval request is sent to the server based on the first material code and the device identifier of the controller; Receive the first formula parameter sent by the server in response to the parameter retrieval request, wherein the first formula parameter is a formula parameter corresponding to the first material code; Send the first recipe parameter to the controller; The server is also configured to receive the parameter retrieval request sent by the industrial control computer; parse the parameter retrieval request to obtain the first material code and the equipment identifier; and search for the first formula parameter corresponding to the first material code from the preset formula parameters. The first recipe parameters are sent to the industrial control computer corresponding to the device identifier.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the parameter configuration method as described in any one of claims 1-7, 8-10, or 11-14.
20. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device performs the parameter configuration method as described in any one of claims 1-7, 8-10, or 11-14.