Operation debugging method and device for custom function block development system
By converting the C/C++ code library into Python code in a custom industrial control development system and generating JSON files to encapsulate the function block library, the problem that existing systems cannot support mixed development of multiple languages is solved, and the hybrid development of Python and C/C++ is realized, improving development efficiency and flexibility.
Patent Information
- Application Number
- CN202411705071.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-25
AI Technical Summary
The existing custom industrial control development system cannot support mixed development in multiple languages, resulting in the inability to better compatible with the needs of different development languages.
By determining whether the C/C++ code base is needed when importing the code, if necessary, convert the C/C++ code base into Python-recognizable Python code, and distinguish the function block parameters according to the Python code, and associate the input and output of each function block with the function block pin. Then, a JSON file is generated for each function block according to the set JSON format, all function blocks are encapsulated into a function block library, and the JSON file is exported for external calls.
It implements the conversion of C/C++ code into Python operable code and encapsulates it into Python modules, allowing developers to directly call Python libraries or C++ libraries, improving development efficiency and giving full play to Python's efficient development capabilities and C/C++'s high-performance computing capabilities.
Smart Images

Figure CN119690811A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial process control, and in particular to an operation debugging method and device for a user-defined function block development system. Background Art
[0002] In the industrial field, it is usually necessary to control and monitor equipment and systems. In order to facilitate the programming and management of these equipment and systems, a programming model based on function blocks is usually adopted. This programming method is also called FBD (Function Block Diagram) programming. In the FBD programming model, each function block represents a specific function, such as input / output control, calculation, shift, etc. These function blocks can be combined together to form a complete control or monitoring application. Programming with function blocks can greatly improve the readability and maintainability of the program, and the defined function blocks can be reused to reduce the workload of rewriting code.
[0003] However, existing custom industrial control development systems cannot support mixed development in multiple languages and cannot be better compatible with different development language requirements that may arise. Summary of the invention
[0004] In view of the defects in the prior art, the object of the present invention is to provide a method and device for running and debugging a custom function block development system.
[0005] In a first aspect, an embodiment of the present application provides an operation and debugging method of a custom function block development system, comprising:
[0006] When importing code, determine whether a C / C++ code library is required;
[0007] If a C / C++ code library is required, convert the C / C++ code library into Python code that can be recognized by Python;
[0008] Differentiate function block parameters based on Python code and associate each function block's input and output with the function block pins;
[0009] Generate a JSON file for each function block according to the set JSON format;
[0010] Encapsulate all function blocks into a function block library and export the generated JSON file for external calls.
[0011] Optionally, when importing code, determine whether a C / C++ code library is required, including:
[0012] When importing code, determine whether Python requirements require support from a C / C++ code library;
[0013] If the support of C / C++ code library is required, determine whether the C / C++ code library is available;
[0014] If the C / C++ code library is available, obtain the corresponding library files and header files of the C / C++ code library.
[0015] Optionally, converting the C / C++ code library into Python code that can be recognized by Python includes:
[0016] Install the Python extension library corresponding to the C / C++ code library in the Python environment;
[0017] Convert the functions of the C / C++ code library into Python functions and build a Python interface for use by Python programs;
[0018] Encapsulate the constructed Python interface into a Python module.
[0019] Optionally, distinguish function block parameters based on Python code and associate each function block's inputs and outputs with function block pins, including:
[0020] Split the Python code into different functional blocks;
[0021] According to the function block code, determine the input parameters, output parameters, data types, data formats of the function block, and determine the input interface and output interface of each function block;
[0022] According to the pin standard, the input and output of each functional block are mapped to the corresponding pins one by one.
[0023] Optionally, a JSON file is generated for each function block according to the set JSON format, including:
[0024] Convert the relevant information of each function block into a JSON file; the relevant information includes: input and output, corresponding pins, and data types;
[0025] Check whether the generated JSON file conforms to the set format;
[0026] If it meets the set format, the JSON file is tested for accuracy;
[0027] Save the JSON file that passes the accuracy test for future use.
[0028] Optionally, the data types that the function block can support include: Boolean, short integer, unsigned short integer, 2 bytes, 4 bytes, integer, unsigned integer, double integer, unsigned double integer, single precision floating point, double precision floating point, half floating point.
[0029] Optionally, if a C / C++ code library is not required, the method further includes:
[0030] Import Python code;
[0031] Differentiate function block parameters based on Python code and associate each function block's input and output with the function block pins;
[0032] Generate a JSON file for each function block according to the set JSON format;
[0033] Encapsulate all function blocks into a function block library and export the generated JSON file for external calls.
[0034] In a second aspect, an embodiment of the present application provides an operation and debugging device for a custom function block development system, comprising:
[0035] Import module, used to determine whether a C / C++ code library is required when importing code;
[0036] A conversion module, used for converting the C / C++ code library into Python code that can be recognized by Python when a C / C++ code library is needed;
[0037] A mapping module that distinguishes function block parameters from Python code and associates each function block’s input and output with the function block pins;
[0038] The file generation module is used to generate a JSON file for each function block according to the set JSON format;
[0039] The export module is used to encapsulate all function blocks into a function block library and export the generated JSON file for external calls.
[0040] Optionally, the import module is specifically used to:
[0041] When importing code, determine whether Python requirements require support from a C / C++ code library;
[0042] If the support of C / C++ code library is required, determine whether the C / C++ code library is available;
[0043] If the C / C++ code library is available, obtain the corresponding library files and header files of the C / C++ code library.
[0044] Optionally, the conversion module is specifically used to:
[0045] Install the Python extension library corresponding to the C / C++ code library in the Python environment;
[0046] Convert the functions of the C / C++ code library into Python functions and build a Python interface for use by Python programs;
[0047] Encapsulate the constructed Python interface into a Python module.
[0048] Optionally, the mapping module is specifically used to:
[0049] Split the Python code into different functional blocks;
[0050] According to the function block code, determine the input parameters, output parameters, data types, data formats of the function block, and determine the input interface and output interface of each function block;
[0051] According to the pin standard, the input and output of each functional block are mapped to the corresponding pins one by one.
[0052] Optionally, the file generation module is specifically used to:
[0053] Convert the relevant information of each function block into a JSON file; the relevant information includes: input and output, corresponding pins, and data types;
[0054] Check whether the generated JSON file conforms to the set format;
[0055] If it meets the set format, the JSON file is tested for accuracy;
[0056] Save the JSON file that passes the accuracy test for future use.
[0057] Optionally, the data types of the function block include: Boolean, short integer, unsigned short integer, 2 bytes, 4 bytes, integer, unsigned integer, double integer, unsigned double integer, single precision floating point, double precision floating point, half floating point.
[0058] Optionally, if the C / C++ code library is not needed, the import module is further used to: import Python code;
[0059] The mapping module distinguishes the function block parameters according to the Python code and associates the input and output of each function block with the function block pins;
[0060] Generate a JSON file for each function block according to the set JSON format through the file generation module;
[0061] All function blocks are encapsulated as a function block library through the export module, and the generated JSON file is exported for external calls.
[0062] In a third aspect, an embodiment of the present application provides an operation and debugging device of a custom function block development system, comprising: a processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to:
[0063] Execute the steps of the operation and debugging method of the custom function block development system as described in any one of the first aspects.
[0064] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a program, which, when executed, implements the steps of the operation and debugging method of the custom function block development system as described in any one of the first aspects.
[0065] Compared with the prior art, the present invention has the following beneficial effects:
[0066] In this application, when importing the code, it is determined whether a C / C++ code library is needed; if a C / C++ code library is needed, the C / C++ code library is converted into Python code that can be recognized by Python; the function block parameters are distinguished according to the Python code, and the input and output of each function block are associated with the function block pin; a JSON file is generated for each function block according to the set JSON format; all function blocks are encapsulated as a function block library, and the generated JSON file is exported for external calls. Therefore, by converting the C / C++ code into Python-operable code and encapsulating it as a Python module or a C++ module, developers can directly call the Python library or the C++ library, which improves the development efficiency, gives full play to the efficient development capabilities of Python and the high-performance computing capabilities of C / C++, and at the same time, with the convenience of Python libraries and modules, the rapid development and integration of custom function blocks are realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings in the following descriptions are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work. By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, purposes and advantages of the present invention will become more obvious:
[0068] Figure 1 A flowchart of an operation and debugging method of a custom function block development system provided by an embodiment of the present application;
[0069] Figure 2 A flowchart of another operation and debugging method of a custom function block development system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0071] It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or there can be a central component. When a component is said to be "connected to" another component, it can be directly connected to the other component or there can be a central component at the same time.
[0072] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0073] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein, for example, can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0074] The following specific embodiments are used to describe in detail the technical solution of the present invention and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0075] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0076] For example, Figure 1 A flowchart of a method for running and debugging a custom function block development system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method in this embodiment may include the following steps:
[0077] Step S101: When importing code, determine whether a C / C++ code library is needed.
[0078] In this embodiment, first, the relationship between the requirements and the code library is confirmed, that is, whether the Python requirements need the support of the C / C++ code library. Secondly, the availability of the C / C++ code library is confirmed, that is, whether the C / C++ code library is available, and the corresponding library files and header files are obtained.
[0079] Exemplarily, when importing code, determine whether Python's requirements require support from a C / C++ code library; if support from a C / C++ code library is required, determine whether the C / C++ code library is available; if the C / C++ code library is available, obtain the corresponding library files and header files of the C / C++ code library.
[0080] Step S102: If a C / C++ code library is needed, convert the C / C++ code library into Python code that can be recognized by Python.
[0081] In this embodiment, a Python extension library corresponding to the C / C++ code library can be installed in the Python environment; the functions of the C / C++ code library are converted into Python functions, and a Python interface is constructed for use by Python programs; and the constructed Python interface is encapsulated as a Python module.
[0082] For example, first, install the Python extension library corresponding to the C / C++ code library in the Python environment, such as numpy, opencv, etc. Convert the functions of the C / C++ code library into Python functions, and build a Python interface for use by the Python program. Encapsulate the built Python interface into a Python module for subsequent calls.
[0083] Step S103: distinguish function block parameters according to the Python code, and associate the input and output of each function block with the function block pins.
[0084] In this embodiment, the Python code functions can be split into different functional blocks; according to the code of the functional block, the input parameters, output parameters, data types, and data formats of the functional block are determined, and the input interface and output interface of each functional block are determined; according to the pin standard, the input and output of each functional block are matched one by one with the corresponding pins.
[0085] Exemplarily, according to the written Python code, it is divided into different blocks according to the function. For example, different parts in the Python code are abstracted into different functional blocks. Exemplarily, the image preprocessing code is abstracted into a block, the signal processing is abstracted into a block, the OCR (optical character recognition) is abstracted into a block, and so on. Further, according to the code of the functional block, its input and output parameters and their data types and data formats (numpy arrays, PIL images, etc.) are determined, and the input and output interfaces of each functional block are determined. Finally, according to the pin standard, the input and output of each functional block are corresponded to the corresponding pins, that is, according to the set pin standard, the input and output of each functional block are corresponded to the corresponding pins one by one.
[0086] Exemplarily, the data types that the function block can support include: Boolean, short integer, unsigned short integer, 2 bytes, 4 bytes, integer, unsigned integer, double integer, unsigned double integer, single precision floating point, double precision floating point, half floating point, as shown in Table 1.
[0087] Table 1
[0088]
[0089] Step S104: Generate a JSON file for each function block according to the set JSON format.
[0090] In this embodiment, the relevant information of each functional block is converted into a JSON file; the relevant information includes: input and output, corresponding pins, data type; check whether the generated JSON file conforms to the set format; if it conforms to the set format, perform an accuracy test on the JSON file; save the JSON file that passes the accuracy test for future use.
[0091] Exemplarily, according to the set JSON format (a lightweight data exchange format), a JSON file is generated for each function block: the input and output of each function block, the corresponding pin, the data type and other information are converted into a JSON file for subsequent calls. Then, the correctness of the JSON file is confirmed. For example, check whether the generated JSON file conforms to the set format and test it to ensure its correctness.
[0092] Step S105: encapsulate all function blocks into a function block library, and export the generated JSON file for external calling.
[0093] In this embodiment, all function blocks can be encapsulated into a function block library for subsequent calls. And the generated JSON file can be exported for use. Exemplarily, tests can also be performed to ensure the correctness of the encapsulated function block library and JSON file. Further, its use in industrial programs can be tested.
[0094] This embodiment can effectively solve some problems that cannot be directly solved in the Python development process, such as complex algorithms, operating efficiency, cross-platform support, etc. By converting C / C++ code into Python-operable code and encapsulating it as a Python module, the code can be easily called in the Python environment, realizing the mixed development of Python and C / C++. Among them, custom function blocks can also be developed according to needs, thereby greatly improving the efficiency and flexibility of Python development, and function blocks can be added or deleted according to specific needs, realizing the scalability of function blocks.
[0095] For example, Figure 2 A flowchart of another operation and debugging method of a custom function block development system provided in an embodiment of the present application is shown in FIG. Figure 2As shown, the method in this embodiment may include the following steps: when importing code, determine whether a C / C++ code library is required; if a C / C++ code library is required, convert the C / C++ code library into Python code that can be recognized by Python; if a C / C++ code library is not required, import the Python code; distinguish function block parameters according to the Python code, and associate the input and output of each function block with the function block pin; generate a JSON file for each function block according to the set JSON format; encapsulate all function blocks into a function block library, and export the generated JSON file for external calling.
[0096] In this embodiment, the code is first imported, and it is determined whether a C / C++ related library is needed based on the code. If so, the C / C++ code library is imported, and the Python code is imported after the exported functions of the C / C++ code library are converted into Python functions for use; if not, the Python code is imported; various code blocks are distinguished based on the imported Python code, and a collection waiting to be encapsulated is generated; the pin mapping of each function block is associated through the JSON format, and finally the function block library is exported, and packaged and encapsulated for external calls.
[0097] In this embodiment, the mixed development of Python and C / C++ is realized by converting C / C++ code into Python operable code and encapsulating it into Python module. Among them, the custom function block can be developed according to the needs, which improves the efficiency and flexibility of Python development and realizes the scalability of the function block. In this way, the efficient development ability of Python and the high-performance computing ability of C / C++ can be fully utilized, and the convenience of Python library and module can be used to realize the rapid development and integration of custom function blocks. It allows developers to directly call Python library or C++ library, realizes a more compatible development method, and improves development efficiency.
[0098] Exemplarily, an embodiment of the present application also provides an operation and debugging device for a custom function block development system, including: an import module, used to determine whether a C / C++ code library is needed when importing code; a conversion module, used to convert the C / C++ code library into Python code that can be recognized by Python when the C / C++ code library is needed; a mapping module, used to distinguish function block parameters according to the Python code, and associate the input and output of each function block with the function block pin; a file generation module, used to generate a JSON file for each function block according to the set JSON format; an export module, used to encapsulate all function blocks into a function block library, and export the generated JSON file for external calling.
[0099] Exemplarily, the import module is specifically used to: when importing code, determine whether Python's requirements require the support of a C / C++ code library; if the support of a C / C++ code library is required, determine whether the C / C++ code library is available; if the C / C++ code library is available, obtain the corresponding library files and header files of the C / C++ code library.
[0100] Exemplarily, the conversion module is specifically used to: install a Python extension library corresponding to the C / C++ code library in the Python environment; convert the functions of the C / C++ code library into Python functions, and build a Python interface for use by Python programs; and encapsulate the built Python interface into a Python module.
[0101] Exemplarily, the mapping module is specifically used to: split the Python code functions into different functional blocks; determine the input parameters, output parameters, data types, and data formats of the functional blocks according to the codes of the functional blocks, and determine the input interfaces and output interfaces of each functional block; and correspond the input and output of each functional block to the corresponding pins one by one according to the pin standard.
[0102] Exemplarily, the file generation module is specifically used to: convert the relevant information of each functional block into a JSON file; the relevant information includes: input and output, corresponding pins, data type; check whether the generated JSON file conforms to the set format; if it conforms to the set format, perform an accuracy test on the JSON file; save the JSON file that passes the accuracy test for future use.
[0103] Exemplarily, the data types of the function blocks include: Boolean, short integer, unsigned short integer, 2 bytes, 4 bytes, integer, unsigned integer, double integer, unsigned double integer, single precision floating point, double precision floating point, half floating point.
[0104] Exemplarily, if a C / C++ code library is not required, the import module is also used to: import Python code; distinguish function block parameters according to the Python code through the mapping module, and associate the input and output of each function block with the function block pin; generate a JSON file for each function block according to the set JSON format through the file generation module; encapsulate all function blocks into a function block library through the export module, and export the generated JSON file for external calls.
[0105] In addition, the embodiment of the present application provides an operation and debugging device of a custom function block development system, comprising: a processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to: execute the above-mentioned Figure 1 , Figure 2 The steps of the operation and debugging method of the custom function block development system are shown.
[0106] It should be noted that those skilled in the art will appreciate that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to as "circuit", "module" or "platform" herein.
[0107] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When at least one processor of a user device executes the computer-executable instructions, the user device executes the above-mentioned various possible methods. Among them, the computer-readable medium includes a computer storage medium and a communication medium, wherein the communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a user device. Of course, the processor and the storage medium can also exist in a communication device as discrete components.
[0108] The present application also provides a program product, which includes a computer program. The computer program is stored in a readable storage medium. At least one processor of the server can read the computer program from the readable storage medium. At least one processor executes the computer program so that the server implements any method of the above-mentioned embodiments of the present invention.
[0109] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0110] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.
Claims
1. A method for running and debugging a custom function block development system, characterized in that: include: When importing code, determine whether a C / C++ code library is required; If a C / C++ code library is required, convert the C / C++ code library into Python code that can be recognized by Python; Differentiate function block parameters based on Python code and associate each function block's input and output with the function block pins; Generate a JSON file for each function block according to the set JSON format; Encapsulate all function blocks into a function block library and export the generated JSON file for external calls.
2. The operation and debugging method of the custom function block development system according to claim 1, characterized in that: When importing code, determine whether a C / C++ code library is required, including: When importing code, determine whether Python requirements require support from a C / C++ code library; If the support of C / C++ code library is required, determine whether the C / C++ code library is available; If the C / C++ code library is available, obtain the corresponding library files and header files of the C / C++ code library.
3. The operation and debugging method of the custom function block development system according to claim 1, characterized in that: Convert the C / C++ code library into Python code that can be recognized by Python, including: Install the Python extension library corresponding to the C / C++ code library in the Python environment; Convert the functions of the C / C++ code library into Python functions and build a Python interface for use by Python programs; Encapsulate the constructed Python interface into a Python module.
4. The operation and debugging method of the custom function block development system according to claim 1, characterized in that: Differentiate function block parameters based on Python code and associate each function block's inputs and outputs with function block pins, including: Split the Python code into different functional blocks; According to the function block code, determine the input parameters, output parameters, data types, data formats of the function block, and determine the input interface and output interface of each function block; According to the pin standard, the input and output of each functional block are mapped to the corresponding pins one by one.
5. The operation and debugging method of the custom function block development system according to claim 1, characterized in that: According to the set JSON format, a JSON file is generated for each function block, including: Convert the relevant information of each function block into a JSON file; the relevant information includes: input and output, corresponding pins, and data types; Check whether the generated JSON file conforms to the set format; If it meets the set format, the JSON file is tested for accuracy; Save the JSON file that passes the accuracy test for future use.
6. The operation and debugging method of the custom function block development system according to claim 5, characterized in that: The data types that the function block can support include: Boolean, short integer, unsigned short integer, 2 bytes, 4 bytes, integer, unsigned integer, double integer, unsigned double integer, single precision floating point, double precision floating point, and half floating point.
7. The operation and debugging method of the custom function block development system according to any one of claims 1 to 6, characterized in that: If a C / C++ code library is not required, the method further includes: Import Python code; Differentiate function block parameters based on Python code and associate each function block's input and output with the function block pins; Generate a JSON file for each function block according to the set JSON format; Encapsulate all function blocks into a function block library and export the generated JSON file for external calls.
8. A running and debugging device for a custom function block development system, characterized in that: include: Import module, used to determine whether a C / C++ code library is required when importing code; A conversion module, used for converting the C / C++ code library into Python code that can be recognized by Python when a C / C++ code library is needed; A mapping module that distinguishes function block parameters from Python code and associates each function block’s input and output with the function block pins; The file generation module is used to generate a JSON file for each function block according to the set JSON format; The export module is used to encapsulate all function blocks into a function block library and export the generated JSON file for external calls.
9. A running and debugging device for a custom function block development system, characterized in that: include: A processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to: Execute the steps of the operation and debugging method of the custom function block development system as described in any one of claims 1 to 7.
10. A computer-readable storage medium for storing a program, characterized in that: When the program is executed, the steps of the operation and debugging method of the custom function block development system according to any one of claims 1 to 7 are implemented.