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

Method for converting structural text language into trapezoidal graph language

A technology of structured text and ladder diagram, applied in the conversion field, to achieve the effects of easy correction, improved work efficiency, and convenient storage

Active Publication Date: 2012-07-04
SHENYANG GOLDING NC & INTELLIGENCE TECH CO LTD
View PDF1 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there is no report on the method of converting structured text language to ladder diagram language

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 structural text language into trapezoidal graph language
  • Method for converting structural text language into trapezoidal graph language
  • Method for converting structural text language into trapezoidal graph language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The method that the present invention converts structured text language into ladder diagram language comprises the following steps:

[0047]Equivalent normative processing of structured text logic statements according to the IEC 61131-3 standard;

[0048] According to the normalized structural text logic statement, determine the level of each element in its parentheses and whether the logical operators before and after are "AND" or "OR". Two-dimensional coordinates, one by one positioning;

[0049] Convert each element of the positioned structural text into an intermediate code. The intermediate code of each element includes the type of primitive, coordinates of the primitive and parameter information, and convert the intermediate code into ladder diagram.

[0050] In this embodiment, in the process of editing the structured text logic, in order to process the structured text statement conveniently, first replace "AND" with "*", "OR" with "+", and ":=" with " =", and...

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 a structural text language into a trapezoidal graph language, which comprises the following steps of performing equivalent standard treatment on structural text logic statement according to the international electrotechnical commission (IEC) 61131-3 standard; determining a layer of each element in brackets which the element is located in and determining logical operators in the front and at the back are 'AND' or 'OR' according to the structural text logic statement after the standard treatment, performing one-to-one location of the elements in a text in a two-dimensional coordinate in a trapezoidal graph according to the corresponding primitive of the elements; converting the elements in the structural text after location into immediate codes, enabling an immediate code of each element to comprise primitive types, primitive coordinate and parameter information, and utilizing each written functional function for drawing the trapezoidal graph to convert the immediate codes into the trapezoidal graph. The method for converting the structural text language into the trapezoidal graph language has good generality, can fast and accurately converting any complex structural text into the trapezoidal graph, and helps a user to design a structural text and the trapezoidal graph which accord with the international standard, and errors existing in a program are easy to correct.

Description

technical field [0001] The invention relates to a conversion method of an industrial control language, specifically a method for converting a structured text language into a ladder diagram language. Background technique [0002] Programmable logic controller (programmable logic controller, PLC) is widely used in today's industrial control. 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 ladder diagram (LD), sequential function chart (SFC), function block diagram (FBD), and structured text (ST), instruction list (IL). Among them, the ladder diagram is very similar to the circuit diagram ...

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): G06F9/44G05B19/05
Inventor 于浩明刘伟刘占清
Owner SHENYANG GOLDING NC & INTELLIGENCE TECH 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