计算机应用 ›› 2005, Vol. 25 ›› Issue (02): 463-465.DOI: 10.3724/SP.J.1087.2005.0463

• 典型应用 • 上一篇    下一篇

数控车床仿真系统中数控内核的设计和实现

周冲,钱昆明,齐昕   

  1. 大连理工大学计算机系
  • 发布日期:2005-02-01 出版日期:2005-02-01

Design and implementation of CNC kernel in CNC lathe emulation system

ZHOU Chong , QIAN Kun-ming , QI Xin   

  1. Department of Computer, Dalian University of Technology
  • Online:2005-02-01 Published:2005-02-01

摘要: 以数控车床仿真系统为例,阐述了数控内核模块的设计和实现,并详细介绍了数控内核中程序输入和显示、G代码编译、智能查错三个方面的设计思路,在G代码编译中提出了一种针对G代码语言语法分析的构造二叉树的算法,并最终用Lingo语言实现了整个数控内核的仿真。

关键词:  虚拟现实, 动态仿真, 多媒体, 数控车床, 数控编程

Abstract: This paper gave an example of emulational system of the numerical control lathe. It introduced the design and implement of an important module-numerical control kernel. It expatiated the implement of three aspects which included input and display, code translation, intelligent checking error, and it also provided constructing bintree algorithm about language G’s syntax analysis. It realized the numerical control kernel emulation thoroughly using Lingo.

Key words:  virtual realism, dynamic emulation, multimedia, numerical control lathe, numerical program

中图分类号: