Supercharge Your Innovation With Domain-Expert AI Agents!

A Conversion Method from PLC Ladder Diagram to Instruction List Based on Logistics Production Line Control

A conversion method and ladder diagram technology, applied in the field of PLC, can solve problems such as low conversion efficiency and delay of mutation programs, and achieve the effect of simplifying processing, reducing repetition and improving conversion efficiency.

Active Publication Date: 2020-01-31
CHINA TOBACCO SICHUAN IND CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a method for converting PLC ladder diagrams to instruction tables based on logistics production line control, which is used to solve the problems of low conversion efficiency and delayed variation programs when complex ladder diagrams are converted into instruction tables in the prior art

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 Conversion Method from PLC Ladder Diagram to Instruction List Based on Logistics Production Line Control
  • A Conversion Method from PLC Ladder Diagram to Instruction List Based on Logistics Production Line Control
  • A Conversion Method from PLC Ladder Diagram to Instruction List Based on Logistics Production Line Control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] A conversion method from a PLC ladder diagram to an instruction list based on logistics production line control, comprising:

[0048] Establish the mapping from the ladder diagram to the AOV diagram, the ladder diagram is as follows figure 2 As shown, first establish a doubly linked list for storing the ladder diagram in the editing process. The ladder diagram is a process of dynamic editing, which requires operations such as modification and search, and the doubly linked list is suitable for dynamic editing. Such as figure 1 As shown, each node of the doubly linked list has a successor pointer and a predecessor pointer, and each of the successor pointer and the predecessor pointer builds a linked list of its own circular chain. Therefore, each graphic element of the ladder diagram can be stored in the data of the doubly linked list, and the front and back relationship of the graphic elements can be stored in the pointer field, so that each row of the ladder diagram c...

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 logistics-production-line-control-based method for conversion from a PLC ladder diagram to an instruction table. The method comprises: S1, ladder diagram information is stored by using a double linked list, the double linked list is abstracted to obtain vertex information and arc node information in an AOV map, and mapping is carried out to obtain an AOV map; S2, quick ladder scanning is carried out to construct a logic tree for the AOV map; S3, logic nodes of the logic tree are deleted, combination is carried out and then traverse processing is carried out to generate an instruction table; and S4, the instruction table is outputted. According to the invention, the ladder diagram elements are stored by using the double linked list and thus the ladder diagram can be mapped into the AOV map; quick ladder scanning is carried out to construct the logic tree for the AOV map, so that repetition is reduced, the scanning is accelerated, and the conversion efficiency is improved; the logic nodes are deleted before logic tree traverse processing and the AOV map is simplified, so that the scanning speed is increased.

Description

technical field [0001] The invention relates to the technical field of PLC, in particular to a conversion method from a PLC ladder diagram to an instruction list based on logistics production line control. Background technique [0002] Logistics production line is an important part of industrial production. Logistics production line is usually controlled by PLC (programmable logic controller). PLC usually has five languages, among which ladder diagram and instruction list are the two most commonly used languages. Before the PLC generates the target code for the logistics production line to execute, it needs to complete the conversion from the ladder diagram to the instruction list. When encountering a large and complex ladder diagram program, the conversion efficiency is low, the program compilation is delayed, and the real-time performance of the control is affected. Contents of the invention [0003] The object of the present invention is to provide a kind of conversion...

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): G05B19/05
CPCG05B19/054G05B2219/1103
Inventor 张宝魏东梅李学敏杨涛陶栩卓亮庞毅飞张婧卞长智李欣朋
Owner CHINA TOBACCO SICHUAN IND CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More