CN113885424A - Formula processing method, device and system - Google Patents

Formula processing method, device and system Download PDF

Info

Publication number
CN113885424A
CN113885424A CN202111092199.1A CN202111092199A CN113885424A CN 113885424 A CN113885424 A CN 113885424A CN 202111092199 A CN202111092199 A CN 202111092199A CN 113885424 A CN113885424 A CN 113885424A
Authority
CN
China
Prior art keywords
target product
formula
recipe
operation instruction
programmable logic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111092199.1A
Other languages
Chinese (zh)
Inventor
凌伟
王启凯
沈昌兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou HYC Technology Co Ltd
Original Assignee
Suzhou HYC Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou HYC Technology Co Ltd filed Critical Suzhou HYC Technology Co Ltd
Priority to CN202111092199.1A priority Critical patent/CN113885424A/en
Publication of CN113885424A publication Critical patent/CN113885424A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1103Special, intelligent I-O processor, also plc can only access via processor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

The application relates to the technical field of automation control, and particularly discloses a formula processing method, device and system. The method comprises the following steps: receiving an operation instruction of a user, wherein the operation instruction is used for instructing to execute corresponding operation on a formula of a target product, and the formula of the target product is stored in an internal address of the programmable logic controller; responding to the operation instruction, and sending request information to an upper computer; receiving feedback information of the upper computer; and when the feedback information is the operation permission, executing corresponding operation on the formula of the target product according to the operation instruction. The remote monitoring of the operation process of the formula stored in the programmable logic memory is facilitated by the upper computer, the leakage and the loss of the formula are avoided, the address quantity in the programmable logic memory is sufficient, and the storage of the formula of a large number of target products is facilitated.

Description

Formula processing method, device and system
Technical Field
The present application relates to the field of automation control technologies, and in particular, to a method, an apparatus, and a system for recipe processing.
Background
In the technical field of automation control, different products are often required to be processed by the same device, for example, the same detection device detects different display screens, and because parameters such as the size of each display screen are different, when the detection device detects different display screens, detection components of each part of the detection device can adapt to detection of different display screens by adopting different configuration parameters, the configuration parameters can include information such as point positions of different motion axes, moving point positions and camera heights, and a set of a plurality of configuration parameters is a formula. The traditional method is that the formulas of the detection devices corresponding to the display screens are respectively stored in an SRAM or an external memory, when the display screens need to be detected, the corresponding formulas are imported into a register of a programmable logic controller at one time, although the import of the formulas can be realized by the method, the operation process of the formulas cannot be remotely monitored, and the intelligent degree is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a recipe processing method, apparatus and system.
A recipe processing method for processing a recipe of a target product based on a programmable logic controller, the recipe processing method being performed by the programmable logic controller, the recipe including configuration parameters to be used by an electrical device to process the target product, the recipe processing method comprising:
receiving an operation instruction of a user, wherein the operation instruction is used for instructing to execute corresponding operation on a formula of a target product, and the formula of the target product is stored in an internal address of the programmable logic controller;
responding to the operation instruction, and sending request information to an upper computer;
receiving feedback information of the upper computer;
and when the feedback information is the operation permission, executing corresponding operation on the formula of the target product according to the operation instruction.
In one embodiment, before the step of receiving the operation instruction of the user, the recipe processing method further includes:
and storing the formula of the target product in a temporary address area inside the programmable logic controller.
In one embodiment, the operation instruction includes a storage instruction, and the step of performing the corresponding operation on the recipe of the target product according to the operation instruction includes:
in response to the storing instruction, storing the target product's recipe stored in the temporary address area to a dedicated address area within the programmable logic controller corresponding to the target product.
In one embodiment, in the programmable logic controller, the dedicated address areas corresponding to different target products are different, 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 stored into the dedicated address areas corresponding to different target products in the programmable logic controller, respectively.
In one embodiment, the operation instruction includes a copy instruction, and the step of performing the 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 formula of each target product;
and copying the formula from the special address area corresponding to the copying source to the special address area corresponding to the copying target.
In one embodiment, the operation instruction includes a call instruction, and the step of performing the corresponding operation on the recipe of the target product according to the operation instruction includes:
responding to the calling instruction, and determining a special address area corresponding to the formula of the current target product according to the current target product;
and calling a formula of the current target product from the determined special address area to the temporary address area, and processing the current target product by the electrical equipment according to the formula stored in the temporary address area.
In one embodiment, the operation instruction includes a deletion instruction, and the step of performing the corresponding operation on the recipe of the target product according to the operation instruction includes:
in response to the delete instruction, deleting the recipe of the corresponding target product from the private address area.
In one embodiment, the recipe includes n configuration parameters, the temporary address area includes n temporary addresses, the private address area includes n private addresses, and n is a natural number greater than or equal to 1.
A recipe processing apparatus, the recipe including configuration parameters used when an electrical device processes a target product, the recipe processing apparatus comprising:
the system comprises a first receiving unit, a second receiving unit and a control unit, wherein the first receiving unit is used for receiving an operation instruction of a user, the operation instruction is used for indicating corresponding operation on a formula of a target product, and the formula of the target product is stored in an internal address of a programmable logic controller;
the sending unit is used for responding to the operation instruction and sending request information to the upper computer;
the second receiving unit is used for receiving feedback information of the upper computer;
and the execution unit is used for carrying out corresponding operation on the formula of the target product according to the operation instruction when the feedback information is the operation permission.
A formula processing system comprises a touch module, a programmable logic controller and an upper computer, wherein the formula comprises configuration parameters adopted when an electric device processes a target product, and the formula processing system comprises the target product, and the formula of the target product is stored in an internal address of the programmable logic controller;
the touch control module is used for receiving an operation instruction of a user, and the operation instruction is used for instructing to execute corresponding operation on a formula of a target product;
the programmable logic controller is connected with the touch control module, responds to the operation instruction, sends request information to an upper computer, receives feedback information of the upper computer, and executes corresponding operation on the target product formula stored in an internal address according to the operation instruction when the feedback information is allowed to operate;
the upper computer is connected with the programmable logic controller and responds to the request information to send feedback information to the programmable logic controller.
The recipe processing method comprises the steps of firstly receiving an operation instruction of a user, then responding to the operation instruction and sending request information to an upper computer, receiving feedback information of the upper computer, and executing corresponding operation on a recipe of a target product stored in an internal address of a programmable logic memory according to the operation instruction of the user when the feedback information is operation permission. The formula of the target product is stored in the programmable logic memory, and meanwhile, the operation of the user on the formula stored in the programmable logic memory can be monitored and recorded through the upper computer, so that the upper computer can conveniently and remotely monitor the operation process of the formula stored in the programmable logic memory, the intelligent level is improved, and on the other hand, the formula is stored through the internal address of the programmable logic memory.
Drawings
FIG. 1 is a block flow diagram of a recipe processing method provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a configuration processing apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a configuration processing system according to an embodiment of the present application.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present application are given in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
In this application, unless expressly stated or limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can include, for example, fixed connections, removable connections, or integral parts; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Unless defined otherwise, 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 belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In the technical field of automation control, program control is often required for operation of equipment, and the premise of program control is to acquire information of various configuration parameters of the equipment. Taking the detection device as an example, the same detection device may often detect different display screens, and the detection device corresponds to different recipes for different display screens, for example, when detecting display screens of different sizes, configuration parameters such as a point position, a moving point position, a camera height and the like of a motion axis in the detection device are all different, a set of the configuration parameters such as the point position, the moving point position, the camera height and the like of the motion axis is a recipe adopted by the detection device to test the current display screen, and different display screens correspond to different recipes of the detection device.
In practical applications, the recipes adopted by the detection device corresponding to each display screen are usually stored in an internal SRAM or an external memory (e.g., a usb disk, an SD card, etc.), and before the current display screen is tested, the recipe corresponding to the current display screen is once imported into a PLC register, so that the detection device tests the display screen according to the imported recipe.
Although the formula can be imported in the above mode, the operation process of the formula cannot be remotely monitored, and the intelligent degree is low.
In order to solve the above problems, embodiments of the present application provide a recipe processing method, a recipe processing apparatus, and a recipe processing system.
It should be noted that, in addition to the above-mentioned scenario of detecting the display screen by the detection device, the solution provided by the present application is also applicable to other similar scenarios, for example, scenarios involving the electrical device to process different products according to different recipes are all applicable to the present application.
In one embodiment, a recipe processing method is provided. The formula comprises configuration parameters adopted when the electrical equipment processes the target product, and the formula adopted by the electrical equipment is different for different target products. The recipe processing method provided by this embodiment is used for processing a recipe of a target product based on a programmable logic controller, and is executed by the programmable logic controller, referring to fig. 1, and includes the following steps:
and S200, receiving an operation instruction of a user, wherein the operation instruction is used for indicating that corresponding operation is executed on the formula of the target product, and the formula of the target product is stored in an internal address of the programmable logic controller.
That is, the recipes of the target products are all stored in the internal address of the programmable logic controller in advance, and when a user needs to operate the recipe of a certain target product, an operation instruction can be input. The operation instruction is mainly used for instructing the programmable logic controller to point to an internal address of a recipe in which the target product is stored, and performing corresponding operation on the recipe of the target product, where the corresponding operation may include calling, copying, deleting, storing, and the like.
And S400, responding to the operation instruction, and sending request information to the upper computer.
When the programmable logic controller receives an operation instruction of a user, corresponding request information is sent to the upper computer to ask for the consent of the upper computer, wherein the request information comprises the received operation instruction information. Therefore, the upper computer can conveniently monitor the formula operation.
And S600, receiving feedback information of the upper computer.
When the upper computer receives the request information sent by the programmable logic controller, feedback information is generated and sent to the programmable logic controller, and the feedback information can comprise permission operation and non-permission operation.
And step S800, when the feedback information is the operation permission, executing corresponding operation on the formula of the target product according to the operation instruction.
When the programmable logic controller judges that the received feedback information is allowed to operate, the programmable logic controller points to the internal address where the formula of the corresponding target product is located according to the operation instruction, and then corresponding operations such as calling, copying, deleting, storing and the like are carried out on the formula stored in the internal address.
The recipe processing method comprises the steps of firstly receiving an operation instruction of a user, then responding to the operation instruction and sending request information to an upper computer, receiving feedback information of the upper computer, and executing corresponding operation on a recipe of a target product stored in an internal address of a programmable logic memory according to the operation instruction of the user when the feedback information is operation permission. The formula of the target product is stored in the programmable logic memory, and meanwhile, the operation of the user on the formula stored in the programmable logic memory can be monitored and recorded through the upper computer, so that the upper computer can conveniently and remotely monitor the operation process of the formula stored in the programmable logic memory, the intelligent level is improved, and on the other hand, the formula is stored through the internal address of the programmable logic memory.
In one embodiment, before step S200, that is, the step of receiving the operation instruction of the user, the recipe processing method provided in this embodiment further includes the following steps:
and S100, storing the formula of the target product in a temporary address area in the programmable logic controller. A temporary address area is arranged in the programmable logic controller, a plurality of temporary addresses are arranged in the temporary address area, and each temporary address can be used for storing temporary data. In this embodiment, before the operation instruction is input, first, each configuration parameter in the recipe of the target product is stored in each temporary address of the temporary address area.
In one embodiment, the operation instruction comprises a store instruction. Step S800, namely, performing corresponding operations on the recipe of the target product according to the operation instruction includes:
and step S810, responding to the storage instruction, and storing the target product formula stored in the temporary address area to a special address area corresponding to the target product in the programmable logic controller.
Specifically, the internal address of the programmable editing controller includes both a temporary address area and a dedicated address area of each target product, where the temporary address area is used to store a temporary recipe, such as data to be transferred to the dedicated address area, or a recipe that is needed by the electrical device for the current target product; the special address area is specially set for each target product, each target product is provided with an independent special address area, a plurality of special addresses are arranged in each special address area and can be used for storing each configuration parameter required when the corresponding target product is processed by the electrical equipment, so that unified management and control of the formula corresponding to each target product are facilitated, and the formula stored in the special address area can be directly called when the corresponding target product is subsequently processed.
And after receiving the storage instruction, the programmable logic controller stores the formula of the target product stored in the temporary address area into the special address area corresponding to the target product to finish the storage of the formula.
It should be noted that, in the actual operation process, in order to avoid the storage confusion, the temporary address area may store the recipe of one 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, and in the same manner, the recipe of the next target product is stored in the temporary address area and then transferred to the corresponding dedicated address area. And the like, and further the storage of the formulas of all target products is finished through the programmable logic controller.
In one embodiment, in the programmable logic controller, the dedicated address areas corresponding to different target products are different, and in step S810, that is, 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 into the dedicated address areas corresponding to different target products in the programmable logic controller.
In one embodiment, the operation instruction comprises a copy instruction. Step S800, namely, the step of performing corresponding operation on the recipe of the target product according to the operation instruction includes:
step S820, responding to the replication instruction, and selecting a replication source and a replication target from the target products according to the formula of each target product;
in step S830, the recipe is copied from the private address area corresponding to the copy source to the private address area corresponding to the copy destination.
In practical applications, in the case where the attributes of the target products are similar, the recipes used by the electrical devices may be set to be the same. For example, the target product 1 is an 8-inch display screen, and the target product 2 is an 8.5-inch display screen, so that when the detection device detects the target product 1 and the target product 2, the configuration parameters such as the moving point location, the camera height and the like are approximately the same, that is, the recipes are approximately the same. Then, when the formula corresponding to the target product 1 in the programmable logic memory is stored in the private address area 1, the formula of the target product 1 can be copied from the corresponding private address area 1 to the private address area 2 corresponding to the target product 2 according to the copy instruction, that is, the formula of the target product 2 does not need to be stored in the private address area 2 by transferring the temporary address area, thereby simplifying the operation.
Here, the replication source refers to a target product to be replicated, such as target product 1 in the above example, and the replication target refers to a target product to be replicated in other target products, such as target product 2 in the above example. When the programmable logic controller determines the copy source and the copy target, the recipe is copied from the private address area corresponding to the copy source to the private address area corresponding to the copy target.
In one embodiment, the operation instruction comprises a call instruction. Step S800, namely, the step of performing corresponding operation on the recipe of the target product according to the operation instruction includes:
step 840, responding to the call instruction, and determining a special address area corresponding to the formula of the current target product according to the current target product;
and step S850, calling the formula of the current target product from the determined special address area to a temporary address area, and processing the current target product by the electrical equipment according to the formula stored in the temporary address area.
The current target product refers to a target product currently waiting for processing. Before the electrical equipment is processed for the current target product, the electrical equipment needs to be configured according to a formula corresponding to the current target product. In this embodiment, the electrical device is configured according to the formula stored in the temporary address area of the programmable logic controller, so that the programmable logic controller first determines, according to the call instruction, the private address area where the formula corresponding to the current target product is located, and then calls the formula of the current target product from the private address area to the temporary address area, so that the electrical device accurately configures various parameters according to the formula in the temporary address area to be adapted to the current target product.
In one embodiment, the operation instruction comprises a delete instruction. Step S800, namely, the step of performing corresponding operation on the recipe of the target product according to the operation instruction includes:
and step S860, responding to the deleting instruction, and deleting the formula of the corresponding target product from the special address area. That is, the recipe of the corresponding target product can be deleted from the dedicated address area according to a deletion instruction input by a user, so that the recipe of some specific target products can be deleted according to actual needs, and further, the storage space in the dedicated address area of the programmable logic controller is released.
In one embodiment, the recipe includes n configuration parameters, the temporary address area includes n temporary addresses, the private address area includes n private addresses, and n is a natural number greater than or equal to 1. That is, the number of the temporary addresses in the temporary address area is the same as the number of the private addresses and the number of the configuration parameters in the single private address area, for example, the recipe includes 100 configuration parameters, the temporary address area includes 100 temporary addresses, and the single private address area includes 100 private addresses, then 100 configuration parameters of a single target product can be stored in 100 temporary addresses in the temporary address area, respectively, and when the user inputs a storage instruction, the programmable storage controller then stores 100 configuration parameters stored in 100 temporary addresses in the corresponding private address area, respectively. Therefore, the number of addresses in the programmable logic controller is set according to the number of the configuration parameters, the rationality of address setting is improved, and the resource utilization rate is improved.
In one embodiment, a recipe processing apparatus is provided. The formula comprises configuration parameters adopted when the electrical equipment processes the target product, and the formula adopted by the electrical equipment is different for different target products. Referring to fig. 2, the recipe processing apparatus provided in this embodiment includes a first receiving unit 200, a sending unit 400, a second receiving unit 600, and an executing unit 800.
The first receiving unit 200 is configured to receive an operation instruction of 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 the programmable logic controller;
the sending unit 400 is configured to send request information to the upper computer in response to the operation instruction;
the second receiving unit 600 is configured to receive feedback information of the upper computer;
the execution unit 800 is configured to perform a corresponding operation on the recipe of the target product according to the operation instruction when the feedback information indicates that the operation is allowed.
In one embodiment, the recipe processing apparatus provided in this embodiment further includes a first storage unit, and the first storage unit is configured to store the recipe of the target product in a temporary address area inside the programmable logic controller.
In one embodiment, the operation instruction includes a store instruction, and the execution unit includes a second storage unit, and the second storage unit is configured to store the target product recipe stored in the temporary address area to a dedicated address area corresponding to the target product in the programmable logic controller in response to the store instruction.
In one embodiment, the programmable logic controller has different dedicated address areas corresponding to different target products. The second storage unit is used for respectively storing the formulas corresponding to different target products into the special address areas corresponding to the different target products in the programmable controller.
In one embodiment, the operation instruction comprises a copy instruction, the execution unit comprises a copy unit, and the copy unit is used for responding to the copy instruction and selecting a copy source and a copy target from the target products according to the formula of each target product;
and copying the formula from the special address area corresponding to the copying source to the special address area corresponding to the copying target.
In one embodiment, the operation instruction comprises a call instruction, the execution unit comprises a call unit, and the call unit is used for responding to the call instruction and determining a special address area corresponding to a formula of the current target product according to the current target product; and calling the formula of the current target product from the determined special address area to the temporary address area, and processing the current target product by the electrical equipment according to the formula stored in the temporary address area.
In one embodiment, the operation instruction includes a deletion instruction, and the execution unit includes a deletion unit configured to delete the recipe of the corresponding target product from the dedicated address area in response to the deletion instruction.
In one embodiment, the recipe includes n configuration parameters, the temporary address area includes n temporary addresses, the private address area includes n private addresses, and n is a natural number greater than or equal to 1.
The formula processing device firstly receives an operation instruction of a user, then responds to the operation instruction and sends request information to the upper computer, receives feedback information of the upper computer, and executes corresponding operation on the formula of a target product stored in an internal address of the programmable logic memory according to the operation instruction of the user when the feedback information is operation-allowed. The formula of the target product is stored in the programmable logic memory, and meanwhile, the operation of the user on the formula stored in the programmable logic memory can be monitored and recorded through the upper computer, so that the upper computer can conveniently and remotely monitor the operation process of the formula stored in the programmable logic memory, the intelligent level is improved, and on the other hand, the formula is stored through the internal address of the programmable logic memory.
The recipe processing apparatus provided in this embodiment and the recipe processing method provided in the foregoing embodiment belong to the same inventive concept, and for specific contents of the recipe processing apparatus, reference may be made to the corresponding descriptions in the foregoing embodiments, and further description is omitted here.
In one embodiment, a recipe processing system is provided, where a recipe includes configuration parameters used by an electrical device to process a target product, and referring to fig. 3, the recipe processing system includes a touch module 10, a programmable logic controller 20, and an upper computer 30, and a recipe of the target product is stored in an internal address of the programmable logic controller 20.
The touch module 10 is configured to receive an operation instruction of a user, where the operation instruction is used to instruct a recipe of a target product to perform a corresponding operation; the programmable logic controller 20 is connected with the touch module, responds to an operation instruction, sends request information to the upper computer 30, receives feedback information of the upper computer 30, and executes corresponding operation on a formula of a target product stored in an internal address according to the operation instruction when the feedback information is allowed to operate; the upper computer 30 is connected with the programmable logic controller 20, responds to the request information, and sends feedback information to the programmable logic controller 20.
The touch module 10 may include a touch screen through which a user inputs an operation instruction, which is easy to operate.
Through the formula processing system, on one hand, the upper computer can conveniently carry out remote monitoring on the operation process of the formula stored in the programmable logic memory, and the intelligent level is improved, on the other hand, the formula is stored through the internal address of the programmable logic memory, compared with the traditional mode that a storage mode of a U disk or an SD card is adopted, the formula can be prevented from being leaked and lost, the address quantity in the programmable logic memory is sufficient, the formula processing system is beneficial to the storage of a large number of target products, and in addition, the formula processing process is simplified.
The recipe processing apparatus provided in this embodiment and the recipe processing method provided in the foregoing embodiment belong to the same inventive concept, and for specific contents of the recipe processing apparatus, reference may be made to the corresponding descriptions in the foregoing embodiments, and further description is omitted here.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A recipe processing method for processing a recipe of a target product based on a programmable logic controller, the recipe processing method being executed by the programmable logic controller, the recipe including configuration parameters used by an electrical device to process the target product, the recipe processing method comprising:
receiving an operation instruction of a user, wherein the operation instruction is used for instructing to execute corresponding operation on a formula of a target product, and the formula of the target product is stored in an internal address of the programmable logic controller;
responding to the operation instruction, and sending request information to an upper computer;
receiving feedback information of the upper computer;
and when the feedback information is the operation permission, executing corresponding operation on the formula of the target product according to the operation instruction.
2. The recipe processing method according to claim 1, wherein before the step of receiving the operation instruction of the user, the recipe processing method further comprises:
and storing the formula of the target product in a temporary address area inside the programmable logic controller.
3. The recipe processing method according to claim 2, wherein the operation instruction includes a storage instruction, and the step of performing the corresponding operation on the recipe of the target product according to the operation instruction includes:
in response to the storing instruction, storing the target product's recipe stored in the temporary address area to a dedicated address area within the programmable logic controller corresponding to the target product.
4. The recipe processing method according to claim 3, wherein the dedicated address areas corresponding to different target products are different in the programmable logic controller, 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 stored into the dedicated address areas corresponding to different target products in the programmable logic controller, respectively.
5. The recipe processing method according to claim 4, wherein the operation instruction comprises a copy instruction, and the step of performing the corresponding operation on the recipe of the target product according to the operation instruction comprises:
in response to the replication instruction, selecting a replication source and a replication target from the target products according to the formula of each target product;
and copying the formula from the special address area corresponding to the copying source to the special address area corresponding to the copying target.
6. The recipe processing method according to claim 4, wherein the operation instruction comprises a call instruction, and the step of performing the corresponding operation on the recipe of the target product according to the operation instruction comprises:
responding to the calling instruction, and determining a special address area corresponding to the formula of the current target product according to the current target product;
and calling a formula of the current target product from the determined special address area to the temporary address area, and processing the current target product by the electrical equipment according to the formula stored in the temporary address area.
7. The recipe processing method according to claim 3, wherein the operation instruction includes a delete instruction, and the step of performing the corresponding operation on the recipe of the target product according to the operation instruction includes:
in response to the delete instruction, deleting the recipe of the corresponding target product from the private address area.
8. The recipe processing method according to claim 3, wherein the recipe includes n configuration parameters, the temporary address area includes n temporary addresses, the private address area includes n private addresses, and n is a natural number equal to or greater than 1.
9. A recipe processing apparatus, the recipe including configuration parameters used by an electrical device to process a target product, the recipe processing apparatus comprising:
the system comprises a first receiving unit, a second receiving unit and a control unit, wherein the first receiving unit is used for receiving an operation instruction of a user, the operation instruction is used for indicating corresponding operation on a formula of a target product, and the formula of the target product is stored in an internal address of a programmable logic controller;
the sending unit is used for responding to the operation instruction and sending request information to the upper computer;
the second receiving unit is used for receiving feedback information of the upper computer;
and the execution unit is used for carrying out corresponding operation on the formula of the target product according to the operation instruction when the feedback information is the operation permission.
10. The formula processing system is characterized in that a formula comprises configuration parameters adopted when an electric device processes a target product, the formula processing system comprises a touch module, a programmable logic controller and an upper computer, and the formula of the target product is stored in an internal address of the programmable logic controller;
the touch control module is used for receiving an operation instruction of a user, and the operation instruction is used for instructing to execute corresponding operation on a formula of a target product;
the programmable logic controller is connected with the touch control module, responds to the operation instruction, sends request information to an upper computer, receives feedback information of the upper computer, and executes corresponding operation on the target product formula stored in an internal address according to the operation instruction when the feedback information is allowed to operate;
the upper computer is connected with the programmable logic controller and responds to the request information to send feedback information to the programmable logic controller.
CN202111092199.1A 2021-09-17 2021-09-17 Formula processing method, device and system Pending CN113885424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111092199.1A CN113885424A (en) 2021-09-17 2021-09-17 Formula processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111092199.1A CN113885424A (en) 2021-09-17 2021-09-17 Formula processing method, device and system

Publications (1)

Publication Number Publication Date
CN113885424A true CN113885424A (en) 2022-01-04

Family

ID=79009538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111092199.1A Pending CN113885424A (en) 2021-09-17 2021-09-17 Formula processing method, device and system

Country Status (1)

Country Link
CN (1) CN113885424A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201361600Y (en) * 2008-12-22 2009-12-16 比亚迪股份有限公司 Spray gun control device
CN102236765A (en) * 2010-04-30 2011-11-09 深圳市合信自动化技术有限公司 Method and device for protecting programmable logic controller (PLC) safely
CN104423370A (en) * 2013-09-10 2015-03-18 洛克威尔自动控制技术股份有限公司 Remote asset management services for industrial assets
CN106959674A (en) * 2017-03-02 2017-07-18 北京北方华创微电子装备有限公司 The management system and method for a kind of semiconductor process formula
CN109799776A (en) * 2018-12-13 2019-05-24 西安艾润物联网技术服务有限责任公司 Data configuration method and device
US20200257827A1 (en) * 2019-06-29 2020-08-13 Intel Corporation Memory write for ownership access in a core

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201361600Y (en) * 2008-12-22 2009-12-16 比亚迪股份有限公司 Spray gun control device
CN102236765A (en) * 2010-04-30 2011-11-09 深圳市合信自动化技术有限公司 Method and device for protecting programmable logic controller (PLC) safely
CN104423370A (en) * 2013-09-10 2015-03-18 洛克威尔自动控制技术股份有限公司 Remote asset management services for industrial assets
CN106959674A (en) * 2017-03-02 2017-07-18 北京北方华创微电子装备有限公司 The management system and method for a kind of semiconductor process formula
CN109799776A (en) * 2018-12-13 2019-05-24 西安艾润物联网技术服务有限责任公司 Data configuration method and device
US20200257827A1 (en) * 2019-06-29 2020-08-13 Intel Corporation Memory write for ownership access in a core

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄国榕;: "PLC装置在洗发香波生产自动配料监控系统中的应用", 计算机测量与控制, vol. 14, no. 08, 25 August 2006 (2006-08-25), pages 1059 - 1061 *

Similar Documents

Publication Publication Date Title
CN107003893B (en) Virtual machine backup method, back-up device and host
WO2017083207A1 (en) Digital assistant setting up device
CN103019942B (en) Method and system for automatically testing applications to be tested based on android system
US20070169186A1 (en) Computer system, management computer, and volume allocation change method of management computer
WO2019057089A1 (en) Network card image packet capture method, terminal, and readable storage medium
CN106406986A (en) Resource sharing method and device
CN104216840A (en) USB (universal serial bus) setting and method and device for operating external equipment
CN103823771A (en) Remote communication method and remote communication system
JP2018173858A (en) Data collection management system for managing data collection of a plurality of machines, data collection management method and program
CN115422048A (en) Link stability testing method and device, computer equipment and storage medium
US7882303B2 (en) Computer system, management computer, and volume allocation change method of management computer
CN105528261A (en) Method and system for intelligently outputting debugging information for embedded device
CN114356521A (en) Task scheduling method and device, electronic equipment and storage medium
CN113885424A (en) Formula processing method, device and system
CN113778771A (en) Terminal testing method, system and storage medium
CN104570967B (en) Long-range control method and system based on android system
WO2015181921A1 (en) Programmable display device and rendering software
CN106547485A (en) Data migration method and device
US20160224032A1 (en) Retrieval of Measured Values, Diagnostic Information or Device Parameters
CN112350879B (en) Data communication equipment test management method, device, system and storage medium
CN113032196A (en) Chip testing method and device
CN113282516A (en) Method and device for processing test case result
CN104717680A (en) Wireless connection test method and device
CN112035130A (en) Program burning method and device based on industrial control screen and computer equipment
JP2008191862A (en) Communication device and communication control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination