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, applied in the field of converting ladder diagram to instruction list program and explaining execution and system, can solve inapplicable, no mention of ladder diagram program conversion instruction list, ladder diagram can not be obtained well Conversion results and other issues to achieve the effect of improving efficiency

Inactive Publication Date: 2009-02-11
NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF0 Cites 57 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 instr

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 diagrams and 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
IPC IPC(8): G05B19/05
Inventor 葛芬吴宁张颖周芳丁昌圣
Owner NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products