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
Published:2016-01-28 author:ZHOU Wei, ZHANG De li Browse: 2219 Check PDF documents

 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

Copyright 2010 Zhejiang Information Institute of Mechinery Industry All Rights Reserved

Technical Support:Hangzhou Bory science and technology

You are 1895221 visit this site