检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:吴帅举 杨其华 何雨辰 WU Shuaiju;YANG Qihua;HE Yuchen(School of Electrical and Mechanical Engineering,China Jiliang University,Hangzhou 310018,China)
机构地区:[1]中国计量大学机电工程学院,浙江杭州310018
出 处:《现代电子技术》2023年第13期91-96,共6页Modern Electronics Technique
基 金:国家自然科学基金项目(61903352)。
摘 要:为解决物流输送线上PLC编程方式工作量大、技术要求高的问题,设计图形化编程方法,应用于物流设备组线时替代PLC的自备单片机控制系统。通过对物流线运行原理的分析,确定了将流程图转换为控制指令的图形化转换方法,设计了编程平台的图形化资源,定义对应图元的相关参数。针对流程图逻辑表达不清的问题,提出一种结构优化的算法,先将控制程序流图抽象化为AOV图,使用邻接表的方式存储数据,再针对组合判断和循环两种控制逻辑对AOV图进行结构优化和深度遍历调整,最后输出控制指令,发送给下位机,由下位机按规定顺序执行控制指令。研究结果表明,该图形化编程方法能够实现流程图向控制指令的转化,将生成的控制指令下发给下位机后,下位机能够按照流程图的逻辑运行。In order to solve the problem of heavy workload and high technical requirements of PLC programming mode on the logistics conveying line,graphic programming method is designed to replace the self⁃provided single⁃chip microcomputer control system of PLC when applied to the logistics equipment group line.Based on the analysis of the operating principle of the logistics line,the graphic conversion method to convert the flow chart into the control instruction is determined,the graphic resources of the programming platform are designed,and the related parameters of the corresponding graph element are defined.To solve the problem of unclear logical expression of flow chart,a structure optimization algorithm is proposed.The control program flow graph is abstracted into AOV graph,and the data is stored in the way of adjacency list.The structure optimization and depth traversal adjustment are carried out on the AOV graph for the two control logics of combination judgment and cycle,and the control instruction is output and sent to the lower computer.The control instructions are executed by the lower machine in the specified order.The results show that the graphical programming method can realize the transformation of flow chart to control instruction.After the generated control instruction is sent to the lower machine,the lower machine can run according to the logic of flow chart.
关 键 词:物流输送线 AOV图 邻接表 组合逻辑 图形化编程 流程图 控制指令 上位机
分 类 号:TN02-34[电子电信—物理电子学] TP273[自动化与计算机技术—检测技术与自动化装置] TP311[自动化与计算机技术—控制科学与工程]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.133.119.75