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

Method for generating IL instruction lists of PLC ladder diagrams

An instruction list and ladder diagram technology, applied in the field of high-level language compilation or interpretation, can solve problems such as the need to improve processing efficiency, and achieve the effect of perfecting the intelligent error reporting function, strong compilation adaptive ability, and improving efficiency

Inactive Publication Date: 2014-07-23
东莞市升力智能科技有限公司
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Professor Wu Tiejun of Zhejiang University and his scientific research team realized the programming of LD, FBD, ST, and SFC after studying the IEC61131-3 standard. The four languages ​​use corresponding compilation algorithms to generate C language, and then use specific The analysis algorithm is further processed to generate the target code, and the simulation function is provided at the same time, but the processing efficiency needs to be improved

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 generating IL instruction lists of PLC ladder diagrams
  • Method for generating IL instruction lists of PLC ladder diagrams
  • Method for generating IL instruction lists of PLC ladder diagrams

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0076] The method firstly carries out the first layer of hierarchical processing, and carries out hierarchical classification processing to the PLC ladder diagram by a hierarchical algorithm, such as figure 1 As shown, the IL instruction table conversion process is performed on the first-level PLC ladder diagram, the second-level PLC ladder diagram and the subroutine PLC ladder diagram respectively; and the corresponding program end mark is added after the conversion of each level of program is completed.

[0077] Then carry out the second layer of sub-network processing, after entering the IL instruction table conversion process of each level of PLC ladder diagram, through the sub-PLC ladder diagram compilation algorithm, perform IL instruction table conversion processing on this level of PLC ladder diagram according to the network order, as shown in FIG. figure 2 As shown, its processing flow is as follows:

[0078] (1) Empty the IL language storage container;

[0079] (2)...

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 generating IL instruction lists of PLC ladder diagrams, and relates to the technical field of compiling or interpretation methods of a high-level language. The method comprises the following steps of (1) conducting first-layer classification and classification treatment on the PLC ladder diagrams through a classification algorithm, (2) then conducting second-layer network-dividing treatment, after a process that the IL instruction list of each level of PLC ladder diagram is performed, conducting IL instruction list converting treatment on the level of the PLC ladder diagram through a sub PLC ladder diagram compiler algorithm according to the network sequence, (3) finally, conducting third-layer branch treatment, conducting traversal on pels of each line of the network, conducting IL instruction list conversion treatment, and generating the IL instruction lists. The method is used for generating the IL instruction lists, and the method has the advantages of being convenient to implement and fast, efficient and short in failure checking period, and having the high self-adaption performance.

Description

technical field [0001] The invention relates to the technical field of compilation or interpretation of high-level languages, in particular to a method for generating an IL instruction table. Background technique [0002] With the advancement of science and technology, the new generation of numerical control technology plays an increasingly important role in improving social productivity and upgrading the manufacturing industry. PLC technology is an important part and development direction of the new generation of numerical control technology. It has functions such as switch and analog control, numerical calculation, and communication. It runs the core through PLC (Programmable Logic Controller, Programmable Logic Controller), which is fast and accurate. The ground scan control program communicates with the I / O system to realize the control function. In addition, the IEC61131-3 standard has played a great role in the specification and promotion of PLC programming. [0003]...

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/45
Inventor 李松莫广锋张翰
Owner 东莞市升力智能科技有限公司
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