Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

System, method and device for automatically generating program according to function block diagram

An automatic generation, function block diagram technology, applied in the direction of program code conversion, visual/graphic programming, creation/generation of source code, etc., can solve the problems of complex modeling, difficult implementation, and cumbersome process.

Active Publication Date: 2019-08-20
HANGZHOU DIANZI UNIV
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the traditional method of converting function block diagram programs to instruction set programs in the PLC field has disadvantages such as complex modeling, cumbersome process, and difficult implementation.

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
  • System, method and device for automatically generating program according to function block diagram
  • System, method and device for automatically generating program according to function block diagram
  • System, method and device for automatically generating program according to function block diagram

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The method of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments of the present invention.

[0034] A system for automatically generating programs according to function block diagrams, said system comprising:

[0035] The function block class unit stores at least one function block class, and the function block class is a class abstractly encapsulated by the function block;

[0036] The directed graph generation unit converts the two function blocks associated with the operator's connection and / or assignment operation into a corresponding directed graph;

[0037] The instruction set generating unit traverses the directed graph, performs variable substitution, and generates instruction set codes.

[0038] The working principle of the above-mentioned technical solution is: using the object-oriented method, in the process of the user writing the function block diagram program, based on the user's c...

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 belongs to the technical field of program development, and particularly relates to a system, method and device for automatically generating a program according to a function block diagram. The system comprises a function block class unit, a directed graph generation unit, and an instruction set generation unit, wherein the function block class unit stores at least one function blockclass, and the function block class is one class formed by abstract packaging of function blocks; the directed graph generation unit is used for converting the two function blocks associated with theconnection and / or assignment operation performed by an operator into corresponding directed graphs; and the instruction set generation unit is used for traversing the directed graph and carrying out variable replacement to generate an instruction set code. For the system, method and device for automatically generating a program according to a function block diagram, the conversion process is simple and efficient; the program development threshold is lowered; the standardization degree is high; and the application range is wide.

Description

technical field [0001] The invention belongs to the technical field of program development, and in particular relates to a system, method and device for automatically generating programs according to function block diagrams. Background technique [0002] Programmable logic controller (PLC) is widely used in the field of automation in the world. With the emergence of more and more PLC manufacturers, the demand for mutual cooperation and mutual transplantation between the PLCs of various manufacturers has increased significantly. A clear and standardized PLC programming language standard is very important. The IEC61131-3 standard is the third part of the IEC61131 standard formulated by the International Electrotechnical Commission (IEC), which is used to standardize the programming language specification of PLC. It makes it easier for the PLC programs of various manufacturers to be transplanted and compatible with each other. [0003] FBD function block diagram language is o...

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): G06F8/30G06F8/34G06F8/41
CPCG06F8/311G06F8/34G06F8/447
Inventor 邬惠峰严义陈佰平赵建勇
Owner HANGZHOU DIANZI UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products