Implementation of a syntax checker for client terminal motion controller

  • Authors:
  • Wenxiang Guan;Xuecai Zhou;Wei Chen

  • Affiliations:
  • Shenzhen Institute of Information Technology, Shenzhen, China and School of Automation, Guangdong University of Technology, Guangzhou, China;Shenzhen Institute of Information Technology, Shenzhen, China;School of Automation, Guangdong University of Technology, Guangzhou, China

  • Venue:
  • CCDC'09 Proceedings of the 21st annual international conference on Chinese control and decision conference
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.