The present invention relates to an information processing apparatus and an information processing program.
In the above technical field, patent literature 1 discloses a technique of finely changing settings so that the operation of a machine tool changes for each of rough processing and finishing processing.
In the technique described in the above patent literature, however, it is necessary to make fine settings in a processing program so that the operation of a machine tool changes for each of rough processing and finishing processing.
To solve the above problem, an apparatus according to the present invention is an information processing apparatus for generating a processing program for causing a machine tool to perform machining including a plurality of processing steps, comprising:
To solve the above problem, another apparatus according to the present invention is an information processing apparatus for generating a processing program for causing a machine tool to perform machining including a plurality of processing steps, comprising:
To achieve the above object, a program according to the present invention is an information processing program for generating a processing program for performing machining including a plurality of processing steps, which causes a computer to execute a method, comprising:
According to the present invention, a user can implement preferable processing by a simple operation.
Example embodiments of the present invention will now be described in detail with reference to the drawings. It should be noted that the relative arrangement of the components, the numerical expressions and numerical values set forth in these example embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
An information processing apparatus 100 according to the first example embodiment of the present invention will be described with reference to
As shown in
The display unit 101 displays a selection screen 111 for selecting rough processing or finishing processing as an operation type with respect to at least one processing step included in the plurality of processing steps.
If rough processing is selected on the selection screen 111, the processing program generator 102 sets, in a processing program, at least one selected from a group of a command for setting a time priority mode, a command for allowing a change of a feed rate, and a command for permitting processing during magazine turning.
According to this example embodiment, the user can generate a properly set processing program only by selecting an operation type on the selection screen, thereby implementing processing according to rough processing or finishing processing.
A machine tool system 200 according to the second example embodiment of the present invention will be described next with reference to the accompanying drawings from
The machine tool system 200 includes an information processing apparatus 201 and a CNC (Computerized Numerical Control) machine tool 202.
Examples of the machine tool 202 are a machine that performs additive manufacturing on a work, a machine that performs subtractive manufacturing on a work, and a machine that performs processing by emitting light such as a laser beam. More specifically, like a lathe, a drilling machine, a boring machine, a milling machine, a gear cutting machine, a grinding machine, a multi-axis processing machine, a laser processing machine, a laminating machine, and the like, a machine that undergoes numerical control based on an NC (Numerical Control) program to perform, for a work made of metal, wood, stone, or a resin, various kinds of processes such as turning, cutting, punching, grinding, polishing, rolling, forging, folding, molding, micromachining, and laminating is used. Furthermore, the machine tool 202 may have a measurement function, and may be configured to measure the dimensions and the like of a work using a measuring instrument such as a touch probe or camera.
The machine tool 202 is, for example, a 3-axis machine, and includes, as machine elements, a spindle motor 226 and a feed shaft motor 227. The spindle motor 226 rotates a tool, and the feed shaft motor 227 linearly moves a table in the X-axis and Y-axis directions via a ball screw, and linearly moves the tool or table in the Z-axis direction. The machine tool 202 can be a 5-axis machine, as a matter of course.
A numerical control apparatus 220 is an apparatus that performs numerical control for processing by the machine tool 202, and includes an NC interpreter 221 as an interpreter that interprets an NC program 250, and a command output unit 222 that outputs control commands to various kinds of controllers.
A spindle motor servo controller 223 controls the spindle motor 226 based on the control command from the command output unit 222. A feed shaft motor servo controller 224 controls the feed shaft motor 227 based on the control command from the command output unit 222.
The numerical control apparatus 220 interprets the NC program 250 generated by the information processing apparatus 201, recognizes a tag (a comment or a G-code for a subroutine call) embedded in the program, and outputs a special control command to the machine tool 202.
The information processing apparatus 201 is a so-called CAM post-processor, and performs step editing for CL data (Cutter Location data) 230 as tool path data acquired from a CAM 240, and then generates the NC program 250 as a processing program to be used by the numerical control apparatus 220.
The CAM 240 includes a main processor 241. The main processor 241 generates the CL data 230 based on shape data acquired from a CAD (Computer-Aided Design) 260. A case where the CL data 230 is acquired from the CAM 240 has been explained. However, the APT-CL data can similarly be generated by reverse engineering the NC program acquired from the CAM 240 to extract necessary information.
The information processing apparatus 201 includes a step editing screen display unit 211, an operation type setter 212, an APT (Automatically Programmed Tool)-CL data generator 213, an NC program generator 215, and a parameter table 216.
The step editing screen display unit 211 displays a step editing screen 300, shown in
As shown in
As shown in
Upon accepting the user selection, the operation type setter 212 sets and registers one of “Rough (rough processing)”, “Middle Finish (middle finishing processing)”, and “Finish (finishing processing)” for each operation.
The APT-CL data generator 213 generates APT-CL data 214 added with an APT command for classification into rough processing or finishing processing in accordance with the registered operation type. More specifically, in the case of rough processing, an APT command 601 of “OPTYPE/ROUGH” is inserted into a predetermined position, as shown in
Next, the NC program generator 215 generates an NC program from the APT-CL data with reference to the parameter table 216.
At this time, the NC program generator 215 determines which of “OPTYPE/ROUGH”, “OPTYPE/MIDDLE”, and “OPTYPE/FINISH” is the APT command described in the APT-CL data 214. Then, in the NC program, commands (G-code and M-code) corresponding to the APT command are described as in (1) to (3) below.
(1) In processing mode selection (G332), a processing mode according to the purpose is set. For example, a “time priority mode” is set for rough processing, an “intermediate mode” is set for middle finishing processing, and an “accuracy priority mode” is set for finishing processing. The “time priority mode” is a mode of giving a highest priority to shortening of the processing time. The “accuracy priority mode” is a mode of prioritizing the processing accuracy, and is used for processing that requires the processing accuracy or a finishing surface. The “intermediate mode” is a mode between the time priority mode and the accuracy priority mode, and is used for middle finishing processing that requires the accuracy and time.
More specifically, one of “G332 R1”, “G332 R2”, “G332 R3”, and “G332 R4” is inserted into a predetermined position (for example, a position after the M-code (M380) for position detection) in the NC program.
The arguments R1 to R4 are set in the following cases, respectively.
(2) As shown in
In simulation of the cutting force, the target value of the cutting force is calculated in consideration of tool wear or tool chatter. The feed rate is changed to obtain the cutting force close to the target value.
(3) ON/OFF of the finishing processing mode selection (M380, M381) is set. These are the M-codes that control the magazine at the time of finishing processing. If finishing processing is performed during magazine turning, the processing accuracy of the processing surface may degrade due to a vibration. To cope with this, for finishing processing, M380 (finishing processing mode ON) and M381 (finishing processing mode OFF) are inserted before and after the finishing processing program. This controls to perform finishing processing after the end of magazine turning in the machine tool.
Note that the timings of magazine turning and finishing processing are controlled here but the present invention is not limited to this. A command of not permitting processing while a vibration is generated from a vibration generator other than the magazine may be inserted into the NC program. Examples of the vibration generator are a chip conveyer and a pump of a coolant discharger, in addition to the magazine.
After the APT-CL data 214 is input, the NC program generator 215 determines OPTYPE in step S801. If rough processing is determined, the process advances to step S803 to set G332 to the time priority mode. Next, in step S805, the feed rate is flexibly changed to shorten the processing time.
If, as a result of determining OPTYPE in step S801, middle finishing processing is determined, the process advances to step S809 to set G332 to the intermediate mode, and then the feed rate is flexibly changed in step S811 to shorten the processing time. Furthermore, in step S813, M380 and M381 are inserted before and after the middle finishing processing command, and magazine turning during processing is stopped.
If, as a result of determining OPTYPE in step S801, finishing processing is determined, the process advances to step S815 to set G332 to the accuracy priority mode, and then the feed rate is made constant in step S817. Furthermore, in step S818, M380 and M381 are inserted before and after the finishing processing command, and magazine turning during processing is stopped.
These control processes can be implemented with reference to the parameter table 216 shown in
Furthermore, in a cutting portion 1002, the arguments for G01 are set so that the feed rate is low for a portion where the cutting force is high and the feed rate is high for a portion where the cutting force is low.
On the other hand, if OPTYPE/FINISH (finishing processing) is set as an APT command in the APT-CL data 214, M380 and M381 as codes 1101 are inserted and a G-code and argument 1102 as “G332 R3” is inserted, as shown in
As described above, according to this example embodiment, the user can generate a properly set processing program only by selecting an operation type on the selection screen, thereby implementing processing according to rough processing or finishing processing.
While the invention has been particularly shown and described with reference to example embodiments thereof, the invention is not limited to these example embodiments. It will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the claims. A system or apparatus including any combination of the individual features included in the respective example embodiments may be incorporated in the scope of the present invention.
The present invention is applicable to a system including a plurality of devices or a single apparatus. The present invention is also applicable even when an information processing program for implementing the functions of example embodiments is supplied to the system or apparatus directly or from a remote site. Hence, the present invention also incorporates the program installed in a computer to implement the functions of the present invention by the computer, a medium storing the program, and a WWW (World Wide Web) server that causes a user to download the program. Especially, the present invention incorporates at least a non-transitory computer readable medium storing a program that causes a computer to execute processing steps included in the above-described example embodiments.
This application is based upon and claims the benefit of priority from Japanese patent application No. 2021-64426, filed on Apr. 5, 2021, the disclosure of which is incorporated herein in its entirety by reference.
Number | Date | Country | Kind |
---|---|---|---|
JP2021-064426 | Apr 2021 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2022/011382 | 3/14/2022 | WO |