Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Inactive Publication Date: 2013-12-25
彭武
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The ladder diagram is relatively simple, but requires professional electrical knowledge
[0004] The above two programming methods are difficult for people without professional background to use

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Visualized step programming method
  • Visualized step programming method

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of computer programming, in particular to a visualized step programming method. The visualized step programming method comprises the following steps: different target base programs are written for different programming targets, and an instruction file is formed; according to the instruction file of the programming targets, operation objects, motion patterns, parameters and other data are imported into a database; step programs are edited according to the imported data; the step programs generate application programs according to the operation objects and the motion patterns which are imported; an external compiler is invoked to compile the base programs and the application programs into files which can be executed by the targets; the files which can be executed by the targets are loaded into a program execution body. The visualized step programming method is simple in structure, visualized, and capable of being used for Chinese programming; by adopting a selective programming mode, operation is convenient, and errors do not occur easily; the programming is easy so that the technical requirement for programming personnel can be lowered, and the development cycle can be shortened; the programs are simple and compact in structure, and the stability of program run can be improved; the visualized step programming method is wide in application range.

Description

[0001] technical field [0002] The invention relates to the technical field of computer programming, in particular to a visual step programming method. Background technique [0003] At present, in the field of industrial control, there are mainly two types of programming for control boards, one is PLC programming using ladder diagrams, and the other is single-chip microcomputer programming using assembly or C language. Assembly and C language are professional computer programming languages ​​and require high professional knowledge. The ladder diagram is relatively simple, but requires professional electrical knowledge. [0004] The above two programming methods are difficult for people without professional background to use. Contents of the invention [0005] The invention provides a visual step programming method, which is simple and intuitive, has low requirements for technical personnel, wide application range, good program stability, convenient operation and less er...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/04
CPCG06F8/30
Inventor 彭武
Owner 彭武