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

Programming language compiling method of PLC (Programmable Logic Controller)

A technology of programming language and compiling method, which is applied in the field of industrial control, can solve the problems of unfavorable PLC promotion and use, poor maintainability, high price, etc., and achieve the effect of clear language logic relationship, saving time, and simple writing format

Inactive Publication Date: 2014-12-24
SHANTOU UNIV +1
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

First of all, due to the large number of manufacturers, various models are incompatible with each other, there is no uniform standard, and the types, numbers, and programming languages ​​​​of programming components are different; secondly, the function realization of the product depends on the hardware, and the data structure is relatively closed. It is difficult for users to freely change or add PLC functions; third, the programming method of current PLC products requires users to have a considerable understanding of the hardware structure of PLC, the electrical principle of PLC, and programming instructions, which is not conducive to the development of PLC. Further promotion and use; Fourth, when the PLC breaks down, it is necessary to use special tools to detect the hardware by professionals, and then repair it, and the maintainability is poor; at the same time, its expensive price also seriously restricts its development

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The present invention is further described below.

[0016] The purpose of the present invention is to convert the PLC programming language into object codes that can be recognized and executed by the PLC hardware. Since the ladder language used in the PLC programming language is a "graphic" language, it is difficult to compile it directly. Considering the one-to-one correspondence between the ladder language and the instruction list language, the ladder language can be used first. Convert to instruction list language. In addition, the logical relationship of the instruction list language is clear, the writing format is simple, and the utilization rate of the code is also improved. Therefore, the present invention selects the instruction list language as the intermediate language. For the ladder diagram language program, it is first converted into the instruction list source program, and then the instruction list is further processed, compiled, and interpreted into the ...

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 the field of industrial control and particularly relates to a programming language compiling method of a PLC (Programmable Logic Controller). The programming language compiling method comprises the following steps: converting an instruction list, analyzing an instruction, generating an intermediate code and generating an object code. According to the method, a trapezoid language program is converted into an instruction list source program by utilizing an instruction list language as a medium according to the one-to-one correspondence relation between the trapezoid language and the instruction list language, and then an instruction list is further processed, compiled and translated into the object code, so that the language logic relation is clear, the writing format is simple, the code utilization rate is high and the compiling effect is good. The programming language compiling method is conductive to providing a soft PLC control scheme applicable to multiple hardware platforms and developing a development system applicable to multiple operating system hardware platforms. When using hardware platforms of different manufacturers as soft PLC operating systems, a user can use the development tool without relearning programming of a new hardware platform, so that a lot of time spent in relearning programming is omitted, and the method has great practical significance in PLC development.

Description

technical field [0001] The invention relates to the field of industrial control, in particular to a method for compiling a PLC programming language. Background technique [0002] For a long time, computer control and traditional PLC control have been the two main control methods in the field of industrial control. Since its inception in 1969, PLC has been rapidly promoted in the field of industrial automation with its advantages of strong functions, high reliability, convenient use and small size, and has become a very competitive control tool in the field of industrial automation. With the rapid development and wide application of computer technology, people gradually realize the various drawbacks of hardware PLC. First of all, due to the large number of manufacturers, various models are incompatible with each other, there is no unified standard, and the types, numbers, programming languages, etc. of programming components are different; It is difficult for users to freel...

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 SHANTOU UNIV
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