Sequential control program execution method and system, electronic equipment and storage medium

By receiving the sequential control program start-stop signals of independent devices in industrial automation and generating the sequential control program start-stop signals of the sequential control program and controlling the start-stop status of the sequential control program, the different call times of the sequential control program to the sequential control program for the sequential control device are solved. Problem, improving productivity and saving programming resources.

CN119414734APending Publication Date: 2025-02-11SUPCON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411424005.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

In industrial automation, multiple sequential control programs call public equipment different times, resulting in the start and stop time of the public equipment that cannot meet the requirements of each sequential control program, resulting in reduced production efficiency and increased programming resource usage.

Method used

By receiving the sequential control program start-stop signals of all independent devices at the same level, generating the corresponding sequential control program start-stop signals, and controlling the start-stop status of the sequential control program through or calculation results, ensuring that the sequential control program Run synchronously.

Benefits of technology

It realizes efficient coordination of public equipment by multiple sequential control programs, improves production efficiency, and saves programming resources, avoids misaligned execution and additional state judgment between sequential control programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119414734A_ABST
    Figure CN119414734A_ABST
Patent Text Reader

Abstract

The invention discloses a sequential control program execution method and system, electronic equipment and a storage medium, and belongs to the technical field of industrial automation. The method comprises the following steps of: receiving sequence control program start-stop signals of all independent equipment at the same level, and respectively generating corresponding common program start-stop signals; generating a common program start-stop operation result signal based on the OR operation result of all common program start-stop signals of the same level; on the basis of the public program start-stop operation result signal, starting and stopping of the public equipment of the upper level are controlled, and a public equipment start-stop state signal is generated; and controlling the independent equipment to start and stop based on the sequence control program start-stop signal and the previous-stage public equipment start-stop state signal. The production efficiency can be effectively ensured, and meanwhile programming resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial automation, and in particular to a method, system, electronic equipment and storage medium for executing a sequential control program. Background Art

[0002] If a control system can be decomposed into several independent control actions, and these actions must be executed strictly in a certain order to ensure the normal operation of the production process, then this kind of control of the system is called sequential control, and the corresponding control program is a sequential control program. In the actual production process, there are the following situations: the control objects of multiple sequential control programs include the same common equipment and different independent equipment. Because the calling time of multiple sequential control programs for common equipment is different, the start and stop time of the common equipment cannot meet the requirements of each sequential control program.

[0003] In the prior art, there are the following processing methods for the above situation: 1. Sequential control program startup interlock. When multiple sequential control programs need to call a common equipment group, when one of the sequential control programs calls the common equipment group, the remaining sequential control programs are locked and cannot be started, so as to avoid conflicts in the use of the common equipment group by multiple sequential control programs. 2. Sequential control programs wait in a queue. When multiple sequential control programs are started, the execution actions of the sequential control are executed in sequence according to the time sequence of the sequential control program startup, so as to avoid conflicts in the use of the common equipment group by multiple sequential control programs. 3. Multiple sequential control programs run at the same time. When one of the sequential control programs ends, the running status of other sequential control programs is judged. If other sequential control programs are still running, the common equipment will not be stopped at this end.

[0004] As mentioned above, when the interlocking and queuing methods are used to handle the above scenarios, the sequential control can only be executed in a staggered manner, which greatly prolongs the entire production time and reduces the production efficiency. If the method of running while judging the running status of other sequential control programs in real time is adopted, it will occupy additional programming resources of the sequential control program. Summary of the invention

[0005] The purpose of the present invention is to solve the problems existing in the above-mentioned prior art and to provide a sequential control program execution method, system, electronic device and storage medium, which can effectively ensure production efficiency while saving programming resources.

[0006] The objective of the present invention is achieved through the following technical solutions: In a first aspect, a method for executing a sequential control program includes: Receive the start and stop signals of the sequence control programs of all independent devices at the same level, and generate corresponding common program start and stop signals respectively; Generate a common program start-stop operation result signal based on the OR operation result of all common program start-stop signals of the same level; Based on the start-stop operation result signal of the utility program, the start-stop of the utility equipment at the upper level is controlled, and the start-stop status signal of the utility equipment is generated; Based on the start and stop signals of the sequential control program and the start and stop status signals of the upper-level public equipment, the start and stop of independent equipment are controlled.

[0007] As a preferred embodiment of the present invention, based on the start / stop signal of the sequential control program and the start / stop status signal of the upper-level common equipment, the start / stop of the independent equipment is controlled, including: When receiving the start signal of the sequence control program and the start status signal of the upper-level common equipment, the independent equipment is controlled to start; When a sequence control program stop signal is received, the control independent device stops.

[0008] In a second aspect, a method for executing a sequential control program includes: Receive the start and stop signals of the sequence control programs of all independent devices at the same level, control the start and stop of the corresponding independent devices respectively, and generate corresponding common program start and stop signals respectively; Generate a common program start-stop operation result signal based on the OR operation result of all common program start-stop signals of the same level; Based on the utility program start and stop operation result signal, the next level of utility equipment start and stop is controlled.

[0009] In a third aspect, a sequential control program execution system includes: The common program module is used to receive the common program start and stop operation result signal, control the start and stop of the common equipment, and output the common equipment start and stop status signal to all the independent program modules of the next level; The independent program module is used to receive the start and stop signals of the sequential control program and the start and stop status signals of the common equipment output by the upper-level common program module, control the start and stop of the independent equipment, and output the common program start and stop signals to the OR logic module; The OR logic module is used to receive all the utility program start and stop signals of the same level, and after OR logic operation, output the utility program start and stop operation result signal to the utility program module of the upper level.

[0010] As a preferred embodiment of the present invention, the independent program module includes: An independent program startup unit, used to control the startup of the independent device when receiving a sequential control program startup signal and a common device startup state signal output by the upper-level common program module; An independent program stop unit, used to control the independent device to stop when receiving a sequential control program stop signal; The independent program feedback unit is used to output a common program start / stop signal to the OR logic module when receiving a sequential control program start / stop signal.

[0011] As a preferred embodiment of the present invention, there are two or more independent program modules, which respectively control each or each group of independent devices.

[0012] In a fourth aspect, a sequential control program execution system includes: The utility program module is used to receive the utility program operation result signal and control the start and stop of the utility equipment; An independent program module is used to receive a sequential control program start and stop signal, control the start and stop of an independent device, and output a common program start and stop signal to an OR logic module; The OR logic module is used to receive all the utility program start / stop signals of the same level, and after OR logic operation, output the utility program start / stop operation result signal to the utility program module of the next level.

[0013] As a preferred embodiment of the present invention, there are two or more independent program modules, which respectively control each or each group of independent devices.

[0014] In a fifth aspect, an electronic device includes a processor and a memory, wherein the processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute any of the above methods.

[0015] In a sixth aspect, a computer-readable storage medium stores a computer program thereon, wherein the computer program, when executed by a processor, implements the method as described in any one of the above items.

[0016] The advantages of the present invention are: 1. Sequential control programs using common equipment do not need to be locked or sequenced and can run simultaneously, thus effectively improving production efficiency; 2. There is no need to make additional judgments on the operating status of other sequential control programs or common equipment within the sequential control program, thus saving programming resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a schematic diagram of an application scenario of Embodiment 1 of this specification; Figure 2 A flowchart of a method for executing a sequential control program provided in Example 1 of this specification; Figure 3 This is a schematic diagram of an application scenario of Embodiment 2 of this specification; Figure 4A flowchart of a method for executing a sequential control program provided in Example 2 of this specification; Figure 5 A schematic diagram of the structure of a sequential control program execution system provided in Example 3 of this specification; Figure 6 A schematic diagram of the structure of a sequential control program execution system provided in Example 4 of this specification; Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0018] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0019] Example 1 like Figure 1 The figure shows a working scenario applicable to the present embodiment: the raw materials in the storage tank sequentially pass through the bottom valve, the delivery pump and the valve into the reactor, wherein there are three groups of valves and reactors, that is, one group of bottom valves and the delivery pump corresponds to three groups of valves and reactors. According to the production process requirements, the bottom valve, the delivery pump and the valve need to be opened in sequence, so a sequential control program is used to operate the equipment, wherein the bottom valve and the delivery pump are common equipment, and the three valves are independent equipment, so three sequential control programs are required to operate the three groups of equipment respectively, namely: bottom valve, delivery pump, valve 1; bottom valve, delivery pump, valve 2; bottom valve, delivery pump, valve 3. In order to avoid conflicts among the three sequential control programs when calling common equipment, the prior art generally adopts the interlocking and queuing method between the three sequential control programs for staggered execution, which affects production efficiency; or adopts the method of running while judging the running status of other sequential control programs in real time, which will occupy additional programming resources of the sequential control program. For this reason, if Figure 2 As shown, this embodiment provides a method for executing a sequential control program, comprising the following steps: Step 102, receiving the start and stop signals of the sequential control programs of all independent devices at the same level, and generating corresponding common program start and stop signals respectively. Among them, the start and stop signals of the sequential control programs are used to operate the start and stop of a group of equipment. Taking the above scenario as an example, there are three sequential control programs in total, and a group of equipment includes a bottom valve, a delivery pump and one of the valves. No matter which group of equipment is started or stopped, the common equipment therein, that is, the bottom valve and the delivery pump, will be involved, and according to the production process requirements, the common equipment of the upper level needs to be opened before the independent equipment of the lower level. Therefore, whenever a sequential control program start and stop signal is received, a common program start and stop signal is generated to operate the common equipment of the upper level.

[0020] Step 104, based on the OR operation results of all public program start and stop signals of the same level, a public program start and stop operation result signal is generated. The OR operation result of all public program start and stop signals means that when there is a start signal, the OR operation result is start; when all signals are stop signals, the OR operation result is stop. That is, among all public program start and stop signals, as long as there is a start signal, the generated public program start and stop operation result signal is a start signal, otherwise the generated public program start and stop operation result signal is a stop signal.

[0021] Step 106, based on the public program start-stop operation result signal, control the start-stop of the public equipment at the previous level, and generate a public equipment start-stop status signal. Taking the above scenario as an example, if the public program start-stop operation result signal is a start signal, it means that at least one valve needs to be opened, then the public equipment at the previous level is controlled to start, that is, the bottom valve and the delivery pump, and the public equipment start-up status signal is generated at the same time; of course, if the public equipment is already in the start-up state, it can be maintained in the start-up state, and the public equipment start-up status signal is also maintained. If the public program start-stop operation result signal is a stop signal, it means that all three valves are closed, then the public equipment at the previous level also needs to be stopped, and the public equipment stop status signal is generated at the same time.

[0022] Step 108, based on the start and stop signal of the sequential control program and the start and stop status signal of the upper-level common equipment, control the start and stop of the independent equipment. Specifically, the start status signal of the upper-level common equipment can be triggered by the start signal of the current sequential control program, or by other previous start signals of the sequential control program. For example, if all the equipment is in a stopped state, and the sequential control program start signal of valve 1 is received at this time, then after the above steps, the common equipment will be controlled to start first, and then the common equipment start status signal will be generated, and then valve 1 will be opened. If the bottom valve, the delivery pump and valve 2 are working, then the common equipment start status signal already exists at this time, then when the sequential control program start signal of valve 1 is received at this time, valve 1 can be directly opened.

[0023] Step 108 specifically includes: When the sequential control program start signal and the upper level common equipment start status signal are received, the independent equipment is controlled to start. Taking the above scenario as an example, when the sequential control program start signal of valve 1 and the common equipment start status signal are received, valve 1 is opened, and the same applies to other valves.

[0024] When a stop signal of the sequence control program is received, the control of the independent device stops. For example, when a stop signal of the sequence control program related to valve 1 is received, valve 1 is directly closed, and the same applies to other valves.

[0025] In summary, still taking the above scenario as an example, the overall working logic of this embodiment is as follows: When receiving the start signal of the sequence control program related to valve 1, if the start-stop status signal of the common equipment is a start signal at this time, it means that the bottom valve and the transmission pump are in the start state, and valve 1 is directly opened; if the start-stop status signal of the common equipment is a stop signal at this time, then according to the start-stop operation result signal of the common program, the bottom valve and the transmission pump are started first, and the start-stop status signal of the common equipment becomes a start signal, and then valve 1 is opened. The same applies to other valves.

[0026] When receiving the stop signal of the sequence control program related to valve 1, directly close valve 1; if the start-stop operation result signal of the common program is a start signal at this time, it means that there are other valves in the open state, and keep the bottom valve and the delivery pump in the started state; if the start-stop operation result signal of the common program is a stop signal at this time, it means that all valves are in the closed state, and close the bottom valve and the delivery pump. The same applies to other valves.

[0027] In this way, as long as any one of the sequential control programs is started, the common equipment will be started; as long as any one of the sequential control programs has not ended, the common equipment will not stop. Therefore, multiple sequential control programs can be carried out synchronously to effectively ensure production efficiency. Moreover, this embodiment can be implemented only through the transmission of signals, without the need to judge the program, which not only saves programming resources but also improves the efficiency of program execution. It should be noted that the above scenario only shows a relatively simple situation, that is, there are three parallel valves with the same upper-level common equipment. If the number of valves is 100, then when one valve is closed, the prior art needs to judge the status of the remaining 99 valves, then the occupied programming resources will increase sharply, and the program execution efficiency will also drop sharply. The method of this embodiment can effectively avoid this problem.

[0028] Example 2 like Figure 3 The figure shows a working scenario applicable to this embodiment. The difference from the first embodiment is that the common equipment in this embodiment is at the lower level, while the three parallel independent equipment are at the upper level. According to the production process requirements, the independent equipment needs to be started first, and then the common equipment. Figure 4 As shown, this embodiment provides a method for executing a sequential control program, comprising the following steps: Step 202, receiving the sequential control program start and stop signals of all independent devices at the same level, controlling the start and stop of the corresponding independent devices respectively, and generating corresponding public program start and stop signals respectively. Since the independent devices are at the upper level, they need to be started and stopped first, without waiting for the public devices at the lower level to start and stop first. After any independent device is started, the public devices at the lower level need to be started; after any independent device is stopped, it may affect the status of the public devices at the lower level; therefore, it is necessary to generate public program start and stop signals for operating the public devices.

[0029] Step 204, based on the OR operation results of all utility start / stop signals of the same level, a utility start / stop operation result signal is generated. That is, when any independent device is started, there is a utility start signal, the OR operation result is the start signal, and the corresponding utility start / stop operation result signal is the start signal; when all independent devices are stopped, there is only a utility stop signal, the OR operation result is the stop signal, and the corresponding utility start / stop operation result signal is the stop signal.

[0030] Step 206, based on the utility program start-stop operation result signal, control the start-stop of the next level of utility equipment.

[0031] Since the device startup sequence of this embodiment is consistent with the output direction of the OR operation result, there is no feedback to the superior, so this embodiment is simpler than the embodiment 1. The overall working logic of this embodiment is as follows: When receiving the sequence control program start signal of the independent device 1, the independent device 1 is directly started; then, since the independent device 1 is started, the public program start-stop operation result signal at this time must be a start signal, starting the public device or keeping the public device started. The same applies to other independent devices.

[0032] When a stop signal of the sequential control program related to independent device 1 is received, independent device 1 is stopped directly; if the public program start-stop operation result signal at this time is a start signal, it means that other independent devices are running, and the public device is kept started; if the public program start-stop operation result signal at this time is a stop signal, it means that all independent devices have been stopped, and the public device is shut down.

[0033] Example 3 like Figure 5 As shown, this embodiment provides a sequential control program execution system suitable for Figure 1 In the working scenario shown, the system of this embodiment includes: The common program module is used to receive the common program start and stop operation result signal, control the start and stop of the common equipment, and output the common equipment start and stop status signal to all the independent program modules of the next level; The independent program module is used to receive the start and stop signals of the sequential control program and the start and stop status signals of the common equipment output by the upper-level common program module, control the start and stop of the independent equipment, and output the common program start and stop signals to the OR logic module; The OR logic module is used to receive all the utility program start and stop signals of the same level, and after OR logic operation, output the utility program start and stop operation result signal to the utility program module of the upper level.

[0034] Specifically, there are two or more independent program modules, which respectively control each or each group of independent devices, and each independent program module includes: An independent program startup unit, used to control the startup of the independent device when receiving a sequential control program startup signal and a common device startup state signal output by the upper-level common program module; An independent program stop unit, used to control the independent device to stop when receiving a sequential control program stop signal; The independent program feedback unit is used to output a common program start / stop signal to the OR logic module when receiving a sequential control program start / stop signal.

[0035] by Figure 1 Taking the scenario shown as an example, the working principle of this embodiment is as follows: When independent program module 1 receives the sequential control program start signal, independent program module 1 immediately generates a common program start signal and outputs it to the OR logic module; the OR logic module obtains the common program start-stop result signal as the start signal after OR operation, and outputs it to the common program module; the common program module receives the start signal, immediately controls the bottom valve and the transmission pump to start, and generates a common equipment start status signal, and outputs it to independent program module 1, independent program module 2 and independent program module 3; at this time, independent program module 1 receives the common equipment start status signal and controls valve 1 to open. If independent program module 2 receives the sequential control program start signal later, since independent program module 2 has received the common equipment start status signal, it can directly control valve 2 to open.

[0036] When the independent program module 1 receives the sequential control program stop signal, the independent program module 1 directly controls the valve 1 to close, and generates a common program stop signal and outputs it to the OR logic module; if there are other valves in the open state at this time, the operation result of the OR logic module is still the start signal, then the common program module will not control the bottom valve and the transmission pump to stop after receiving the signal; if all valves are closed at this time, the operation result of the OR logic module is a stop signal, then the common program module will control the bottom valve and the transmission pump to stop after receiving the signal.

[0037] This embodiment divides the control logic of the public equipment independently and writes it into a public program module independently. It does not directly participate in the sequential control program. The public program module is started only by the start signal output by the independent program module. The overall structure design is simple and the operation is efficient. The use of this embodiment can effectively improve production efficiency and save programming resources.

[0038] Example 4 like Figure 6 As shown, this embodiment provides a sequential control program execution system suitable for Figure 3 The working scenario shown, the system diagram of this embodiment includes: The utility program module is used to receive the utility program operation result signal and control the start and stop of the utility equipment; An independent program module is used to receive a sequential control program start and stop signal, control the start and stop of an independent device, and output a common program start and stop signal to an OR logic module; The OR logic module is used to receive all the utility program start / stop signals of the same level, and after OR logic operation, output the utility program start / stop operation result signal to the utility program module of the next level.

[0039] There are two or more independent program modules, which respectively control each or each group of independent devices.

[0040] by Figure 3 Taking the scenario shown as an example, the working principle of this embodiment is as follows: When the independent program module 1 receives the sequential control program start signal, it directly controls the independent device 1 to start. At the same time, the independent program module 1 generates a public program start signal and outputs it to the OR logic module; the OR logic module obtains the public program start and stop result signal as the start signal through OR operation, and outputs it to the public program module; the public program module receives the start signal and immediately controls the public device to start.

[0041] When the independent program module 1 receives the sequential control program stop signal, the independent program module 1 directly controls the valve 1 to close, and generates a common program stop signal and outputs it to the OR logic module; if there are other independent devices running at this time, the operation result of the OR logic module is still the start signal, then the common program module will not control the common device to stop after receiving the signal; if all independent devices have stopped at this time, the operation result of the OR logic module is a stop signal, then the common program module will control the common device to stop after receiving the signal.

[0042] like Figure 7 As shown, the embodiment of this specification provides an electronic device, which can be used to implement Figure 2 or Figure 4The method in the illustrated embodiment. The electronic device 600 may include: at least one processor 601, at least one network interface 604, a user interface 603, a memory 605, and at least one communication bus 602. The communication bus 602 is used to realize the connection and communication between these components. The user interface 603 may include a keyboard and a display. The optional user interface 603 may also include a standard wired interface and a wireless interface.

[0043] The processor 601 may include one or more processing cores. The processor 601 uses various interfaces and lines to connect various parts of the entire electronic device 600, and executes various functions and processes data of the terminal 600 by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Optionally, the processor 601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 601 can integrate one or a combination of a processor (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 601, but implemented separately through a chip.

[0044] The memory 605 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 605 includes a non-transitory computer-readable storage medium. The memory 605 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 605 may optionally be at least one storage device located away from the aforementioned processor 601. As Figure 7 As shown, the memory 605 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.

[0045] exist Figure 7 In the electronic device 600 shown, the user interface 603 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 601 can be used to call the interactive application based on sound source positioning stored in the memory 605, and specifically perform the following operations: receive all sequential control program start and stop signals at the same level, and generate corresponding public program start and stop signals respectively; based on the OR operation results of all public program start and stop signals, generate a public program start and stop operation result signal; based on the public program start and stop operation result signal, control the start and stop of the public equipment at the upper level, and generate a public equipment start and stop status signal; based on the sequential control program start and stop signal and the start and stop status signal of the public equipment at the upper level, control the start and stop of the independent device.

[0046] The embodiments of this specification also provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0047] The above is only a preferred specific embodiment of the present invention, which is an implementation method based on the overall concept of the present invention, and the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for executing a sequential control program, characterized in that: include: Receive the start and stop signals of the sequence control programs of all independent devices at the same level, and generate corresponding common program start and stop signals respectively; Generate a common program start-stop operation result signal based on the OR operation result of all common program start-stop signals of the same level; Based on the start-stop operation result signal of the utility program, the start-stop of the utility equipment at the upper level is controlled, and the start-stop status signal of the utility equipment is generated; Based on the start and stop signals of the sequential control program and the start and stop status signals of the upper-level public equipment, the start and stop of independent equipment are controlled.

2. A method for executing a sequential control program according to claim 1, characterized in that: Based on the start and stop signals of the sequential control program and the start and stop status signals of the upper-level public equipment, control the start and stop of independent equipment, including: When receiving the start signal of the sequence control program and the start status signal of the upper-level common equipment, the independent equipment is controlled to start; When a sequence control program stop signal is received, the control independent device stops.

3. A method for executing a sequential control program, characterized in that: include: Receive the start and stop signals of the sequence control programs of all independent devices at the same level, control the start and stop of the corresponding independent devices respectively, and generate corresponding common program start and stop signals respectively; Generate a common program start-stop operation result signal based on the OR operation result of all common program start-stop signals of the same level; Based on the utility program start and stop operation result signal, the next level of utility equipment start and stop is controlled.

4. A sequential control program execution system, characterized in that: include: The common program module is used to receive the common program start and stop operation result signal, control the start and stop of the common equipment, and output the common equipment start and stop status signal to all the independent program modules of the next level; The independent program module is used to receive the start and stop signals of the sequential control program and the start and stop status signals of the common equipment output by the upper-level common program module, control the start and stop of the independent equipment, and output the common program start and stop signals to the OR logic module; The OR logic module is used to receive all the utility program start and stop signals of the same level, and after OR logic operation, output the utility program start and stop operation result signal to the utility program module of the upper level.

5. A sequential control program execution system according to claim 4, characterized in that: The independent program modules include: An independent program startup unit, used to control the startup of the independent device when receiving a sequential control program startup signal and a common device startup state signal output by the upper-level common program module; An independent program stop unit, used to control the independent device to stop when receiving a sequential control program stop signal; The independent program feedback unit is used to output a common program start / stop signal to the OR logic module when receiving a sequential control program start / stop signal.

6. A sequential control program execution system according to claim 4, characterized in that: There are two or more independent program modules, which respectively control each or each group of independent devices.

7. A sequential control program execution system, characterized in that: include: The utility program module is used to receive the utility program operation result signal and control the start and stop of the utility equipment; An independent program module is used to receive a sequential control program start and stop signal, control the start and stop of an independent device, and output a common program start and stop signal to an OR logic module; The OR logic module is used to receive all the utility program start / stop signals of the same level, and after OR logic operation, output the utility program start / stop operation result signal to the utility program module of the next level.

8. A sequential control program execution system according to claim 7, characterized in that: There are two or more independent program modules, which respectively control each or each group of independent devices.

9. An electronic device, comprising a processor and a memory, wherein the processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1 to 3.

10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 3.