检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:魏晓晴 郝方 姜涛 康冰冰 赵念 WEI Xiaoqing;HAO Fang;JIANG Tao;KANG Bingbing;ZHAO Nian(Institute of Aviation Basic,Naval Aviation University,Yantai 264001,China;No.1 Military Representative Office of Equipment Department of PLA Air Force in Shenyang,Shenyang 110034,China)
机构地区:[1]海军航空大学航空基础学院,山东烟台264001 [2]空军装备部驻沈阳地区第一军事代表室,辽宁沈阳110034
出 处:《现代电子技术》2025年第1期168-172,共5页Modern Electronics Technique
摘 要:为了设计一种PLC控制器,文中重点研究了PLC编程系统中由梯形图到语句表编译解算的实现过程,并提出一种应用于PLC开发的梯形图转换为语句表的新方法,即基于节点势能的转换方法。该方法将梯形图类比电路图,仿照电势能,以节点势能表示虚拟梯形图中的能量流动,通过对梯形图节点势能的确定,将梯形图各图元之间的连接关系抽象为数值关系,并以此关系建立二叉树,遍历生成语句表。该方法简单清晰,以一种复杂度较低的数据结构将梯形图完整地描述出来,能够准确快速地完成由梯形图到语句表的编译解算,并可适用于逻辑关系比较复杂的梯形图程序的转换。该转换方法也能够为其他类似图形关系的解算提供参考,具有普遍适用性。ed into a numerical relationship by the determination of the node potential energy of the ladder diagram,and the binary tree is established based on this relationship,and the statement table is generated by traversing.This method is simple and clear,and can completely describe the ladder diagram with a low complexity data structure,and easily and accurately complete the compiling and calculating from the ladder diagram to the statement list.In addition,it can be applied to the conversion of ladder diagram programs with complex logical relationship.This conversion method can also provide a reference for the solution of other similar graph relationships,so it has universal applicability.
关 键 词:PLC 梯形图 语句表 转换方法 节点势能 二叉树
分 类 号:TN709-34[电子电信—电路与系统] TP273[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.191.167.79