首页> 外文会议>2009年中国控制与决策会议(2009 Chinese Control and Decision Conference)论文集 >Implementation of a Syntax Checker for Client Terminal Motion Controller
【24h】

Implementation of a Syntax Checker for Client Terminal Motion Controller

机译:客户端运动控制器语法检查器的实现

获取原文

摘要

During the development of a new stand-alone motion controller, we encountered how to compile client terminal motion programs into low-level C language data structure and motion functions which could be executed by motion controller processor. For real-time motion control applications like high speed machining tasks could not be interrupted, the client terminal motion programs must not contain any syntax errors before they were interpreted and executed by the motion controller processor. So a syntax checker for client terminal motion programs should be designed to instruct users to rule out every syntax error in them. For this we developed a syntax checker to perform the task as mentioned above. To present our work of the syntax checker, we firstly give an introduction to syntax rules of widely used GALIL motion commands, and then we focus our discussions on system structure of the syntax checker. Detailed descriptions are also made item by item on implementations of the sub syntax checker modules including lexical and grammar analysis, integration processing, semantic analysis and post-processing. Finally we present the experimental results to demonstrate the effectiveness of our developed syntax checker.
机译:在开发新的独立运动控制器的过程中,我们遇到了如何将客户端运动程序编译为可以由运动控制器处理器执行的低级C语言数据结构和运动功能。对于不能中断诸如高速加工任务之类的实时运动控制应用程序,客户端终端运动程序在由运动控制器处理器解释和执行之前,不得包含任何语法错误。因此,应设计用于客户端运动程序的语法检查器,以指示用户排除其中的每个语法错误。为此,我们开发了一种语法检查器来执行上述任务。为了介绍语法检查器的工作,我们首先介绍广泛使用的GALIL运动命令的语法规则,然后将讨论重点放在语法检查器的系统结构上。还逐项对子语法检查器模块的实现进行了详细描述,包括词法和语法分析,集成处理,语义分析和后处理。最后,我们提供实验结果以证明我们开发的语法检查器的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号