method and device for setting coordinate zero point by numerical control center seeking

文档序号:1719474 发布日期:2019-12-17 浏览:47次 中文

阅读说明:本技术 一种数控寻中心设定坐标零点的方法及装置 (method and device for setting coordinate zero point by numerical control center seeking ) 是由 成亚飞 郭小川 郑胜松 胡荣望 于 2019-09-17 设计创作,主要内容包括:本发明提供了一种数控寻中心设定坐标零点的方法,获取加工零件三维模型、基准坐标信息,根据三维模型、基准坐标信息设置寻中心点位数据,在寻中心球通过寻中心点位数据进行运动时,对寻中心球进行三维仿真;记录三维仿真寻中心球的直径、寻中心球的寻中心点位及路径信息;根据寻中心球的直径、寻中心点位及路径信息自动转换寻中心程式及三坐标模拟程式,在三坐标机床的API上运行三坐标模拟程式,若仿真模拟成功,执行寻中心程式设定出的坐标零点;数控电火花机床加工零件自动寻中心设定坐标零点的系统具有安全性高、精确性高、错误率低、支持多种品牌数控电火花设备的优点。(The invention provides a method for setting a coordinate zero point of a numerical control centering, which comprises the steps of obtaining a three-dimensional model and reference coordinate information of a machined part, setting centering point data according to the three-dimensional model and the reference coordinate information, and carrying out three-dimensional simulation on a centering ball when the centering ball moves through the centering point data; recording the diameter of the three-dimensional simulation center searching ball, the center searching point position of the center searching ball and path information; automatically converting a center searching program and a three-coordinate simulation program according to the diameter of the center searching ball, the center searching point position and the path information, operating the three-coordinate simulation program on an API of the three-coordinate machine tool, and if the simulation is successful, executing a coordinate zero point set by the center searching program; the system for automatically centering and setting the coordinate zero point of the part machined by the numerical control electric discharge machine has the advantages of high safety, high accuracy, low error rate and support for various brands of numerical control electric discharge equipment.)

1. a method for setting a coordinate zero point by numerical control centering is characterized in that: comprises the steps of (a) carrying out,

acquiring a three-dimensional model and reference coordinate information of a machined part, setting centering point data according to the three-dimensional model and the reference coordinate information, and performing three-dimensional simulation on a centering ball when the centering ball moves through the centering point data;

Recording the diameter of the three-dimensional simulation center searching ball, the center searching point position of the center searching ball and path information;

automatically converting the diameter of the center searching ball, the center searching point position and the path information into a center searching program and a three-coordinate simulation program; and running a three-coordinate simulation program on an API (application program interface) of the three-coordinate machine tool, uploading a centering equation to the numerical control machine tool if the simulation is successful, executing a coordinate zero point set by the centering program, and otherwise, repeating the steps.

2. The method for setting the zero point of the coordinate by numerical control centering according to claim 1, wherein: the specific steps of three-dimensional simulation of the center searching ball comprise:

analyzing the three-dimensional model through computer aided design (3D) software, and simultaneously acquiring reference coordinate information through computer design;

Designing a center searching dotting tool by carrying out secondary development on NX software to perform dotting of point positions;

and carrying out three-dimensional simulation through computer design.

3. The method for setting zero point of coordinate by numerical control centering as claimed in claim, wherein: the specific steps of recording the diameter of the three-dimensional simulation center searching ball, the center searching point position of the center searching ball and the path information comprise:

The NX software records X, Y, Z, I, J, K data for each centering point and movement point, records the diameter of the centering ball used and the path information that these points constitute the centering.

4. The method for setting the zero point of the coordinate by numerical control centering according to claim 1, wherein: the automatic conversion center searching program and the three-coordinate simulation program specifically comprise the following steps:

Recording X, Y, Z, I, J, K data of each center searching point and moving point, importing the data into a post-processing file (post) of the machine tool, and automatically generating a center searching program and a three-coordinate simulation program through post-processing;

Uploading the three-coordinate simulation program to a three-coordinate machine tool, and designing a tool for uploading the program on an API of the three-coordinate machine tool;

Calling a measuring pin with the same size as the machine tool to execute a simulation program, confirming whether the program collides in the execution process, simulating the numerical control machine tool in advance, if the program passing the simulation executes the uploading center program on the numerical control machine tool, automatically uploading the center searching program to the numerical control machine tool, automatically starting the center searching program to automatically search the center and set the coordinate zero point of the machined part, and otherwise, repeating the steps.

5. the method for setting the zero point of the coordinate by numerical control centering according to any one of claims 1 to 4, wherein: the mode of setting the zero point of the coordinate by searching the center in the numerical control mode comprises edge searching for setting the zero point of the coordinate, hole searching for setting the zero point of the coordinate and column searching for setting the zero point of the coordinate.

6. The method for setting the zero point of the coordinate by numerical control centering according to claim 5, wherein: the method for setting the zero point of the coordinate by the numerical control center seeking is suitable for the center seeking of the CNC machine tool to set the zero point of the coordinate.

7. a device for setting a coordinate zero point by numerical control centering is characterized in that: the method comprises the following steps:

The model and basic data setting module is used for obtaining a three-dimensional model and reference coordinate information of the machined part, and setting center point searching data and three-dimensional simulation;

the correction point location recording module is used for recording the diameter of the center searching ball, the center searching point location and the path information;

And the correction program conversion module automatically converts the center searching program of the numerical control electric spark machine tool according to the recorded diameter of the center searching ball, the center searching point position and the path information.

8. The device for setting the zero point of the coordinate by numerical control centering according to claim 5, wherein: the numerical control electric spark machine tool comprises a machine tool control module, a central searching program and a central searching program, wherein the machine tool control module is used for automatically uploading the central searching program of a machined part to the numerical control electric spark machine tool and automatically executing the central searching program to set a coordinate zero point of the machined part;

And the error prevention module is used for acquiring the actual numerical value when the machine tool automatically finds the center, and actively prompting if the machined part is inclined.

Technical Field

The invention relates to a numerical control machining method, in particular to a method and a device for setting a coordinate zero point by searching a center in a numerical control mode.

Background

At present, an EDM operator performs center searching and coordinate zero point setting on machining parts by operating an EDM equipment manual control box, the center searching ball on an equipment main shaft is manually moved to a set reference surface of the parts and then one operation shaft of the equipment is slowly moved until the center searching ball is automatically stopped contacting with the workpiece and the coordinate zero point of one shaft is set when the EDM equipment manual control box works, the method is repeated until the coordinate zero point setting of three machining shafts is completed, and the traditional method is low in efficiency, high in difficulty and high in error rate, and the field output is seriously influenced.

Disclosure of Invention

The technical problem to be solved by the invention is as follows: the aim is to solve the problem that a centering ball on a main shaft of a manual device moves to a set reference surface of a part and becomes an automatic centering set coordinate zero point.

in order to solve the technical problems, the invention adopts the technical scheme that: provides a method for setting a coordinate zero point by numerical control automatic center seeking, which comprises the following steps,

Acquiring a three-dimensional model and reference coordinate information of a machined part, setting centering point data according to the three-dimensional model and the reference coordinate information, and performing three-dimensional simulation on a centering ball when the centering ball moves through the centering point data;

recording the diameter of the three-dimensional simulation center searching ball, the center searching point position of the center searching ball and path information;

Automatically converting a center searching program and a three-coordinate simulation program according to the diameter of the center searching ball, the center searching point position and the path information, running the three-coordinate simulation program by an API of the three-coordinate machine tool, if the simulation is successful, executing a coordinate zero point set by the center searching program, and otherwise, repeating the steps;

further, analyzing the three-dimensional model through computer aided design (3D) software, and acquiring reference coordinate information through the computer design software;

Designing a center searching dotting tool by carrying out secondary development on NX software to perform dotting of point positions;

Three-dimensional simulation is performed by computer design software.

further, by dotting in the NX software, the NX software records X, Y, Z, I, J, K data for each centering point and movement point, as well as the centering ball diameter used, these points being configured as centering path information.

further, the system guides X, Y, Z, I, J, K data recording each center-finding point and moving point into a post-processing file (post) of the machine tool, automatically generates a center-finding program and a three-coordinate simulation program, designs a tool for uploading the program on an API of the three-coordinate machine tool, automatically uploads the generated three-coordinate simulation program to the three-coordinate machine tool, calls a measuring needle with the same size as the machine tool to execute the simulation program, confirms whether the program collides in the execution process, simulates the numerical control machine tool in advance, and executes the center-finding program on the numerical control machine tool only after the program passing the simulation passes.

Furthermore, the mode of setting the zero point of the coordinate by the numerical control center searching comprises edge searching for setting the zero point of the coordinate, hole searching for setting the zero point of the coordinate and column searching for setting the zero point of the coordinate.

Furthermore, the method for setting the zero point of the coordinate by the numerical control center searching is suitable for setting the zero point of the coordinate by the center searching of the CNC machine tool.

Further, a device for setting a zero point of a coordinate by numerically controlling centering comprises:

The model and basic data setting module is used for obtaining a three-dimensional model and reference coordinate information of the machined part, and setting center point searching data and three-dimensional simulation;

The correction point location recording module is used for recording the diameter of the center searching ball, the center searching point location and the path information;

and the correction program conversion module automatically converts the center searching program of the numerical control electric spark machine tool according to the recorded diameter of the center searching ball, the center searching point position and the path information.

further, still include:

the machine tool control module is used for automatically uploading the center searching program of the machined part to the numerical control electric spark machine tool and automatically executing the center searching program to set the coordinate zero point of the machined part;

and the error prevention module is used for acquiring the actual numerical value when the machine tool automatically finds the center, and actively prompting if the machined part is inclined.

The invention has the beneficial effects that: the system for automatically centering and setting the coordinate zero point of the part machined by the numerical control electric discharge machine has the advantages of high safety, high accuracy, low error rate and support for various brands of numerical control electric discharge equipment.

Drawings

The detailed structure of the invention is described in detail below with reference to the accompanying drawings

FIG. 1 is a flow chart of the operation of the present invention.

FIG. 2 is a flow chart of the operation of the apparatus of the present invention.

Detailed Description

In order to explain technical contents, structural features, and objects and effects of the present invention in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.

Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.

as shown in fig. 1, step S10 obtains a three-dimensional model and reference coordinate information of the machined part, sets centering point data according to the three-dimensional model and the reference coordinate information, and performs three-dimensional simulation on the centering ball when the centering ball moves through the centering point data;

Step S20, recording the diameter of the three-dimensional simulation center searching ball, the center searching point position of the center searching ball and path information;

Step S30, automatically converting the diameter of the center-searching ball, the center-searching point and the path information into a center-searching program and a three-coordinate simulation program; running a three-coordinate simulation program on an API of a three-coordinate machine tool, if the simulation is successful, uploading a centering equation to the numerical control machine tool, and executing a coordinate zero point set by the centering program, otherwise, repeating the steps of automatic correction and coordinate zero point setting, namely, automatically uploading the obtained centering equation to the numerical control machine tool, executing the coordinate zero point set by the centering program, and otherwise, repeating the steps; therefore, the system for automatically searching the center and setting the coordinate zero point has the advantages of high safety, high accuracy, low error rate and support of various brands of numerical control electric spark equipment.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:多轴数控铣床的控制装置及其控制方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类