首页> 外文会议>IEEE Conference on Industrial Electronics and Applications >A design of general compiler for NC code in embedded NC system
【24h】

A design of general compiler for NC code in embedded NC system

机译:嵌入式NC系统中NC代码的一般编译器设计

获取原文

摘要

How to ensure the correctness of NC code interpretation in the process of NC machining has become a significant issue. In allusion to the demand for high precision and high efficiency of the NC code compiler from the NC system, based on the top-down analysis method of operator precedence grammar, a novel design of general NC code complier in embedded system is presented. The general part of the compiling system includes: the lexical analysis, syntactic analysis, the generating of middle code and errors checking. Based on different motion controllers, the machine languages are different, and the object code would be different too. So, how to enhance the versatility of the compiler also is an urgent issue. To address this problem, this paper develops a general concept of NC code compiling system, based on studying the technical structure of general NC code compiler, and the portability of compiling module will be the key factor. The compiler is ported to the NC system based on ARM and PCL6045 motion controller, and tested on the two-axis NC engraving machine.
机译:如何保证在数控加工过程中数控代码解释的正确性已经成为一个显著的问题。在暗指高精度和从NC系统的NC代码编译器,基于操作者优先文法,在嵌入式系统的一般NC代码编译的新颖设计的自顶向下的分析方法的高效率的需求被呈现。编制系统的一般部件包括:词法分析,语法分析,中间代码和错误检查生成。基于不同的运动控制器,机器语言是不同的,并且对象的代码将是不同的了。因此,如何提高编译器的通用性也是一个亟待解决的问题。为了解决这个问题,本文开发了NC代码编译系统的一般概念的基础上,研究通用数控代码编译器的技术结构,编译模块将是关键因素的便携性。编译器移植到基于ARM和PCL6045运动控制器数控系统,和两轴NC雕刻机上进行测试。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号