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

Method and system for conversing trapezoidal pattern to be instruction catalogue program, and interpretation execution method and system

A ladder diagram program, interpretation and execution technology, which is applied in the field of converting ladder diagrams into instruction list programs and interpretation and execution and systems, can solve the problem of inapplicability, without mentioning ladder diagram program conversion instruction tables, and ladder diagrams cannot be obtained well Conversion results and other issues to achieve the effect of improving efficiency

Inactive Publication Date: 2010-07-28
NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This method is the same as the existing known conversion scheme, only applicable to the conversion from the ladder diagram containing single output to the instruction list, and its weak point is that there is no mention of how to convert the ladder diagram program to the instruction list containing multiple outputs, And for some ladder diagrams with complex series-parallel logic relations, the conversion results cannot be obtained very well, that is, it is not suitable for ladder diagram programs with relatively complicated series-parallel logic relations

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
  • Method and system for conversing trapezoidal pattern to be instruction catalogue program, and interpretation execution method and system
  • Method and system for conversing trapezoidal pattern to be instruction catalogue program, and interpretation execution method and system
  • Method and system for conversing trapezoidal pattern to be instruction catalogue program, and interpretation execution method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The ladder diagram program is composed of icons connected according to certain rules, and executed in order from top to bottom and from left to right, so the ladder diagram essentially corresponds to a directed graph. During the conversion process, the icons of the PLC ladder diagram program can be abstracted as the vertices of the AOV diagram, the connection relationship between the icons can be abstracted as the arcs of the AOV diagram, and the logical relationship between the icons can be represented by the binary tree structure. The leaf node of the definition binary tree represents the ladder diagram symbol, and the non-leaf node represents the logical relationship (serial or parallel connection) of its left and right subtrees, then each line of the PLC ladder diagram program forms a binary tree, and the entire PLC ladder diagram program is An ordered forest of binary trees. After the binary tree corresponding to the ladder diagram program is generated, the convers...

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 method and a system for converting a ladder diagram into an instruction list and carrying out the interpretive execution of an instruction list. The ladder diagram conversion method comprises the following steps: mapping the ladder diagram to an AOV diagram, establishing a binary tree representative of the logical relationship between the instructions based on the AOV diagram, and converting the ladder diagram to the instruction list by the postorder traversal of the binary tree. The method and the system perform the conversion between various complex ladder diagramsand instruction lists, particularly the conversion of the multi-output ladder diagram to the instruction list. Additionally, the converted instruction list exists in the form of postorder expression,which is conducive to increasing the efficiency of interpretive execution of the PLC master controller.

Description

technical field [0001] The invention relates to a method and system for converting a ladder diagram into an instruction list program and explaining and executing the instruction list. Background technique [0002] Ladder diagram and instruction list are commonly used programming languages ​​for programmable logic controllers (Programmable Logic Controller, PLC). The ladder diagram language originated from relay logic and execution line diagrams. Different icons are used to represent different instructions, and concepts such as series and parallel are used to organize the sequential positions of icons to express control logic. The ladder diagram is intuitive and echoes the electrical control schematic diagram, but it is non-executable code for PLC and cannot be run directly. The instruction table is a series of self-defined instruction sets that conform to the IEC61131-3 standard, similar to assembly language. Each instruction is composed of opcode and operand, and the prog...

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): G05B19/05
Inventor 葛芬吴宁张颖周芳丁昌圣
Owner NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
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