Numerical control machining method, numerical control machine tool, and computer storage medium

文档序号:1174153 发布日期:2020-09-18 浏览:43次 中文

阅读说明:本技术 数控加工方法、数控机床及计算机存储介质 (Numerical control machining method, numerical control machine tool, and computer storage medium ) 是由 李康宁 于 2018-12-27 设计创作,主要内容包括:数控加工方法、数控机床(100)及计算机存储介质(200),方法包括:编译加工指令,获取当前加工段的加工程序;判断加工程序中的待加工线段是否为微小直线段;若是,则将微小直线段拟合为平滑曲线段,将平滑曲线段作为待加工线段保存至加工程序中;根据待加工线段进行插补,得到加工路径。采用上述加工方法,不会重复占用数控加工系统的计算资源,可提高系统的利用率。(Numerical control machining method, numerical control machine (100) and computer storage medium (200), the method comprising: compiling a machining instruction to obtain a machining program of a current machining section; judging whether a line segment to be machined in the machining program is a micro straight line segment or not; if so, fitting the micro straight line segment into a smooth curve segment, and storing the smooth curve segment serving as a line segment to be processed into a processing program; and performing interpolation according to the line segment to be processed to obtain a processing path. By adopting the processing method, the computing resources of the numerical control processing system can not be repeatedly occupied, and the utilization rate of the system can be improved.)

A numerical control machining method, characterized by comprising:

compiling a machining instruction to obtain a machining program of a current machining section;

judging whether the line segment to be machined in the machining program is a micro straight line segment or not;

if so, fitting the micro straight line segment into a smooth curve segment, and storing the smooth curve segment serving as the line segment to be processed into the processing program;

and performing interpolation according to the line segment to be processed to obtain a processing path.

The machining method according to claim 1, wherein the saving of the smoothed line segment as the line segment to be machined into the machining program includes:

and encrypting and storing the smooth line segment into the machining program.

The machining method according to claim 1, wherein the storing the smoothed line segment as a line segment to be machined into a machining program comprises:

and storing the control point coordinates and the node vector coordinates of the smooth line segments into the processing program.

The machining method according to claim 3, wherein the saving of the smoothed line segment as the line segment to be machined into the machining program includes:

and adding corresponding marks to the interpolation starting point, the interpolation end point, the control point and the node vector of the smooth curve, and storing the marks into the machining program.

The machining method according to claim 4, wherein the saving of the smoothed line segment as the line segment to be machined into the machining program includes:

compiling the interpolation starting point identification, the interpolation end point identification, the control point identification and the node vector identification, as well as the control point coordinate and the node vector coordinate according to a preset instruction format, and storing a file obtained after compiling.

The machining method according to claim 1, wherein if a line segment to be machined in the machining program is a non-minor straight line segment, before interpolating a machining path according to the line segment to be machined, the method further comprises:

and decrypting the line segment to be processed to obtain the characteristic value of the line segment to be processed, wherein the characteristic value comprises an interpolation starting point, an interpolation end point and a control point coordinate.

The machining method according to claim 1, wherein after storing the smooth curve segment as the line segment to be machined in the machining program, the method further comprises:

and updating the version number of the machining program, wherein the version number comprises the characteristic information of the line segment to be machined.

The machining method according to claim 1 or 7, wherein after the compiling of the machining instruction and the obtaining of the machining program of the current machining section, the method further comprises:

acquiring the version number of the processing program, and analyzing the version number to obtain the characteristic information of the line segment to be processed in the processing program;

judging whether the processing program is an updated processing program or not according to the version number;

if not, determining the line segment to be processed as a micro straight line segment; if so, determining the non-tiny straight line segment of the line segment to be processed;

the interpolating according to the line segment to be processed to obtain a processing path includes:

and determining a corresponding interpolation algorithm according to the characteristic information, and performing interpolation according to the line segment to be processed by using the interpolation algorithm.

A numerically controlled machine tool comprising a numerically controlled machining system including a processor and a memory coupled, the memory having stored therein a computer program for execution by the processor to perform the method of any of claims 1 to 8.

A computer storage medium for storing a computer program executable to implement the method of any one of claims 1-8.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种刀具半径补偿的干涉检测方法、装置及存储装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类