JOURNAL OF MECHANICAL & ELECTRICAL ENGINEERING
Founded in 1971 >
Chinese Sci-tech Core Periodicals >
British Science Abstracts (SA, INSPEC) Indexed Journals >
United States, Cambridge Scientific Abstract: Technology (CSA: T) Indexed Journals >
United States, Ulrich's Periodicals Directory(UPD)Indexed Journals >
United States, Cambridge Scientific Abstract: Natural Science (CSA: NS) Indexed Journals >
Poland ,Index of Copernicus(IC) Indexed Journals >
International Standard Serial Number:
ISSN 1001-4551
Sponsor:
Zhejiang University;
Zhejiang Machinery and Electrical Group
Edited by:
Editorial of Journal of Mechanical & Electrical Engineering
Chief Editor:
ZHAO Qun
Vice Chief Editor:
TANG ren-zhong,
LUO Xiang-yang
Tel:
86-571-87041360,87239525
Fax:
86-571-87239571
Add:
No.9 Gaoguannong,Daxue Road,Hangzhou,China
P.C:
310009
E-mail:
meem_contribute@163.com
Research on the conversion algorithm of PLC function block diagram to instruction list based on nary trees
Research on the conversion algorithm of PLC function block diagram
to instruction list based on nary trees
ZHOU Wei, ZHANG De li
(College of Mechanical and Electrical Engineering, Nanjing University of
Aeronautics and Astronautics, Nanjing 210016, China)
Abstract: Aiming at the problem of multiple output of the soft PLC, the conversion algorithm of PLC function block diagram (FBD) to instruction list (IL) based on Nary Trees was proposed and implemented. In this algorithm, firstly, the FBD program is mapped to the Nary Trees. On this basis, through decomposition and reorganization of the Nary Trees, the complex tree structure generation was decomposed into a collection of ordered subtree structure. And then the decomposed tree structures are sequentially visited in the post order traversal way. Depending on the different nodes types which are translated into the corresponding IL, the PLC FBD, finally, was achieved to be converted to the IL. An example was given to illustrate the ideas and implementation steps of the algorithm. Experimental verification of soft PLC host computer system ,based on the IEC61131 3 international standard, was carried out. The experimental result shows that the algorithm is a general conversion algorithm for conversion of complex FBD with multiple outputs into IL. And in the process of the conversion, the algorithm can preferably simplify the procedures, save more memory space and improve the efficiency of PLC FBD compilation conversion.
Key words: nary trees; multiple output; programmable logic controller(PLC); function block diagram; decomposition and reorganization
-
- Chinese Core Periodicals
-
- Chinese Sci-tech Core Periodicals
-
- SA, INSPEC Indexed
-
- CSA: T Indexed
-
- UPD:Indexed
-