Method for converting ladder diagram language into structure text language

A technology of structured text and ladder diagram, applied in the direction of program control device, etc., can solve the problems such as the lack of a ladder diagram language conversion method, difficulty in mastering, and the intuition of electrical engineering personnel, so as to reduce the threshold, facilitate use, and improve programming efficiency. Effect

Active Publication Date: 2011-01-26
SHENYANG GOLDING NC & INTELLIGENCE TECH CO LTD
View PDF1 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For those who are familiar with the development of high-level computer languages, structured text language is easy to learn and use, but it is not intuitive enough for the electrical engineering personnel in the factory, and it is difficult to master it.
[0005] Therefore, it is a very important problem to realize the conversion of ladder diagram language to structured text language, and to realize ladder diagram programming in the environment where only structured text programming can be used in the past, and there is no public method for converting ladder diagram language to structured text language at present

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 for converting ladder diagram language into structure text language
  • Method for converting ladder diagram language into structure text language
  • Method for converting ladder diagram language into structure text language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] A kind of ladder diagram language of the present invention is converted into the method for structured text language and comprises the following steps:

[0054] Store the ladder diagram language as a storage structure conducive to editing and conversion, including introducing virtual nodes at the intersections of vertical lines and other icons in the ladder diagram, that is, real nodes;

[0055] Merge the virtual nodes to form an AOV graph;

[0056] According to the above-mentioned AOV graph, according to the node order of its topological sorting, and according to the different types of each node, the AOV graph is converted into a structured text.

[0057] This embodiment takes image 3 The ladder diagram shown is taken as an example. In the process of editing the ladder diagram, the symbols of the ladder diagram are connected in a series-parallel relationship. The ladder diagram can be abstracted into a graph data structure, where the symbols are the vertices of the g...

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 a method for converting ladder diagram language into structure text language, which comprises the following steps of: storing the ladder diagram language into a storage structure beneficial to edition and conversion, and introducing virtual nodes at intersection points between vertical lines and other ladder diagram symbols which refer to real nodes; merging the virtual nodes to form an AOV (Amplitude Versus Offset) diagram; and converting the AOV diagram into a structure text by classifying different types of nodes according to the node sequence of the AOV diagram intopological sorting. The method has generality and can be used for accurately and effectively convert any complex ladder diagram into a structure text. Visual ladder diagram programming is realized in places where only structure text programming can be used formerly, so that user use is convenient, the threshold of PLC (Programmable Logic Controller) programming is reduced, and the programming efficiency of PLC is increased.

Description

technical field [0001] The invention relates to a technology for realizing language conversion by using computer software, in particular to a method for converting ladder diagram language into structured text language. Background technique [0002] The equipment manufacturing industry is the basic industry of the national economy and national defense construction, and its core technology is the numerical control system. Programmable logic controller (PLC, Programmable Logic Controller) is an important part of the numerical control system, it has logic operation, arithmetic operation, timing, counting, data processing, transmission, communication, self-diagnosis and other functions. The rapid development of computer technology and the promulgation of the IEC 61131-3 standard have promoted the further development of PLC. The five standard PLC programming languages ​​stipulated in the IEC 61131-3 standard include three graphical languages ​​and two textual languages, namely la...

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): G06F9/44
Inventor 刘伟黄柳文刘占清
Owner SHENYANG GOLDING NC & INTELLIGENCE TECH CO LTD
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