检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:徐建国[1] 张友良[2] 汪惠芬[2] 刘佳[3]
机构地区:[1]南京航空航天大学能源与动力学院,江苏南京210016 [2]南京理工大学机械工程学院,江苏南京210094 [3]杭州华三通技术有限公司,浙江杭州310053
出 处:《计算机集成制造系统》2008年第10期2011-2017,共7页Computer Integrated Manufacturing Systems
基 金:"十一五"部级预研项目~~
摘 要:针对虚拟加工系统的数控程序解析问题,提出一种通用数控程序解析方法。通过分析不同数控系统的数控程序格式,设计了规则数据库。利用正则表达式进行语法分析,提出了建立语法规则方法和语法分析算法,以及基于调用堆栈的子程序处理算法。设计了数控系统定制界面,以便将现有的解析器扩展到新的数控系统。开发出一个通用数控程序解析器,并验证了所提方法的有效性,为虚拟加工系统的实现提供了技术支持。Aiming at the problem of Numerical Control (NC) program interpreting in virtual machining sytem, the key techniques of general NC program interpreting was proposed. Based on the analysis of program patterns of different NC systems, a rule database was designed. The syntax analysis was performed based on regular expressions. The establishment methods for syntax rules, the syntax analysis algorithm and stack-calling-based subprograms processing were proposed as well. Then customization interfaces were put forward to extend an existing interpreter to other new NC systems. A general NC program interpreter was developed based on these techniques, which verified the validity of this proposed approach and provided technical support for realization of virtual machining system.
关 键 词:数控 规则数据库 正则表达式 词法分析 语法分析 代码解析 规则定制
分 类 号:TP391.73[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249