Zero code fast coding system and method
The zero-code fast coding system with modular design and graphical programming solves the problems of long development cycle, high cost and difficult maintenance of traditional coding, and enables non-professionals to quickly code and flexibly adapt to market changes.
Patent Information
- Application Number
- CN202511298227.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-11
- Publication Date
- 2025-10-28
AI Technical Summary
Existing technologies in industrial automation control software development have long development cycles, high costs, and are difficult to maintain, making it difficult for companies to quickly respond to market changes.
It adopts a zero-code fast coding system, modularizes the equipment control module, sensor acquisition module, interface module, logic operation module and multi-branch process module through modular design, and adopts a graphical programming interactive interface. Non-professionals can achieve automatic coding through module splicing and parameter setting.
It enables non-professional programmers to quickly complete the automatic coding of product manufacturing process flow, greatly shortening the development cycle, reducing costs, and improving the system's flexibility and adaptability.
Smart Images

Figure CN120848432A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of software development. More specifically, this invention relates to a zero-code rapid coding system and method. Background Art
[0002] To cope with the rapid development and changes in industrial automation, companies need to quickly adjust their production schedules according to the market environment. Since the production processes for different types of products are different, it means that control codes need to be written quickly according to the product requirements.
[0003] To meet the production demands of new products, traditional automation control software development relies on professional programmers manually coding (writing program frameworks and defining function definitions, etc.). This approach has a long development cycle, high costs, and is difficult to maintain, making it hard to meet the needs of enterprises to respond quickly to market changes. Summary of the Invention
[0004] To address the aforementioned technical problems of long development cycles, high costs, and difficulty in maintenance, this invention discloses a zero-code rapid coding system and method.
[0005] In a first aspect, the present invention discloses a zero-code fast coding system, including a processor, a device control module, a sensor acquisition module, an interface module, a logic operation module, and a multi-branch process module; The processor connects to the device control module via an interface module to define the drive instructions for the device control module based on the first parameter set by the user. The processor is connected to the sensor acquisition module through an interface module to define the information acquisition instructions of the sensor acquisition module according to the second parameter set by the user. The logic operation module is located in the processor's storage medium to define the coupling logic of drive instructions and information acquisition instructions according to the third parameter set by the user. The multi-branch process module is located in the processor's storage medium to define the branch execution order of the driving instructions according to the fourth parameter set by the user.
[0006] Beneficial effects: This invention modularizes the equipment control module, sensor acquisition module, interface module, logic operation module, and multi-branch process module. Even non-professional programmers can automatically code a complete product manufacturing process flow by assembling modules and setting module parameters. Compared to existing technologies, this invention effectively solves the technical problems of long development cycles, high costs, and difficulty in maintenance associated with existing technologies.
[0007] Preferably, it also includes a graphical programming interface; The graphical module links for the equipment control module, sensor acquisition module, interface module, logic operation module, and multi-branch process module are all set in the tool library of the graphical programming interface.
[0008] Beneficial effects: The system of this invention adopts a graphical programming method to achieve automatic coding. The graphical modules of the device control module, sensor acquisition module, interface module, logic operation module and multi-branch process module are all linked in the tool library of the graphical programming interface, realizing the visualization of functional modules and facilitating relevant personnel to quickly call them from the tool library.
[0009] Preferably, the equipment control module includes at least a robotic arm control unit, an AGV control unit, a fixture control unit, and a code reading execution unit.
[0010] Beneficial effects: The system of the present invention encapsulates the robotic arm control unit, AGV control unit, fixture control unit and code reading execution unit into a control unit with independent functions. It can be called up and used at any time according to the user's needs, and can execute specific action logic after the user sets the corresponding first parameter, which greatly shortens the program coding development cycle.
[0011] Preferably, the sensor acquisition module includes at least a visual image recognition unit, a code reading acquisition unit, and a call acquisition unit.
[0012] Preferably, the interface module includes at least a wireless I / O interface unit and a wired I / O interface unit.
[0013] Preferably, the logic operation module includes at least four arithmetic operation units, combination operation units, natural exponent operation units, mean operation units, variance operation units, AND, OR, and NOT operation units, and user-defined operation units.
[0014] Beneficial effects: The above-mentioned logic operation module integrates four arithmetic operation units, combination operation units, natural exponent operation units, mean and variance operation units, AND, OR, and NOT logic operation units, as well as custom operation units, to build a comprehensive and highly flexible operation system.
[0015] Preferably, it also includes a counting module disposed in the processor storage medium, the counting module being used to measure the corresponding dynamic data according to the measurement target set by the user.
[0016] In a second aspect, the present invention discloses a zero-code fast coding method for use in the zero-code fast coding system described in the first aspect. The method of the present invention includes: Define the drive instructions for the device control module based on the first parameter set by the user; Define the information acquisition instructions for the sensor acquisition module based on the second parameter set by the user. Define the coupling logic between the driving instructions and the information acquisition instructions based on the third parameter set by the user; The execution order of the driver instructions is defined based on the fourth parameter set by the user.
[0017] Preferably, in response to the user's drag-and-drop behavior, the graphical modules of the device control module, sensor acquisition module, interface module, logic operation module and / or multi-branch process module are linked and presented to the canvas of the graphical programming interface. In response to the user's graphical module linking behavior, connect graphical modules that conform to the predefined linking rules in pairs; The attribute bar of the graphics module link has a first parameter input field, a second parameter input field, a third parameter input field, and / or a fourth parameter input field.
[0018] Preferably, after defining the branch execution order of the driving instructions, the method of the present invention further includes: In response to the user pressing the call button, obtain the action value; Based on the action value, match the corresponding branch-driven instruction in the branch execution order; Send branch drive instructions to the corresponding device control module.
[0019] Beneficial effects: The method of the present invention can flexibly control the branch drive instructions of the corresponding equipment control module according to the call instructions issued by the user, so as to adapt to the process action improvement under different application scenarios.
[0020] The beneficial effects of the present invention are: (1) The system of the present invention modularizes the equipment control module, sensor acquisition module, interface module, logic operation module and multi-branch process module. Even non-professional programmers can complete the automatic coding of a whole set of product manufacturing process flow by splicing modules and setting module parameters. Compared with the prior art, the system of the present invention effectively solves the technical problems of long development cycle, high cost and difficult maintenance of the prior art.
[0021] (2) Compared with the prior art, the present invention encapsulates the robotic arm control unit, AGV control unit, fixture control unit and code reading execution unit into a control unit with independent functions. It can be called up and used at any time according to the user's needs, and can execute specific action logic after the user sets the corresponding first parameter, which greatly shortens the development cycle of program coding.
[0022] (2) Compared with the prior art, the method of the present invention uses graphical and drag-and-drop operation programming to achieve the effect of quickly building automated work processes without writing code. Attached Figure Description
[0023] The above and other objects, features, and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description taken in conjunction with the accompanying drawings. In the drawings, several embodiments of the invention are illustrated by way of example and not limitation, and like or corresponding reference numerals denote like or corresponding parts, wherein: Figure 1 This is a schematic diagram of the zero-code fast coding system in Embodiment 1 of the present invention; Figure 2 This is a logic control diagram showing the coupling of the logic operation module, the counting module, and the AGV control unit in Embodiment 1 of the present invention; Figure 3 This is a logic control diagram of the call acquisition unit, multi-branch process module, AND, OR, NOT operation unit and multiple AGV control units coupled in Embodiment 1 of the present invention; Figure 4 This is a flowchart of the zero-code fast encoding method in Embodiment 2 of the present invention. Detailed Implementation
[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] This embodiment discloses a zero-code rapid coding system and method to solve the technical problems of long cycle, high cost and difficult maintenance in the prior art.
[0026] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0027] Example 1 like Figure 1 As shown, this embodiment discloses a zero-code fast coding system, including a processor, a device control module, a sensor acquisition module, an interface module, a logic operation module, and a multi-branch process module.
[0028] The processor is connected to the device control module via an interface module to define the drive instructions for the device control module based on a first parameter set by the user. The processor is also connected to the sensor acquisition module via an interface module to define the information acquisition instructions for the sensor acquisition module based on a second parameter set by the user. A logic operation module is located in the processor's storage medium to define the coupling logic between the drive instructions and the information acquisition instructions based on a third parameter set by the user. A multi-branch process module is located in the processor's storage medium to define the branch execution order of the drive instructions based on a fourth parameter set by the user.
[0029] With the above technical solution, when users need to set new process flows for new products, they can achieve this by changing parameters and combining modules. This method does not require professional programmers to define functions and test interfaces. It can quickly generate code based on user needs, solving the problems of long development cycles, high costs and difficulty in maintenance of existing technologies.
[0030] Furthermore, the equipment control module includes at least a robotic arm control unit, an AGV control unit, a fixture control unit, and a code reading execution unit.
[0031] It should be noted that the above interface modules include a robotic arm interface, an AGV interface, an I / O interface, and a barcode reader interface. The first parameter refers to the relevant parameters used to control the actuator.
[0032] Specifically, the robotic arm control unit can directly control the movement of the robotic arm through the robotic arm interface based on the first parameter. The AGV control unit can directly control the movement of the AGV through the AGV interface based on the first parameter. The gripper control unit can directly control the gripper's movement through the I / O interface based on the first parameter. The barcode reader execution unit can control the barcode reader to scan codes through the barcode reader interface based on the first parameter.
[0033] Compared to existing technologies, at the actuator control level, the above solution encapsulates the control functions of the robotic arm, AGV, fixture, and code reader into control program function blocks that are easy to call at any time. This approach is easy for non-professionals to understand and get started with. Non-professionals can complete the program development for the new process flow based on conventional action logic, which greatly shortens the development cycle of process flow coding.
[0034] Preferably, the I / O interface also includes a wireless I / O interface unit and a wired I / O interface unit.
[0035] Through the above technical solution, the interface module of this invention integrates a wireless I / O interface unit and a wired I / O interface unit, achieving comprehensive device connectivity. The wireless I / O interface unit supports communication protocols such as Wi-Fi and Bluetooth, eliminating cable constraints and making device deployment more flexible. It is particularly suitable for rapid networking in mobile devices or complex environments, reducing cabling costs and construction difficulty. The wired I / O interface unit, with its stable and high-speed transmission characteristics, ensures real-time and reliable transmission of high-precision data, meeting the latency-sensitive requirements of industrial control and other scenarios. The two work together, balancing flexibility and stability while expanding system compatibility, allowing seamless integration with various new and old devices, and improving the overall system's adaptability and scalability.
[0036] Furthermore, the sensor acquisition module includes at least a visual image recognition unit, a code reading acquisition unit, and a call acquisition unit.
[0037] It should be noted that the aforementioned interface module also includes a camera interface. The second parameter refers to the parameters used to drive the data acquisition unit to perform data acquisition.
[0038] Specifically, the visual image recognition unit can directly acquire image data after the camera takes a picture through the camera interface based on the second parameter. The barcode acquisition unit can acquire the workpiece barcode data after the barcode reader scans it through the barcode reader interface based on the second parameter. And the call acquisition unit can receive the caller's action value through the IO interface based on the second parameter.
[0039] At the sensor acquisition level, the above solution mainly encapsulates program modules in three directions: vision, code reading, and call reception, forming acquisition program function blocks that are easy to call at any time, so as to further shorten the development cycle.
[0040] Furthermore, the logic operation module includes at least four arithmetic operation units, combination operation units, natural exponent operation units, mean operation units, variance operation units, AND, OR, and NOT operation units, and user-defined operation units.
[0041] Specifically, for custom operation units, after the user inputs their custom mathematical expression, the system of this invention will perform the following steps: first, perform syntax analysis and syntax construction on the mathematical expression, then perform infix to postfix conversion or postfix evaluation on the analysis or construction results, and finally output the expected result.
[0042] Through the integrated design of the aforementioned logic operation modules, unified processing and efficient collaboration of multiple types of operations are achieved. Specifically, the four arithmetic operation units meet basic numerical calculation needs, the combinatorial operation unit supports the parsing and execution of complex expressions, the natural exponent operation unit expands scientific computing capabilities, and the mean and variance unit enhances data analysis functions. The AND, OR, and NOT logic units provide hardware-level support for Boolean operations, significantly improving the efficiency of conditional judgments and decision-making. Custom operation units allow users to extend their own algorithms through open interfaces, greatly enhancing the system's adaptability and scalability. Each unit adopts a modular design, allowing for both independent calls and combined use. While ensuring low coupling, shared memory and pipeline optimization techniques achieve a dual improvement in computing speed and resource utilization.
[0043] Furthermore, the processor storage medium of the system of the present invention also stores a counting module, which is used to measure the corresponding dynamic data according to the measurement target set by the user.
[0044] For example, for modular control of AGVs, the aforementioned logic operation module, counting module, and corresponding AGV control unit can be coupled to obtain, as shown below. Figure 2 The control scheme shown is as follows: First, the counter unit is called to start counting. Then, the AND, OR, and NOT operation units in the logic operation module are called to determine whether the counting result (belonging to data acquisition) is greater than the threshold (belonging to the third parameter). If yes, the AGV control unit is called to drive the AGV to move to the first station (belonging to the first parameter). If no, the AGV control unit is called to drive the AGV to move to the first station.
[0045] Similarly, for the control of other actuators, the same combination or coupling methods described above can be used to achieve rapid coding for the actuators.
[0046] Furthermore, the system in this embodiment also includes a graphical programming interface, which is a graphical operation interface with an appearance similar to Photoshop, in which the encapsulated program functions are placed in the tool library in the form of images.
[0047] Specifically, the graphical module links for the equipment control module, sensor acquisition module, interface module, logic operation module, and multi-branch process module are all set in the tool library of the graphical programming interface.
[0048] Through the above technical solution, the system in this embodiment adopts a graphical programming approach to achieve automatic coding. The graphical modules of the device control module, sensor acquisition module, interface module, logic operation module, and multi-branch process module are all linked in the tool library of the graphical programming interface, realizing the visualization of functional modules. This facilitates the quick calling and combination of relevant personnel from the tool library, thereby further shortening the coding development cycle.
[0049] For example, such as Figure 3 As shown, for the multi-branch process control of AGV, the call acquisition unit, multi-branch process module, AND / OR / NOT operation unit and multiple AGV control units in the above sensor acquisition module can be coupled. The control logic after coupling is as follows: first, the call acquisition unit is called to obtain the action value, then the AND / OR / NOT operation unit is called to determine the action value classification, then the multi-branch process module is called to confirm the branch process value, and finally, the corresponding AGV control unit is executed according to the branch process value.
[0050] The system in this embodiment also includes other components well known to those skilled in the art, such as communication interfaces. Their settings and functions are known in the art, and therefore will not be described in detail here.
[0051] In this invention, the aforementioned memory can be any tangible medium containing or storing a program that can be used or combined with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium can be any suitable magnetic or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc., or any other medium that can be used to store desired information and can be accessed by an application, module, or both. Any such computer storage medium can be part of a device or accessible to or connected to a device. Any application or module described in this invention can be implemented using computer-readable / executable instructions that can be stored or otherwise maintained by such a computer-readable medium.
[0052] Example 2 like Figure 4 As shown, based on Embodiment 1, this embodiment discloses a zero-code fast coding method, including: S10: Define the drive instructions for the device control module based on the first parameter set by the user.
[0053] S20: Define the information acquisition instructions for the sensor acquisition module according to the second parameter set by the user.
[0054] S30: Define the coupling logic between drive instructions and information acquisition instructions based on the third parameter set by the user.
[0055] S40: Define the branch execution order of the driver instructions according to the fourth parameter set by the user.
[0056] Preferably, the method of this embodiment can be adjusted according to actual conditions, and delay parameters can be set between the above steps to ensure smooth connection of the actions of each device.
[0057] For example, the specific method for encoding a standard web scraping workflow using steps S10-S40 above is as follows: First, set the first parameter for the AGV control unit, defining the AGV's movement drive command so that when the program executes, it first controls the AGV to move to the corresponding workstation. Next, set the action delay parameter; in this embodiment, the delay time can be set to 100ms to ensure reliable action continuity. Then, set the second parameter for the vision imaging and recognition unit, defining the camera image acquisition command so that after the delay is complete, the camera is controlled to capture the workpiece's position data. Next, set the first parameter for the robotic arm control unit, defining the robotic arm's image capture drive command so that after image acquisition is complete, the robotic arm is driven to move to the corresponding target position based on the image capture result. Finally, set the first parameter for the fixture control unit, defining the fixture control unit's gripping drive action to drive the fixture to grasp the workpiece.
[0058] Furthermore, between any of the steps S10-S40 described above, the method of this embodiment further includes: S100: In response to the user's drag-and-drop behavior, the graphical modules of the device control module, sensor acquisition module, interface module, logic operation module and / or multi-branch process module are linked and presented to the canvas of the graphical programming interface.
[0059] S200: In response to the user's graphical module linking behavior, connect graphical modules that conform to the predefined linking rules in pairs.
[0060] The attribute bar of the graphics module link has a first parameter input field, a second parameter input field, a third parameter input field, and / or a fourth parameter input field.
[0061] Through the above steps S100-S200, when defining a new product manufacturing process, the user can combine multiple graphical modules in pairs by linking them together, and then configure the corresponding parameters for each graphical module link to achieve complete product manufacturing process control.
[0062] Furthermore, after step S40 above, the method of the present invention further includes: S41: In response to the user pressing the call button, obtain the action value.
[0063] S42: Match the corresponding branch drive instruction in the branch execution order based on the action value.
[0064] S43: Send a branch drive command to the corresponding device control module.
[0065] Through the above steps S41-S43, the branch drive instructions of the corresponding equipment control module can be flexibly invoked according to the call instructions issued by the user, so as to adapt to the process action improvement under different application scenarios.
[0066] In the description of this specification, "multiple" means at least two, such as two, three or more, etc., unless otherwise expressly and specifically defined.
[0067] While this specification has shown and described numerous embodiments of the invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Many modifications, alterations, and alternatives will occur to those skilled in the art without departing from the spirit and essence of the invention. It should be understood that various alternatives to the embodiments of the invention described herein may be employed in the practice of this invention.
Claims
1. A zero-code rapid coding system, characterized in that, It includes a processor, a device control module, a sensor acquisition module, an interface module, a logic operation module, and a multi-branch process module; The processor is connected to the device control module through the interface module to define the drive instructions of the device control module according to the first parameter set by the user. The processor is connected to the sensor acquisition module through the interface module to define the information acquisition instructions of the sensor acquisition module according to the second parameter set by the user. The logic operation module is located in the processor's storage medium to define the coupling logic between the driving instructions and the information acquisition instructions according to a third parameter set by the user. The multi-branch process module is located in the processor's storage medium to define the branch execution order of the driver instructions according to a fourth parameter set by the user.
2. The zero-code rapid coding system according to claim 1, characterized in that, It also includes a graphical programming interface; The graphical module links for the device control module, sensor acquisition module, interface module, logic operation module, and multi-branch process module are all located in the tool library of the graphical programming interface.
3. The zero-code rapid coding system according to claim 1, characterized in that, The equipment control module includes at least a robotic arm control unit, an AGV control unit, a fixture control unit, and a code reading execution unit.
4. The zero-code rapid coding system according to claim 1, characterized in that, The sensor acquisition module includes at least a visual image recognition unit, a code acquisition unit, and a call acquisition unit.
5. The zero-code rapid coding system according to claim 1, characterized in that, The interface module includes at least a wireless I / O interface unit and a wired I / O interface unit.
6. The zero-code rapid coding system according to claim 1, characterized in that, The logic operation module includes at least four arithmetic operation units, a combination operation unit, a natural exponent operation unit, a mean operation unit, a variance operation unit, an AND, OR, and NOT operation unit, and a user-defined operation unit.
7. The zero-code rapid coding system according to claim 1, characterized in that, It also includes a counting module disposed in the processor storage medium, the counting module being used to measure the corresponding dynamic data according to the measurement target set by the user.
8. A zero-code fast coding method, characterized in that, For the zero-code fast coding system according to any one of claims 1-7, the method comprises: Define the drive instructions for the device control module based on the first parameter set by the user; Define the information acquisition instructions of the sensor acquisition module according to the second parameter set by the user; Define the coupling logic between the driving instruction and the information acquisition instruction based on the third parameter set by the user; The branch execution order of the driver instruction is defined according to the fourth parameter set by the user.
9. The zero-code fast encoding method according to claim 8, characterized in that, include: In response to the user's drag-and-drop behavior, the graphical modules of the device control module, sensor acquisition module, interface module, logic operation module and / or multi-branch process module are linked and presented on the canvas of the graphical programming interface. In response to the user's graphical module linking behavior, connect graphical modules that conform to the predefined linking rules in pairs; The attribute bar linked to the graphics module is provided with a first parameter input field, a second parameter input field, a third parameter input field, and / or a fourth parameter input field.
10. The zero-code fast encoding method according to claim 8, characterized in that, After defining the branch execution order of the driver instructions, the method further includes: In response to the user pressing the call button, obtain the action value; Based on the action value, match the corresponding branch drive instruction in the branch execution order; Send the branch drive command to the corresponding device control module.
Citation Information
Patent Citations
Robot graphical programming interactive system and robot
CN109605366A
Graphical programming method, device, computer storage medium, and visual system
CN109690473A
Graphical programming method
CN112579070A
Code-free programming method and device, electronic equipment and readable storage medium
CN113535154A
Programming method and device of numerical control machine tool system
CN114968217A