A Transformation Method between PLC Ladder Diagrams and Instruction Lists Using Recursive and Stack Algorithms

Article Preview

Abstract:

The method of transforming a ladder diagram (LD) and an instruction list (IL) of PLC (Programmable Logic Controller) to each other is investigated in this paper. Firstly, ladder-step is adopted on transforming LD into IL. Ladder-step is divided series or parallel by using recursive algorithm, and then complicated ladder-step can be divided into several simple ladder-steps which can be converted to IL easily. When obtaining simple ladder-steps’ IL, combining them together to get final IL program of complicated LD program. Secondly, on transforming IL into LD, stack algorithm contributes a lot. Scanning IL to generate LD of each instruction block, and then pushing them into stack. Combine LDs in the stack by operating instruction, and then IL is transformed into LD successfully. Finally, in the last part of this paper, we show our PLC software and lower position machine. In addition, this transforming algorithm has already applied in PLC software successfully.

You might also be interested in these eBooks

Info:

Periodical:

Advanced Materials Research (Volumes 490-495)

Pages:

1908-1912

Citation:

Online since:

March 2012

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2012 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] F Ge, N Wu: Tencon 2006 - 2006 Ieee Region 10 Conference, Vols 1-4 (2006) 188-91.

Google Scholar

[2] FH Hu, L Fu, L Liu, GQ Zhang: Paciia: 2008 Pacific-Asia Workshop on Computational Intelligence and Industrial Application, Vols 1-3, Proceedings (2008), pp.780-84.

Google Scholar

[3] Li D, Cai Q, Pei F: Intelligent Computing and Intelligent Systems (ICIS), Vol 3(2010), pp.820-23.

Google Scholar

[4] Karl-Heinz John, Michael Tiegelkamp: IEC 61131-3: Programming Industrial Automation Systems(Springer Heidelberg Dordrecht London New York, German, 2010).

DOI: 10.1007/978-3-662-07847-1_4

Google Scholar

[5] ZY Tang, TY Wang, JC Dong, ZF Qiao, XG Ling, YY Ding: Control, Automation and Systems Engineering (CASE), 2011 International Conference on, (2011) 1-4.

Google Scholar

[6] KH Moonga, Linrui You , Shaojun, Liu: Proceedings of the World Congress on Engineering 2011, WCE 2011, Vol 2(2011), pp.949-954.

Google Scholar

[7] Yan Y, Zhang HP: Computers in Industry, Vol 61(2010) NO. 5, pp.448-62.

Google Scholar

[8] Huuck, Ralf: Electronic Notes in Theoretical Computer Science, v 115 (2005) pp.3-18.

Google Scholar