首页> 中文期刊> 《组合机床与自动化加工技术》 >可扩展的字符命令实现机制研究

可扩展的字符命令实现机制研究

     

摘要

General CNC system only provides G-code programming which lacks of flexibility and single scalability way. In order to enrich its programming mechanism and Improve CNC s scalability, this paper puts to use the custom sequence of syntax element analysis and propose a char command programming mechanism for Lantian CNC. The char command programming mechanism is very easy to extend. The advantage of the mechanism is that it allows the interpreter to add a char command without modificating the source code for lexical and syntax analysis. Users just need to make a little change on configuration file and all change can be realized Automatically. The paper also designs and implements the configuration files, configuration files parser, command parser and detailed introduces the three modules' achievement.%一般数控系统仅提供了G代码编程,缺少灵活性,扩展方式单一.为了丰富数控系统的编程机制,提高系统的可扩展性,采用自定义的语法元素分析序列方式,提出了一种易于扩展的用于蓝天数控系统的字符命令编程机制,该机制使得添加字符命令的解释工作可以在无需修改词法和语法分析源代码的情况下,通过配置文件实现.设计实现了配置文件,配置文件解析器以及命令解析器三个模块,并对这三个模块功能是实现做了详细的介绍.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号