摘要
由于现有数控系统在调用子程序过程中,主程序与子程序不能同时使用同一类坐标系统,因此设计一种新型的功能强大的坐标功能系统成为当前设计的一个首要任务。通过一个采用QT C++编程语言设计的一种基于QVector动态数组的多重坐标系统为实例,详细论述了数控系统的基本坐标系统机床坐标系统,工件坐标系统,扩展坐标系统旋转坐标系统,局部坐标系统,极坐标系统,与坐标系统密切相关的镜像功能,比例缩放功能的运算、衔接方法,着重论述了多重坐标系统的设计思路及其工作原理。测试表明:所设计的多重坐标系统具有使用方便、形象直观、可靠性高、满足了数控系统对子程序的多重调用要求。
As the existing system in NC call subroutine process, the main program and routines can not use the same type of coordinate system, the design of a new type of powerful coordinate system become a primary task of the current design. Through use of a QT C++ programming language designed based on QVector dynamic arrays of multiple coordinate systems for example, discusses in detail the basic coordinates of CNC machine tools coordinate system, the workpiece coordinate system, expanding coordinate system rotating coordinate system, Local coordinate system, polar coordinates, and coordinate system is closely related to the mirror function, the operator of the zoom feature, the convergence approach, focused on the design of multiple coordinate systems thinking and its working principles. Testing showed that the design of the multiple coordinate system is easy to use, intuitive image, high reliability, the NC system to meet the multiple subroutine call requirements.
出处
《机械》
2008年第12期66-70,共5页
Machinery
关键词
数控系统
机床坐标系
工件坐标系
旋转坐标系
局部坐标系
极坐标系
多重
NC system
machine coordinates
workpiece coordinates
rotary coordinates
local coordinate system
acoordinate system
multiple