Multi-station numerical control machining method and device and numerical control machine tool
Through real-time monitoring and skipping of faulty stations through templates and macro-instructions, the efficiency and quality reduction caused by station problems in multi-station CNC processing is solved, and efficient and safe multi-station processing is achieved.
Patent Information
- Application Number
- CN202510389796.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-07-08
AI Technical Summary
In multi-station CNC machining, if a certain station has problems, the prior art needs to remove the problem station to avoid tool damage, resulting in a decrease in processing efficiency and quality.
By establishing template programs and macro programs, we can monitor station failures in real time, identify and skip faulty stations, and continue to process other stations to avoid idling and damage to the tool.
Improve machining efficiency, avoid tool damage, extend tool life, and simplify operation process.
Smart Images

Figure CN120276367A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to numerical control machining of machine tools. Specifically, it relates to a multi-station numerical control machining method. In addition, the present invention also relates to a device and a numerical control machine tool using this method. Background Art
[0002] During the numerical control machining of products, in order to improve the machining production efficiency of products, batch machining is often selected. To improve the efficiency of batch machining of products, multi-station machining is often carried out, that is, multiple identical products are clamped on one or more fixtures in a numerical control device for machining. When the program runs, a tool successively processes from the first station to the last station, and then the next tool is replaced to continue machining. Its advantage is that it greatly reduces the tool change times and significantly shortens the idle running distance of the machine tool, improving the machining efficiency.
[0003] However, during multi-station machining, if there are problems with the workpieces or machining environment at one or several stations, resulting in the inability to continue machining production at this station. In order not to affect the production and machining of workpieces at other stations, the common method is to remove the workpieces on the problematic work after removing them, and then continue "normal machining". This method wastes machining efficiency due to the phenomenon of "cutting in the air" of the tool. In addition, some tools do not allow "cutting in the air", such as gun drills and other tools, which will be damaged due to excessive centrifugal force during high-speed idle rotation. Therefore, once a problem occurs at a certain station during multi-station machining, it is very troublesome to handle, and moreover, it greatly reduces the machining efficiency and machining quality of the product.
[0004] Therefore, it is necessary to design a new multi-station numerical control machining method. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a multi-station numerical control machining method. When using this method for multi-station machining, if one or more stations have problems, the problematic stations can be directly skipped, and the products on the stations without problems can continue to be machined, ensuring the machining efficiency while also avoiding the problem of tool damage due to cutting in the air.
[0006] In order to solve the above technical problems, on the one hand, the present invention provides a multi-station numerical control machining method, which is applied to a numerical control machine tool. The method includes:
[0007] Establish a template program for machining the workpiece to be machined, and solidify the template program in the machine tool system of the numerical control machine tool;
[0008] Establish a macro instruction program as the main program framework, determine the coordinate system where the corresponding workstations of each workpiece to be processed are located, and call the template program to be able to execute the processing technology on the workpiece to be processed;
[0009] Real-time monitor the fault signals of each of the workstations;
[0010] In response to the fault signal, identify the corresponding workstation of the faulty workpiece that cannot be processed, and determine that workstation as the faulty workstation;
[0011] In response to the determination result, modify the instruction program corresponding to the faulty workstation in the macro instruction program, pause the processing of the workpiece on the faulty workstation, and continue to execute the instruction program for processing the workpieces on other workstations.
[0012] In some embodiments, establishing the template program includes the following steps:
[0013] In response to the workpiece to be processed, establish a corresponding program number;
[0014] In response to the program number, establish a number of machining instruction segments;
[0015] In response to the machining instruction segments, establish the machining instructions for the machining technology required by the workpiece to be processed.
[0016] In some embodiments, establishing the macro instruction program includes the following steps:
[0017] Number each of the workstations;
[0018] In response to the numbering, sequentially establish the instruction programs for the workstations corresponding to the numbering;
[0019] In response to the instruction program, call the corresponding machining instruction segments in the template program to be able to machine the workpiece.
[0020] In some embodiments, a judgment instruction is set in the instruction program to be able to judge whether the workstation to be processed is a faulty workstation. If the workstation to be processed is a faulty workstation, skip or cancel the processing of the workpiece on the faulty workstation and continue to process the workpiece on the next workstation.
[0021] In some embodiments, before processing the workpiece to be processed, it is necessary to analyze the material and dimensions of the workpiece to be processed to be able to determine the processing parameters for machining the workpiece to be processed into the target workpiece.
[0022] In some embodiments, the processing parameters include the initial position of the feed, the machining width, the depth of cut, the machining speed, and the machining feed rate.
[0023] In some embodiments, before machining the workpiece,
[0024] In response to the analysis results of the material and dimensions of the workpiece to be processed, a suitable cutting tool is selected from general cutting tools as the target cutting tool of the numerical control machine tool according to the structural characteristics of the workpiece to be processed and the machining parameters.
[0025] In some embodiments, a tool change instruction is further set in the macro instruction program.
[0026] In response to the tool change instruction, the corresponding target tool is called from general cutting tools.
[0027] The second aspect of the present invention also discloses a device for multi-station numerical control machining, including:
[0028] A memory configured to store instructions; and
[0029] A processor configured to call the stored instructions from the memory and be able to implement the method for multi-station numerical control machining according to any one of the technical solutions provided in the first aspect above when executing the stored instructions.
[0030] The third aspect of the present invention provides a numerical control machine tool including the device for multi-station numerical control machining provided in the technical solution of the second aspect above.
[0031] Through the above technical solutions, the beneficial effects of the present invention are as follows:
[0032] The multi-station numerical control machining method provided by the present application can machine multiple identical workpieces on one numerical control machine tool, ensuring the production efficiency of batch production. Further, the tool path of the workpiece to be machined is confirmed by establishing a template program. A macro instruction program is established, and the macro instruction program calls the machining program segments in the template program to facilitate the machine tool operator to control the machine tool for machining, simplifying the programming process. By monitoring the machining status and fault signals of each station in real time, the specific information of the faulty station is obtained. By pausing the relevant machining instructions of the faulty station in the macro instruction program, the machine tool does not machine the workpiece on this station, and then machines the workpiece on the next problem-free station, avoiding the problem of the tool running empty on this station, shortening the machining time, improving the machining efficiency, and also avoiding damage to the tool and prolonging the service life of the tool.
[0033] Other features and advantages of the present invention will be described in detail in the subsequent specific implementation part. Description of the Drawings
[0034] The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention, but do not constitute a limitation to the present invention. In the accompanying drawings:
[0035] Figure 1 is a flowchart of a specific embodiment of the multi-station numerical control machining method of the present invention. Specific Embodiments
[0036] The following will describe in detail the specific embodiments of the present invention with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present invention, and the protection scope of the present invention is not limited to the following specific embodiments.
[0037] As Figure 1 shown, the first aspect of the present invention provides a machining method for multi-station machining using a numerically controlled machine tool. The method includes:
[0038] Establish a template program for machining the workpiece to be machined, and solidify the template program in the machine tool system of the numerically controlled machine tool;
[0039] Establish a macro instruction program as the main program framework, determine the coordinate system where the corresponding workstations of each workpiece to be machined are located, and call the template program to be able to execute the machining process on the workpiece to be machined;
[0040] Real-time monitor the fault signals of each workstation;
[0041] In response to the fault signal, identify the corresponding workstation of the faulty workpiece that cannot be machined, and determine that workstation as a faulty workstation;
[0042] In response to the determination result, modify the instruction program corresponding to the faulty workstation in the macro instruction program, pause the machining of the workpiece on the faulty workstation, and continue to execute the instruction program for machining the workpieces on other workstations.
[0043] The machining method provided by the present invention can achieve mass production by using a numerically controlled machine tool to perform multi-station machining on the same product. Moreover, during the multi-station production process, it can directly skip the problematic workstations and machine the workpieces on other problem-free workstations, saving machining time, improving machining efficiency, and at the same time avoiding the tool from performing empty cutting on the problematic workstations, preventing the problem of tool damage caused by empty cutting of some tools.
[0044] In some specific embodiments, regarding the establishment of a template program, it is compiled according to the workpiece to be processed. First, a program number corresponding to the workpiece to be processed needs to be established, and a number of program segments are sequentially set in this template program. For example, if machining processes such as threaded holes, through holes, and grooving need to be performed on the workpiece to be processed, then when establishing the template program, several machining program segments can be sequentially established in a template program, and each machining program segment corresponds to one or several machining processes.
[0045] Among them, before establishing the template program, a preliminary analysis of the workpiece to be processed needs to be carried out, specifically including the analysis of materials and dimensions. According to the analysis results, the machining parameters for machining the workpiece to be processed into the target workpiece are determined. Specifically, the machining parameters include the initial position of the feed, machining width, depth of cut, machining speed, and machining feed rate, etc.
[0046] It should be noted that the machining parameters are set according to the workpiece to be processed as required, and are not limited to the various machining parameters in the above specific embodiments.
[0047] In addition, in some specific embodiments, according to the analysis of the material and dimensions of the workpiece to be processed, a suitable tool is selected. Specifically, the machining tool can be selected according to the structural characteristics of the workpiece to be processed and the corresponding machining parameters, and a suitable tool is selected from general machining tools as the target machining tool. Among them, general machining tools include but are not limited to milling cutters, boring cutters, drills, reamers, saws, etc.
[0048] It should be noted that the number of target tools selected can be one, two, or more, specifically selected according to the specific situation of the workpiece to be processed actually required and the machining processes to be performed.
[0049] It should also be noted that the establishment of the template program can be carried out for one workpiece or multiple workpieces. Specifically, it is set according to the actual machining situation.
[0050] As a specific embodiment of establishing a template program in the multi-station numerical control machining method provided by the present invention, taking the machining of one workpiece as an example, the specific steps include:
[0051] S01. Establish a program number;
[0052] S02. Establish program statements regarding machining parameters according to the workpiece to be processed;
[0053] S03. Sequentially set machining program segments according to the machining processes required for the workpiece to be processed, and then compile the specific feed program to be performed in the corresponding machining program segments for each machining process. This feed program includes the starting position of the tool and the specific machining trajectory;
[0054] S04. After the machining is completed, a tool retraction program is established to complete the machining of the workpiece.
[0055] Since the machining method provided by the present invention is a multi-station machining method, in order to improve the machining efficiency, the same tool is used to machine the parts on each workpiece to be machined that require the same machining process. Therefore, when a tool change is required for another machining process, a tool change instruction needs to be set in the macro instruction program, and the tool change instruction can control the numerical control machine tool to call the corresponding target tool from the tool library for machining.
[0056] In some specific embodiments, the macro instruction program is established according to the machining stations specifically required. Among them, the number of stations is set according to the specific machining environment. For example, the number of stations allowed to be established by the used numerical control machine tool, the optimal number of stations during mass production of products, etc. are used as the setting basis.
[0057] The established macro instruction program includes the confirmation of the coordinate systems where each station is located. The purpose of such a design is that the template program only includes the tool path program for the tool to move along the workpiece and the coordinates of the starting position of the tool, but does not limit the specific coordinate system. Due to mass production, the tool path programs used for each workpiece are the same, but the starting positions of the tools are different. Therefore, it is necessary to set the coordinate system where each station is located in the macro instruction program. Combining the coordinate system and the starting coordinates of the tool, the numerical control machine tool can control the tool to reach the corresponding station for machining.
[0058] Before establishing the macro instruction program, each station needs to be numbered and sequentially incorporated into the beginning part of the macro instruction program, and the subsequent machining order is further confirmed according to the numbered order.
[0059] After confirming the machining order of each station, then confirm the coordinate systems where each station is located, and then call the corresponding machining program segment in the template program for machining. Using the same tool, the same machining process operation is performed on the same parts of the workpieces at each station.
[0060] Furthermore, the macro instruction program also includes a judgment instruction to be able to judge whether the station to be machined is a faulty station. If the station to be machined is a faulty station, the machining of the workpiece on the faulty station is skipped or cancelled, and the machining of the workpiece on the next station is continued.
[0061] As a specific embodiment of establishing a macro instruction module in the multi-station numerical control machining method provided by the present invention, taking eight stations as an example, the specific steps include:
[0062] S01. Number the eight workstations in sequence according to the model of the CNC machine tool and the requirements of specific codes, and set variables behind the numbers of each workstation, such as "#501 = 0", "#502 = 1".
[0063] S02. Establish a tool change instruction, and call the corresponding target tool from the tool library according to the machining process required specifically.
[0064] S03. Establish machining program segments in sequence according to the numbers. Each machining program segment includes: first, the sequence number of this program segment, then establish a judgment statement, secondly establish the code that can enable the coordinate system required for this workstation, and then call the corresponding machining program segment in the template program to machine the workpiece.
[0065] S04. After machining the workpieces at all eight workstations, establish a tool change instruction again, and repeat the steps in S03 until the workpiece machining is completed.
[0066] It should be noted that the judgment statement required for establishing the judgment instruction can make a judgment by assigning a value to the variable of the corresponding workstation number set in S01. That is to say, it can be determined whether the workstation to be machined is a faulty workstation by judging whether the variable value of this workstation is the preset value. For example, if the preset value is "0", it is not a faulty workstation; if the preset value is a non - "0" value, then this workstation is a faulty workstation. If the workstation to be machined is a faulty workstation, the operation of the program segment corresponding to this workstation will no longer continue, and the workpiece at this workstation will no longer be machined, and the workpiece at the next workstation will be machined continuously; if it is judged that this workstation is not a faulty workstation, the machining program will continue to run in sequence.
[0067] It should be noted that the determination of the faulty workstation can be determined according to the alarm signal of the CNC machine tool. The initial values of the variables corresponding to the numbers of each workstation in the macro instruction program are all preset values. When the CNC machine tool has a situation such as tool breakage or workpiece damage and cannot continue machining during the machining process, the CNC machine tool will alarm. The staff can change the variable of the corresponding workstation number in the macro instruction program to a non - preset value according to the workstation corresponding to the alarm, and then continue to run the program. During the operation of the macro instruction program, it will automatically determine that this workstation is a faulty workstation, and no machining instruction will be given to this workstation anymore.
[0068] Furthermore, the CNC machine tool can also be connected to the central control platform. When an alarm signal is sent, the central control platform can receive the signal, determine the number of the faulty station based on the current position of the tool on the CNC machine tool, and then automatically modify the variable value attached to the station number in the macro instruction program. After the modification, the CNC machine tool is controlled to continue running the machining program. If the tool is damaged, the central control platform can select a replacement tool from the tool library according to the actual situation of the CNC machine tool for replacement.
[0069] In the present invention, by establishing numbers for each station, assigning variable values to the numbers of each station, and establishing a judgment instruction to judge whether the variables are preset values, it is determined whether the station to be machined is a faulty station. Then, when the entire macro instruction program continues to run, it can skip the faulty station and continue machining other stations. In this way, not only can the time for the tool to run empty at the faulty position be saved, but also problems such as the high-speed idling of tools such as gun drills being damaged due to excessive centrifugal force when running an empty cut at the faulty station can be avoided. While improving production efficiency, the service life of the tool can also be extended. In addition, using this method to judge and skip the faulty station, the operator of the machine tool only needs to modify the variables of the numbers at the beginning of the macro instruction program, which is simple to operate, has a low programming requirement for the operator, and has a wide application range.
[0070] In addition, using this macro instruction program can also only test the first station when adjusting the first-piece product for multi-station machining, and run the program for other stations. It can not only test whether there are errors in the template program, but also shorten the preparation time, and there is no need to separately compile a debugging program for the first-piece product, greatly improving the work efficiency.
[0071] Secondly, as a specific implementation of the multi-station numerical control machining method provided by the present invention, this method can also be applied to using a numerically controlled machine tool to perform different machining processes on different workpieces. For example, if three stations are set up, the first station needs to perform face milling, boring, and grooving, the second station needs to perform boring, and the third station needs to perform face milling and grooving. When establishing the template program, corresponding machining programs can be compiled for each machining process. When establishing the macro instruction program, according to the specific machining process, for example, if face milling is required at all three stations, first establish the station numbers and set the variables of each number to preset values, call the corresponding tool and the corresponding program segment in the template program to perform face milling on the three stations in sequence; then, establish the station numbers again, and reset the variables of the stations that do not require boring to non-preset values, call the corresponding tool and the corresponding program segment in the template program to machine the workpieces that require boring, and for the workpieces that do not require boring, they will directly skip under the instructions of the macro instruction program; when performing grooving, it is the same as performing boring, only the variable values of the stations that do not require grooving need to be modified. This method can facilitate operators who are not proficient in compiling machining programs, and can also meet the requirement of using one machine tool to perform different machining processes on multiple workpieces at the same time.
[0072] In order to better understand the multi-station numerical control machining method provided in the first aspect of the present invention, the following will be described in conjunction with preferred embodiments:
[0073] Taking the example of using a Fanuc machine tool to perform the same machining process on multiple workpieces.
[0074] First, before machining the workpiece to be machined, analyze the material and dimensions of the workpiece to be machined, determine the machining parameters for machining the workpiece to be machined into the target workpiece, and select a suitable tool from the general machining tools as the target machining tool of the numerically controlled machine tool according to the structural characteristics and machining parameters of the workpiece to be machined.
[0075] Then, establish a template program according to the specific situation of the workpiece. The specific steps include:
[0076] S01. Establish a program number, for example: "O1610";
[0077] S02. Establish program statements about machining parameters according to the workpiece to be machined. Specifically, it includes the coordinates of the initial position of the tool, the machining depth, the tool speed, and the tool feed rate, etc.
[0078] S03. Set the machining program segments in sequence according to the machining processes required for the workpiece to be machined, and then compile the specific feed programs to be carried out in the corresponding machining program segments for each machining process. The feed program includes the starting position of the tool and the specific machining trajectory. For example, the program segment names can be "N102", "N103", etc.
[0079] S04. Establish a tool retraction program after machining to complete the machining of the workpiece.
[0080] Solidify the established template program into the numerical control machine tool for subsequent use.
[0081] Next, then establish a macro instruction program. For example, there are eight machining stations, and the specific steps include:
[0082] S01. Number the eight stations in sequence according to the model of the numerical control machine tool and the requirements of specific codes, and set variables behind the numbers of each station, such as "#501 = 0", "#502 = 1", where the preset value is "0";
[0083] S02. Establish a tool change instruction, and call the corresponding target tool from the tool magazine according to the machining process to be carried out specifically. For example: "T01M6";
[0084] S03. Establish machining program segments in sequence according to the numbers. Each machining program segment includes in sequence: first, the sequence number of the program segment, then establish a judgment statement, secondly establish the code capable of enabling the coordinate system required for this station, and then call the corresponding machining program segment in the template program to machine the workpiece. Take the program segment of the first station "#501" as an example: first, the name of the program segment is "N1011", and then the judgment instruction corresponding to this station is "IF[#501 EQ 1]GOTO1012". Among them, the judgment instruction indicates that if the variable value is "1", then this station is an obstacle station and directly skip this station to machine the next station. As can be seen from step S01, the variable of the number of this station is "0", so this station is not an obstacle station, and the program continues to run, that is, call the instruction of the corresponding machining program segment in the template program to be able to machine the workpiece;
[0085] S04. After machining the workpieces at all eight stations, establish a tool change instruction again, and repeat the steps in S03 until the workpiece machining is completed.
[0086] Finally, input the macro instruction program into the CNC machine tool, and use the corresponding fixture to clamp the blank of the workpiece to be machined, where the CNC machine tool processes the workpiece. Among them, during the machining process, when the CNC machine tool encounters a faulty station and cannot perform machining or the tool is damaged and cannot continue machining, it will send an alarm signal. The staff judges the number of the faulty station according to the alarm signal, and changes the number variable of the faulty station in the macro instruction program to be equal to "1". In this way, during the subsequent production and machining, the program will automatically skip the faulty station and continue to machine the next station during the operation process.
[0087] The multi-station CNC machining method provided by the first aspect of the present invention can mass-produce multiple workpieces, and can judge the obstacle station according to the real-time situation during the production process. By modifying the macro instruction program, the machining program can automatically skip the obstacle station and continue the machining operation of other stations during operation. It avoids the problems of cumbersome program modification and large workload, and can also avoid the problems that the program needs to be restored and is prone to errors after modification. At the same time, it can also avoid the problem that some tools will be damaged when facing an empty cut. It improves work efficiency and extends the service life of the tool.
[0088] It should be noted that the machining program edited according to the chamfering machining method provided by the above first aspect can adopt various numerical control systems, such as: machining centers of OKUMA OSAKA SYSTEM, SIEMENS, FANUC, MITSUBISHI, HNC, etc. As long as it is carried out according to the machining steps of the present invention, it also belongs to the protection scope of the present invention.
[0089] A specific embodiment of a device for multi-station CNC machining provided by the second aspect of the present invention may include: a memory configured to store instructions; and a processor configured to call instructions from the memory and be able to implement the above-mentioned method for multi-station CNC machining when executing the instructions.
[0090] Specifically, a specific embodiment of the device is provided. In this embodiment, the processor may be configured to:
[0091] Before machining the workpiece to be machined, analyze the material and size of the workpiece to be machined, determine the machining parameters for machining the workpiece to be machined into the target workpiece, and select a suitable tool from general machining tools as the target machining tool of the CNC machine tool according to the structural characteristics and machining parameters of the workpiece to be machined.
[0092] Then, establish a template program according to the specific situation of the workpiece. The specific steps include:
[0093] S01. Establish a program number;
[0094] S02. Establish program statements regarding machining parameters based on the workpiece to be machined. Specifically, it includes the coordinates of the initial position of the tool, machining depth, tool rotation speed, tool feed rate, etc.
[0095] S03. Set machining program segments in sequence according to the machining processes required for the workpiece to be machined. Then, for each machining process, compile the specific feed program in the corresponding machining program segment. This feed program includes the starting position of the tool and the specific machining trajectory.
[0096] S04. Establish a retraction program after machining is completed to finish machining the workpiece.
[0097] Solidify the established template program into the numerical control machine tool for subsequent use.
[0098] Next, establish a macro instruction program. The specific steps are as follows:
[0099] S01. Number each working station in sequence according to the model of the numerical control machine tool and the requirements of specific codes, and set variables after the numbers of each working station.
[0100] S02. Establish a tool change instruction, and call the corresponding target tool from the tool magazine according to the machining process required specifically.
[0101] S03. Establish machining program segments in sequence according to the numbers. Each machining program segment includes: first, the sequence number of this program segment; then establish a judgment statement to judge whether the working station of the machining program to be run is a faulty working station; secondly, establish the code that can enable the coordinate system required for this working station; then call the corresponding machining program segment in the template program. If this working station is not an obstacle working station, machine the workpiece. If it is, jump to the next working station for machining.
[0102] S04. After machining the workpieces at each working station is completed, establish a tool change instruction again, and repeat the steps in S03 until the workpiece machining is completed.
[0103] Finally, input the macro instruction program into the numerical control machine tool, and use the corresponding fixture to clamp the blank of the workpiece to be machined. Among them, the numerical control machine tool machines the workpiece. During the machining process, when the numerical control machine tool encounters a faulty working station and cannot machine or the tool is damaged and cannot continue machining, it will send an alarm signal. The staff judges the number of the faulty working station according to the alarm signal, and changes the number variable of the faulty working station in the macro instruction program to a non - preset value. In this way, during the subsequent production machining, the program will automatically skip the faulty working station and continue machining the next working station during the operation process.
[0104] In the third aspect of the present invention, a numerical control machine tool is provided. This numerical control machine tool can use the multi-station numerical control machining method provided in the first aspect above to mass-produce workpieces. This numerical control machine tool can also include the numerical control machining device for multi-stations provided in the second aspect above to control the numerical control machine tool to execute the above-mentioned method for multi-station numerical control machining.
[0105] Furthermore, integrating some specific embodiments and specific examples provided in the first aspect of the present invention above, the present invention can also provide a machine-readable storage medium. Instructions are stored on this machine-readable storage medium, and these instructions are used to cause a machine to execute the above-mentioned method for multi-station numerical control machining.
[0106] In one embodiment, a computer device is provided. This computer device can be a server. The computer device includes a processor, a network interface, a memory, and a database connected through a system bus. Among them, the processor of this computer device can provide computing and control capabilities. The memory of this computer device includes an internal memory and a non-volatile storage medium. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of this computer device is used to store machining data for multi-station numerical control machining. The network interface of this computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it realizes multi-station numerical control machining.
[0107] It should be noted that the above embodiments are only the configurations of the computer device related to the solution provided by the present invention. In actual use, the computer device may also include more or fewer components than those in the above embodiments, or combine certain components, or have different component arrangements.
[0108] It should also be noted that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. In addition, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.
[0109] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and a memory.
[0110] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM) and / or non-volatile memory such as read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0111] Computer-readable media includes both permanent and non-permanent, removable and non-removable media and can store information by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transitory media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0112] In the description of the present invention, the descriptions referring to terms such as "one embodiment", "some embodiments", "a specific implementation" etc. mean that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In the present invention, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0113] The preferred embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings. However, the present invention is not limited to the specific details in the above embodiments. Within the scope of the technical concept of the present invention, various simple modifications can be made to the technical solutions of the present invention, and these simple modifications all fall within the protection scope of the present invention.
[0114] In addition, it should be noted that, in the case of no contradiction, the various specific technical features described in the above specific implementation manners can be combined in any suitable manner. To avoid unnecessary repetition, the present invention does not further describe various possible combination manners.
[0115] In addition, any combination can be made among the various different embodiments of the present invention as long as it does not violate the idea of the present invention, and it should also be regarded as the content disclosed by the present invention.
Claims
1. A multi-station numerical control machining method, characterized in that, The method is applied to a numerically controlled machine tool, and the method includes: Establish a template program for machining a workpiece to be machined, and solidify the template program in the machine tool system of the numerically controlled machine tool; Establish a macro instruction program as the main program framework, determine the coordinate system where the corresponding station of each workpiece to be machined is located, and call the template program to be able to perform machining processes on the workpiece to be machined; Real-time monitor the fault signals of each station; In response to the fault signal, identify the corresponding station of the faulty workpiece that cannot be machined, and determine this station as a faulty station; In response to the determination result, modify the instruction program corresponding to the faulty station in the macro instruction program, pause the machining of the workpiece on the faulty station, and continue to execute the instruction program for machining the workpiece on other stations.
2. The multi-station numerical control machining method according to claim 1, wherein, Establishing the template program includes the following steps: In response to the workpiece to be machined, establish a corresponding program number; In response to the program number, establish several machining instruction segments; In response to the machining instruction segments, establish the machining instructions for the machining processes required by the workpiece to be machined.
3. The multi-station numerical control machining method according to claim 2, wherein Establishing the macro instruction program includes the following steps: Number each station; In response to the numbering, sequentially establish the instruction programs for the stations corresponding to the numbering; In response to the instruction program, call the corresponding machining instruction segments in the template program to be able to machine the workpiece.
4. The multi-station numerical control machining method according to claim 3, characterized in that A judgment instruction is set in the instruction program to be able to judge whether the station to be machined is a faulty station. If the station to be machined is a faulty station, skip or cancel the machining of the workpiece on the faulty station and continue to machine the workpiece on the next station.
5. The multi-station numerical control machining method according to any one of claims 1 to 4, characterized in that, Before machining the workpiece to be machined, it is necessary to analyze the material and dimensions of the workpiece to be machined to be able to determine the machining parameters for machining the workpiece to be machined into a target workpiece.
6. The multi-station numerical control machining method according to claim 5, wherein The machining parameters include the initial position of the feed, the machining width, the depth of cut, the machining speed, and the machining feed rate.
7. The multi-station numerical control machining method according to claim 5, characterized in that, Before machining the workpiece, In response to the analysis results of the material and dimensions of the workpiece to be machined, select a suitable tool from general machining tools as the target machining tool of the numerically controlled machine tool according to the structural characteristics of the workpiece to be machined and the machining parameters.
8. The multi-station numerical control machining method according to claim 7, characterized in that, A tool change instruction is also set in the macro instruction program, In response to the tool change instruction, call the corresponding target tool from general machining tools.
9. A device for multi-station numerical control machining, characterized in that, including: A memory configured to store instructions; and A processor configured to call the stored instructions from the memory and be able to implement the multi-station numerical control machining method according to any one of claims 1 to 8 when executing the stored instructions.
10. A numerical control machine tool, characterized in that, including the device for multi-station numerical control machining according to claim 9.