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

SFC-to-ladder-diagram conversion method based on PLC programming

A conversion method, ladder diagram technology, applied in the direction of electrical program control, program control in sequence/logic controllers, etc., can solve the problem of sequence control program conversion and other problems that have not yet been proposed

Active Publication Date: 2014-07-23
SOUTHEAST UNIV
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, no one has yet proposed a method for converting sequential control programs into ladder diagrams or instruction lists

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
  • SFC-to-ladder-diagram conversion method based on PLC programming
  • SFC-to-ladder-diagram conversion method based on PLC programming
  • SFC-to-ladder-diagram conversion method based on PLC programming

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described below in conjunction with the accompanying drawings.

[0023] Such as figure 1 As shown in , start to convert a program block, first judge whether its starting point is the beginning and end of the alternative branch or the parallel start line and end line branch line, if not, it is judged to be a single sequence program block, and traverse down until it encounters Select the start and end of the branch or connect the start and end lines of the branch line in parallel and convert it into a ladder diagram, then judge whether it reaches the last line, if it is the last line, convert the next program block, otherwise continue to the next cycle of this program block ; Otherwise, if it is the start and end of the alternative branch or the parallel start line and end line branch line, it is judged to be a series-parallel block, and then a further judgment is made to determine whether it is the start and end of the alternative br...

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 an SFC-to-ladder-diagram conversion method based on PLC programming. The method includes the following steps: (1) performing traversal on an SFC program column link list so as to obtain program blocks containing effective icons and converting the program blocks into a two-dimensional array for storage; (2) dividing the program blocks in step (1) into single-sequence program blocks and serial and parallel connection program blocks and if the program blocks are single-sequence program blocks, converting the program blocks directly into ladder diagrams, or else entering step (3); (3) judging whether the serial and parallel connection program blocks in step (2) are of a serial-connection structure or a parallel-connection structure; (4) dividing the serial and parallel connection program blocks in step (2) into a plurality of branches and checking each branch; if the branches are of a single-sequence structure, directly converting the branches into a ladder diagram, or else entering step (2). The invention provides the SFC-to-ladder-diagram conversion method so that a work of converting an SFC into the ladder diagram and then further converting the ladder diagram into an instruction table is completed so that communication of the PLC and a lower computer is realized.

Description

technical field [0001] The invention relates to a conversion method based on SFC in PLC programming to a ladder diagram. Background technique [0002] Sequence control is an important method of PLC programming, which refers to making each actuator operate automatically and orderly according to the sequence specified in the production process, under the action of each input signal, according to the internal state and event sequence. The SFC (Sequential Function Chart) language defined in the IEC61131-3 standard is a state transition diagram language that describes the control process, functions and characteristics of the control system. It mainly consists of steps, directed connections, conversion conditions and actions (or commands) composition. It has the characteristics of simplicity and intuition. With this programming method, it is easy to write complex book order control programs, thereby improving work efficiency, and it is also very convenient for program debugging. ...

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): G05B19/05
Inventor 周一帆卞扬清张志胜童炜山
Owner SOUTHEAST 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