Universal programming method and system based on standard component and standard thread
Through a universal programming method based on standard components and threads, it solves the problems of inconsistent control of standard components and complex process flows in the traditional equipment programming and debugging mode, achieves equipment standardization and improves maintenance efficiency, and simplifies the operation and maintenance process of engineers.
Patent Information
- Application Number
- CN202411077995.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-18
AI Technical Summary
In the traditional equipment programming and debugging model, the control of standard components varies from person to person, complex projects require frequent modifications to the control program, and the entire machine process lacks a unified architecture, which makes program maintenance and upgrades difficult, especially understanding functions during project handover is time-consuming and laborious.
Adopt a universal programming method based on standard components and standard threads to obtain process timing requirements, determine standard components and threads, package them into sets, form workstation units, combine them into whole machine control programs, and build HMI pages to achieve standardized processes and human-machine Interaction.
It reduces engineers' understanding and operation time, reduces the amount of human-computer interaction, improves equipment standardization and maintenance efficiency, and simplifies subsequent program maintenance and upgrade processes.
Smart Images

Figure CN118796187A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial automation technology, and in particular to a general programming method and system based on standard components and standard threads. Background Art
[0002] With the continuous development of technology, various types of automation equipment emerge in an endless stream. Automation equipment has also developed into more complex control logic, requiring shorter debugging cycles, longer stable operation, and lower difficulty in later upgrades and maintenance. Correspondingly, higher requirements are also placed on electrical automation programmers.
[0003] However, the current traditional equipment programming and debugging mode has two problems. First, the control of standard components varies from person to person. Each engineer programs standard components differently, and there are many repetitive steps. More complex projects require frequent modifications to the control programs of standard components. Second, there is no unified architecture for the implementation of the entire machine process. Faced with complex control logic and program variables, the completed program is only understood by the author. Therefore, when the subsequent equipment program is maintained, upgraded, or the project is handed over to others, a lot of time is needed to understand the functions expressed by the program, which is time-consuming and labor-intensive. Summary of the invention
[0004] In view of the problems existing in the prior art, an embodiment of the present invention provides a general programming method and system based on standard components and standard threads.
[0005] The embodiment of the present invention provides a general programming method based on standard components and standard threads, including: Acquire action requirements of a process sequence, determine corresponding standard components and standard threads based on the action requirements, and encapsulate the standard components and standard threads into a set; Based on the collection, a workstation unit is formed, and the workstation parameters and the workstation status of the workstation unit are created, wherein the workstation unit includes a main thread collection and other collections; Based on the process requirements of the process action and in combination with the independent functions of the workstation units, the workstation units are sequentially combined to form a whole machine control program, wherein the whole machine control program includes a main coordination workstation unit and other functional workstation units; Based on the standard components, corresponding HMI standard controls are designed, and corresponding HMI pages of different functional types are constructed.
[0006] In one embodiment, the method further comprises: The basic model of the standard component consists of an instruction interface, an execution status, and an execution log.
[0007] In one embodiment, the method further comprises: The standard thread is based on the basic model and also includes a control interface, a step jump interface and a subroutine interface. The control interface controls the standard component and monitors the execution status of the standard component to realize automatic jump of the process timing. The subroutine interface controls the execution of the subroutine and realizes automatic jump of the process timing according to the completion status of the subroutine.
[0008] In one embodiment, the method further comprises: Based on the action requirements of the process sequence, the command structure of the standard thread is used to control the standard component to realize the automatic jump of the process sequence and record the execution log information of the process sequence.
[0009] In one embodiment, the method further comprises: When the jump interface is set by default, when the standard thread detects the instruction execution completion signal of the standard component, the step number is increased by 1 and the next step process is entered. When the instruction execution exception signal of the standard component is detected, the step number is reversed; When the jump interface is specifically set, when the standard thread detects the instruction execution completion signal of the standard component and the step number of the next step is set, it jumps to the set step number; when the instruction execution exception signal of the calling standard component is detected and the exception step number is set, it jumps to the set exception step number; When the instruction execution completion signal of the calling sub-process of the standard component is detected, the step number is increased by 1.
[0010] In one embodiment, the method further comprises: Basic page, automatic page, manual page, factory page, parameter page, monitoring page, pop-up page.
[0011] The embodiment of the present invention provides a general programming system based on standard components and standard threads, including: A collection module, used for obtaining action requirements of a process sequence, determining corresponding standard components and standard threads based on the action requirements, and encapsulating the standard components and standard threads into a collection; A workstation module, used to form a workstation unit based on the set and determine the workstation parameters and workstation status of the workstation unit, wherein the workstation unit includes a main thread set and other sets; A whole machine module, which is used to sequentially combine the workstation units based on the process requirements of the process actions and the independent functions of the workstation units to form a whole machine control program, wherein the whole machine control program includes a main coordination workstation unit and other functional workstation units; The page module is used to design corresponding HMI standard controls based on the standard components and construct corresponding HMI pages of different functional types.
[0012] In view of the above, in one or more embodiments of the present specification, the action requirements of the process sequence are obtained, the corresponding standard components and standard threads are determined based on the action requirements, and the standard components and standard threads are encapsulated into a collection; the station unit is composed based on the collection, and the station parameters and station status of the station unit are created. The station unit includes a main thread collection and other collections; based on the process requirements of the process action, the station units are sequentially combined in combination with the independent functions of the station units to form a whole machine control program. The whole machine control program includes a main coordination station unit and other functional station units; the corresponding HMI standard controls are designed based on the standard components, and corresponding HMI pages of different functional types are constructed. In this way, the corresponding processes of the underlying executable parts, that is, the standard components, and the process flow can be standardized, thereby reducing the time for engineers to understand and reducing the amount of human-computer interaction during engineers' operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0014] Figure 1 It is a flowchart of a general programming method based on standard components and standard threads provided by an embodiment of this specification.
[0015] Figure 2 It is a structural schematic diagram of a complete device provided by an embodiment of this specification.
[0016] Figure 3 It is a belt line thread diagram provided in one embodiment of the present specification.
[0017] Figure 4 It is a structural diagram of a general programming system based on standard components and standard threads provided by an embodiment of this specification. DETAILED DESCRIPTION
[0018] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that the discussion of these embodiments is only to enable those skilled in the art to better understand and implement the subject matter described herein, and is not a limitation of the scope of protection, applicability or examples set forth in the claims. The functions and arrangements of the elements discussed can be changed without departing from the scope of protection of the contents of this specification. Various examples can omit, replace or add various processes or components as needed. For example, the described method can be performed in an order different from the described order, and various steps can be added, omitted or combined. In addition, the features described relative to some examples can also be combined in other examples.
[0019] As used herein, the term "including" and its variations represent open terms, meaning "including but not limited to". The term "based on" means "based at least in part on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other definitions may be included below, whether explicit or implicit. Unless the context clearly indicates otherwise, the definition of a term is consistent throughout the specification.
[0020] like Figure 1 As shown, an embodiment of the present invention provides a general programming method based on standard components and standard threads, including: Step S101, obtaining action requirements of a process sequence, determining corresponding standard components and standard threads based on the action requirements, and encapsulating the standard components and standard threads into a set.
[0021] Specifically, in order to complete the action requirements of the process action, it is necessary to combine standard components and standard threads to complete it. Among them, the standard component is a basic model, which is the smallest functional unit executed by the equipment. It can be a sensor, actuator, controller, etc., or it can be a cylinder component, servo motor component, communication component, CNC interpolation motion control component, standard thread component, etc. The standard components are all built on the basic model and can be iterated and updated at any time according to the actual equipment requirements. The basic model consists of an instruction interface, execution status, and execution log. It provides a unique string type instruction interface, provides the relevant status of the instruction execution process (step number, completion status, abnormal status, busy status), and provides log information when the instruction is executed. When the instruction interface of the standard component receives the process instruction, it jumps to the step number corresponding to the process instruction to execute the corresponding action, continuously monitors the jump feedback instruction of the step number to determine the execution status of the process instruction, and records the execution log information of the process instruction. Among them, for the step number, it can be further set as: 1. The step number iState is a 16-bit signed integer, and the range of expression is -32768...32767; 2. bDone, bBusy, and bError are Boolean variables that can express true or false; 3. When iState is modulo 100, if the remainder is between 90...99, then bDone is true; 4. When iState is greater than or equal to 10000 or less than 0, bError is true; 5. In addition to the other states mentioned above, bBusy is true; Among them, the step number is changed from -32768 to 32767. Through different values of the step number, the execution status of the three instructions of the operation can be determined, including: completion status (bDone): when the result of iState modulo 100 is between 90 and 99, it means that the operation is completed; abnormal status (bError): when iState is greater than or equal to 10000 or less than 0, it means that an error has occurred; busy status (bError): except for the above two cases, other iState values indicate that the operation is in progress.
[0022] For standard threads, there is a model of standard components, and additional command interfaces, step jump interfaces, and subroutine control interfaces for controlling standard components are provided. The command interfaces of standard threads are used to control standard components, and the execution status of standard components is monitored in real time, thereby realizing automatic jumps of process steps and recording relevant execution log information. Specifically, standard components can be controlled and their execution status can be monitored through control interfaces to realize automatic jumps of process sequences, and subroutine execution can be controlled through subroutine interfaces, and automatic jumps of process sequences can be realized according to the completion status of subroutines. For example, when the standard thread monitors that the status of a certain standard component is completed (bDone), the standard thread can automatically trigger the next step of the process flow without manual intervention.
[0023] In addition, for the process of standard thread controlling standard component, an example can be given. For example, 1000, 1001, 1002, and 1003 are step numbers of standard thread according to the actual process sequence. The process action can be completed by executing in a certain order. For example, 1. Calling the standard component will automatically jump to the next step after normal completion: when executing step number 1002, the on instruction is executed for cyDown (standard component of the cylinder) and it will jump to step number 1003 after normal completion; after executing on for cyDown, if the execution is abnormal, the current step will be reversed. The previous step number enters -1002. In addition, some steps are completed automatically, while some steps are just simple logical judgments, such as 1001 (waiting for incoming materials). 1001 does not need to control specific standard components to take action, so the jump of the step number here still needs to be completed manually. This maintains greater freedom and flexibility. After all, many steps are often data processing and logical judgment, not control of the execution parts; 2. Call the standard component and call the step jump interface. After normal completion, jump to the pre-set specified step number (instead of the default +1). On the contrary, if the abnormal step is set in advance, after the execution exception occurs, jump to the set abnormal step number (instead of the default inversion); 3. When calling the sub-process corresponding to the step number, it automatically jumps to the next step after completion.
[0024] Step S102, forming a workstation unit based on the set, and determining the workstation parameters and the workstation status of the workstation unit, wherein the workstation unit includes a main thread set and other sets.
[0025] Specifically, multiple sets of standard components and standard threads are combined to form a workstation unit. The workstation unit is usually used to perform a specific production task or part of a process flow. Each workstation unit is equipped with two structure variables: station parameters and station status. The station parameters and station status of the workstation unit are determined according to the programming requirements of the process requirements. The station parameters can include the settings required for the operation of the station, including but not limited to the parameters required by each set (or standard component) during the process execution, such as operation threshold, speed setting, temperature control point, etc. These parameters will be mapped to the HMI for equipment commissioning personnel to adjust. The station status reflects the current operating status of the station, including but not limited to the current status of each set (or standard component), the overall operating status of the station (such as running, paused, stopped), and any alarm or error status. During the work process of the workstation unit, a collection can be selected as the main thread collection. The main thread collection is responsible for coordinating and managing other collections in the workstation. It can also be responsible for monitoring the workstation status and deciding when to start, pause or stop other collections based on the workstation parameters and current status, as well as how to exchange data and transmit control signals between collections. Through the coordination of the main thread, the workstation can act as a whole and automatically adjust its operations according to a predetermined process or in response to external events.
[0026] Step S103, based on the process requirements of the process action and combined with the independent functions of the workstation units, the workstation units are sequentially combined to form a whole machine control program, and the whole machine control program includes a main coordination workstation unit and other functional workstation units.
[0027] Specifically, the multiple workstation units constructed in the above steps are further integrated to form a control program for the whole machine. This process is the final assembly stage of the software architecture in this embodiment, connecting the various parts of the equipment to form a coordinated and unified whole. According to the process requirements of the process action, combined with the independent functions of the workstation units, such as material handling, processing, assembly, testing and other steps, the workstation units are sequentially combined to form a control program for the whole machine. In addition, the order of the workstation units is not fixed. When the process requirements of different process actions are met, the processing order of the workstation units may not be the same. When combining the workstation units, the continuity and efficiency of the process flow should be taken into account to ensure that each workstation unit can smoothly continue the work of the previous workstation and prepare for the next workstation. After multiple workstation units are combined, the main coordination station is responsible for coordinating the operation of all other workstation units, ensuring that they work together according to the predetermined process sequence and requirements, and managing the data flow of the entire equipment; ensuring that information is accurately transmitted between each workstation, including real-time updating of status information, synchronous transmission of control signals, and timely reporting of fault or alarm information; as well as comprehensive log information recording equipment operation, thereby providing information support for subsequent fault diagnosis, performance analysis and compliance review.
[0028] In addition, in addition to the general functional workstation units, the whole machine control program also includes a main coordination workstation unit, which is usually one in number. The main workstation unit also contains two structures: workstation parameters and workstation status. However, the parameters and status of the main workstation unit are for the entire device, that is, they contain the common parameters and status information of all workstations. The workstation parameters can store parameters applicable to the entire device, which may affect the operation of multiple workstations, such as global safety thresholds, the overall operation mode of the equipment, etc. The workstation status can record the operation status of the entire device, including but not limited to the operation status summary of each workstation, the overall health status of the equipment, and any system-level alarm or fault status. The main workstation unit contains a collection, in which the thread is designated as the main thread of the whole machine. This main thread is responsible for coordinating and controlling the main threads of all other workstation units in the equipment. By monitoring the status, parameters and data exchange between each workstation unit, the main thread of the whole machine can ensure that the equipment operates accurately according to the predetermined process flow and parameter requirements.
[0029] In addition, the whole machine control program of the whole machine device in this embodiment can be as follows Figure 2 As shown, in Figure 2 In the program, the whole machine control program includes a main station and multiple other stations, and the engineering parameters and engineering status in the main station are shared by all stations, including the corresponding main set, and the engineering parameters and engineering status included in other stations are used by the current station, including the main set and other sets.
[0030] Step S104, designing corresponding HMI controls based on the standard components, and constructing corresponding HMI pages of different functional types.
[0031] Specifically, after completing the back-end process of the above steps, it is necessary to design corresponding HMI controls for each standard component in the front-end HMI (Human Machine Interface). The corresponding HMI controls should intuitively display the characteristics of the corresponding standard components, and the appearance display of the controls and the command triggering should match the corresponding standard components. Among them, the specific layout of the HMI can include multiple types of pages, including basic pages (common to all functional pages, including various basic functions), automatic pages (pages when the whole machine is running, inherited from the basic pages), manual pages (pages for debugging each executive, inherited from the basic pages), factory pages (pages for placing manufacturer parameters, inherited from the basic pages), parameter pages (pages for placing customer parameters, inherited from the basic pages), monitoring pages (places various monitoring screens, inherited from the basic pages), and pop-up pages.
[0032] The embodiment of the present invention provides a general programming method based on standard components and standard threads, which obtains the action requirements of the process sequence, determines the corresponding standard components and standard threads based on the action requirements, and encapsulates the standard components and standard threads into a collection; forms a station unit based on the collection, and creates the station parameters and station status of the station unit, and the station unit includes a main thread collection and other collections; based on the process requirements of the process action, the station units are sequentially combined in combination with the independent functions of the station units to form a whole machine control program, and the whole machine control program includes a main coordination station unit and other functional station units; based on the standard components, the corresponding HMI standard controls are designed, and corresponding HMI pages of different functional types are constructed. In this way, the corresponding processes of the underlying executable parts, that is, the standard components, and the process flow can be standardized, thereby reducing the time for engineers to understand and reducing the amount of human-computer interaction during engineers' operations.
[0033] In another embodiment, a general programming method based on standard components and standard threads can be applied to a general programming method for taking materials through a belt line, which may specifically include: 1. Confirm the current process action requirements to realize the belt line grabbing materials and placing them in the tray A. Based on the process action requirements, it can be determined that the actuators involved include the gripper cylinder, upper and lower cylinders, incoming material sensor, belt line motor, handling servo motor Y axis, swing plate X axis, swing plate Y2 axis, swing plate Z axis, etc.
[0034] B. According to the actuators involved, further determine the required standard components, which may include cylinder function blocks (cyClamp, cyDown), axis control function blocks (Ya), belt line motor function blocks (ctlBelt), etc.
[0035] C. Based on the process action sequence, determine the standard thread, which can include: initialization program: reset identification bit -> Y axis enable -> clamp cylinder reset -> upper and lower cylinder reset -> Y axis selects the opportunity to return to zero -> Y axis moves to the material picking position, and automatic program: start the belt line -> wait for the incoming material sensor -> cylinder goes down -> clamp product -> cylinder comes up -> move to the material discharge position -> wait for the tray to be ready -> cylinder goes down -> clamp release -> cylinder comes up -> increment the tray column counter -> move to the material picking position -> return to (wait for incoming material), the specific standard thread (belt line thread can be as follows Figure 3 as shown).
[0036] 2. Constructing the workstation unit A. Create a corresponding workstation folder and include the workstation parameters and workstation status in the workstation folder.
[0037] B. Determine the different sets under the workstation unit, such as the belt line material collection set (1 standard thread and multiple standard components), including the gripper cylinder, upper and lower cylinders, incoming material sensor, belt line motor, and handling servo motor Y axis; the swing plate set, including the swing plate X axis, swing plate Y2 axis, swing plate Z axis, etc.
[0038] C. Then use the standard thread command interface to write the corresponding program, which can realize the initialization program of the belt line grabbing material and the automatic grabbing program of the belt line grabbing material.
[0039] See also Figure 4 , Figure 4 Schematic diagram of a general programming system based on standard components and standard threads provided in an embodiment of the present application. Figure 4 As shown, the system comprises: A collection module S201 is used to obtain action requirements of a process sequence, determine corresponding standard components and standard threads based on the action requirements, and encapsulate the standard components and standard threads into a collection; A workstation module S202 is used to form a workstation unit based on the set and determine the workstation parameters and workstation status of the workstation unit, wherein the workstation unit includes a main thread set and other sets; The whole machine module S203 is used to sequentially combine the workstation units based on the process requirements of the process actions and the independent functions of the workstation units to form a whole machine control program, wherein the whole machine control program includes a main coordination workstation unit and other functional workstation units; The page module S204 is used to design corresponding HMI standard controls based on the standard components and construct corresponding HMI pages of different functional types.
[0040] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.
[0041] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
[0042] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0043] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0044] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0045] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0046] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0047] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0048] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0049] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A general programming method based on standard components and standard threads, It is characterized in that include: Acquire action requirements of a process sequence, determine corresponding standard components and standard threads based on the action requirements, and encapsulate the standard components and standard threads into a set; Based on the collection, a workstation unit is formed, and the workstation parameters and the workstation status of the workstation unit are created, wherein the workstation unit includes a main thread collection and other collections; Based on the process requirements of the process action and in combination with the independent functions of the workstation units, the workstation units are sequentially combined to form a whole machine control program, wherein the whole machine control program includes a main coordination workstation unit and other functional workstation units; Based on the standard components, corresponding HMI standard controls are designed, and corresponding HMI pages of different functional types are constructed.
2. The general programming method based on standard components and standard threads according to claim 1, It is characterized in that The method further comprises: The basic model of the standard component consists of an instruction interface, an execution status, and an execution log.
3. The general programming method based on standard components and standard threads according to claim 2, It is characterized in that The method further comprises: The standard thread is based on the basic model and also includes a control interface, a step jump interface and a subroutine interface. The control interface controls the standard component and monitors the execution status of the standard component to realize automatic jump of the process timing. The subroutine interface controls the execution of the subroutine and realizes automatic jump of the process timing according to the completion status of the subroutine.
4. The general programming method based on standard components and standard threads according to claim 1, It is characterized in that The method further comprises: Based on the action requirements of the process sequence, the command structure of the standard thread is used to control the standard component to realize the automatic jump of the process sequence and record the execution log information of the process sequence.
5. The general programming method based on standard components and standard threads according to claim 4, It is characterized in that The automatic jump of the process steps includes: When the jump interface is set by default, when the standard thread detects the instruction execution completion signal of the standard component, the step number is increased by 1 and the next step process is entered. When the instruction execution exception signal of the standard component is detected, the step number is reversed; When the jump interface is specifically set, when the standard thread detects the instruction execution completion signal of the standard component and the step number of the next step is set, it jumps to the set step number; when the instruction execution exception signal of the calling standard component is detected and the exception step number is set, it jumps to the set exception step number; When the instruction execution completion signal of the calling sub-process of the standard component is detected, the step number is increased by 1.
6. The general programming method based on standard components and standard threads according to claim 1, It is characterized in that The HMI page includes: Basic page, automatic page, manual page, factory page, parameter page, monitoring page, pop-up page.
7. A general programming system based on standard components and standard threads, It is characterized in that The system comprises: A collection module, used for obtaining action requirements of a process sequence, determining corresponding standard components and standard threads based on the action requirements, and encapsulating the standard components and standard threads into a collection; A workstation module, used to form a workstation unit based on the set and determine the workstation parameters and workstation status of the workstation unit, wherein the workstation unit includes a main thread set and other sets; A whole machine module, which is used to sequentially combine the workstation units based on the process requirements of the process actions and the independent functions of the workstation units to form a whole machine control program, wherein the whole machine control program includes a main coordination workstation unit and other functional workstation units; The page module is used to design corresponding HMI standard controls based on the standard components and construct corresponding HMI pages of different functional types.
