首页 | 本学科首页   官方微博 | 高级检索  
     检索      

PLC梯形图转化为多操作数逻辑指令的设计与实现
引用本文:邱盛成,蔡启仲,李克俭,潘绍明.PLC梯形图转化为多操作数逻辑指令的设计与实现[J].应用声学,2016,24(6):202-205, 217.
作者姓名:邱盛成  蔡启仲  李克俭  潘绍明
作者单位:广西科技大学电气与信息工程学院 广西柳州,广西科技大学电气与信息工程学院 广西柳州,广西科技大学电气与信息工程学院 广西柳州,广西科技大学电气与信息工程学院 广西柳州
基金项目:(桂科自2014GXNSFA118392);广西教育厅科研项目(2013LX092)资助。邱盛成(1989-),男,广西北海市人,硕士研究生,主要研究领域:嵌入式系统与自动化装置。蔡启仲,教授。李克俭,教授,高级工程师。潘绍明,副教授。
摘    要:针对每一个操作数有一个操作码的PLC逻辑指令,设计了一个操作码可带多个操作数,操作数附加“辅助符号位”的新型PLC逻辑指令,避免在执行逻辑指令过程中有多少个操作数需要译码多少次的状况。研究这种新指令语句的数据结构和梯形图的数据结构,应用这两种数据结构研究梯形图转化成新指令表的转化算法。对梯形图采用按梯级顺序递归扫描方法构造二叉树结构,然后对二叉树进行后序遍历得到一个中间结果指令表,对中间结果指令表经过逻辑关系的分析与同类型逻辑关系操作数的合并处理得到最终的指令表。通过对串并联结构梯形图的转换测试,其新指令语句的转化结果正确。

关 键 词:梯形图  逻辑指令  二叉树  多操作数
收稿时间:2015/12/16 0:00:00
修稿时间:2016/1/15 0:00:00

Design and Realization of Transformation from PLC Ladder Diagram to Multiple Operands Logic Instruction
Institution:College of Electronic and Information Engineering,Guangxi University of Technology,College of Electronic and Information Engineering,Guangxi University of Technology,College of Electronic and Information Engineering,Guangxi University of Technology,College of Electronic and Information Engineering,Guangxi University of Technology
Abstract:Each operand in PLC logic instructions contain only an opcode. A new type of PLC logical instruction structure is designed, which its operation code can take multiple operands and its operands additional "auxiliary sign bit". It avoids in the process of execution logic instructions for multiple operands to decode several times. Researched on the data structure of this new instruction statement and the data structure of the ladder diagram, and using these two data structures to achieve the transformation algorithm of the ladder diagram into the new instruction list. Ladder diagram used in cascade order recursive scanning methods constructing binary tree structure, and postorder the tree traversal for an intermediate result instruction list, After the analysis of the logical relationship ofSintermediate result instruction list and combined process of operation for the same type of logical relations, the final instruction table is obtained. Through the series-parallel structure of ladder diagram transformation test, the new instruction statements transformation result is correct.
Keywords:Ladder  logic instruction  binary tree  multiple operands
点击此处可从《应用声学》浏览原始摘要信息
点击此处可从《应用声学》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号