透過您的圖書館登入
IP:3.21.34.105
  • 期刊

工具機數控程式編譯器與應用

Study of Machine Tool CNC Program Compiler

摘要


EtherCAT通訊協定具高速且即時傳輸之特色,已經成為新一代運動控制中重要通訊協定;本文提出工具機數控程式編譯原理,研究數控程式編譯並於EMP(EtherCAT Motion Platform)上發展應用,協助EMP於數控工具機之發展。依照實機測試結果,輸入的數控程式與運動控制的路徑相同,可驗證程式編譯之正確性。在本研究的編譯系統中,編譯系統以混合式編譯的方法,使用語彙分析、語法分析和語意分析等編譯分析的步驟,將數控程式編譯為中間語言,並直譯為EMP運動控制系統使用的運動控制函式。

關鍵字

GM碼指令 數值控制 編譯器

並列摘要


EtherCAT is a high performance fieldbus protocol and has become one of the major protocols in motion control. This paper presents a study of machine tool CNC program compiler theory to facilitate the development of CNC machine tools. To validate the accuracy of the method, input digital controls are set to be the same as these made by CNC program. In this study, a compiler system is developed according to the method of hybrid compiler. The compiler system analyzes CNC programs according the order of lexical analysis, syntax analysis and semantic analysis and to generates intermediate code. In the last phase of the compiler system, intermediate code is interpreted to motion control code.

延伸閱讀