节点文献

基于IEC61131-3标准的数控系统开发环境原型研究

Research on Prototype Developing Environment for CNC System Based on IEC61131-3

部分文献由于文件较大,PDF全文下载时容易出现504错误,建议您优先选择CAJ下载或PDF分章下载。

【作者】 宋立志

【导师】 周会成

【作者基本信息】 华中科技大学, 机械电子工程, 2013, 硕士

【摘要】 相对于数控机床,自动化机械产品具有种类繁多,控制过程固定等特点,然而当前尚缺乏一种高效便捷的控制系统应用程序开发环境。本文基于IEC61131-3标准,以DNC-11软硬件平台为目标机,设计数控系统应用程序开发环境原型,开发具有图形化编程环境和自动化编译系统的开发环境,以缩短自动化控制系统的开发周期并降低其开发成本。根据DNC-11数控系统的软硬件特点,设计了基于IEC61131-3标准的数控系统开发环境体系架构,包括支持IEC61131-3五种编程语言的编程环境,远程交叉编译系统以及运行时系统。编程系统采用Beremiz开源软件作为原型系统,提供能将IEC61131-3编程语言编译成C代码的IEC61131-3编译器;在远程编译系统交叉编译python并进行移植,实现目标数控系统的运行库扩展;运行时系统集成运动控制功能块。基于客户端—服务器(C/S)模型设计了远程交叉编译系统,搭建交叉编译环境,利用socket编程实现了服务器程序的网络收发功能,使用正则表达式编程为用户提供了Makefile自动创建工具,后台解析项目工程源文件以及配置文件生成与项目工程对应的Makefile文件,达到了在Windows平台即可以进行自动化编译控制系统程序的目的。对八种轴运动状态及状态转换条件进行深入的分析和研究,设计了状态机和单轴运动控制功能块的内部结构,包括参数配置模块、状态控制模块、输入预处理模块以及速度规划模块,设计各组成模块间的数据交互方式,在本文所述平台编程环境中使用功能块图和结构化文本编程实现了单轴运动控制功能块,对绝对运动控制模块的输出脉冲当量进行了联机测试。以全电动注塑机顶出系统为实验对象,在基于IEC61131-3标准的数控系统开发环境原型中设计并实现注塑机顶出系统的顶出运动过程。经实验测试,基于IEC61131-3标准的数控系统开发环境能够为自动化机械控制系统程序开发提供图形化的编程环境和简单高效的编译系统。

【Abstract】 Compared to numerical control machine tool, automated machine has thecharacteristic of wide varieties and fixed control process. However, there is short of shortof convenient and efficient environment for the development of control system program.Based on IEC61131-3standard and against to the target of DNC-11, developing platformfor numerical control system has been designed and graphic programming environmentand convenient compiling system have been developed, which aims to shorten thedevelopment period and decreases the cost.According to hardware and software characteristics of DNC-11, system architectureof the development platform for numerical control system based on IEC61131-3standardhas been designed, which includes programming environment, long-distance crosscompiling system and runtime system. The programming environment, adopting Beremizas its prototype system, provides IEC61131-3compiler which can compile IEC61131-3program to C program. Also, cross compiling of python has been realized andtransplantsed to DNC-11. The runtime system integrates motion control function blocks.Based on client-server model, long-distance cross compiling system is designed, theenvironment for cross compiling is created, sending and accepting project files is realizedthrough socket programming and finally automatic creating Makefile tool is providedthrough regular expressions, which resolves the project files and configuration file toproduce the Makefile for the project. The cross compiling system makes the developerscompile control system program automatically at the platform of Windows.Eight status of axis specified by PLCopen and their transform conditions has beendeeply researched and status machine and motion control function block has beendesigned, which includes parameter configuration module, status control module, inputpretreatment module and velocity planning module. Besides, data interactive methods between all of those modules are designed, the motion control function blocks arerealized and finally output pulse equivalent is tested.The ejection control system in this prototype platform have been designed andrealized against to the experimental subject of ejector system of all-electric injectionmolding machine. According to the experimental measurement, the developing platformfor numerical control system based on IEC61131-3standard has the function to providedevelopers graphic programming environment and convenient compiling system.

节点文献中: 

本文链接的文献网络图示:

本文的引文网络
网页聊天
live chat
在线营销
live chat