摘要
介绍了基于二叉树数据结构的可编程控制器梯形图转换为语句表的方法,阐述了转换时用到的主要数据结构、节点串并联关系确立时搜索节点左右连接的迷宫算法、二叉树的生成以及基于二叉树的指令表语句输出过程.对梯形图转换的特殊情况进行了论述,实验结果证明了本算法是可行的.
A transformation from programmable logic controller(PLC) ladder diagram to instruction lists based on binary tree was introduced.The main data structure,the maze algorithm determining serial or parallel relation between nodes,the creation of binary tree and the output procedure of instruction lists based on binary tree were described in detail.Some special instances of transformation were also discussed.The experiment result was also given to prove the feasibility of the transformation.
出处
《上海理工大学学报》
CAS
北大核心
2009年第5期455-458,共4页
Journal of University of Shanghai For Science and Technology
基金
上海市青年科技启明星计划资助项目(07QB14011)
关键词
可编程控制器
梯形图
语句表
二叉树
programmable logical controller(PLC)
ladder diagram
instruction lists
binary tree