It interprets and translates numerical control code based on open numerical control system which is the mode of PC plus motion controller using C++ Builder as a tool for development. Firstly,it analyzes and lists seven kinds of errors,puts forward two types of methods. Secondly,this system sets structural variables,constructs database,storages numerical control code separately,and insures system to be open using QUERY unvisible control item.%基于"PC+运动控制器"的开放式数控系统,以C++Builder作为开发工具,对数控代码进行解释与编译.首先,分析并列举了七种数控代码的出错类型,提出两种出错处理机制.其次,设定结构体类型的变量,建立数据库,分类存放数控代码,使用Query非可视控件,确保了系统的开放性.
展开▼