摘要
在直接通过NC代码来驱动仿真加工过程的数控仿真系统中,NC代码的解析处于系统的核心地位。然而各种NC代码之间的差异给系统的通用造成巨大的困难,系统各个模块的工作严格依赖于特定的NC代码格式,也使得系统难以扩展与变更。采用XML文档来作为用户提交的NC代码与系统之间的中间代码,很好地解决了以上问题,并获得了良好的应用效果,同时,对实现基于网络服务的数控仿真服务提供了可行性方案。
Parser of NC code is one of most important parts in the NC simulation system that is driven directly by NC program, However the difference arnong various NC code brings ninny problems for generalization of our system. Especially,when all modules are strictly depend on special format of NC code, it's difficult to extend or modify exist system is another point. In this paper we give a feasible solution not only to the problems mentioned above but also as a base of application for NC simulation service based on Web service. This solution is the parser of NC code for simulation base on XML that is proved eifective and feasible in application.
出处
《计算机技术与发展》
2006年第1期102-105,共4页
Computer Technology and Development