Method and device for generating on-machine detection program of numerical control equipment and storage medium

文档序号:1963303 发布日期:2021-12-14 浏览:17次 中文

阅读说明:本技术 数控设备在机检测程式生成方法、装置及存储介质 (Method and device for generating on-machine detection program of numerical control equipment and storage medium ) 是由 成亚飞 郭小川 于 2021-09-17 设计创作,主要内容包括:本发明公开了一种数控设备在机检测程式生成方法、装置及存储介质,方法包括:获取零件的文件信息,显示零件的图形,获取在图形上用户所输入的检测位置信息,生成运动轨迹,获取用户所选择的模拟检测测头,根据模拟检测测头和运动轨迹进行仿真处理,检测模拟检测测头是否与图形发生碰撞,若模拟检测测头没有与图形发生碰撞,则输出包含模拟检测测头的参数信息和检测位置信息的零件检测程式。本发明可供用户选择不同的数控机床上的模拟检测测头,并可对所选择的模拟检测测头在根据检测位置信息所生成的运动轨迹上进行仿真处理,当模拟检测测头没有与图形发生碰撞时输出零件检测程式,即保证所输出的零件检测程式的有效性,也提高通用性。(The invention discloses a method and a device for generating an on-machine detection program of numerical control equipment and a storage medium, wherein the method comprises the following steps: acquiring file information of a part, displaying a graph of the part, acquiring detection position information input by a user on the graph, generating a motion track, acquiring a simulation detection measuring head selected by the user, carrying out simulation processing according to the simulation detection measuring head and the motion track, detecting whether the simulation detection measuring head collides with the graph or not, and outputting a part detection program containing parameter information and detection position information of the simulation detection measuring head if the simulation detection measuring head does not collide with the graph. The invention can be used for a user to select the simulation detection measuring head on different numerical control machines, can carry out simulation processing on the motion track generated by the selected simulation detection measuring head according to the detection position information, and outputs the part detection program when the simulation detection measuring head does not collide with the graph, thereby ensuring the effectiveness of the output part detection program and improving the universality.)

1. A method for generating an on-machine detection program of numerical control equipment is characterized by comprising the following steps:

acquiring file information of a part, and displaying a graph of the part according to the file information;

acquiring detection position information input by a user on the graph, and generating a motion track according to the detection position information;

acquiring a simulation detection measuring head selected by a user, carrying out simulation processing according to the simulation detection measuring head and the motion track, and detecting whether the simulation detection measuring head collides with the graph or not;

and if the simulation detection measuring head does not collide with the graph, outputting a part detection program containing parameter information and detection position information of the simulation detection measuring head.

2. The method for generating the on-machine detection program of the numerical control equipment according to claim 1, wherein the acquiring the simulated detection measuring head selected by the user comprises:

receiving type information of the numerical control equipment input by a user;

displaying a list containing a plurality of selectable analog detection measuring heads according to the type information;

acquiring the analog test probes selected on the list.

3. The method as claimed in claim 2, wherein the acquiring the detected position information input by the user on the graph comprises:

identifying a plurality of detection points selected by a user on the graph surface, and obtaining a plurality of first position information corresponding to the detection points;

obtaining a plurality of second position information corresponding to a plurality of detection safety points according to a plurality of first position information corresponding to a plurality of detection points; wherein the detection safety points are points which are separated from the graph surface by a first safety distance;

calculating a plurality of vector directions corresponding to the plurality of detection points according to the plurality of first position information;

wherein the plurality of first position information, the plurality of second position information, and the plurality of vector directions constitute detection position information.

4. The method as claimed in claim 3, wherein the obtaining a plurality of second location information corresponding to a plurality of detected security points according to a plurality of first location information corresponding to a plurality of detected security points comprises:

calculating second position information corresponding to the first position information according to the approaching backspacing distance to obtain a plurality of second position information corresponding to a plurality of detected safety points; wherein the approaching backoff distance is greater than or equal to the first safety distance.

5. The method as claimed in claim 3, wherein the generating a motion track according to the detected position information comprises:

acquiring a first sequence of the detection points, wherein the first sequence is a sequence of the detection points which are sequentially input by a user on the graph surface;

and connecting the detection points and the detection safety points in series according to the first sequence to generate a motion track.

6. The method as claimed in claim 5, further comprising, after the step of obtaining the first sequence of the plurality of the detecting points, the steps of:

acquiring a second safety distance input by a user, and calculating third position information corresponding to each limiting point according to the second safety distance, each detection safety point and each second position information corresponding to each detection safety point; wherein the second safety distance is greater than the approaching backoff distance;

the step of connecting the detection points and the detection safety points in series according to the first sequence to generate a motion trail comprises the following steps:

generating a second sequence according to the first sequence, wherein the second sequence is the sequence of all the detection points, all the detection safety points and all the limit points;

and connecting all the detection points, all the detection safety points and all the limit points in series according to a second sequence to generate a motion track.

7. The on-machine inspection program generating method of numerical control equipment according to any one of claims 1 to 6, further comprising:

if the simulation detection measuring head collides with the graph, determining a region where the simulation detection measuring head collides with the graph;

determining to-be-processed detection position information related to the collided area, and deleting the to-be-processed detection position information from the detection position information to obtain actual detection position information;

and outputting a part detection program containing parameter information of the simulation detection measuring head and the actual detection position information.

8. The on-machine inspection program generating method of numerical control equipment according to any one of claims 1 to 6, wherein before the step of outputting a part inspection program including parameter information of the analog inspection probe and the inspection position information, further comprising:

acquiring a detection angle and a detection point tolerance in the simulation processing;

and recording the parameter information, the detection position information, the detection angle and the detection point tolerance of the simulation detection measuring head.

9. An electronic device, comprising a memory, a processor and a bus, wherein the bus is used for realizing connection communication between the memory and the processor, the processor is used for executing a computer program stored in the memory, and the processor realizes the steps of the method in any one of claims 1 to 8 when executing the computer program.

10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the on-machine detection program generation method of the numerical control apparatus according to any one of claims 1 to 8.

Technical Field

The invention belongs to the technical field of numerical control machining, and particularly relates to a method and a device for generating an on-machine detection program of numerical control equipment and a storage medium.

Background

At present, in the nc processing industry, for on-machine detection program generation of nc equipment, for example, patent publication No. CN106774161A, application name is WEB-based nc machine tool on-line detection system and method, a detection path is generated according to an interactive selection point on a curved surface of an acquired model, a detection program is generated according to the detection path, and the detection program and a corresponding model thereof are sent to a server for generating a retrieval report. The detection program generated by the related technology is generated according to the detection path generated by the selection point, the generation method is very simple and convenient, but the problem of low effectiveness exists, meanwhile, in the practical application, a plurality of different types of machine tools exist, the detection program cannot be compatible with all the machine tools, and the universality is low.

Therefore, the prior art is to be improved.

Disclosure of Invention

The invention provides a method, a device and a storage medium for generating an on-machine detection program of a numerical control device, which at least solve the technical problem of low effectiveness of a detection program.

The invention provides a method for generating an on-machine detection program of numerical control equipment, which comprises the following steps:

acquiring file information of the part, and displaying a graph of the part according to the file information;

acquiring detection position information input by a user on a graph, and generating a motion track according to the detection position information;

acquiring a simulation detection measuring head selected by a user, carrying out simulation processing according to the simulation detection measuring head and the motion trail, and detecting whether the simulation detection measuring head collides with the graph or not;

if the simulation detection measuring head does not collide with the graph, outputting a part detection program containing parameter information and detection position information of the simulation detection measuring head; wherein the part inspection program is used for inputting into the numerical control equipment.

In a second aspect of the present invention, an electronic device is provided, which includes a memory, a processor, and a bus, wherein the bus is used for implementing connection communication between the memory and the processor, the processor is used for executing a computer program stored in the memory, and the processor implements the steps in the method of the first aspect when executing the computer program.

In a third aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the on-machine detection program generation method of the numerical control apparatus of the first aspect.

The invention discloses a method, a device and a storage medium for generating an on-machine detection program of a numerical control device. Therefore, a user can select the simulation detection measuring head suitable for different numerical control machines, the selected simulation detection measuring head is subjected to simulation processing on the generated motion track, and when the simulation detection measuring head does not collide with the graph, the part detection program is output, so that the effectiveness and the universality of the output part detection program are improved.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.

FIG. 1 is a flow chart of a method for generating an on-machine inspection program of a numerical control apparatus according to a first embodiment of the present invention;

FIG. 2 is a schematic diagram of a first display interface showing a graphic according to the present invention;

FIG. 3 is a schematic diagram of a motion profile generated by the present invention;

FIG. 4 is a flowchart illustrating a method for generating an on-machine inspection program of a numerical control apparatus according to a second embodiment of the present invention;

FIG. 5 is a diagram illustrating first position information, vector directions, tolerances, and detection angles corresponding to detection points according to the present invention;

FIG. 6 is a schematic diagram of a motion trajectory formed by connecting each detection point, each detection safety point and each limit point in the invention;

FIG. 7 is a schematic diagram of the present invention illustrating the collision of the simulated test probe with the pattern;

fig. 8 is a schematic diagram of module connection of an electronic device according to a third embodiment of the invention.

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

It is noted that relative terms such as "first," "second," and the like may be used to describe various components, but these terms are not intended to limit the components. These terms are only used to distinguish one component from another component. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present invention.

In the current industry, for the program generation of on-machine detection of numerical control equipment, a probe manufacturer commonly matches with measurement software to perform the program generation. Firstly, the cost of the software is 3-5W, and the price is high. Secondly, the operation steps are complex, and the operation is not convenient enough. Thirdly, the current industry aims at partial machine tools, all machine tools cannot be compatible, and if all machine tools need to be compatible, a plurality of sets of software need to be purchased.

The method for generating the on-machine detection program of the numerical control equipment can be applied to the existing software, namely secondary development of the software is realized, the applied software can be NX software (also called UG, Unigraphics, UG software), and the method has the advantages of simplicity in operation and low cost.

Fig. 1 shows a method for generating an on-machine inspection program of a numerical control device according to a first embodiment of the present invention, including:

step S10, acquiring file information of the part, and displaying the graph of the part according to the file information;

in this embodiment, when the user opens the file information of the designed part in the software of the terminal, the graphic 10 (as shown in fig. 2) corresponding to the part is displayed. The file information may be a file with dwg suffix or a file with prt suffix. For example, a file with a prt suffix is opened in the NX software (assuming the part is a cube), the cube is displayed on a first display interface of the NX software. The user can rotate the graphic 10 on the first display interface to facilitate processing of the plurality of end faces on the graphic 10.

Step S20, obtaining the detection position information input by the user on the graph, and generating the motion trail according to the detection position information;

in this embodiment, the detected position information input by the user may be a plurality of detected points confirmed by the user on the graph 10, for example, if the user rotates the graph 10 to identify a plurality of detected points 11 at different positions on the graph 10, the identified plurality of detected points are the detected position information input by the user. For example, the user operates a pointer to click on a smooth end surface or a counter bore of the graphic 10 by controlling a mouse to identify the detection point 11. If an input completion signal input by the user is received, the motion trajectory 20 is generated based on the detected position information. Specifically, a plurality of detection points 11 may be connected in series to generate a motion trajectory.

Step S30, acquiring the simulation detection measuring head selected by the user, carrying out simulation processing according to the simulation detection measuring head and the motion trail, and detecting whether the simulation detection measuring head collides with the graph or not;

in this embodiment, after the graphic 10 of the part is displayed in the first display interface, the user may select the analog measurement probe 30 (shown in fig. 3) having the parameter information through the measurement probe generating function in the first display interface, that is, the analog measurement probe 30 in the first display interface is generated through the measurement probe generating function, where the parameter information may be the diameter of the analog measurement probe. The analog detection probe 30 is a virtual structure, and functions to detect the pattern 10 of the part. Wherein, the simulation process is performed according to the simulation detection measuring head 30 and the motion trail 20, and the simulation process may be a moving process. That is, the selected analog sensing probe 30 is moved from the initial end of the movement trajectory 20 to the final end of the movement trajectory 20, and during the movement, the analog sensing probe 30 itself has a diameter, so that it is necessary to detect whether or not the analog sensing probe 30 collides with the pattern 10.

In step S40, if the analog test probe does not collide with the pattern, a part test program including parameter information and test position information of the analog test probe is output.

If the analog test probe 30 does not collide with the pattern 10 during the simulation process, it indicates that the complete test process using the analog test probe 30 of this diameter for the test position information determined by the user on the part is fault-free. That is, it can be preliminarily determined that the simulation test probe 30 having the diameter does not substantially collide with an actual part during the actual machine tool test process, and a part test program including parameter information and test position information of the simulation test probe 30 is output. After the part detection program is generated, the user can input the part detection program into the numerical control equipment so as to execute an actual detection process on the part through a real detection probe in the numerical control equipment.

Therefore, the present invention acquires the file information of the part, displays the figure 10 of the part according to the file information, acquires the analog detection probe 30 selected by the user, acquires the detection position information input by the user on the figure 10, generates the motion trajectory 20 according to the detection position information, performs the simulation process according to the analog detection probe and the motion trajectory, detects whether the analog detection probe 30 collides with the figure 10, and outputs the part detection program including the parameter information and the detection position information of the analog detection probe 30 if the analog detection probe 30 does not collide with the figure 10. Therefore, a user can select the simulation detection measuring head 30 suitable for different numerical control machines, the selected simulation detection measuring head 30 is subjected to simulation processing on the generated motion track, and when the simulation detection measuring head 30 does not collide with the graph 10, a part detection program is output, so that the effectiveness and the universality of the output part detection program are improved.

Fig. 4 is a schematic flow chart of a method for generating an on-machine test program of a numerical control device according to a second embodiment of the present invention, specifically including, for a step of acquiring a simulated test probe selected by a user: step S401, receiving type information of the numerical control equipment input by a user; step S402, displaying a list containing a plurality of selectable analog detection measuring heads according to the type information; in step S403, the analog detection probe selected on the list is acquired. Specifically, the user may input type information of the numerical control device on the second display interface, where the type information may be a numerical control electric spark type (a type of a numerical control machine tool), and accordingly, a list including a plurality of selectable analog detection probes is displayed on the third display interface according to the numerical control electric spark type input by the user, where the plurality of selectable analog detection probes are matched with the type information input by the user. And finally, acquiring the simulated detection measuring head selected by the user on the list, and taking the simulated detection measuring head selected by the user on the list as the simulated detection measuring head selected by the user. Generally speaking, the type information of a numerical control device is matched with a plurality of analog detection measuring heads and is stored in a terminal, so that the type of the numerical control machine needs to be acquired before the analog detection measuring heads are selected, a customer selects the matched analog detection measuring heads, and the problem that the analog detection measuring heads selected by the user are inapplicable is solved. The second display interface may be an interface covering a top area of the first display interface, and the third display interface may be an interface covering a bottom area of the first display interface.

In this embodiment, the step of acquiring the detection position information input by the user on the graph specifically includes:

step S404, identifying a plurality of detection points 11 selected by a user on the surface of the graph 10, and obtaining a plurality of first position information corresponding to the plurality of detection points 11;

specifically, a plurality of detection points 11 selected by the user on the surface of the graph 10 may be recognized in the region to be processed of the graph 10, where the region to be processed of the graph 10 represents a region that can be used as the detection points 11, for example, when the graph 10 is a cube, the top end face, the left side end face, the front side end face, the rear side end face, and the right side end face of the cube are all regions to be processed, and the bottom face of the cube cannot be used as a region to be processed. Acquiring a plurality of first position information corresponding to the plurality of detection points 11, wherein the first position information can be coordinate values; for example, the coordinate values corresponding to the respective detection points 11 may be acquired by establishing a coordinate system.

Step S405, obtaining a plurality of second position information corresponding to a plurality of detection safety points according to a plurality of first position information corresponding to a plurality of detection points 11;

specifically, a plurality of second position information corresponding to each detection safety point 12 may be calculated according to a plurality of first position information corresponding to each detection point 11, one detection point 11 corresponds to one detection safety point 12, the detection safety point 12 is a point separated from the surface of the graphic 10 by a first safety distance, and the first safety distance may be 5-10 mm. The function of the test safety points 12 is to keep the analogue test probe 30 at a safe distance from the pattern 10 when moving away from or close to the test point 11, so that the analogue test probe 30 is moved along the generated trajectory path 20 with a reduced probability of collision with the pattern 10 corresponding to the part. After the plurality of second position information are obtained, each detection safety point 12 is identified in the first display interface according to each second position information.

Step S406 is to calculate a plurality of vector directions corresponding to the plurality of detection points according to the plurality of first position information and the plurality of second position information.

Specifically, a plurality of vector directions corresponding to the plurality of detection points are calculated according to the plurality of first position information and the plurality of second position information, and one detection point 11 has one vector direction, and the vector direction is used for simulating the movement of the detection probe 30 from the detection point 11 to the detection safety point 12. For example, if the first position information corresponding to one detected point 11 is (X1, Y1) and the second position information corresponding to one detected safe point 12 (the detected safe point 12 corresponds to the detected point 11) is (X2, Y2), the corresponding vector direction (I, J, K shown in fig. 5) can be calculated according to the two coordinate values. Wherein the plurality of first position information, the plurality of second position information, and the plurality of vector directions constitute detection position information.

In this embodiment, the step of obtaining a plurality of second location information corresponding to the plurality of detected security points according to a plurality of first location information corresponding to the plurality of detected security points specifically includes: and respectively calculating each piece of second position information corresponding to each piece of first position information according to the approaching backspacing distance to obtain a plurality of pieces of second position information corresponding to a plurality of detection safety points. That is, each first position information corresponding to each detecting point 11 can calculate each second position information corresponding to each detecting safety point 12 according to the approaching backoff distance, where please refer to fig. 2 again, the approaching backoff distance a is a distance difference between the first position information and the second position information, and the approaching backoff distance a is greater than or equal to the first safety distance. The first safety distance is related to the total volume of the part, and the larger the total volume of the part is, the larger the corresponding first safety distance is. The first safety distance may be determined according to the total volume of the part, and different first safety distances may be matched in advance for different total volumes. For example, when opening a document of information about a part, the displayed graphic 10 has information about length, width, height, etc., so that the total volume of the part can be calculated, the corresponding first safety distance is determined, i.e., the approaching retreat distance a is also determined.

In this embodiment, the step of generating the motion trajectory according to the detected position information specifically includes: a first sequence of a plurality of detection points 11 is acquired, and the detection points 11 and the detection safety points 12 are connected in series according to the first sequence to generate a motion trail 20. Specifically, the first sequence is that the user sequentially inputs a sequence (sequence may also be referred to as a point set) of a plurality of detection points 11 on the surface of the graph 10, for example, the sequence of N detection points 11 is P1, P2 … … PN (shown in fig. 5), and PN represents the nth detection point. When the motion trajectory 20 is generated, since one detection point 11 corresponds to one detection safety point 12, the detection points 11 and the detection safety points 12 are connected in series in the sequence of the first detection point, the detection safety point corresponding to the first detection point, the detection safety point … … corresponding to the second detection point, the detection safety point corresponding to the last detection point, and the last detection point. It will be appreciated that the motion trajectory 20 is a path generated by the movement of the reference point (a point much smaller than the analogue detection stylus 30) according to the sequence of the detection points 11, 12 in the first sequence.

In this embodiment, after the step of obtaining the first sequence of the plurality of detection points, the method further includes: and acquiring a second safety distance input by the user, and calculating third position information corresponding to each limit point according to the second safety distance, each detection safety point and each second position information corresponding to each detection safety point. Specifically, the second safety distance input by the user is greater than the approaching backoff distance. The second safety distance is a distance between the simulated detection measuring head 30 and the top end surface of the graph 10 when the simulated detection measuring head is located at the highest position of the motion track 20, obviously, the smaller the second safety distance is, the shorter the detection time required for detecting the whole part is, but in the actual detection process, the consideration is given to the fact that other obstacles (such as other parts to be detected) generally exist in the track of the numerical control machine tool, so that the second safety distance can be determined by a user to avoid the collision phenomenon with other parts to be detected in the actual part detection process. Specifically, according to the second safety distance and the second position information corresponding to each detected safety point, each third position information corresponding to each limiting point 21 (shown in fig. 6) may be calculated, and after each third position information is calculated, each limiting point 21 is identified at a position corresponding to each third position information, so as to facilitate the serial generation in the subsequent motion trajectory.

The method comprises the following steps of firstly, obtaining a first sequence of detection points, wherein the detection points and the detection safety points are connected in series according to the first sequence, and the step of generating the motion trail specifically comprises the following steps: generating a second sequence according to the first sequence, wherein the second sequence is the sequence of all the detection points, all the detection safety points and all the limited points; and connecting all the detection points, all the detection safety points and all the limit points in series according to the second sequence to generate a motion track.

In this embodiment, when obtaining the first sequence of the detection points, assuming that the obtained first sequence is P1 and P2 … … PN (the sequence of the detection points 11), since each detection point 11 corresponds to one detected safe point 12, that is, there are sequences Y1 and Y2 … … YN (YN represents the nth detected safe point) of all detected safe points 12, and each detected safe point 12 corresponds to one localization point 21, there are sequences V1 and V2 … … VN (VN represents the nth localization point) of all localization points 21, and based on the above three sequences, the second sequences P1, Y1, V1 … … PN, YN, VN can be obtained. Therefore, all detection points, all detection safety points and all limit points can be connected in series according to the second sequence to generate a motion track.

In this embodiment, the method further includes the following steps: if the analog test probe 30 collides with the pattern 10 (as shown in fig. 7), a region where the analog test probe 30 collides with the pattern 10 is specified, the to-be-processed test position information on the collided region is specified, the to-be-processed test position information is deleted from the test position information, the actual test position information is obtained, and a part test program including the parameter information of the analog test probe and the actual test position information is output. For example, if the area where the collision occurs is the right end face of the drawing 10 (indicating that all the detection points 11 selected on the right end face have a point picking failure problem), all the detection points 11 selected on the right end face are determined, all the detection points 11 selected on the right end face are deleted from the first display interface, and finally, the part inspection program including the parameter information of the dummy inspection probe and the actual inspection position information (the inspection position information from which the inspection position information to be processed has been deleted) is output. Wherein the part inspection program is used for inputting into the numerical control equipment.

In this embodiment, before the step of outputting the part inspection program including parameter information and inspection position information of the analog inspection probe, the method further includes: acquiring a detection angle and a detection point tolerance in simulation processing; and recording the parameter information, the detection position information, the detection angle and the detection point tolerance of the simulation detection measuring head. Specifically, the detection angle shown in fig. 5 is an XY angle, for example, the detection angle corresponding to the third detection point is-90 degrees, and the corresponding tolerance includes an upper tolerance of 0.000 and a lower tolerance of 0.000. It should be noted here that the detection position information to be recorded is valid detection position information (the detection position information to be processed relating to the area where the collision occurs does not belong to valid detection position information).

In this embodiment, a shortest motion trajectory is determined according to a plurality of first position information corresponding to a plurality of detection points 11, a plurality of second position information corresponding to a plurality of detection safety points 12, and a plurality of third position information corresponding to a plurality of limit points 21. Specifically, a first array and a second array may be constructed, where the first array is a null array (there is no any detection point 11, detection safety point 12, and limit point 21), and the second array includes all the detection points 11, detection safety points 12, and limit points 21 on the first display interface; sequentially determining target end points from all the detection points 11, the detection safety points 12 and the limit points 21 by a greedy algorithm according to the approaching backspacing distance, the first spacing distance and the second spacing distance, sequentially adding the target end points into the first array, sequentially deleting the corresponding points in the second array according to the target end points until the second array is an empty set, finally generating the first array, and serially connecting the detection points 11, the detection safety points 12 and the limit points 21 in the first array according to the sequence to generate the shortest motion track, thereby ensuring that the detection time spent in the detection process is shortest.

FIG. 8 shows an electronic device provided in a fifth embodiment of the present invention, which can be used to implement the method for generating an on-machine inspection program of a numerical control apparatus in any of the embodiments. The electronic device includes:

a memory 801, a processor 802, a bus 803, and computer programs stored on the memory 801 and executable on the processor 802, the memory 801 and the processor 802 being connected by the bus 803. When the processor 802 executes the computer program, the method for generating the on-machine detection program of the numerical control device in the foregoing embodiment is realized. Wherein the number of processors may be one or more.

The Memory 801 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 801 is used to store executable program code, and the processor 802 is coupled to the memory 801.

Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in the electronic device in the foregoing embodiments, and the computer-readable storage medium may be a memory.

The computer readable storage medium stores thereon a computer program which, when executed by a processor, implements the on-machine detection program generating method of the numerical control apparatus in the foregoing embodiments. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.

In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.

Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.

In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.

The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.

In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于等弦分割采样的球形灌木球面插补算法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类