Visualized step programming method
A program and application technology, applied in the field of computer programming, can solve problems such as difficulty in use, and achieve the effects of convenient operation, less error-prone, and simple program structure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0024] The invention provides a visual step programming method, which uses computer software to edit the step program, compiles it into a single-chip executable file (such as a hex file), and then downloads it to the single-chip microcomputer of the control board. Therefore, to implement this programming method, it is necessary to create a computer software that can edit step programs and compile them into single-chip executable files. The overall structure of the computer software is as follows:
[0025] 1. First write different MCU bottom-level programs (such as GK0110.c) for different control boards, and create a required description file (GK0110.h). All control board bottom-level programs can be placed in the same directory for selection.
[0026] 2. According to the model of the control board, import the operation object, action mode, and parameters in the corresponding description file into the database.
[0027] 3. According to the imported data: edit the step-by-step ...
example 1
[0066] A simple function program, one input X0 and one output Y0, when the power is turned on, Y0 is off, when X0 is triggered, Y0 is on, when X0 is triggered again, Y0 is off, the program of step programming is as follows figure 1 . The program is divided into two steps, the first step is executed when the machine is turned on, the name of the first step is shutdown, and the next action is to be done: Y0 shutdown. Then one line is a detection jump. When the condition is met (X0 triggers), it will jump to another step (open). If the condition is not met, it will continue to check the condition. The meaning of the second step is the same as the first.
[0067] The core feature of step programming is that the program is composed of several steps, and each step is composed of several actions and several jumps. Each action consists of an operation object, an action mode, and several parameters. Jumps are divided into conditional jumps and direct jumps. Conditional jumps include...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 