Unlock instant, AI-driven research and patent intelligence for your innovation.

A method of converting PLC ladder diagram to instruction table based on generator set controller

A technology of generator set and ladder diagram, which is applied to the program control, electrical program control, program control design and other directions in the sequence/logic controller, and can solve the problems of instruction redundancy, instruction translation error, and error correction, etc.

Active Publication Date: 2017-06-27
SMARTGEN TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The programming language of PLC generally adopts five kinds of ladder diagram language (LD), instruction list language (IL), function block language (FBD), sequential function flow chart language (SFC) and structured text language (ST). However, when using In the process, sometimes it is necessary to convert between the ladder diagram and the instruction table, but the common method cannot correct errors in the process of converting the ladder diagram to the instruction table, and it is also prone to instruction translation errors or instruction redundancy.

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
  • A method of converting PLC ladder diagram to instruction table based on generator set controller
  • A method of converting PLC ladder diagram to instruction table based on generator set controller
  • A method of converting PLC ladder diagram to instruction table based on generator set controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The technical solutions of the present invention will be described in further detail below through specific implementation methods.

[0019] Such as figure 1 As shown, a method based on the PLC ladder diagram of the genset controller to transfer the instruction table comprises the following steps:

[0020] Step 1: Build an intermediate tree based on the PLC ladder diagram:

[0021] Wherein, the node of described middle tree comprises leaf node and relationship node, and described relationship node is the parent node of logic node of PLC ladder diagram, comprises series node S and parallel connection node P; Described leaf node is logic node switch in PLC ladder diagram amount; each leaf node must have a relationship parent node, if the child node of the relationship node is a relationship node, the relationship child node cannot be of the same type as the parent node. according to figure 1 The intermediate tree generated by the shown PLC ladder diagram is as follows ...

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 provides a method for converting a PLC ladder diagram based on a generator set controller to an instruction table, comprising the following steps: step 1: constructing an intermediate tree according to the PLC ladder diagram; step 2: traversing the intermediate tree; step 3: outputting the generated in step 2 instruction table. The method of the invention provides a method for generating an instruction table from a PLC ladder diagram, which can automatically detect errors and redundancy, generate an intermediate tree structure from the PLC ladder diagram, and then generate an instruction table from the tree structure.

Description

technical field [0001] The invention relates to a method for transferring an instruction table, in particular to a method for transferring an instruction table based on a PLC ladder diagram of a generator set controller. Background technique [0002] The programming language of PLC generally adopts five kinds of ladder diagram language (LD), instruction list language (IL), function block language (FBD), sequential function flow chart language (SFC) and structured text language (ST). However, when using In the process, sometimes it is necessary to convert between the ladder diagram and the instruction table. However, the common method cannot correct errors in the process of converting the ladder diagram to the instruction table, and it is also prone to instruction translation errors or instruction redundancy. Contents of the invention [0003] The purpose of the present invention is to aim at the deficiencies in the prior art, and provides a kind of method that is easy to r...

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 Patents(China)
IPC IPC(8): G06F9/45G05B19/05
Inventor 赵宣霖冯斌王向前王磊刘蕊董俊丽
Owner SMARTGEN TECH