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

A Function Block Function Modeling Method for Visual Programming

A modeling method and function block technology, applied in the field of visual programming, can solve the problems that modeling methods are difficult to solve, such as limited code space for efficient code performance, limited code space, lack of cross-platform porting, etc. Economic benefits and the effect of enhancing data interaction capabilities

Active Publication Date: 2015-08-12
NR ELECTRIC CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Some of the existing modeling methods refer to the IEC61131 standard, and use structured text description to form code interpretation and execution. However, embedded device programs require high-efficiency code, and the code space is limited. The modeling method based on IEC61131 is difficult to solve. Efficient Code Performance and the Conflict of Limited Code Space
ABB's Hidraw tool adopts a custom output stream modeling method combined with a specific CPU. Part of the output is assembly code, and the code body is subject to the format of the output stream and the target compiler, which is lacking in cross-platform transplantation.

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
  • A Function Block Function Modeling Method for Visual Programming
  • A Function Block Function Modeling Method for Visual Programming
  • A Function Block Function Modeling Method for Visual Programming

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The technical solution of the present invention will be described in detail below.

[0018] The present invention provides a function block function modeling method for visual programming, which includes the following three parts:

[0019] The first part defines the text segment of the function block function;

[0020] In order to improve editing efficiency, a function block text definition edit box is provided, which automatically lists 7 key fields, namely: description information, included header file content, parameter information, member variables, construction code segment, initialization code segment and function body Code snippets, where header files contain information and variable definitions. By dividing the function block attributes and code into seven parts, the content related to the code is described in C language, the format is flexible, and it can run across platforms.

[0021] After listing 7 key fields, users can fill in the description information,...

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 discloses a functional block function modeling method for visual programming, which includes: the first step, defining text segments of the functional block function as seven key fields including information description, header file content, parameters, member variables, a code structuring segment, a code initializing segment and a function body code segment, wherein a header file comprises information and variable definition; the second step, analyzing a functional block defining text, extracting segment content corresponding to the key fields, extracting formal parameters of function to form input points of graphs; utilizing a returned value as a first input point in a default manner; analyzing definition statements of the member variables to form an output variable table and output the same; and the third step, processing extensional conditional-compilation statements during code generation, and outputting branch codes corresponding to the conditions. The member variables in the functional block function modeling method are flexible in definition, easy to transplant, visual and understandable, and are convenient for users to develop and maintain.

Description

technical field [0001] The invention belongs to the field of visual programming, and provides a modeling and editing method of visual editing symbols for application personnel, and specifically relates to the modeling processing of function block functions. Background technique [0002] Visual programming is an object-oriented graphical software development method. In order to realize application functions, various programming symbols are used to build program models and configure data flows, and schematic diagrams are used to represent program languages ​​and form target files. Before visual programming, it is necessary to create a set of functional function libraries for graphical programming. For this purpose, it is necessary to define a set of modeling methods and rules for functional blocks, which are convenient for application personnel to master, and provide tools for data definition and graphic editing. Some of the existing modeling methods refer to the IEC61131 stan...

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 Patents(China)
IPC IPC(8): G06F9/45
Inventor 冯亚东刘克金陈宏君周强邱大为徐东方张磊王国栋
Owner NR ELECTRIC CO LTD
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