Recipe processing method, device and system

By realizing internal storage and management of recipes in a programmable logic controller, the problem of traditional recipe import cannot be remotely monitored and formula leakage is lost, and highly intelligent and secure formula processing is achieved.

CN113885424BActive Publication Date: 2025-04-04SUZHOU HUAXING YUANCHUANG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111092199.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-17
Publication Date
2025-04-04
Estimated Expiration
2041-09-17

AI Technical Summary

Technical Problem

Traditional formula import methods cannot achieve remote monitoring of the formula operation process, and the degree of intelligence is low, and there is a risk of formula leakage and loss.

Method used

By realizing internal storage and management of the recipe in the programmable logic controller, receiving user operation instructions, sending request information to the superior computer, receiving feedback information, and performing corresponding operations on the recipe according to the allowed operation instructions.

Benefits of technology

Remote monitoring of the formula operation process is realized, the level of intelligence is improved, the leakage and loss of formulas are avoided, and due to the sufficient internal address, it is suitable for the storage of formulas of a large number of target products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113885424B_ABST
    Figure CN113885424B_ABST
Patent Text Reader

Abstract

The present application relates to the field of automation control technology, and specifically discloses a recipe processing method, device and system. The method includes: receiving an operation instruction from a user, the operation instruction is used to instruct to perform a corresponding operation on the recipe of a target product, and the recipe of the target product is stored in the internal address of the programmable logic controller; in response to the operation instruction, sending a request message to a host computer; receiving feedback information from the host computer; when the feedback information is to allow the operation, performing a corresponding operation on the recipe of the target product according to the operation instruction. It is convenient for the host computer to remotely monitor the operation process of the recipe stored in the programmable logic memory to avoid leakage and loss of the recipe, and the address amount in the programmable logic memory is sufficient, which is conducive to the storage of a large number of recipes of target products.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automation control technology, and in particular to a recipe processing method, device and system. Background Art

[0002] In the field of automation control technology, it is often necessary to process different products through the same device. For example, the same detection device detects different display screens. Due to the differences in parameters such as the size of each display screen, when the detection device detects different display screens, the detection components of each part need to use different configuration parameters to adapt to the detection of different display screens. The configuration parameters may include information such as the position of different motion axes, the moving position, and the camera height. The collection of multiple configuration parameters is the recipe. The traditional method is to store the recipes of the detection device corresponding to each display screen in SRAM or external memory respectively. When the display screen needs to be detected, the corresponding recipe is imported into the register of the programmable logic controller at one time. Although the recipe can be imported in this way, the operation process of the recipe cannot be remotely monitored, and the degree of intelligence is low. Summary of the invention

[0003] Based on this, it is necessary to provide a recipe processing method, device and system to address the above problems.

[0004] A recipe processing method, wherein the recipe includes configuration parameters used by an electrical device when processing a target product, and the recipe processing method is used to process the recipe of the target product based on a programmable logic controller, and the recipe processing method is executed by the programmable logic controller, including:

[0005] Receiving an operation instruction from a user, wherein the operation instruction is used to instruct to perform a corresponding operation on a recipe of a target product, wherein the recipe of the target product is stored in an internal address of the programmable logic controller;

[0006] In response to the operation instruction, sending request information to the host computer;

[0007] Receiving feedback information from the host computer;

[0008] When the feedback information indicates that the operation is allowed, a corresponding operation is performed on the recipe of the target product according to the operation instruction.

[0009] In one embodiment, before the step of receiving the user's operation instruction, the recipe processing method further includes:

[0010] The recipe of the target product is stored in a temporary address area inside the programmable logic controller.

[0011] In one embodiment, the operation instruction includes a storage instruction, and the step of performing a corresponding operation on the recipe of the target product according to the operation instruction includes:

[0012] In response to the storage instruction, the recipe of the target product stored in the temporary address area is stored in a dedicated address area corresponding to the target product in the programmable logic controller.

[0013] In one of the embodiments, in the programmable logic controller, different target products correspond to different dedicated address areas, and in the step of storing the recipe of the target product stored in the temporary address area into the dedicated address area corresponding to the target product in the programmable logic controller in response to the storage instruction, the recipes corresponding to different target products are respectively stored in the dedicated address areas corresponding to different target products in the programmable controller.

[0014] In one embodiment, the operation instruction includes a copy instruction, and the step of performing a corresponding operation on the recipe of the target product according to the operation instruction includes:

[0015] In response to the replication instruction, selecting a replication source and a replication target from the target products according to the recipe of each target product;

[0016] The recipe is copied from the dedicated address area corresponding to the copy source to the dedicated address area corresponding to the copy target.

[0017] In one embodiment, the operation instruction includes a call instruction, and the step of performing a corresponding operation on the formula of the target product according to the operation instruction includes:

[0018] In response to the calling instruction, determining a dedicated address area corresponding to a recipe of the current target product according to the current target product;

[0019] The formula of the current target product is retrieved from the determined dedicated address area to the temporary address area, and the electrical device processes the current target product according to the formula stored in the temporary address area.

[0020] In one embodiment, the operation instruction includes a deletion instruction, and the step of performing a corresponding operation on the recipe of the target product according to the operation instruction includes:

[0021] In response to the deletion instruction, the recipe of the corresponding target product is deleted from the dedicated address area.

[0022] In one of the embodiments, the recipe includes n configuration parameters, the temporary address area includes n temporary addresses, and the dedicated address area includes n dedicated addresses, where n is a natural number greater than or equal to 1.

[0023] A recipe processing device, wherein the recipe includes configuration parameters used by an electrical device when processing a target product, and the recipe processing device includes:

[0024] A first receiving unit, used to receive an operation instruction from a user, wherein the operation instruction is used to instruct to perform a corresponding operation on a recipe of a target product, wherein the recipe of the target product is stored in an internal address of a programmable logic controller;

[0025] A sending unit, used for sending request information to a host computer in response to the operation instruction;

[0026] A second receiving unit, used to receive feedback information from the host computer;

[0027] An execution unit is used to perform corresponding operations on the recipe of the target product according to the operation instruction when the feedback information indicates that the operation is allowed.

[0028] A recipe processing system, wherein the recipe includes configuration parameters used by an electrical device to process a target product, the recipe processing system includes a touch control module, a programmable logic controller and a host computer, and the recipe of the target product is stored in an internal address of the programmable logic controller;

[0029] The touch control module is used to receive an operation instruction from a user, where the operation instruction is used to instruct to perform a corresponding operation on the formula of the target product;

[0030] The programmable logic controller is connected to the touch control module, responds to the operation instruction, sends request information to the host computer, receives feedback information from the host computer, and when the feedback information indicates that the operation is allowed, performs a corresponding operation on the recipe of the target product stored in the internal address according to the operation instruction;

[0031] The host computer is connected to the programmable logic controller, and sends feedback information to the programmable logic controller in response to the request information.

[0032] The above-mentioned recipe processing method first receives the user's operation instruction, then responds to the operation instruction and sends request information to the host computer, receives the feedback information of the host computer, and when the feedback information is to allow the operation, performs the corresponding operation on the recipe of the target product stored in the internal address of the programmable logic memory according to the user's operation instruction. That is, the recipe of the target product is stored in the programmable logic memory, and the user's operation on the recipe stored in the programmable logic memory can be monitored and recorded by the host computer. On the one hand, it is convenient for the host computer to remotely monitor the operation process of the recipe stored in the programmable logic memory, thereby improving the intelligence level. On the other hand, the recipe is stored through the internal address of the programmable logic memory, which can avoid the leakage and loss of the recipe compared with the traditional storage method using a USB flash drive or an SD card, and the address quantity in the programmable logic memory is sufficient, which is conducive to the storage of a large number of recipes of target products. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A flowchart of a recipe processing method provided in one embodiment of the present application;

[0034] Figure 2 A schematic diagram of the structure of a configuration processing device provided in one embodiment of the present application;

[0035] Figure 3 A schematic diagram of the structure of a configuration processing system provided in one embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present application are given in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to understand the disclosure of the present application more thoroughly and comprehensively.

[0037] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0038] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0040] In the field of automation control technology, the operation of equipment often requires program control. The premise of program control is to obtain the various configuration parameter information of the equipment. In this embodiment, the set of various configuration parameters required for the operation of the equipment is defined as a recipe. Taking the detection equipment as an example, the same detection equipment can often detect different display screens. For different display screens, the detection equipment has different recipes. For example, when detecting display screens of different sizes, the configuration parameters such as the position of the motion axis, the moving point, and the camera height in the detection equipment are different. The above set of configuration parameters such as the position of the motion axis, the moving point, and the camera height is the recipe used by the detection equipment to test the current display screen. Different display screens correspond to different recipes of the detection equipment.

[0041] In practical applications, the recipes used by the detection equipment for each display screen are usually stored in the internal SRAM or external storage (such as a USB flash drive, SD card, etc.). Before testing the current display screen, the recipe corresponding to the current display screen is imported into the PLC register at one time, and then the detection equipment tests the display screen according to the imported recipe.

[0042] Although the recipe can be imported through the above method, the operation process of the recipe cannot be remotely monitored, and the degree of intelligence is low.

[0043] To solve the above problems, the embodiments of the present application provide a recipe processing method, a recipe processing device and a recipe processing system.

[0044] It should be noted that in addition to the above-mentioned scenario of the detection equipment detecting the display screen, the solution provided in the present application is also applicable to other similar scenarios. For example, scenarios involving electrical equipment that need to process different products according to different formulas are all applicable to the present application.

[0045] In one embodiment, a recipe processing method is provided. The recipe includes configuration parameters used by the electrical device to process the target product. For different target products, the recipe used by the electrical device is different. The recipe processing method provided in this embodiment is used to process the recipe of the target product based on a programmable logic controller, and is executed by the programmable logic controller. Figure 1 , including the following steps:

[0046] Step S200: receiving an operation instruction from a user, where the operation instruction is used to instruct to perform a corresponding operation on a recipe of a target product, and the recipe of the target product is stored in an internal address of a programmable logic controller.

[0047] That is, the recipes of the target products are pre-stored in the internal address of the programmable logic controller. When the user needs to operate the recipe of a target product, he can enter an operation instruction. The operation instruction is mainly used to instruct the programmable logic controller to point to the internal address where the recipe of the target product is stored, and perform corresponding operations on the recipe of the target product, wherein the corresponding operations may include calling, copying, deleting, storing, etc.

[0048] Step S400: In response to the operation instruction, send request information to the host computer.

[0049] When the programmable logic controller receives the user's operation instruction, it sends the corresponding request information to the host computer to seek the consent of the host computer, wherein the request information includes the received operation instruction information, thereby facilitating the host computer to monitor the recipe operation.

[0050] Step S600: receiving feedback information from the host computer.

[0051] When the host computer receives the request information sent by the programmable logic controller, it generates feedback information and sends it to the programmable logic controller. The feedback information may include permission operation and non-permission operation.

[0052] Step S800: When the feedback information indicates that the operation is allowed, a corresponding operation is performed on the recipe of the target product according to the operation instruction.

[0053] When the programmable logic controller determines that the received feedback information allows the operation, the programmable logic controller points to the internal address where the recipe of the corresponding target product is located according to the operation instruction, and then performs corresponding operations on the recipe stored in the internal address, such as calling, copying, deleting, storing, etc.

[0054] The above-mentioned recipe processing method first receives the user's operation instruction, then responds to the operation instruction and sends request information to the host computer, receives the feedback information of the host computer, and when the feedback information is to allow the operation, performs corresponding operations on the recipe of the target product stored in the internal address of the programmable logic memory according to the user's operation instruction. That is, the recipe of the target product is stored in the programmable logic memory, and the user's operation on the recipe stored in the programmable logic memory can be monitored and recorded by the host computer. On the one hand, it is convenient for the host computer to remotely monitor the operation process of the recipe stored in the programmable logic memory, thereby improving the level of intelligence. On the other hand, the recipe is stored through the internal address of the programmable logic memory, which can avoid the leakage and loss of the recipe compared with the traditional storage method using a USB flash drive or an SD card, and the address quantity in the programmable logic memory is sufficient, which is conducive to the storage of a large number of recipes of target products.

[0055] In one embodiment, before step S200, i.e., the step of receiving the user's operation instruction, the recipe processing method provided by this embodiment further includes the following steps:

[0056] Step S100: Store the recipe of the target product in a temporary address area inside the programmable logic controller. A temporary address area is provided inside the programmable logic controller, and the temporary address area has multiple temporary addresses, each of which can be used to store temporary data. In this embodiment, before inputting the operation instruction, each configuration parameter in the recipe of the target product is first stored in each temporary address of the temporary address area.

[0057] In one embodiment, the operation instruction includes a storage instruction. Step S800, i.e., performing corresponding operations on the formula of the target product according to the operation instruction, includes:

[0058] Step S810: In response to the storage instruction, the recipe of the target product stored in the temporary address area is stored in the dedicated address area corresponding to the target product in the programmable logic controller.

[0059] Specifically, the internal address of the programmable controller includes both a temporary address area and a dedicated address area for each target product. The difference between the two is that the temporary address area is used to store temporary recipes, such as data that needs to be transferred to the dedicated address area, or the recipes required by the electrical equipment for the current target product; the dedicated address area is specially set for each target product. Each target product has an independent dedicated address area. Each dedicated address area has multiple dedicated addresses, which can be used to store various configuration parameters required for the electrical equipment to process the corresponding target product. This facilitates the unified management and control of the recipes corresponding to each target product, and when processing the corresponding target product subsequently, the recipe stored in the dedicated address area can be directly called.

[0060] After receiving the storage instruction, the programmable logic controller stores the recipe of the target product stored in the temporary address area into the dedicated address area corresponding to the target product, thereby completing the storage of the recipe.

[0061] It should be noted that, in actual operation, in order to avoid storage confusion, the temporary address area can store the recipe of a target product at a time, and then after receiving the storage instruction, the recipe in the temporary address area is transferred to the corresponding dedicated address area. In the same way, the recipe of the next target product is stored in the temporary address area and then transferred to the corresponding dedicated address area. And so on, the storage of the recipes of all target products is completed through the programmable logic controller.

[0062] In one of the embodiments, in a programmable logic controller, different target products correspond to different dedicated address areas. In step S810, i.e., in response to a storage instruction, the recipe of the target product stored in the temporary address area is stored in the dedicated address area corresponding to the target product in the programmable logic controller, and the recipes corresponding to different target products are respectively stored in the dedicated address areas corresponding to different target products in the programmable controller.

[0063] In one embodiment, the operation instruction includes a copy instruction. Step S800, i.e., the step of performing a corresponding operation on the recipe of the target product according to the operation instruction, includes:

[0064] Step S820, in response to the copy instruction, selecting a copy source and a copy target from the target products according to the recipe of each target product;

[0065] Step S830: Copy the recipe from the dedicated address area corresponding to the copy source to the dedicated address area corresponding to the copy target.

[0066] In practical applications, when the properties of the target products are similar, the formula used by the electrical equipment can be set to be the same. For example, target product 1 is an 8-inch display screen, and target product 2 is an 8.5-inch display screen. When the detection equipment detects target product 1 and target product 2, the configuration parameters such as the moving point and camera height are close to the same, that is, the formula is close to the same. Then, when the formula corresponding to target product 1 in the programmable logic memory has been stored in its dedicated address area 1, the formula of target product 1 can be copied from its corresponding dedicated address area 1 to the dedicated address area 2 corresponding to target product 2 according to the copy instruction, that is, there is no need to store the formula of target product 2 by transferring it from the temporary address area to the dedicated address area 2, which simplifies the operation.

[0067] The copy source refers to the target product to be copied, such as the target product 1 in the above example, and the copy target refers to the target product that copies other target products, such as the target product 2 in the above example. When the programmable logic controller determines the copy source and the copy target, it copies the recipe from the dedicated address area corresponding to the copy source to the dedicated address area corresponding to the copy target.

[0068] In one embodiment, the operation instruction includes a call instruction. Step S800, i.e., the step of performing a corresponding operation on the formula of the target product according to the operation instruction, includes:

[0069] Step S840, in response to the calling instruction, determining the dedicated address area corresponding to the recipe of the current target product according to the current target product;

[0070] Step S850: retrieve the formula of the current target product from the determined dedicated address area to the temporary address area, and the electrical device processes the current target product according to the formula stored in the temporary address area.

[0071] The current target product refers to the target product currently waiting to be processed. Before the electrical equipment processes the current target product, it is necessary to configure the electrical equipment according to the recipe corresponding to the current target product. In this embodiment, the electrical equipment is configured according to the recipe stored in the temporary address area of ​​the programmable logic controller. Therefore, the programmable logic controller first determines the dedicated address area where the recipe corresponding to the current target product is located according to the call instruction, and then calls the recipe of the current target product from the dedicated address area to the temporary address area, so that the electrical equipment can accurately configure various parameters according to the recipe in the temporary address area to adapt to the current target product.

[0072] In one embodiment, the operation instruction includes a delete instruction. Step S800, i.e., the step of performing a corresponding operation on the formula of the target product according to the operation instruction, includes:

[0073] Step S860: In response to the deletion instruction, the recipe of the corresponding target product is deleted from the dedicated address area. That is, the recipe of the corresponding target product can be deleted from the dedicated address area according to the deletion instruction input by the user, thereby deleting the recipe of some specific target products according to actual needs, thereby releasing the storage space in the dedicated address area of ​​the programmable logic controller.

[0074] In one embodiment, the recipe includes n configuration parameters, the temporary address area includes n temporary addresses, and the dedicated address area includes n dedicated addresses, where n is a natural number greater than or equal to 1. That is, the number of temporary addresses in the temporary address area is the same as the number of dedicated addresses and the number of configuration parameters in a single dedicated address area. For example, the recipe includes 100 configuration parameters, the temporary address area includes 100 temporary addresses, and the single dedicated address area includes 100 dedicated addresses. Then, first, the 100 configuration parameters of a single target product can be stored in the 100 temporary addresses in the temporary address area. When the user inputs a storage instruction, the programmable storage controller transfers the 100 configuration parameters stored in the 100 temporary addresses to the 100 dedicated addresses in the corresponding dedicated address area. Thus, the number of addresses in the programmable logic controller is set according to the number of configuration parameters, the rationality of address setting is improved, and resource utilization is improved.

[0075] In one embodiment, a recipe processing device is provided. The recipe includes configuration parameters used by the electrical device to process a target product. For different target products, the recipe used by the electrical device is different. Figure 2 The recipe processing device provided in this embodiment includes a first receiving unit 200, a sending unit 400, a second receiving unit 600 and an executing unit 800.

[0076] The first receiving unit 200 is used to receive an operation instruction from a user, where the operation instruction is used to instruct to perform a corresponding operation on the recipe of the target product, and the recipe of the target product is stored in an internal address of the programmable logic controller;

[0077] The sending unit 400 is used to send request information to the host computer in response to the operation instruction;

[0078] The second receiving unit 600 is used to receive feedback information from the host computer;

[0079] The execution unit 800 is used to perform corresponding operations on the recipe of the target product according to the operation instruction when the feedback information indicates that the operation is allowed.

[0080] In one of the embodiments, the recipe processing device provided in this embodiment further includes a first storage unit, and the first storage unit is used to store the recipe of the target product in a temporary address area inside the programmable logic controller.

[0081] In one embodiment, the operation instruction includes a storage instruction, and the execution unit includes a second storage unit, and the second storage unit is used to store the recipe of the target product stored in the temporary address area into a dedicated address area corresponding to the target product in the programmable logic controller in response to the storage instruction.

[0082] In one embodiment, different target products correspond to different dedicated address areas in the programmable logic controller. The second storage unit is used to store the recipes corresponding to different target products in the dedicated address areas corresponding to different target products in the programmable controller.

[0083] In one of the embodiments, the operation instruction includes a copy instruction, the execution unit includes a copy unit, and the copy unit is used to select a copy source and a copy target from the target products according to the recipe of each target product in response to the copy instruction;

[0084] Copies the recipe from the dedicated address area corresponding to the copy source to the dedicated address area corresponding to the copy destination.

[0085] In one of the embodiments, the operation instruction includes a calling instruction, and the execution unit includes a calling unit, which is used to respond to the calling instruction and determine, according to the current target product, a dedicated address area corresponding to the recipe of the current target product; retrieve the recipe of the current target product from the determined dedicated address area to a temporary address area, and the electrical equipment processes the current target product according to the recipe stored in the temporary address area.

[0086] In one of the embodiments, the operation instruction includes a deletion instruction, and the execution unit includes a deletion unit, and the deletion unit is used to delete the recipe of the corresponding target product from the dedicated address area in response to the deletion instruction.

[0087] In one of the embodiments, the recipe includes n configuration parameters, the temporary address area includes n temporary addresses, and the dedicated address area includes n dedicated addresses, where n is a natural number greater than or equal to 1.

[0088] The above-mentioned recipe processing device first receives the user's operation instruction, then responds to the operation instruction and sends request information to the host computer, receives the feedback information of the host computer, and when the feedback information is to allow the operation, performs corresponding operations on the recipe of the target product stored in the internal address of the programmable logic memory according to the user's operation instruction. That is, the recipe of the target product is stored in the programmable logic memory, and the user's operation on the recipe stored in the programmable logic memory can be monitored and recorded by the host computer. On the one hand, it is convenient for the host computer to remotely monitor the operation process of the recipe stored in the programmable logic memory, thereby improving the intelligence level. On the other hand, the recipe is stored through the internal address of the programmable logic memory, which can avoid the leakage and loss of the recipe compared with the traditional storage method using a USB flash drive or an SD card, and the address quantity in the programmable logic memory is sufficient, which is conducive to the storage of a large number of recipes of target products.

[0089] The recipe processing device provided in this embodiment and the recipe processing method provided in the previous embodiment belong to the same inventive concept. For the specific content of the recipe processing device, please refer to the corresponding description in the previous embodiment, which will not be repeated here.

[0090] In one embodiment, a recipe processing system is provided, wherein the recipe includes configuration parameters used by the electrical device to process the target product, referring to Figure 3 The recipe processing system includes a touch control module 10, a programmable logic controller 20 and a host computer 30, and the internal address of the programmable logic controller 20 stores the recipe of the target product.

[0091] Among them, the touch module 10 is used to receive the user's operation instructions, and the operation instructions are used to instruct to perform corresponding operations on the recipe of the target product; the programmable logic controller 20 is connected to the touch module, responds to the operation instructions, sends request information to the host computer 30, receives feedback information from the host computer 30, and when the feedback information is to allow the operation, performs corresponding operations on the recipe of the target product stored in the internal address according to the operation instructions; the host computer 30 is connected to the programmable logic controller 20, responds to the request information, and sends feedback information to the programmable logic controller 20.

[0092] The touch control module 10 may include a touch screen, and a user may input operation instructions through the touch screen, which is easy to operate.

[0093] The recipe processing system makes it easy for the host computer to remotely monitor the operation process of the recipe stored in the programmable logic memory, thereby improving the level of intelligence. On the other hand, by storing the recipe in the internal address of the programmable logic memory, compared with the traditional storage method using a USB flash drive or SD card, it can avoid the leakage and loss of the recipe. In addition, the address capacity in the programmable logic memory is sufficient, which is conducive to the storage of recipes of a large number of target products and simplifies the recipe processing process.

[0094] The recipe processing device provided in this embodiment and the recipe processing method provided in the previous embodiment belong to the same inventive concept. For the specific content of the recipe processing device, please refer to the corresponding description in the previous embodiment, which will not be repeated here.

[0095] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0096] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A recipe processing method, wherein the recipe includes configuration parameters used by electrical equipment to process a target product, characterized in that: The recipe processing method is used to process the recipe of the target product based on a programmable logic controller, and the recipe processing method is executed by the programmable logic controller, including: When a user operates a recipe of a target product, an operation instruction of the user is received, the operation instruction is used to instruct to perform a corresponding operation on the recipe of the target product, the recipe of the target product is stored in an internal address of the programmable logic controller, the target product includes a display screen, the electrical device includes a detection device, the recipe includes a set of configuration parameters used by the detection device to test the current display screen, and the configuration parameters include a point position of a motion axis in the detection device, a moving point position, and a camera height; In response to the operation instruction, a request message is sent to a host computer, wherein the request message includes the received operation instruction information, and the host computer is used to remotely monitor and record the operation process of the recipe stored in the programmable logic memory; Receiving feedback information from the host computer, wherein the feedback information is generated when the host computer receives request information sent by the programmable logic controller; When the feedback information indicates that the operation is allowed, a corresponding operation is performed on the recipe of the target product according to the operation instruction.

2. The recipe processing method according to claim 1, characterized in that: Before the step of receiving the user's operation instruction, the recipe processing method further includes: The recipe of the target product is stored in a temporary address area inside the programmable logic controller.

3. The recipe processing method according to claim 2, characterized in that: The operation instruction includes a storage instruction, and the step of performing a corresponding operation on the formula of the target product according to the operation instruction includes: In response to the storage instruction, the recipe of the target product stored in the temporary address area is stored in a dedicated address area corresponding to the target product in the programmable logic controller.

4. The recipe processing method according to claim 3, characterized in that: In the programmable logic controller, different target products correspond to different dedicated address areas. In the step of storing the recipe of the target product stored in the temporary address area into the dedicated address area corresponding to the target product in the programmable logic controller in response to the storage instruction, the recipes corresponding to different target products are respectively stored in the dedicated address areas corresponding to different target products in the programmable controller.

5. The recipe processing method according to claim 4, characterized in that: The operation instruction includes a copy instruction, and the step of performing a corresponding operation on the recipe of the target product according to the operation instruction includes: In response to the replication instruction, selecting a replication source and a replication target from the target products according to the recipe of each target product; The recipe is copied from the dedicated address area corresponding to the copy source to the dedicated address area corresponding to the copy target.

6. The recipe processing method according to claim 4, characterized in that: The operation instruction includes a calling instruction, and the step of performing a corresponding operation on the formula of the target product according to the operation instruction includes: In response to the calling instruction, determining a dedicated address area corresponding to a recipe of the current target product according to the current target product; The formula of the current target product is retrieved from the determined dedicated address area to the temporary address area, and the electrical device processes the current target product according to the formula stored in the temporary address area.

7. The recipe processing method according to claim 3, characterized in that: The operation instruction includes a deletion instruction, and the step of performing a corresponding operation on the recipe of the target product according to the operation instruction includes: In response to the deletion instruction, the recipe of the corresponding target product is deleted from the dedicated address area.

8. The recipe processing method according to claim 3, characterized in that: The recipe includes n configuration parameters, the temporary address area includes n temporary addresses, and the dedicated address area includes n dedicated addresses, where n is a natural number greater than or equal to 1.

9. A recipe processing device, wherein the recipe includes configuration parameters used by electrical equipment to process a target product, characterized in that: The recipe processing device comprises: a first receiving unit, configured to receive an operation instruction of the user when the user operates the recipe of the target product, the operation instruction being used to instruct to perform a corresponding operation on the recipe of the target product, the recipe of the target product being stored in an internal address of a programmable logic controller, the target product comprising a display screen, the electrical device comprising a detection device, the recipe comprising a set of configuration parameters adopted by the detection device to test the current display screen, the configuration parameters comprising a point position of a motion axis in the detection device, a moving point position, and a camera height; A sending unit, configured to send a request message to a host computer in response to the operation instruction, wherein the request message includes the received operation instruction information, and the host computer is configured to remotely monitor and record the operation process of the recipe stored in the programmable logic memory; A second receiving unit, configured to receive feedback information from the host computer, wherein the feedback information is generated when the host computer receives request information sent by the programmable logic controller; An execution unit is used to perform corresponding operations on the recipe of the target product according to the operation instruction when the feedback information indicates that the operation is allowed.

10. A recipe processing system, characterized in that: The recipe includes configuration parameters used by the electrical equipment to process the target product, the recipe processing system includes a touch control module, a programmable logic controller and a host computer, and the recipe of the target product is stored in the internal address of the programmable logic controller; The touch module is used to receive an operation instruction of the user when the user operates the recipe of the target product, and the operation instruction is used to instruct to perform a corresponding operation on the recipe of the target product, the target product includes a display screen, the electrical device includes a detection device, and the recipe includes a set of configuration parameters used by the detection device to test the current display screen, and the configuration parameters include the point position of the motion axis in the detection device, the moving point position, and the camera height; The programmable logic controller is connected to the touch control module, and in response to the operation instruction, sends a request message to the host computer, wherein the request message includes the received operation instruction information, receives feedback information from the host computer, and when the feedback information indicates that the operation is allowed, performs a corresponding operation on the recipe of the target product stored at the internal address according to the operation instruction; The host computer is connected to the programmable logic controller, and in response to the request information, sends feedback information to the programmable logic controller. The feedback information is generated when the host computer receives the request information sent by the programmable logic controller. The host computer is used to remotely monitor and record the operation process of the recipe stored in the programmable logic memory.

Citation Information

Patent Citations

  • Remote asset management services for industrial assets

    CN104423370A

  • Spray gun control device

    CN201361600Y