• DocumentCode
    2843507
  • Title

    Implementation of a syntax checker for client terminal motion controller

  • Author

    Guan, Wenxiang ; Zhou, Xuecai ; Chen, Wei

  • fYear
    2009
  • fDate
    17-19 June 2009
  • Firstpage
    5388
  • Lastpage
    5392
  • 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.
  • Keywords
    C language; grammars; program compilers; program diagnostics; programming language semantics; utility programs; GALIL motion command; client terminal motion controller; client terminal motion program; data structure; grammar analysis; integration processing; lexical analysis; low-level C language; motion controller processor; program compiler; real-time motion control; semantic analysis; stand-alone motion controller; syntax checker; syntax error; syntax rule; Automatic control; Automation; Control systems; Electrical equipment industry; Industrial control; Information technology; Manufacturing industries; Motion control; Process control; Program processors; Client Terminal; Motion Control Program; Stand-alone Motion Controller; Syntax Checker;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Control and Decision Conference, 2009. CCDC '09. Chinese
  • Conference_Location
    Guilin
  • Print_ISBN
    978-1-4244-2722-2
  • Electronic_ISBN
    978-1-4244-2723-9
  • Type

    conf

  • DOI
    10.1109/CCDC.2009.5195177
  • Filename
    5195177