[go: up one dir, main page]

JP2022047702A - Machining program optimization device and method thereof - Google Patents

Machining program optimization device and method thereof Download PDF

Info

Publication number
JP2022047702A
JP2022047702A JP2020153619A JP2020153619A JP2022047702A JP 2022047702 A JP2022047702 A JP 2022047702A JP 2020153619 A JP2020153619 A JP 2020153619A JP 2020153619 A JP2020153619 A JP 2020153619A JP 2022047702 A JP2022047702 A JP 2022047702A
Authority
JP
Japan
Prior art keywords
command
machining program
machining
tool
optimization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020153619A
Other languages
Japanese (ja)
Inventor
寛英 č§’ē”°
Hirohide Tsunoda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP2020153619A priority Critical patent/JP2022047702A/en
Publication of JP2022047702A publication Critical patent/JP2022047702A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

To provide a machining program optimization device and a method thereof capable of reducing the cycle time by creating a machining program optimized by eliminating or reducing the redundancy of the machining program.SOLUTION: The machining program optimization device includes a redundancy instruction detection unit 80 that detects predetermined redundant instructions in an input machining program and a machining program optimization unit 82 that corrects the machining program by deleting or reducing the detected redundant instructions.SELECTED DRAWING: Figure 3

Description

ć“ć®ē™ŗę˜ŽćÆć€å·„ä½œę©Ÿę¢°ć‚’å‹•ć‹ć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ęœ€é©åŒ–ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®åŠć³ćć®ę–¹ę³•ć«é–¢ć™ć‚‹ć€‚ The present invention relates to a machining program optimizing device for optimizing a machining program for operating a machine tool and a method thereof.

ä¾‹ćˆć°ć€ē‰¹čØ±ę–‡ēŒ®ļ¼‘ć«ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ä½æē”Øå±„ę­“ć«äæ‚ć‚‹ęƒ…å ±ć‚’č§£ęžć—ć€ęŗ–å‚™ę©Ÿčƒ½ļ¼ˆGć‚³ćƒ¼ćƒ‰ļ¼‰ć‚„č£œåŠ©ę©Ÿčƒ½ļ¼ˆMć‚³ćƒ¼ćƒ‰ļ¼‰ē­‰ć®å„ę©Ÿčƒ½ć®ä½æē”Øé »åŗ¦ć‚„å„ę©Ÿčƒ½é–“ć®ä½æē”Øé †åŗē­‰ć®é–¢äæ‚ć‚’ē®—å‡ŗć™ć‚‹ć“ćØćŒé–‹ē¤ŗć•ć‚Œć¦ć„ć‚‹ļ¼ˆē‰¹čØ±ę–‡ēŒ®ļ¼‘ć®ļ¼»ļ¼ļ¼ļ¼’ļ¼™ļ¼½ļ¼‰ć€‚ For example, in Patent Document 1, information related to the usage history of the machining program is analyzed, and the relationship between the frequency of use of each function such as the preparation function (G code) and the auxiliary function (M code) and the order of use between the functions is described. Is disclosed (Patent Document 1 [0029]).

ć•ć‚‰ć«ć€ē‰¹čØ±ę–‡ēŒ®ļ¼‘ć«ćÆć€ē®—å‡ŗć—ćŸå„ę©Ÿčƒ½ć®ä½æē”Øé »åŗ¦ć‚„å„ę©Ÿčƒ½é–“ć®ä½æē”Øé †åŗē­‰ć®é–¢äæ‚ć«åŸŗć„ć„ć¦ć€ćƒ¢ćƒ¼ć‚æćøć®ē§»å‹•ęŒ‡ä»¤ć‚’ä½œęˆć—ć¦å·„ä½œę©Ÿę¢°ć‚’å‹•ä½œć•ć›ć‚‹ć‚³ćƒ³ćƒˆćƒ­ćƒ¼ćƒ«ć‚½ćƒ•ćƒˆć‚¦ć‚§ć‚¢ć®ć‚½ćƒ¼ć‚¹ć‚³ćƒ¼ćƒ‰ć‚’ęœ€é©åŒ–ć—ć€ęœ€é©åŒ–ć‚½ćƒ¼ć‚¹ć‚³ćƒ¼ćƒ‰ć‚’ē”Ÿęˆć™ć‚‹ć“ćØć§ć€ć‚³ćƒ³ćƒˆćƒ­ćƒ¼ćƒ«ć‚½ćƒ•ćƒˆć‚¦ć‚§ć‚¢ć‚’ęœ€é©åŒ–ć™ć‚‹ęŠ€č”“ćŒé–‹ē¤ŗć•ć‚Œć¦ć„ć‚‹ļ¼ˆē‰¹čØ±ę–‡ēŒ®ļ¼‘ć®ļ¼»ļ¼ļ¼ļ¼ļ¼’ļ¼½ć€ļ¼»ļ¼ļ¼ļ¼’ļ¼™ļ¼½ļ¼‰ć€‚ Further, in Patent Document 1, the source code of the control software that creates a movement command to the motor and operates the machine tool based on the relationship such as the calculated frequency of use of each function and the order of use between each function is optimized. A technique for optimizing control software by generating optimization source code is disclosed (Patent Document 1 [0002], [0029]).

ē‰¹é–‹ļ¼’ļ¼ļ¼‘ļ¼–ļ¼ļ¼‘ļ¼“ļ¼“ļ¼™ļ¼‘ļ¼‘å·å…¬å ±Japanese Unexamined Patent Publication No. 2016-133911

ćØć“ć‚ć§ć€äø€čˆ¬ć«ć€å·„ä½œę©Ÿę¢°ć‚’å‹•ć‹ć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćÆć€ć‚Ŗćƒšćƒ¬ćƒ¼ć‚æć‚ć‚‹ć„ćÆļ¼£ļ¼”ļ¼­ē­‰ć®ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ć«ć‚ˆć‚Šä½œęˆć•ć‚Œć‚‹ć€‚ By the way, in general, a machining program for operating a machine tool is created by an operator or a program creating device such as a CAM.

ć‚Ŗćƒšćƒ¬ćƒ¼ć‚æćÆć€ļ¼£ļ¼”ļ¼¤ē­‰ć§ä½œęˆć•ć‚ŒćŸå›³é¢ć‹ć‚‰åŠ å·„ć—ć‚ˆć†ćØć™ć‚‹éƒØå“ć®å½¢ēŠ¶ē­‰ć‚’čŖ­ćæå–ć‚Šć€ę‰‹å‹•ć§åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ä½œęˆć™ć‚‹ć€‚ The operator reads the shape of the part to be machined from the drawing created by CAD or the like, and manually creates a machining program.

ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ćÆć€ļ¼£ļ¼”ļ¼¤ē­‰ć§ä½œęˆć•ć‚ŒćŸåŠ å·„ć—ć‚ˆć†ćØć™ć‚‹å½¢ēŠ¶ćƒ‡ćƒ¼ć‚æć«åŸŗć„ćć€č‡Ŗå‹•ć§åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ä½œęˆć™ć‚‹ć€‚ The program creation device automatically creates a machining program based on the shape data to be machined created by CAD or the like.

ć“ć®ć‚ˆć†ć«ć—ć¦ć‚Ŗćƒšćƒ¬ćƒ¼ć‚æć‚ć‚‹ć„ćÆćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ć«ć‚ˆć‚Šä½œęˆć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å®Ÿč”Œć™ć‚‹ć“ćØć«ć‚ˆć‚‹å·„ä½œę©Ÿę¢°ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ļ¼ˆļ¼åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ļ¼‰ćÆć€å†—é•·ę™‚é–“ć‚’å«ć‚€ć‚‚ć®ćØćŖć‚‹ć“ćØćŒå¤šć„ć“ćØćŒåˆ†ć‹ć£ćŸć€‚ It has been found that the cycle time of the machine tool (= cycle time of the machining program) by executing the machining program created by the operator or the program creation device in this way often includes the redundant time.

ć™ćŖć‚ć”ć€ć‚Ŗćƒšćƒ¬ćƒ¼ć‚æć‚ˆć‚Šä½œęˆć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć§ćÆć€ć‚Ŗćƒšćƒ¬ćƒ¼ć‚æć®å®‰å…Øć‚µć‚¤ćƒ‰ę„č­˜åˆćÆēŸ„č­˜ćƒ»ēµŒéØ“äøč¶³ē­‰ć«ć‚ˆć‚ŠåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«å†—é•·ćŒå«ć¾ć‚Œć‚‹ć€‚ That is, in the machining program created by the operator, the machining program includes redundancy due to the operator's safety side awareness or lack of knowledge / experience.

äø€ę–¹ć€ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ć«ć‚ˆć‚Šä½œęˆć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć§ćÆć€ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ćŒēØ®ć€…ć®å·„ä½œę©Ÿę¢°ć«é©ē”Øć§ćć‚‹ć‚ˆć†ę±Žē”Øę€§ć‚’å‚™ćˆć‚‹ć“ćØć‚„å®‰å…Øć‚µć‚¤ćƒ‰ć§ć®ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆę€§čƒ½ć‚’å‚™ćˆć‚‹ć“ćØē­‰ć‚’åŽŸå› ćØć—ć¦åŒę§˜ć«åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«å†—é•·ćŒå«ć¾ć‚Œć‚‹ć“ćØćŒåˆ†ć‹ć£ćŸć€‚
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«å†—é•·ćŒå«ć¾ć‚Œć‚‹ćØć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ćÆć€åæ…ē„¶ēš„ć«é•·ććŖć‚‹ć€‚
On the other hand, in the machining program created by the program creation device, the machining program is similarly provided because the program creation device has versatility so that it can be applied to various machine tools and has program creation performance on the safety side. It turned out to include redundancy.
If the machining program includes redundancy, the cycle time of the machining program is inevitably long.

ć—ć‹ć—ćŖćŒć‚‰ć€ē‰¹čØ±ę–‡ēŒ®ļ¼‘ć«ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®å†—é•·ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦ęœ€é©åŒ–ć™ć‚‹ć“ćØć«ć¤ć„ć¦ć®é–‹ē¤ŗćÆćŖć„ć€‚ However, Patent Document 1 does not disclose that the redundancy of the machining program is deleted or reduced to be optimized.

ć“ć®ē™ŗę˜ŽćÆć“ć®ć‚ˆć†ćŖčŖ²é”Œć‚’č€ƒę…®ć—ć¦ćŖć•ć‚ŒćŸć‚‚ć®ć§ć‚ć‚Šć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®å†—é•·ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ä½œęˆć—ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØć‚’åÆčƒ½ćØć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®åŠć³ćć®ę–¹ę³•ć‚’ęä¾›ć™ć‚‹ć“ćØć‚’ē›®ēš„ćØć™ć‚‹ć€‚ The present invention has been made in consideration of such a problem, and the machining program optimization that makes it possible to create an optimized machining program and shorten the cycle time by eliminating or reducing the redundancy of the machining program. It is an object of the present invention to provide an apparatus and a method thereof.

ć“ć®ē™ŗę˜Žć®äø€ę…‹ę§˜ć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ćÆć€å·„ä½œę©Ÿę¢°ć‚’å‹•ć‹ć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ęœ€é©åŒ–ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć§ć‚ć£ć¦ć€ęœ€é©åŒ–ć—ć‚ˆć†ćØć™ć‚‹å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å…„åŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›éƒØćØć€å…„åŠ›ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć™ć‚‹å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØćØć€ę¤œå‡ŗć—ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćØć€å‰čØ˜ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å‡ŗåŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›éƒØćØć€ć‚’å‚™ćˆć‚‹ć€‚ The machining program optimizing device according to one aspect of the present invention is a machining program optimizing device for optimizing a machining program for operating a machine tool, and includes a machining program input unit for inputting the machining program to be optimized. The redundant command detection unit that detects the input redundant command in the machining program, the machining program optimization unit that deletes or reduces the detected redundant command, and corrects the machining program, and the optimization. It is equipped with a machining program output unit that outputs the machining program.

ć“ć®ē™ŗę˜Žć®ä»–ć®ę…‹ę§˜ć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ćÆć€å·„ä½œę©Ÿę¢°ć‚’å‹•ć‹ć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ęœ€é©åŒ–ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć§ć‚ć£ć¦ć€ęœ€é©åŒ–ć—ć‚ˆć†ćØć™ć‚‹å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å…„åŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›ć‚¹ćƒ†ćƒƒćƒ—ćØć€å…„åŠ›ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć™ć‚‹å†—é•·ęŒ‡ä»¤ę¤œå‡ŗć‚¹ćƒ†ćƒƒćƒ—ćØć€ę¤œå‡ŗć—ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ć‚¹ćƒ†ćƒƒćƒ—ćØć€å‰čØ˜ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å‡ŗåŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›ć‚¹ćƒ†ćƒƒćƒ—ćØć€ć‚’å‚™ćˆć‚‹ć€‚ The machining program optimization method according to another aspect of the present invention is a machining program optimization method for optimizing a machining program for operating a machine tool, and includes a machining program input step for inputting the machining program to be optimized. , A redundant command detection step for detecting a predetermined redundant command in the input machining program, a machining program optimization step for deleting or reducing the detected redundant command to modify the machining program, and the optimization. It is provided with a machining program output step for outputting the machining program.

ć“ć®ē™ŗę˜Žć«ć‚ˆć‚Œć°ć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć—ć€ę¤œå‡ŗć—ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć—ć€ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ä½œęˆć™ć‚‹ć‚ˆć†ć«ć—ćŸć®ć§ć€ęœ€é©åŒ–ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åŸŗć„ć„ć¦å·„ä½œę©Ÿę¢°ć‚’å‹•ä½œć•ć›ć‚‹ć“ćØć§ć€å‰čØ˜å·„ä½œę©Ÿę¢°ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć€ć™ćŖć‚ć”åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å‰čØ˜å·„ä½œę©Ÿę¢°ć«ć‚ˆć‚‹åŠ å·„åÆ¾č±”ē‰©ć®åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ According to the present invention, a predetermined redundant command in an input machining program is detected, the detected redundant command is deleted or reduced, the machining program is modified, and an optimized machining program is created. Therefore, by operating the machine tool based on the optimized machining program, the cycle time of the machine tool, that is, the cycle time of the machining program can be shortened. As a result, it is possible to speed up the processing of the object to be processed by the machine tool.

å›³ļ¼‘ćÆć€å®Ÿę–½å½¢ę…‹ć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć‚’å®Ÿę–½ć™ć‚‹ć€å®Ÿę–½å½¢ę…‹ć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć‚’å«ć‚€ļ¼®ļ¼£å·„ä½œę©Ÿę¢°ć‚·ć‚¹ćƒ†ćƒ ć®äø€ä¾‹ć‚’ē¤ŗć™ę¦‚ē•„ę§‹ęˆå›³ć§ć‚ć‚‹ć€‚FIG. 1 is a schematic configuration diagram showing an example of an NC machine tool system including a machining program optimization device according to an embodiment, which implements a machining program optimization method according to an embodiment. å›³ļ¼’ćÆć€å›³ļ¼‘ć«ē¤ŗć—ćŸļ¼£ļ¼®ļ¼£č£…ē½®åŠć³å·„ä½œę©Ÿę¢°ć®ę¦‚ē•„å†…éƒØę§‹ęˆć‚’ē¤ŗć—ćŸļ¼®ļ¼£å·„ä½œę©Ÿę¢°ć‚·ć‚¹ćƒ†ćƒ ć®ę¦‚ē•„ćƒ–ćƒ­ćƒƒć‚Æå›³ć§ć‚ć‚‹ć€‚FIG. 2 is a schematic block diagram of an NC machine tool system showing a schematic internal configuration of the CNC device and the machine tool shown in FIG. å›³ļ¼“ćÆć€å®Ÿę–½å½¢ę…‹ć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć®ę§‹ęˆć‚’ē¤ŗć™ćƒ–ćƒ­ćƒƒć‚Æå›³ć§ć‚ć‚‹ć€‚FIG. 3 is a block diagram showing a configuration of a machining program optimization device according to an embodiment. å›³ļ¼”ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 4 is a pre-machining program (1/2) to which the machining program optimization method is applied. å›³ļ¼•ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 5 is a pre-machining program (2/2) to which the machining program optimization method is applied. å›³ļ¼–ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć®å…Øé …ē›®ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆļ¼‘ļ¼ļ¼‘ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 6 is a post-application machining program (1/1) for all items of the machining program optimization method. å›³ļ¼—ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć®é …ē›®ļ¼—ć‚’é™¤ćé …ē›®ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 7 is a post-application machining program (1/2) for items other than item 7 of the machining program optimization method. å›³ļ¼˜ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć®é …ē›®ļ¼—ć‚’é™¤ćé …ē›®ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 8 is a post-application machining program (2/2) for items other than item 7 of the machining program optimization method. å›³ļ¼™ćÆć€ęœ€é©åŒ–é …ē›®ļ¼‘é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 9 is an explanatory diagram (1/2) of the optimization item 1 application pre-machining program. å›³ļ¼‘ļ¼ćÆć€ęœ€é©åŒ–é …ē›®ļ¼‘é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 10 is an explanatory diagram (2/2) of the optimization item 1 application pre-machining program. å›³ļ¼‘ļ¼‘ćÆć€ęœ€é©åŒ–é …ē›®ļ¼‘é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 11 is an explanatory diagram (1/2) of the post-machining program to which the optimization item 1 is applied. å›³ļ¼‘ļ¼’ćÆć€ęœ€é©åŒ–é …ē›®ļ¼‘é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 12 is an explanatory diagram (2/2) of the post-machining program to which the optimization item 1 is applied. å›³ļ¼‘ļ¼“ćÆć€ęœ€é©åŒ–é …ē›®ļ¼‘ć«é–¢ć—ćƒ—ćƒ­ć‚»ćƒƒć‚µć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆć§ć‚ć‚‹ć€‚FIG. 13 is a flowchart executed by the processor with respect to the optimization item 1. å›³ļ¼‘ļ¼”ćÆć€ęœ€é©åŒ–é …ē›®ļ¼’é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 14 is an explanatory diagram (1/2) of the optimization item 2 application pre-machining program. å›³ļ¼‘ļ¼•ćÆć€ęœ€é©åŒ–é …ē›®ļ¼’é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 15 is an explanatory diagram (2/2) of the optimization item 2 application pre-machining program. å›³ļ¼‘ļ¼–ćÆć€ęœ€é©åŒ–é …ē›®ļ¼’é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 16 is an explanatory diagram (1/2) of the post-machining program for which the optimization item 2 is applied. å›³ļ¼‘ļ¼—ćÆć€ęœ€é©åŒ–é …ē›®ļ¼’é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 17 is an explanatory diagram (2/2) of the post-machining program for which the optimization item 2 is applied. å›³ļ¼‘ļ¼˜ćÆć€ęœ€é©åŒ–é …ē›®ļ¼’ć«é–¢ć—ćƒ—ćƒ­ć‚»ćƒƒć‚µć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆć§ć‚ć‚‹ć€‚FIG. 18 is a flowchart executed by the processor regarding the optimization item 2. å›³ļ¼‘ļ¼™ćÆć€ęœ€é©åŒ–é …ē›®ļ¼“é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 19 is an explanatory diagram (1/2) of the optimization item 3 application pre-machining program. å›³ļ¼’ļ¼ćÆć€ęœ€é©åŒ–é …ē›®ļ¼“é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 20 is an explanatory diagram (2/2) of the optimization item 3 application pre-machining program. å›³ļ¼’ļ¼‘ćÆć€ęœ€é©åŒ–é …ē›®ļ¼“é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 21 is an explanatory diagram (1/2) of the post-machining program to which the optimization item 3 is applied. å›³ļ¼’ļ¼’ćÆć€ęœ€é©åŒ–é …ē›®ļ¼“é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 22 is an explanatory diagram (2/2) of the post-machining program to which the optimization item 3 is applied. å›³ļ¼’ļ¼“ćÆć€ęœ€é©åŒ–é …ē›®ļ¼“ć«é–¢ć—ćƒ—ćƒ­ć‚»ćƒƒć‚µć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆć§ć‚ć‚‹ć€‚FIG. 23 is a flowchart executed by the processor with respect to the optimization item 3. å›³ļ¼’ļ¼”ćÆć€ęœ€é©åŒ–é …ē›®ļ¼”é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 24 is an explanatory diagram (1/2) of the optimization item 4 application pre-machining program. å›³ļ¼’ļ¼•ćÆć€ęœ€é©åŒ–é …ē›®ļ¼”é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 25 is an explanatory diagram (2/2) of the optimization item 4 application pre-machining program. å›³ļ¼’ļ¼–ćÆć€ęœ€é©åŒ–é …ē›®ļ¼”é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 26 is an explanatory diagram (1/2) of the post-machining program to which the optimization item 4 is applied. å›³ļ¼’ļ¼—ćÆć€ęœ€é©åŒ–é …ē›®ļ¼”é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 27 is an explanatory diagram (2/2) of the post-machining program for which the optimization item 4 is applied. å›³ļ¼’ļ¼˜ćÆć€ęœ€é©åŒ–é …ē›®ļ¼”ć«é–¢ć—ćƒ—ćƒ­ć‚»ćƒƒć‚µć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆć§ć‚ć‚‹ć€‚FIG. 28 is a flowchart executed by the processor with respect to the optimization item 4. å›³ļ¼’ļ¼™ćÆć€ęœ€é©åŒ–é …ē›®ļ¼•é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 29 is an explanatory diagram (1/2) of the optimization item 5 application pre-machining program. å›³ļ¼“ļ¼ćÆć€ęœ€é©åŒ–é …ē›®ļ¼•é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 30 is an explanatory diagram (2/2) of the optimization item 5 application pre-machining program. å›³ļ¼“ļ¼‘ćÆć€ęœ€é©åŒ–é …ē›®ļ¼•é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 31 is an explanatory diagram (1/2) of the post-machining program to which the optimization item 5 is applied. å›³ļ¼“ļ¼’ćÆć€ęœ€é©åŒ–é …ē›®ļ¼•é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 32 is an explanatory diagram (2/2) of the post-machining program to which the optimization item 5 is applied. å›³ļ¼“ļ¼“ćÆć€ęœ€é©åŒ–é …ē›®ļ¼•ć«é–¢ć—ćƒ—ćƒ­ć‚»ćƒƒć‚µć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆć§ć‚ć‚‹ć€‚FIG. 33 is a flowchart executed by the processor with respect to the optimization item 5. å›³ļ¼“ļ¼”ćÆć€ęœ€é©åŒ–é …ē›®ļ¼–é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 34 is an explanatory diagram (1/2) of the optimization item 6 application pre-machining program. å›³ļ¼“ļ¼•ćÆć€ęœ€é©åŒ–é …ē›®ļ¼–é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 35 is an explanatory diagram (2/2) of the optimization item 6 application pre-machining program. å›³ļ¼“ļ¼–ćÆć€ęœ€é©åŒ–é …ē›®ļ¼–é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 36 is an explanatory diagram (1/2) of the post-machining program to which the optimization item 6 is applied. å›³ļ¼“ļ¼—ćÆć€ęœ€é©åŒ–é …ē›®ļ¼–é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 37 is an explanatory diagram (2/2) of the post-machining program to which the optimization item 6 is applied. å›³ļ¼“ļ¼˜ćÆć€ęœ€é©åŒ–é …ē›®ļ¼–ć«é–¢ć—ćƒ—ćƒ­ć‚»ćƒƒć‚µć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆć§ć‚ć‚‹ć€‚FIG. 38 is a flowchart executed by the processor with respect to the optimization item 6. å›³ļ¼“ļ¼™ćÆć€ęœ€é©åŒ–é …ē›®ļ¼—é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 39 is an explanatory diagram (1/2) of the optimization item 7 application pre-machining program. å›³ļ¼”ļ¼ćÆć€ęœ€é©åŒ–é …ē›®ļ¼—é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 40 is an explanatory diagram (2/2) of the optimization item 7 application pre-machining program. å›³ļ¼”ļ¼‘ćÆć€ęœ€é©åŒ–é …ē›®ļ¼—é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 41 is an explanatory diagram (1/2) of the post-machining program to which the optimization item 7 is applied. å›³ļ¼”ļ¼’ćÆć€ęœ€é©åŒ–é …ē›®ļ¼—é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 42 is an explanatory diagram (2/2) of the post-machining program to which the optimization item 7 is applied. å›³ļ¼”ļ¼“ćÆć€ęœ€é©åŒ–é …ē›®ļ¼˜é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 43 is an explanatory diagram (1/2) of the optimization item 8 application pre-machining program. å›³ļ¼”ļ¼”ćÆć€ęœ€é©åŒ–é …ē›®ļ¼˜é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 44 is an explanatory diagram (2/2) of the optimization item 8 application pre-machining program. å›³ļ¼”ļ¼•ćÆć€ęœ€é©åŒ–é …ē›®ļ¼˜é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 45 is an explanatory diagram (1/2) of the post-machining program for which the optimization item 8 is applied. å›³ļ¼”ļ¼–ćÆć€ęœ€é©åŒ–é …ē›®ļ¼˜é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 46 is an explanatory diagram (2/2) of the post-machining program for which the optimization item 8 is applied. å›³ļ¼”ļ¼—ćÆć€ęœ€é©åŒ–é …ē›®ļ¼˜ć«é–¢ć—ćƒ—ćƒ­ć‚»ćƒƒć‚µć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆć§ć‚ć‚‹ć€‚FIG. 47 is a flowchart executed by the processor with respect to the optimization item 8. å›³ļ¼”ļ¼˜ćÆć€ęœ€é©åŒ–é …ē›®ļ¼™é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 48 is an explanatory diagram (1/2) of the optimization item 9 application pre-machining program. å›³ļ¼”ļ¼™ćÆć€ęœ€é©åŒ–é …ē›®ļ¼™é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 49 is an explanatory diagram (2/2) of the optimization item 9 application pre-machining program. å›³ļ¼•ļ¼ćÆć€ęœ€é©åŒ–é …ē›®ļ¼™é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 50 is an explanatory diagram (1/2) of the post-machining program for which the optimization item 9 is applied. å›³ļ¼•ļ¼‘ćÆć€ęœ€é©åŒ–é …ē›®ļ¼™é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 51 is an explanatory diagram (2/2) of the post-machining program for which the optimization item 9 is applied. å›³ļ¼•ļ¼’ćÆć€å›ŗå®šć‚µć‚¤ć‚Æćƒ«ęŒ‡ä»¤ć®čŖ¬ę˜Žå›³ć§ć‚ć‚‹ć€‚FIG. 52 is an explanatory diagram of the fixed cycle command. å›³ļ¼•ļ¼“ćÆć€ęœ€é©åŒ–é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åÆ¾ć—ć¦å¤‰ę›“ē‚¹ć‚’ćƒžćƒ¼ć‚Æć—ćŸčŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 53 is an explanatory diagram (1/2) in which changes are marked with respect to the optimization application pre-machining program. å›³ļ¼•ļ¼”ćÆć€ęœ€é©åŒ–é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åÆ¾ć—ć¦å¤‰ę›“ē‚¹ć‚’ćƒžćƒ¼ć‚Æć—ćŸčŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 54 is an explanatory diagram (2/2) in which changes are marked with respect to the optimization application pre-machining program. å›³ļ¼•ļ¼•ćÆć€é …ē›®ļ¼‘ļ½žļ¼™ć®ęœ€é©åŒ–é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 55 is an explanatory diagram (1/2) of the post-machining program for which optimization of items 1 to 9 is applied. å›³ļ¼•ļ¼–ćÆć€é …ē›®ļ¼‘ļ½žļ¼™ć®ęœ€é©åŒ–é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 56 is an explanatory diagram (2/2) of the post-machining program for which optimization of items 1 to 9 is applied. å›³ļ¼•ļ¼—ćÆć€é …ē›®ļ¼—ć‚’é™¤ćęœ€é©åŒ–é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åÆ¾ć—ć¦ęœ€é©åŒ–é …ē›®ē•Ŗå·ć‚’ęŒæå…„ć—ćŸčŖ¬ę˜Žå›³ļ¼ˆļ¼‘ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 57 is an explanatory diagram (1/2) in which the optimization item number is inserted for the optimization applied post-machining program excluding the item 7. å›³ļ¼•ļ¼˜ćÆć€é …ē›®ļ¼—ć‚’é™¤ćęœ€é©åŒ–é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åÆ¾ć—ć¦ęœ€é©åŒ–é …ē›®ē•Ŗå·ć‚’ęŒæå…„ć—ćŸčŖ¬ę˜Žå›³ļ¼ˆļ¼’ļ¼ļ¼’ļ¼‰ć§ć‚ć‚‹ć€‚FIG. 58 is an explanatory diagram (2/2) in which the optimization item number is inserted for the optimization applied post-machining program excluding the item 7. å›³ļ¼•ļ¼™ćÆć€å®Ÿę–½å½¢ę…‹ć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ę–¹ę³•ć®čŖ¬ę˜Žć«ä¾›ć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆć§ć‚ć‚‹ć€‚FIG. 59 is a flowchart provided for explaining the optimization method of the machining program according to the embodiment. å›³ļ¼–ļ¼ćÆć€é …ē›®ļ¼˜ć®å‡¦ē†ć®ć‚ˆć‚Šē°”ę˜“ēš„ćŖčŖ¬ę˜Žć«ä¾›ć•ć‚Œć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä¾‹ćØć€č©²åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«ć‚ˆć‚‹å·„ä½œę©Ÿę¢°ć®å‹•ä½œčŖ¬ę˜Žå›³ć§ć‚ć‚‹ć€‚FIG. 60 is an example of a machining program provided for a simpler explanation of the processing of item 8, and an operation explanatory diagram of a machine tool by the machining program.

ć“ć®ē™ŗę˜Žć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®åŠć³ćć®ę–¹ę³•ć«ć¤ć„ć¦å®Ÿę–½å½¢ę…‹ć‚’ęŒ™ć’ć€ę·»ä»˜ć®å›³é¢ć‚’å‚ē…§ć—ć¦ä»„äø‹ć«č©³ē“°ć«čŖ¬ę˜Žć™ć‚‹ć€‚ An embodiment of the machining program optimization apparatus and the method thereof according to the present invention will be described in detail with reference to the accompanying drawings.

ļ¼»ę§‹ęˆļ¼½
å›³ļ¼‘ćÆć€å®Ÿę–½å½¢ę…‹ć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć‚’å®Ÿę–½ć™ć‚‹ć€å®Ÿę–½å½¢ę…‹ć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć‚’å«ć‚€ļ¼®ļ¼£å·„ä½œę©Ÿę¢°ć‚·ć‚¹ćƒ†ćƒ ļ¼‘ļ¼ć®äø€ä¾‹ć‚’ē¤ŗć™ę¦‚ē•„ę§‹ęˆå›³ć§ć‚ć‚‹ć€‚
[Constitution]
FIG. 1 is a schematic configuration diagram showing an example of an NC machine tool system 10 including a machining program optimizing device 90 according to an embodiment, which implements a machining program optimization method according to the embodiment.

ļ¼®ļ¼£å·„ä½œę©Ÿę¢°ć‚·ć‚¹ćƒ†ćƒ ļ¼‘ļ¼ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć€ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼ć‚’å«ć‚€ļ¼£ļ¼®ļ¼£ć‚·ć‚¹ćƒ†ćƒ ļ¼‘ļ¼”åŠć³ļ¼£ļ¼®ļ¼£ć‚·ć‚¹ćƒ†ćƒ ļ¼‘ļ¼”ć«ć‚ˆć‚Šé§†å‹•åˆ¶å¾”ć•ć‚Œć‚‹å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚Šę§‹ęˆć•ć‚Œć‚‹ć€‚ The NC machine tool system 10 is composed of a machining program creation device 12, a CNC system 14 including a CNC device 20, and a machine tool 16 driven and controlled by the CNC system 14.

å›³ļ¼’ćÆć€ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼åŠć³å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®å†…éƒØę§‹ęˆć‚’ē¤ŗć—ćŸļ¼®ļ¼£å·„ä½œę©Ÿę¢°ć‚·ć‚¹ćƒ†ćƒ ļ¼‘ļ¼ć®ę¦‚ē•„ćƒ–ćƒ­ćƒƒć‚Æå›³ć§ć‚ć‚‹ć€‚ FIG. 2 is a schematic block diagram of the NC machine tool system 10 showing the internal configurations of the CNC device 20 and the machine tool 16.

å›³ļ¼‘åŠć³å›³ļ¼’ć«ćŠć„ć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ćÆć€ļ¼£ļ¼”ļ¼¤ē­‰ć§ä½œęˆć•ć‚ŒćŸå›³é¢ć‹ć‚‰ć€åŠ å·„ć—ć‚ˆć†ćØć™ć‚‹åÆ¾č±”ē‰©ļ¼ˆåŠ å·„åÆ¾č±”ē‰©ć€ä»„äø‹ć€ćƒÆćƒ¼ć‚ÆćØć„ć†ć€‚ļ¼‰ļ¼“ļ¼”ļ¼ˆå›³ļ¼‘ļ¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ę‰‹å‹•ć‚ć‚‹ć„ćÆč‡Ŗå‹•ć§ä½œęˆć—ć€ä½œęˆć—ćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ć€ć‚±ćƒ¼ćƒ–ćƒ«ļ¼‘ļ¼˜ć‚’ä»‹ć—ć¦ļ¼£ļ¼®ļ¼£ć‚·ć‚¹ćƒ†ćƒ ļ¼‘ļ¼”ć«å‡ŗåŠ›ć™ć‚‹ć€‚ In FIGS. 1 and 2, the machining program creation device 12 manually performs a machining program of an object to be machined (a machining object, hereinafter referred to as a work) 34 (FIG. 1) from a drawing created by CAD or the like. Alternatively, it is automatically created and the created machining program is output to the CNC system 14 via the cable 18.

ćŖćŠć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć§ä½œęˆć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćÆć€å›³ļ¼‘ć«ē¤ŗć—ć¦ć„ć‚‹ć‚ˆć†ć«ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć‹ć‚‰ć‚±ćƒ¼ćƒ–ćƒ«ļ¼‘ļ¼˜ļ¼ˆęœ‰ē·šé€šäæ”ļ¼‰ć‚’ä»‹ć—ć¦ļ¼£ļ¼®ļ¼£ć‚·ć‚¹ćƒ†ćƒ ļ¼‘ļ¼”ć«å‡ŗåŠ›ć™ć‚‹ć“ćØć«é™ć‚‰ćšć€ē„”ē·šé€šäæ”ć§ć€åˆćÆåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć§ä½œęˆć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’č©²åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć«č£…ē€ć•ć‚ŒćŸå¤–éƒØćƒ”ćƒ¢ćƒŖć«čØ˜ę†¶ć—ć€č©²å¤–éƒØćƒ”ćƒ¢ćƒŖć‚’åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć‹ć‚‰å¤–ć—ć¦ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼ć«č£…ē€ć—ć¦å‡ŗåŠ›ć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ As shown in FIG. 1, the machining program created by the machining program creation device 12 is not limited to being output from the machining program creation device 12 to the CNC system 14 via the cable 18 (wired communication). The machining program created by wireless communication or by the machining program creation device 12 is stored in the external memory mounted on the machining program creation device 12, and the external memory is removed from the machining program creation device 12 and mounted on the CNC device 20. And output.

å›³ļ¼‘ć«ē¤ŗć™ć‚ˆć†ć«ć€ļ¼£ļ¼®ļ¼£ć‚·ć‚¹ćƒ†ćƒ ļ¼‘ļ¼”ćÆć€ē›øäŗ’ć«é€šäæ”ē·šļ¼’ļ¼”ć§ęŽ„ē¶šć•ć‚Œć‚‹ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć‚’å«ć‚€ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼ćØć€ļ¼°ļ¼­ļ¼£ļ¼ˆProgrammable Machine Controllerļ¼‰č£…ē½®ļ¼’ļ¼’ćØć€ć‹ć‚‰ę§‹ęˆć•ć‚Œć‚‹ć€‚ As shown in FIG. 1, the CNC system 14 includes a CNC device 20 including a machining program optimization device 90 and a PMC (Programmable Machine Controller) device 22 which are connected to each other by a communication line 24.

ćŖćŠć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ćÆć€ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼ć«åŒ…å«ć™ć‚‹ć“ćØć«é™ć‚‰ćšć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć«åŒ…å«ć—ć¦ć‚‚ć‚ˆćć€ćć®ć»ć‹ć€ćƒ‘ćƒ¼ć‚½ćƒŠćƒ«ć‚³ćƒ³ćƒ”ćƒ„ćƒ¼ć‚æć€åˆćÆć‚µćƒ¼ćƒē­‰ć«åŒ…å«ć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ The machining program optimization device 90 is not limited to being included in the CNC device 20, but may be included in the machining program creation device 12, or may be included in a personal computer, a server, or the like.

å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ćÆć€åŠ å·„č£…ē½®ļ¼’ļ¼–ćØč‡Ŗå‹•å·„å…·äŗ¤ę›č£…ē½®ļ¼’ļ¼˜ćØć‹ć‚‰ę§‹ęˆć•ć‚Œć‚‹ć€‚åŠ å·„č£…ē½®ļ¼’ļ¼–ćÆć€äø»č»øļ¼“ļ¼ć‚’ęœ‰ć—ć€ćć®äø»č»øļ¼“ļ¼ć«å–ć‚Šä»˜ć‘ć‚‰ć‚Œć‚‹å·„å…·ļ¼“ļ¼’ć«ć‚ˆć‚ŠćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć‚’č”Œć†ć€‚ The machine tool 16 is composed of a processing device 26 and an automatic tool changing device 28. The processing device 26 has a spindle 30, and processes the work 34 with a tool 32 attached to the spindle 30.

åŠ å·„č£…ē½®ļ¼’ļ¼–ćÆć€äø»č»øļ¼“ļ¼ć®ä»–ć«ć€äø»č»øé ­ļ¼“ļ¼•ćØć€ć‚³ćƒ©ćƒ ļ¼“ļ¼–ćØć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć‚’å›ŗå®šć—äæęŒć™ć‚‹ćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ćØć€å‰čØ˜äø»č»øé ­ļ¼“ļ¼•åŠć³ćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ć‚’é§†å‹•ć—ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć—ć¦å·„å…·ļ¼“ļ¼’ć‚’ē›øåÆ¾ēš„ć«ļ¼øļ¼¹ļ¼ŗē›“äŗ¤ļ¼“č»øę–¹å‘ć«ē§»å‹•ć•ć›ć‚‹ć‚¢ć‚Æćƒćƒ„ć‚Øćƒ¼ć‚æéƒØļ¼“ļ¼˜ćØć‚’ęœ‰ć™ć‚‹ć€‚ In addition to the spindle 30, the processing apparatus 26 drives the spindle head 35, the column 36, the table 37 that fixes and holds the work 34, and the spindle head 35 and the table 37, and makes the tool 32 relative to the work 34. It has an actuator unit 38 for moving in three axes orthogonal to the XYZ.

å·„å…·ļ¼“ļ¼’ćÆć€äø»č»øļ¼“ļ¼ć«ē€č„±åÆčƒ½ćŖå·„å…·ćƒ›ćƒ«ćƒ€ļ¼”ļ¼ć‚’ä»‹ć—ć¦äø»č»øļ¼“ļ¼ć«å–ć‚Šä»˜ć‘ć‚‰ć‚Œć‚‹ć€‚äø»č»øļ¼“ļ¼ćÆå·„å…·ļ¼“ļ¼’ć‚’äø€ē·’ć«å›žč»¢ć•ć›ć‚‹ć€‚ The tool 32 is attached to the spindle 30 via a tool holder 40 that can be attached to and detached from the spindle 30. The spindle 30 rotates the tool 32 together.

åŠ å·„č£…ē½®ļ¼’ļ¼–ćÆć€äø»č»øļ¼“ļ¼ć«å–ć‚Šä»˜ć‘ć‚‰ć‚Œć‚‹å·„å…·ļ¼“ļ¼’ć‚’č‡Ŗå‹•å·„å…·äŗ¤ę›č£…ē½®ļ¼’ļ¼˜ć«ć‚ˆć‚Šäŗ¤ę›åÆčƒ½ćŖćƒžć‚·ćƒ‹ćƒ³ć‚°ć‚»ćƒ³ć‚æćØć—ć¦ę§‹ęˆć•ć‚Œć¦ć„ć‚‹ć€‚ The processing device 26 is configured as a machining center in which the tool 32 attached to the spindle 30 can be replaced by the automatic tool changing device 28.

č‡Ŗå‹•å·„å…·äŗ¤ę›č£…ē½®ļ¼’ļ¼˜ćÆć€å…¬ēŸ„ć®ę§‹ęˆć‚’ęœ‰ć—ć€å·„å…·ćƒ›ćƒ«ćƒ€ļ¼”ļ¼ć«äæęŒć•ć‚ŒćŸå·„å…·ļ¼“ļ¼’ć‚’č¤‡ę•°åŽē“ļ¼ˆäæęŒļ¼‰åÆčƒ½ćŖå††ē›¤ēŠ¶ć®ć‚æćƒ¬ćƒƒćƒˆļ¼ˆćƒ„ćƒ¼ćƒ«ćƒžć‚¬ć‚øćƒ³ļ¼‰ļ¼”ļ¼’ć‚’ęœ‰ć™ć‚‹ć€‚å·„å…·ļ¼“ļ¼’ćÆć€ć‚Øćƒ³ćƒ‰ćƒŸćƒ«ć€ćƒ‰ćƒŖćƒ«ć€åŠć³ć‚æćƒƒćƒ—ē­‰ć§ć‚ć‚‹ć€‚ The automatic tool changer 28 has a known configuration and has a disk-shaped turret (tool magazine) 42 capable of storing (holding) a plurality of tools 32 held in the tool holder 40. The tool 32 is an end mill, a drill, a tap, or the like.

å††ē›¤ēŠ¶ć®ć‚æćƒ¬ćƒƒćƒˆļ¼”ļ¼’ćÆć€ļ¼°ļ¼­ļ¼£č£…ē½®ļ¼’ļ¼’ć‹ć‚‰ć‚±ćƒ¼ćƒ–ćƒ«ļ¼•ļ¼˜ć‚’é€šć˜ć¦ä¾›ēµ¦ć•ć‚Œć‚‹ćƒ‡ć‚øć‚æćƒ«äæ”å·ć«ć‚ˆć‚Šé§†å‹•ć•ć‚Œć‚‹ć‚æćƒ¬ćƒƒćƒˆćƒ¢ćƒ¼ć‚æļ¼ˆäøå›³ē¤ŗļ¼‰ć«ć‚ˆć‚Šč»øå›žć‚Šć«å›žč»¢åÆčƒ½ć§ć‚ć‚‹ć€‚ć‚æćƒ¬ćƒƒćƒˆļ¼”ļ¼’ć®å‘Øę–¹å‘ć«ę²æć£ć¦č¤‡ę•°ć®å‡¹ēŠ¶éƒØć‚’ęœ‰ć™ć‚‹ć‚°ćƒŖćƒƒćƒ—ļ¼“ļ¼“ćŒčØ­ć‘ć‚‰ć‚Œć¦ć„ć‚‹ć€‚å„ć‚°ćƒŖćƒƒćƒ—ļ¼“ļ¼“ć®å‰čØ˜å‡¹ēŠ¶éƒØć«ćÆć€å·„å…·ļ¼“ļ¼’ćŒå›ŗå®šć•ć‚ŒćŸå·„å…·ćƒ›ćƒ«ćƒ€ļ¼”ļ¼ćŒē€č„±åÆčƒ½ć«äæęŒć•ć‚Œć‚‹ć€‚ć™ćŖć‚ć”ć€ć‚æćƒ¬ćƒƒćƒˆļ¼”ļ¼’ć«ćÆć€äø»č»øļ¼“ļ¼ć«äŗ¤ę›åÆčƒ½ćŖč¤‡ę•°ć®å·„å…·ļ¼“ļ¼’ćŒåŽå®¹ć•ć‚Œć¦ć„ć‚‹ć€‚ The disk-shaped turret 42 can rotate about an axis by a turret motor (not shown) driven by a digital signal supplied from the PMC device 22 through a cable 58. A grip 33 having a plurality of concave portions is provided along the circumferential direction of the turret 42. A tool holder 40 to which the tool 32 is fixed is detachably held in the concave portion of each grip 33. That is, the turret 42 contains a plurality of tools 32 that can be replaced by the spindle 30.

ćŖćŠć€ć‚æćƒ¬ćƒƒćƒˆļ¼”ļ¼’ć®ć‚°ćƒŖćƒƒćƒ—ļ¼“ļ¼“ć«äæęŒć•ć‚Œć¦ć„ć‚‹ć€å·„å…·ļ¼“ļ¼’ć®ä»˜ć„ćŸå·„å…·ćƒ›ćƒ«ćƒ€ļ¼”ļ¼ćÆć€ę‰€å®šć®å·„å…·äŗ¤ę›ä½ē½®ć«ćŠć„ć¦ć€äø»č»øļ¼“ļ¼ć«å–ć‚Šä»˜ć‘ć‚‰ć‚Œć¦ć„ć‚‹ć€å·„å…·ļ¼“ļ¼’ć®ä»˜ć„ćŸå·„å…·ćƒ›ćƒ«ćƒ€ļ¼”ļ¼ćØč‡Ŗå‹•ēš„ć«äŗ¤ę›åÆčƒ½ć§ć‚ć‚‹ć€‚ The tool holder 40 with the tool 32 held by the grip 33 of the turret 42 is automatically combined with the tool holder 40 with the tool 32 attached to the spindle 30 at a predetermined tool exchange position. It is replaceable.

åŠ å·„č£…ē½®ļ¼’ļ¼–ć‚’ę§‹ęˆć™ć‚‹ćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ćÆć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć‚’å›ŗå®šåÆčƒ½ć«ę”ÆęŒć—ć€äø»č»øļ¼“ļ¼ć®äø‹ę–¹ć«é…ē½®ć•ć‚Œć¦ć„ć‚‹ć€‚ The table 37 constituting the processing apparatus 26 supports the work 34 in a fixed manner and is arranged below the main shaft 30.

ć‚¢ć‚Æćƒćƒ„ć‚Øćƒ¼ć‚æéƒØļ¼“ļ¼˜ćÆć€ćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ć‚’Xļ¼ˆå·¦å³ļ¼‰ę–¹å‘åŠć³Yļ¼ˆå‰å¾Œļ¼‰ę–¹å‘ć«ē§»å‹•ć•ć›ć‚‹ćØå…±ć«ć€äø»č»øé ­ļ¼“ļ¼•ć‚’ć‚³ćƒ©ćƒ ļ¼“ļ¼–ć«ę²æć£ć¦Zļ¼ˆäøŠäø‹ļ¼‰ę–¹å‘ć«ē§»å‹•ć•ć›ć‚‹ć€‚ The actuator unit 38 moves the table 37 in the X (left-right) direction and the Y (front-back) direction, and moves the spindle head 35 in the Z (up-down) direction along the column 36.

ć‚¢ć‚Æćƒćƒ„ć‚Øćƒ¼ć‚æéƒØļ¼“ļ¼˜ćÆć€å°åŗ§ļ¼”ļ¼”ć«ę”ÆęŒć•ć‚Œć¦ć„ć‚‹Yč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØļ¼”ļ¼–ć€ć‚µćƒ‰ćƒ«ļ¼”ļ¼˜ć€Xč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØļ¼•ļ¼åŠć³Zč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØļ¼”ļ¼—ć‚’ęœ‰ć™ć‚‹ć€‚ć‚µćƒ‰ćƒ«ļ¼”ļ¼˜ćÆć€Yč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØļ¼”ļ¼–ć‚’ä»‹ć—ć¦å°åŗ§ļ¼”ļ¼”ć«åÆ¾ć—ć¦Yę–¹å‘ć«ē§»å‹•åÆčƒ½ć«ę”ÆęŒć•ć‚Œć¦ć„ć‚‹ć€‚
ćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ćÆć€Xč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØļ¼•ļ¼ć‚’ä»‹ć—ć¦ć‚µćƒ‰ćƒ«ļ¼”ļ¼˜ć«åÆ¾ć—ć¦Xę–¹å‘ć«ē§»å‹•åÆčƒ½ć«ę”ÆęŒć•ć‚Œć¦ć„ć‚‹ć€‚
主軸頭35は、Zč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØļ¼”ļ¼—ć‚’ä»‹ć—ć¦ćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ć«åÆ¾ć—ć¦Zę–¹å‘ć«ē§»å‹•åÆčƒ½ć«ę”ÆęŒć•ć‚Œć¦ć„ć‚‹ć€‚
The actuator portion 38 has a Y-axis slide portion 46, a saddle 48, an X-axis slide portion 50, and a Z-axis slide portion 47 supported by the pedestal 44. The saddle 48 is movably supported in the Y direction with respect to the pedestal 44 via the Y-axis slide portion 46.
The table 37 is movably supported in the X direction with respect to the saddle 48 via the X-axis slide portion 50.
The spindle head 35 is supported so as to be movable in the Z direction with respect to the table 37 via the Z-axis slide portion 47.

主軸頭35は、Zę–¹å‘ć«å¹³č”ŒćŖå›žč»¢č»øć‚’äø­åæƒć«äø»č»øļ¼“ļ¼ć‚’å›žč»¢é§†å‹•ć™ć‚‹ć‚‚ć®ć§ć‚ć‚Šć€äø»č»øļ¼“ļ¼ć‚’å›žč»¢é§†å‹•ć™ć‚‹äø»č»øćƒ¢ćƒ¼ć‚æļ¼ˆć‚¹ćƒ”ćƒ³ćƒ‰ćƒ«ćƒ¢ćƒ¼ć‚æļ¼‰ļ¼•ļ¼‘ļ¼ˆå›³ļ¼’ļ¼‰ć‚’å«ć‚€ć€‚ The spindle head 35 rotates and drives the spindle 30 around a rotary shaft parallel to the Z direction, and includes a spindle motor (spindle motor) 51 (FIG. 2) that rotationally drives the spindle 30.

ć‚³ćƒ©ćƒ ļ¼“ļ¼–ćÆć€Zč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØļ¼”ļ¼—ć‚’ä»‹ć—ć¦äø»č»øé ­ļ¼“ļ¼•ć‚’Zę–¹å‘ć«ē§»å‹•åÆčƒ½ć«ę”ÆęŒć™ć‚‹ć‚‚ć®ć§ć‚ć‚Šć€äø»č»øé ­ļ¼“ļ¼•ć‚’Z方向に沿って移動させるZč»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼”ļ¼ˆå›³ļ¼’ļ¼‰ć‚’ęœ‰ć™ć‚‹ć€‚ The column 36 supports the spindle head 35 so as to be movable in the Z direction via the Z-axis slide portion 47, and has a Z-axis motor 54 (FIG. 2) that moves the spindle head 35 along the Z direction.

Xč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØļ¼•ļ¼ćÆć€ćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ć‚’X方向に移動させるXč»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼’ļ¼ˆå›³ļ¼’ļ¼‰ć‚’ęœ‰ć™ć‚‹ć€‚
Yč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØļ¼”ļ¼–ćÆć€Xč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØļ¼•ļ¼ļ¼ˆćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ļ¼‰ć‚’Y方向に移動させるYč»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼“ļ¼ˆå›³ļ¼’ļ¼‰ć‚’ęœ‰ć™ć‚‹ć€‚
The X-axis slide unit 50 has an X-axis motor 52 (FIG. 2) that moves the table 37 in the X direction.
The Y-axis slide unit 46 has a Y-axis motor 53 (FIG. 2) that moves the X-axis slide unit 50 (table 37) in the Y direction.

ć“ć®ć‚ˆć†ć«ć‚¢ć‚Æćƒćƒ„ć‚Øćƒ¼ć‚æéƒØļ¼“ļ¼˜ć‚’ę§‹ęˆć™ć‚‹ć“ćØć«ć‚ˆć£ć¦ć€ćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ć‚’Xę–¹å‘åŠć³Y方向に移動させると共に、主軸30をZę–¹å‘ć«ē§»å‹•ć•ć›ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ By configuring the actuator unit 38 in this way, the table 37 can be moved in the X direction and the Y direction, and the main shaft 30 can be moved in the Z direction.

ć“ć®ćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ć®Xę–¹å‘åŠć³Y方向への移動と、主軸30のZę–¹å‘ćøć®ē§»å‹•ć«ć‚ˆć£ć¦ć€ćć®äø»č»øļ¼“ļ¼ć«å–ć‚Šä»˜ć‘ć‚‰ć‚ŒćŸå·„å…·ļ¼“ļ¼’ćÆć€ćƒ†ćƒ¼ćƒ–ćƒ«ļ¼“ļ¼—ć«å›ŗå®šć•ć‚ŒćŸćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„é¢ć«ę²æć†åˆ‡å‰Šē§»å‹•ć€ć‚ć‚‹ć„ćÆćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«ē©“ć‚’é–‹ć‘ć‚‹ē­‰ć®åˆ‡å‰Šē§»å‹•ćŒåÆčƒ½ćØćŖć‚‹ć€‚ Due to the movement of the table 37 in the X and Y directions and the movement of the spindle 30 in the Z direction, the tool 32 attached to the spindle 30 is cut along the machined surface of the work 34 fixed to the table 37. , Or cutting movement such as making a hole in the work 34 is possible.

å›³ļ¼’ć«ćŠć„ć¦ć€ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼ćÆć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼ˆļ¼£ļ¼°ļ¼µļ¼‰ļ¼–ļ¼ć‚’ęœ‰ć—ć€č©²ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ć®é€šäæ”ē·šļ¼–ļ¼’ć«ć€å…„åŠ›ć‚¤ćƒ³ć‚æćƒ•ć‚§ćƒ¼ć‚¹ļ¼ˆå…„åŠ›ļ¼©ļ¼ļ¼¦ļ¼‰ļ¼–ļ¼”ć®äø€ē«Æć€ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć€å ±ēŸ„å›žč·Æļ¼–ļ¼˜ć€č»øåˆ¶å¾”å›žč·Æļ¼—ļ¼ć®äø€ē«ÆåŠć³å‰čØ˜ļ¼°ļ¼­ļ¼£č£…ē½®ļ¼’ļ¼’ćŒęŽ„ē¶šć•ć‚Œć‚‹ć€‚ In FIG. 2, the CNC device 20 has a processor (CPU) 60, and one end of an input interface (input I / F) 64, a memory 66, a notification circuit 68, and an axis control circuit 70 are connected to the communication line 62 of the processor 60. One end of the PMC device 22 and the PMC device 22 are connected.

č»øåˆ¶å¾”å›žč·Æļ¼—ļ¼ć®ä»–ē«ÆćÆć€äø»č»øē”ØåŠć³XYZč»øē”Øć®å„ć‚µćƒ¼ćƒœć‚¢ćƒ³ćƒ—ļ¼—ļ¼’åŠć³ć‚±ćƒ¼ćƒ–ćƒ«ļ¼•ļ¼–ć‚’é€šć˜ć¦å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®åŠ å·„č£…ē½®ļ¼’ļ¼–ć‚’ę§‹ęˆć™ć‚‹äø»č»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼‘ć€äø¦ć³ć«å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®ć‚¢ć‚Æćƒćƒ„ć‚Øćƒ¼ć‚æéƒØļ¼“ļ¼˜ć‚’ę§‹ęˆć™ć‚‹Xč»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼’ć€Yč»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼“ć€Zč»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼”ć«ęŽ„ē¶šć•ć‚Œć‚‹ć€‚
å…„åŠ›ć‚¤ćƒ³ć‚æćƒ•ć‚§ćƒ¼ć‚¹ļ¼–ļ¼”ć®ä»–ē«ÆćÆć€ć‚±ćƒ¼ćƒ–ćƒ«ļ¼‘ļ¼˜ć‚’ä»‹ć—ć¦åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć«ęŽ„ē¶šć•ć‚Œć‚‹ć€‚
The other end of the shaft control circuit 70 is an X that constitutes the spindle motor 51 that constitutes the machining apparatus 26 of the machine tool 16 and the actuator portion 38 of the machine tool 16 through the servo amplifiers 72 for the spindle and the XYZ axes and the cable 56. It is connected to the axis motor 52, the Y-axis motor 53, and the Z-axis motor 54.
The other end of the input interface 64 is connected to the machining program creation device 12 via the cable 18.

ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć‚’å®Ÿę–½ć™ć‚‹ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å«ć‚€åˆ¶å¾”ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ę ¼ē“ć™ć‚‹ļ¼²ļ¼Æļ¼­ć®ä»–ć€ćƒÆćƒ¼ć‚Æē”Øć®ļ¼²ļ¼”ļ¼­ć€åŠć³ę›øćę›ćˆåÆčƒ½ćŖäøę®ē™ŗę€§ćƒ”ćƒ¢ćƒŖć‹ć‚‰ćŖć‚‹ć€‚äøę®ē™ŗę€§ćƒ”ćƒ¢ćƒŖć«ćÆć€é›»ęŗåˆ‡ę–­å¾Œć‚‚äæęŒć™ć¹ććƒ‘ćƒ©ćƒ”ćƒ¼ć‚æć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ åŠć³äæ®ę­£å¾Œļ¼ˆęœ€é©åŒ–å¾Œļ¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼‰ć€åŠć³å·„å…·č£œę­£ćƒ‡ćƒ¼ć‚æē­‰ćŒčØ˜ę†¶ć•ć‚Œć‚‹ć€‚ The memory 66 includes a ROM for storing a control program including a program for executing a machining program optimization method, a RAM for a work, and a rewritable non-volatile memory. The non-volatile memory stores parameters to be retained even after the power is turned off, machining programs (input machining programs and machining programs after modification (optimization)), tool correction data, and the like.

ć¾ćŸć€ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–äø­ć®å‰čØ˜äøę®ē™ŗę€§ćƒ”ćƒ¢ćƒŖć«ćÆć€äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’čØ˜ę†¶ć™ć‚‹å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ćŒčØ­ć‘ć‚‰ć‚Œć¦ć„ć‚‹ć€‚ Further, the non-volatile memory in the memory 66 is provided with a redundant command storage unit 74 for storing a predetermined redundant command.

å ±ēŸ„å›žč·Æļ¼–ļ¼˜ćÆć€é€šäæ”ē·šļ¼–ļ¼’ć«ęŽ„ē¶šć•ć‚Œć‚‹č”Øē¤ŗč£…ē½®ä»˜ę©Ÿę¢°ę“ä½œē›¤ļ¼ˆäøå›³ē¤ŗļ¼‰ć®č”Øē¤ŗč£…ē½®ē­‰ć«ć‚ˆć‚Šę§‹ęˆć•ć‚Œć‚‹ć€‚č”Øē¤ŗč£…ē½®ä»˜ę©Ÿę¢°ę“ä½œē›¤ćÆć€č”Øē¤ŗč£…ē½®ć®ä»–ć€ćƒ¦ćƒ¼ć‚¶ćŒćƒ‡ćƒ¼ć‚æå…„åŠ›åÆčƒ½ćŖćƒ‡ćƒ¼ć‚æå…„åŠ›č£…ē½®ē­‰ć‚’å‚™ćˆć‚‹ć€‚ The notification circuit 68 is configured by a display device or the like of a machine operation panel (not shown) with a display device connected to the communication line 62. The machine operation panel with a display device includes a data input device and the like that allow the user to input data in addition to the display device.

å›³ļ¼“ćÆć€ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼ć®ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ćŒćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«čØ˜ę†¶ć•ć‚ŒćŸåˆ¶å¾”ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å®Ÿč”Œć™ć‚‹ć“ćØć§é”ęˆć•ć‚Œć‚‹ę©Ÿčƒ½ćƒ–ćƒ­ćƒƒć‚Æļ¼—ļ¼–ć‚’å«ć‚€ć€å®Ÿę–½å½¢ę…‹ć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć®ę§‹ęˆć‚’ē¤ŗć™ćƒ–ćƒ­ćƒƒć‚Æå›³ć§ć‚ć‚‹ć€‚ FIG. 3 is a block diagram showing a configuration of a machining program optimization device 90 according to an embodiment, including a functional block 76 achieved by the processor 60 of the CNC device 20 executing a control program stored in a memory 66. be.

ę©Ÿčƒ½ćƒ–ćƒ­ćƒƒć‚Æļ¼—ļ¼–ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›éƒØļ¼—ļ¼˜ćØć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćØć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćØć€å ±ēŸ„éƒØļ¼˜ļ¼”ćØć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›éƒØļ¼˜ļ¼–ćØć‹ć‚‰ę§‹ęˆć•ć‚Œć‚‹ć€‚ The functional block 76 includes a machining program input unit 78, a redundancy command detection unit 80, a machining program optimization unit 82, a notification unit 84, and a machining program output unit 86.

å›³ļ¼’ć€å›³ļ¼“ć«ćŠć„ć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›éƒØļ¼—ļ¼˜ćÆć€ęœ€é©åŒ–ć—ć‚ˆć†ćØć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć‹ć‚‰å…„åŠ›ć—ć¦ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«čØ˜ę†¶ć•ć›ć‚‹ć€‚ In FIGS. 2 and 3, the machining program input unit 78 inputs the machining program to be optimized from the machining program creation device 12 and stores it in the memory 66.

å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«čØ˜ę†¶ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆęœ€é©åŒ–é©ē”Øå‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼‰äø­ć®å†—é•·ęŒ‡ä»¤ć‚’ć€äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’čØ˜ę†¶ć™ć‚‹å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć‚’å‚ē…§ć—ć¦ć‚µćƒ¼ćƒć—ę¤œå‡ŗć™ć‚‹ć€‚ The redundancy command detection unit 80 searches and detects the redundancy command in the machining program (machining program before application of optimization) stored in the memory 66 with reference to the redundancy command storage unit 74 that stores the predetermined redundancy command. do.

åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć§ę¤œå‡ŗć—ćŸå†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦ć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć—ęœ€é©åŒ–ć—ćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ä½œęˆć—ć€ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«ęœ€é©åŒ–å¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćØć—ć¦čØ˜ę†¶ć•ć›ć‚‹ć€‚ The machining program optimization unit 82 deletes or reduces the redundancy command detected by the redundancy command detection unit 80, corrects the input machining program, creates an optimized machining program, and optimizes the machining program in the memory 66. Remember as.

å ±ēŸ„éƒØļ¼˜ļ¼”ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćŒęœ€é©åŒ–å‹•ä½œé€”äø­ē­‰ć«ć€åæ…č¦ć«åæœć˜ć¦å ±ēŸ„å›žč·Æļ¼ˆč”Øē¤ŗč£…ē½®ē­‰ļ¼‰ļ¼–ļ¼˜ć‚’é€šć˜ć¦ćƒ¦ćƒ¼ć‚¶ć«ēŸ„ć‚‰ć›ć‚‹ē­‰ć®ę©Ÿčƒ½ć‚’ęœ‰ć™ć‚‹ć€‚ The notification unit 84 has a function such that the processing program optimization unit 82 notifies the user through a notification circuit (display device or the like) 68 as needed during the optimization operation.

åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›éƒØļ¼˜ļ¼–ćÆć€ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«čØ˜ę†¶ć•ć‚Œć¦ć„ć‚‹å‰čØ˜ęœ€é©åŒ–å¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆęœ€é©åŒ–åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćØć‚‚ć„ć†ć€‚ļ¼‰ć‚’čŖ­ćæå‡ŗć—ć€å‹•ä½œęŒ‡ä»¤ć‚’ć€č»øåˆ¶å¾”å›žč·Æļ¼—ļ¼ć‚’é€šć˜ć¦ć‚µćƒ¼ćƒœć‚¢ćƒ³ćƒ—ļ¼—ļ¼’ć«å‡ŗåŠ›ć™ć‚‹ćØå…±ć«ć€ļ¼°ļ¼­ļ¼£č£…ē½®ļ¼’ļ¼’ć«å‡ŗåŠ›ć™ć‚‹ć€‚ The machining program output unit 86 reads the optimized post-machining program (also referred to as an optimized machining program) stored in the memory 66, outputs an operation command to the servo amplifier 72 through the axis control circuit 70, and outputs the operation command to the servo amplifier 72 and PMC. Output to the device 22.

å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ćÆć€ļ¼°ļ¼­ļ¼£č£…ē½®ļ¼’ļ¼’ć«ć‚ˆć‚Šč‡Ŗå‹•å·„å…·äŗ¤ę›č£…ē½®ļ¼’ļ¼˜ćŒé§†å‹•ć•ć‚Œć€ć‚µćƒ¼ćƒœć‚¢ćƒ³ćƒ—ļ¼—ļ¼’ć«ć‚ˆć‚Šäø»č»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼‘ć€Xč»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼’ć€Yč»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼“ć€åŠć³Zč»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼”ćŒé§†å‹•ć•ć‚Œć‚‹ć“ćØć§ć€å‰čØ˜ęœ€é©åŒ–åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«ę²æć£ć¦ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć‚’åŠ å·„ć™ć‚‹ć€‚ In the machine tool 16, the automatic tool changer 28 is driven by the PMC device 22, and the spindle motor 51, the X-axis motor 52, the Y-axis motor 53, and the Z-axis motor 54 are driven by the servo amplifier 72, whereby the optimum The work 34 is machined according to the chemical processing program.

å‰čØ˜ęœ€é©åŒ–åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć€ć™ćŖć‚ć”å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®å†—é•·ęŒ‡ä»¤ē­‰ćŒå‰Šé™¤åˆćÆå‰Šęø›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«ć‚ˆć‚Šå·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ćŒä½œå‹•ć•ć‚Œć‚‹ć“ćØć§ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ćŒēŸ­ēø®ć•ć‚Œć‚‹ć€‚ The cycle time of the machine tool 16 is shortened by operating the machine tool 16 by the optimized machining program, that is, the machining program in which the redundant command or the like in the input machining program is deleted or reduced.

ę¬”ć«ć€åŸŗęœ¬ēš„ć«ćÆä»„äøŠć®ć‚ˆć†ć«ę§‹ęˆć•ć‚Œć€å‹•ä½œć™ć‚‹ļ¼®ļ¼£å·„ä½œę©Ÿę¢°ć‚·ć‚¹ćƒ†ćƒ ļ¼‘ļ¼ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć§å®Ÿč”Œć•ć‚Œć‚‹å†—é•·ęŒ‡ä»¤ć®å†…å®¹åŠć³ęœ€é©åŒ–é …ē›®ć®ę¦‚č¦ć«ć¤ć„ć¦ä»„äø‹ć«čŖ¬ę˜Žć™ć‚‹ć€‚ Next, the contents of the redundancy command executed by the machining program optimization device 90 of the NC machine tool system 10 basically configured and operating as described above and the outline of the optimization items will be described below.

ļ¼»å†—é•·ęŒ‡ä»¤ćƒ»ęœ€é©åŒ–é …ē›®ć®ę¦‚č¦čŖ¬ę˜Žļ¼½
å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć‹ć‚‰å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ę§‹ęˆć™ć‚‹å‹•ä½œęŒ‡ä»¤äø­ć€äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ćŒē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€åŠć³éŽå‰°ćŖä½™č£•ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ē­‰ć‚’čØ˜ę†¶ć—ć¦ć„ć‚‹ć€‚
[Overview of redundancy directives / optimization items]
The redundant command storage unit 74 generates a command for the machine tool 16 to generate a useless waiting time and a useless movement as a predetermined redundant command in the operation command constituting the machining program input from the machining program creating device 12. It stores commands to be issued and commands to generate an excessive margin.

å¾“ć£ć¦ć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć‚’å‚ē…§ć—ć¦ć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ę§‹ęˆć™ć‚‹å‹•ä½œęŒ‡ä»¤äø­ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ćŒē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€åŠć³éŽå‰°ćŖä½™č£•ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ē­‰ć‚’ć‚µćƒ¼ćƒć—ć¦ę¤œå‡ŗć§ćć‚‹ć€‚ Therefore, the redundant command detection unit 80 refers to the redundant command storage unit 74, and generates a command and a useless movement in which the machine tool 16 generates a useless waiting time during an operation command constituting the input machining program. It is possible to search and detect commands and commands that generate an excessive margin.

ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€åŠć³éŽå‰°ćŖä½™č£•ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ē­‰ć®å†—é•·ęŒ‡ä»¤åŠć³č©²å†—é•·ęŒ‡ä»¤ć‚’ęœ€é©åŒ–ć™ć‚‹é …ē›®ćÆć€ä¾‹ćˆć°ć€ä»„äø‹ć«ē¤ŗć™é …ē›®ļ¼‘ļ½žé …ē›®ļ¼™ć¾ć§ć‚ć‚Šć€ć¾ćšć€å„é …ē›®ļ¼ˆęœ€é©åŒ–é …ē›®ļ¼‰ć®ę¦‚č¦ć‚’čŖ¬ę˜Žć™ć‚‹ć€‚ Redundant commands such as a command to generate a useless waiting time, a command to generate a useless movement, and a command to generate an excessive margin, and items for optimizing the redundant command are, for example, items 1 to 9 shown below. First, the outline of each item (optimization item) will be explained.

ļ¼»åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć®ęœ€é©åŒ–å‹•ä½œļ¼ˆęœ€é©åŒ–é …ē›®ļ¼‰ć®ę¦‚č¦ļ¼½
é …ē›®ļ¼‘ļ¼šć€Œé‡č¤‡ć™ć‚‹ęŒ‡ä»¤ć®å‰Šé™¤ć€
ę¦‚č¦ļ¼šå†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć‚‹ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€ä¾‹ćˆć°ć€å®Ÿč”Œäø­ć®å‹•ä½œļ¼ˆć™ć§ć«å®Ÿč”Œć—ć¦ć„ć‚‹å‹•ä½œļ¼‰ć‚’ęŒ‡ä»¤ć™ć‚‹é‡č¤‡ć‚³ćƒ¼ćƒ‰ćŒć‚ć‚‹ć€‚
[Outline of optimization operation (optimization item) of machining program optimization device 90]
Item 1: "Delete duplicate directives"
Outline: As a command for generating a useless waiting time stored in the redundant command storage unit 74, for example, there is a duplicate code for commanding an operation being executed (an operation already being executed).

ć“ć®é‡č¤‡ć‚³ćƒ¼ćƒ‰ćŒå†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‹ć‚‰ę¤œå‡ŗć•ć‚ŒćŸå “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć§ć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‹ć‚‰č©²é‡č¤‡ć‚³ćƒ¼ćƒ‰ć‚’å‰Šé™¤ć™ć‚‹ć€‚ When this duplicate code is detected from the input machining program by the redundancy command detection unit 80, the machining program optimization unit 82 deletes the duplicate code from the input machining program.

é …ē›®ļ¼’ļ¼šć€Œäø»č»øå›žč»¢ęŒ‡ä»¤ć®ć‚æć‚¤ćƒŸćƒ³ć‚°ć€
ę¦‚č¦ļ¼šå†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć‚‹ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ä»–ć®ęŒ‡ä»¤ćØć—ć¦ć€ä¾‹ćˆć°ć€å·„å…·ļ¼“ļ¼’ć®ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć«å·„å…·ļ¼“ļ¼’ć®å›žč»¢ļ¼ˆäø»č»øå›žč»¢ļ¼‰ć‚’é †ę¬”ęŒ‡ä»¤ć™ć‚‹ęŒ‡ä»¤ćŒć‚ć‚‹ć€‚
Item 2: "Timing of spindle rotation command"
Outline: As another command for generating a useless waiting time stored in the redundant command storage unit 74, for example, there is a command for sequentially commanding the rotation (spindle rotation) of the tool 32 after the tool 32 approaches the work 34.

ć“ć®å›žč»¢ęŒ‡ä»¤ćŒć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‹ć‚‰å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šę¤œå‡ŗć•ć‚ŒćŸå “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć§ć€ć‚¢ćƒ—ćƒ­ćƒ¼ćƒęŒ‡ä»¤ćØå›žč»¢ęŒ‡ä»¤ć‹ć‚‰ćŖć‚‹é †ę¬”ęŒ‡ä»¤ć‚’åŒę™‚ęŒ‡ä»¤ć«ę›øćę›ćˆć‚‹ć€‚ When this rotation command is detected by the redundant command detection unit 80 from the input machining program, the machining program optimization unit 82 rewrites the sequential command consisting of the approach command and the rotation command into simultaneous commands.

é …ē›®ļ¼“ļ¼šć€Œå·„å…·äŗ¤ę›ć®åŒę™‚ęŒ‡ä»¤ć€
ę¦‚č¦ļ¼šå†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć‚‹ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€ä¾‹ćˆć°ć€å·„å…·äŗ¤ę›å¾Œć«ć€č©²å·„å…·ļ¼“ļ¼’ć‚’ę¬”ć®åŠ å·„ä½ē½®ć¾ć§é †ę¬”ē§»å‹•ć•ć›ć‚‹ęŒ‡ä»¤ćŒć‚ć‚‹ć€‚
Item 3: "Simultaneous command for tool change"
Outline: As a command for generating a useless waiting time stored in the redundant command storage unit 74, for example, there is a command for sequentially moving the tool 32 to the next machining position after changing the tool.

ć“ć®ē§»å‹•ć•ć›ć‚‹ęŒ‡ä»¤ćŒć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‹ć‚‰å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šę¤œå‡ŗć•ć‚ŒćŸå “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć§ć€å·„å…·äŗ¤ę›ć®ęŒ‡ä»¤ćØę¬”ć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć¾ć§ć®ē§»å‹•ęŒ‡ä»¤ć‹ć‚‰ćŖć‚‹é †ę¬”ęŒ‡ä»¤ć‚’åŒę™‚ęŒ‡ä»¤ćØćŖć‚‹ć‚ˆć†ć«ę›øćę›ćˆć‚‹ć€‚ When this moving command is detected by the redundant command detecting unit 80 from the input machining program, the machining program optimization unit 82 simultaneously issues a tool change command and a sequential command consisting of a moving command to the next approach position. Rewrite so that it becomes a command.

é …ē›®ļ¼”ļ¼šć€Œć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć®ęœ€é©åŒ–ć€
ę¦‚č¦ļ¼šå†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć‚‹ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€ä¾‹ćˆć°ć€å·„å…·äŗ¤ę›å¾Œć«å·„å…·ļ¼“ļ¼’ć‚’ć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć¾ć§ę—©é€ć‚Šć§ē§»å‹•ć•ć›ć‚‹ęŒ‡ä»¤ć®å®Ÿč”Œäø­ć«ć€åŒäø€č»øćŒč¤‡ę•°å›žå‹•ä½œć™ć‚‹ć‚ˆć†ćŖęŒ‡ä»¤ćŒćŖć•ć‚Œć¦ć„ć‚‹å “åˆćŒć‚ć‚‹ć€‚
Item 4: "Optimization of approach position"
Outline: As a command to generate a useless movement stored in the redundant command storage unit 74, for example, during execution of a command to move the tool 32 to the final approach position with respect to the work 34 in a fast forward after a tool change, a plurality of identical axes are executed. There may be a command to operate once.

ć“ć®å “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€ę—©é€ć‚Šē§»å‹•ęŒ‡ä»¤ć§ęœ€åˆć«ęŒ‡ä»¤ć•ć‚Œć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć‚’å‰čØ˜ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć®åŗ§ęØ™ć«ę›øćę›ćˆć‚‹ć€‚ In this case, the machining program optimization unit 82 rewrites the approach position first commanded by the fast-forward movement command to the coordinates of the final approach position.

é …ē›®ļ¼•ļ¼šć€ŒåŽŸē‚¹ć«ęˆ»ć‚‹å‹•ä½œć®å‰Šé™¤ć€
ę¦‚č¦ļ¼šå†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć‚‹ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€ä¾‹ćˆć°ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ć€ć€ŒåŽŸē‚¹ć«ęˆ»ć‚‹ā†’å·„å…·äŗ¤ę›ā†’åŠ å·„ā†’åŽŸē‚¹ć«ęˆ»ć‚‹ā†’å·„å…·äŗ¤ę›ā†’åŠ å·„ā†’åŽŸē‚¹ć«ęˆ»ć‚‹ć€ćØć„ć†äø€é€£ć®ęŒ‡ä»¤ćŒć‚ć‚‹ć€‚
Item 5: "Delete the action to return to the origin"
Outline: As a command to generate a useless movement stored in the redundant command storage unit 74, for example, "return to origin-> tool change->machining-> return to origin-> tool change->machining-> return to origin" in a machining program. There is a series of directives.

ć“ć®äø€é€£ć®ęŒ‡ä»¤ćŒć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‹ć‚‰å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šę¤œå‡ŗć•ć‚ŒćŸå “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć§ć€äø­é–“ć®ć€ŒåŽŸē‚¹ć«ęˆ»ć‚‹ć€ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć€‚ When this series of commands is detected by the redundant command detection unit 80 from the input machining program, the machining program optimization unit 82 deletes the intermediate "return to origin" command.

é …ē›®ļ¼–ļ¼šć€Œå†…åŒ…ć•ć‚Œć‚‹ć‚³ćƒ¼ćƒ‰ć®å‰Šé™¤ć€
ę¦‚č¦ļ¼šå†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć‚‹ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€ē‰¹å®šć®ęŒ‡ä»¤ćŒć€ä»–ć®ęŒ‡ä»¤ć«å†…åŒ…ć•ć‚Œć‚‹ęŒ‡ä»¤ć§ć‚ć£ć¦ć€å‰čØ˜ä»–ć®ęŒ‡ä»¤ć®å‰ć«å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ćŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«å­˜åœØć™ć‚‹ć“ćØćŒć‚ć‚‹ć€‚
Item 6: "Delete the included code"
Outline: As a command for generating a useless waiting time stored in the redundant command storage unit 74, a specific command is a command included in another command, and the specific command precedes the other command. May be present in the machining program.

å‰čØ˜ä»–ć®ęŒ‡ä»¤ć®å‰ć«å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ćŒć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«å­˜åœØć™ć‚‹ć“ćØćŒć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šę¤œå‡ŗć•ć‚ŒćŸå “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć§ć€å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć€‚ When the redundant command detection unit 80 detects that the specific command exists in the input machining program before the other command, the machining program optimization unit 82 deletes the specific command. do.

é …ē›®ļ¼—ļ¼šć€Œęœ€é©ćŖęŒ‡ä»¤ć®éøęŠžć€
ę¦‚č¦ļ¼šē„”é§„ćŖå¾…ć”ę™‚é–“åˆćÆē„”é§„ćŖå‹•ćć‚’å‰Šęø›ć™ć‚‹ęŒ‡ä»¤ćØć—ć¦å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«å°‚ē”Øć®ęŒ‡ä»¤ļ¼ˆå°‚ē”ØęŒ‡ä»¤ćØć„ć†ć€‚ļ¼‰ćŒē”Øę„ć•ć‚Œć¦ć„ć‚‹å “åˆćŒć‚ć‚‹ć€‚
Item 7: "Selection of optimal command"
Outline: A machine tool 16 may be provided with a dedicated command (referred to as a dedicated command) as a command for reducing unnecessary waiting time or unnecessary movement.

å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«å°‚ē”ØęŒ‡ä»¤ćŒē”Øę„ć•ć‚Œć¦ć„ćŸå “åˆć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ć€å‰čØ˜å°‚ē”ØęŒ‡ä»¤ć«ē½®ćę›ćˆć‚‹ć“ćØćŒåÆčƒ½ćŖļ¼ˆå‰čØ˜å°‚ē”ØęŒ‡ä»¤ć«åŒ…å«ć•ć‚Œć‚‹ļ¼‰ę±Žē”ØęŒ‡ä»¤ćŒå†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šę¤œå‡ŗć•ć‚ŒćŸéš›ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć§ć€å‰čØ˜ę±Žē”ØęŒ‡ä»¤ć‚’å‰čØ˜å°‚ē”ØęŒ‡ä»¤ć«å¤‰ę›“ć™ć‚‹ć€‚ When a dedicated command is prepared for the machine tool 16, a general-purpose command (included in the dedicated command) that can be replaced with the dedicated command is detected by the redundant command detection unit 80 in the input machining program. At that time, the machining program optimization unit 82 changes the general-purpose command to the dedicated command.

é …ē›®ļ¼˜ļ¼šć€Œć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ćØåŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ćØć®é–“ć®č·é›¢ć®ēŸ­ēø®ļ¼ˆć‚¢ćƒ—ćƒ­ćƒ¼ćƒć®ä½ē½®å¤‰ę›“ļ¼‰ć€
ę¦‚č¦ļ¼šå†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć‚‹éŽå‰°ćŖä½™č£•ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€ę—©é€ć‚ŠęŒ‡ä»¤ļ¼ˆę—©é€ć‚Šé€Ÿåŗ¦ļ¼‰ć§ć®ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹å·„å…·ļ¼“ļ¼’ć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć«ć€åŠ å·„é€ć‚ŠęŒ‡ä»¤ļ½›åŠ å·„é€ć‚Šé€Ÿåŗ¦ļ¼ˆåŠ å·„é€Ÿåŗ¦ļ¼‰ļ½ć§ć®å·„å…·ļ¼“ļ¼’ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć‚’č”Œć†å “åˆć®ęŒ‡ä»¤ćŒć‚ć‚‹ć€‚ćŖćŠć€ę—©é€ć‚Šé€Ÿåŗ¦ćÆć€åŠ å·„é€ć‚Šé€Ÿåŗ¦ć«ęÆ”č¼ƒć—ć¦éžåøøć«å¤§ćć„ļ¼ˆę—©é€ć‚Šé€Ÿåŗ¦ļ¼žļ¼žåŠ å·„é€ć‚Šé€Ÿåŗ¦ļ¼‰ć€‚
Item 8: "Reducing the distance between the position after approach and the machining feed start position (changing the position of approach)"
Outline: As a command to generate an excessive margin stored in the redundant command storage unit 74, after the tool 32 approaches the work 34 with the fast-forward command (fast-forward speed), the machining feed command {machining feed speed (machining speed)} is used. There is a command for machining the work 34 with the tool 32 of. The fast-forward speed is much higher than the machining feed speed (fast-forward speed >> machining feed speed).

ę—©é€ć‚ŠęŒ‡ä»¤ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ćøć®å·„å…·ļ¼“ļ¼’ć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć«ć€å·„å…·ļ¼“ļ¼’ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹åŠ å·„é€ć‚ŠęŒ‡ä»¤ļ¼ˆę—©é€ć‚ŠęŒ‡ä»¤ć«ē¶šćåŠ å·„é€ć‚ŠęŒ‡ä»¤ļ¼‰ć‚’ć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‹ć‚‰å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šę¤œå‡ŗć—ćŸå “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€ćƒ¦ćƒ¼ć‚¶ć«ć€å‰čØ˜ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ć€ć™ćŖć‚ć”ć€åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ćØćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹åŠ å·„ć€ä¾‹ćˆć°åˆ‡å‰ŠćŒé–‹å§‹ć•ć‚Œć‚‹ä½ē½®ļ¼ˆåŠ å·„é–‹å§‹ä½ē½®ć€ä¾‹ćˆć°åˆ‡å‰Šé–‹å§‹ä½ē½®ļ¼‰ćØć®é–“ć®č·é›¢ć‚’ć€å ±ēŸ„å›žč·Æļ¼–ļ¼˜ć‚’é€šć˜ć¦å ±ēŸ„ć™ć‚‹ļ¼ˆå ±ēŸ„å›žč·Æļ¼–ļ¼˜ć®č”Øē¤ŗč£…ē½®äøŠć«č”Øē¤ŗć™ć‚‹ć€‚ļ¼‰ć€‚ When the machining feed command (machining feed command following the fast-forward command) for the work 34 by the tool 32 is detected by the redundant command detection unit 80 from the input machining program after the tool 32 approaches the work 34 by the fast-forward command, machining is performed. The program optimization unit 82 tells the user the distance between the position after the approach, that is, the machining feed start position and the machining with respect to the work 34, for example, the position where cutting is started (machining start position, for example, cutting start position). Is notified through the notification circuit 68 (displayed on the display device of the notification circuit 68).

ć“ć®å “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ćØåŠ å·„é–‹å§‹ä½ē½®ćØć®é–“ć®č·é›¢ć‚’å ±ēŸ„ć™ć‚‹ćØåŒę™‚ć«ć€ćƒ¦ćƒ¼ć‚¶ćŒå‰čØ˜ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ļ¼ˆå‰čØ˜åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ļ¼‰ć‚’å‰čØ˜åŠ å·„é–‹å§‹ä½ē½®ć«ć•ć‚‰ć«čæ‘ć„ć‘ć‚‹ć“ćØć§ć€éŽå‰°ćŖä½™č£•ć®ēø®å°ć®åÆčƒ½ę€§ćŒć‚ć‚‹ć“ćØć‚’ć€å ±ēŸ„å›žč·Æļ¼–ļ¼˜ć‚’é€šć˜ć¦å ±ēŸ„ć™ć‚‹ļ¼ˆå ±ēŸ„å›žč·Æļ¼–ļ¼˜ć®č”Øē¤ŗč£…ē½®äøŠć«č”Øē¤ŗć™ć‚‹ć€‚ļ¼‰ć€‚ In this case, the machining program optimization unit 82 notifies the distance between the machining feed start position and the machining start position, and at the same time, the user further sets the position after the approach (the machining feed start position) to the machining start position. It is notified through the notification circuit 68 that there is a possibility of excessive reduction of the margin by bringing it closer (displayed on the display device of the notification circuit 68).

é …ē›®ļ¼™ļ¼šć€Œå›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®čØ­å®šć®å¤‰ę›“ć€
ę¦‚č¦ļ¼šå†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć‚‹éŽå‰°ćŖä½™č£•ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®åŠ å·„ć®å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ęŒ‡ä»¤ćŒć‚ć‚‹ć€‚
Item 9: "Change fixed cycle settings"
Outline: As a command for generating an excess margin stored in the redundant command storage unit 74, there is a command for a fixed cycle of machining in a machining program.

å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«åŠ å·„ć®å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ęŒ‡ä»¤ćŒć‚ć‚‹ć‹å¦ć‹ćŒć‚µćƒ¼ćƒć•ć‚Œć€å‰čØ˜å›ŗå®šć‚µć‚¤ć‚Æćƒ«ćŒę¤œå‡ŗć•ć‚Œć‚‹ć€‚ The redundant command detection unit 80 searches for whether or not there is a fixed cycle command for machining in the input machining program, and detects the fixed cycle.

ć“ć®å “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć§ć€ćƒ¦ćƒ¼ć‚¶ć«ć€å›ŗå®šć‚µć‚¤ć‚Æćƒ«ļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«ć‚’åŠ å·„é–‹å§‹ä½ē½®ļ¼ˆć“ć®å “åˆćÆć€åŠ å·„é–‹å§‹ē‚¹ćØć„ć£ć¦ć‚‚ć‚ˆć„ć€‚ļ¼‰ć«ć•ć‚‰ć«čæ‘ć„ć‘ć‚‹ć“ćØåŠć³ļ¼åˆćÆå›ŗå®šć‚µć‚¤ć‚Æćƒ«ć‚¤ćƒ‹ć‚·ćƒ£ćƒ«ćƒ¬ćƒ™ćƒ«å¾©åø°ć‚’å›ŗå®šć‚µć‚¤ć‚Æćƒ«ļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«å¾©åø°ć«å¤‰ę›“åÆčƒ½ć§ć‚ć‚Œć°å‰čØ˜éŽå‰°ćŖä½™č£•ć®ēø®å°ćŒåÆčƒ½ć§ć‚ć‚‹ć“ćØć‚’å ±ēŸ„å›žč·Æļ¼–ļ¼˜ć‚’é€šć˜ć¦å ±ēŸ„ć™ć‚‹ć€‚ In this case, the machining program optimization unit 82 brings the fixed cycle R point level closer to the machining start position (in this case, it may be referred to as the machining start point) and / or returns to the fixed cycle initial level. If it can be changed to return to the fixed cycle R point level, it is notified through the notification circuit 68 that the excessive margin can be reduced.

ļ¼»åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć®č©³ē“°å‹•ä½œļ¼½
ę¬”ć«ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć‚’å®Ÿę–½ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ć‚ˆć‚‹é …ē›®ļ¼‘ć‹ć‚‰é …ē›®ļ¼™ć¾ć§ć®ęœ€é©åŒ–å‹•ä½œć®č©³ē“°ć«ć¤ć„ć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ä¾‹ć‚’ē”Øć„ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ćŖćŠć€ä»„äø‹ć«čŖ¬ę˜Žć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ä¾‹ć§ćÆć€å„ćƒ–ćƒ­ćƒƒć‚Æęœ«å°¾ć®ļ¼„ļ¼Æļ¼¢ļ¼ˆļ¼›ļ¼‰ć®čØ˜č¼‰ć‚’ēœē•„ć—ć¦ć„ć‚‹ć€‚
[Detailed operation of machining program optimization device 90]
Next, the details of the optimization operation of items 1 to 9 by the machining program optimizing device 90 that implements the machining program optimization method will be described with reference to an example of the machining program. In the example of the machining program described below, the description of EOB (;) at the end of each block is omitted.

å›³ļ¼”åŠć³å›³ļ¼•ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć‹ć‚‰ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼ć®ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ä¾‹ć§ć‚ć£ć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆļ¼‘ļ¼ļ¼’ć€ļ¼’ļ¼ļ¼’ļ¼‰ć‚’ē¤ŗć™ć€‚ 4 and 5 are examples of machining programs input from the machining program creation device 12 to the memory 66 of the CNC device 20, and are pre-machining programs (1/2, 2/2) to which the machining program optimization method is applied. Is shown.

ćŖćŠć€ć“ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ä¾‹ć§ćÆć€ē…©é›‘ć‚’å›žéæć™ć‚‹ćŸć‚ć€å›³ļ¼ˆä¾‹ćˆć°ć€å›³ļ¼”ļ¼‰äø­ć®ć€Œ...ļ¼ˆēœē•„ļ¼‰ć€ć®čØ˜č¼‰ć«ć‚ˆć‚ŠåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć€ļ¼’ē®‡ę‰€ć§ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆč¤‡ę•°ć®ćƒ–ćƒ­ćƒƒć‚Æļ¼‰ć®čØ˜čæ°ć‚’ēœē•„ć—ć¦ć„ć‚‹ć€‚ć“ć“ć§ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć€ļ¼‘ļ¼˜č”Œē›®ć®ęœ€åˆć®ēœē•„ē®‡ę‰€ć‚’ē¬¬ļ¼‘ēœē•„ćƒ–ćƒ­ćƒƒć‚Æć€ę¬”ć®ļ¼’ļ¼™č”Œē›®ć®ēœē•„ē®‡ę‰€ć‚’ē¬¬ļ¼’ēœē•„ćƒ–ćƒ­ćƒƒć‚ÆćØć„ć†ć€‚ In the example of this machining program, in order to avoid complication, the program (multiple blocks) is described in two places in the machining program by the description of "... (omitted)" in the figure (for example, FIG. 4). Is omitted. Here, in the machining program, the first omitted portion on the 18th line is referred to as the first omitted block, and the omitted portion on the next 29th line is referred to as the second omitted block.

å›³ļ¼–ćÆć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åÆ¾ć—ć€ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼äø­ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ć‚ˆć‚Šå…Øé …ē›®ļ¼ˆé …ē›®ļ¼‘ļ½žé …ē›®ļ¼™ļ¼‰ćŒęœ€é©åŒ–ć•ć‚ŒćŸå¾Œć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆļ¼‘ļ¼ļ¼‘ļ¼‰ć‚’ē¤ŗć™ć€‚å›³ļ¼–ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć§ć®ćƒ–ćƒ­ćƒƒć‚Æę•°ćÆć€å›³ļ¼”åŠć³å›³ļ¼•ć«ē¤ŗć—ćŸé©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åÆ¾ć—ć€ē“„ļ¼”å‰²å‰Šęø›ć•ć‚Œć¦ć„ć‚‹ć€‚ FIG. 6 shows an applied post-machining program (1/1) after all items (items 1 to 9) have been optimized by the machining program optimizing device 90 in the CNC device 20 for the input machining program. show. The number of blocks in the post-application machining program of FIG. 6 is reduced by about 40% compared to the pre-application machining programs shown in FIGS. 4 and 5.

é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼–ļ¼‰ć«ć‚ˆć‚Šå·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć‚’ä½œå‹•ć•ć›ćŸćØćć«ćÆć€é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼”ćØå›³ļ¼•ļ¼‰ć«ć‚ˆć‚Šå·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć‚’ä½œå‹•ć•ć›ćŸćØćć«ęÆ”č¼ƒć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®å‹•ä½œćŒęœ€é©åŒ–ć•ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ćŒēŸ­ēø®ć•ć‚ŒćŸć€‚ćŖćŠć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆēŸ­ēø®ę™‚é–“ļ¼‰ć«ć¤ć„ć¦ćÆå¾Œčæ°ć™ć‚‹ć€‚ When the machine tool 16 is operated by the post-application machining program (FIG. 6), the operation of the machine tool 16 is optimal as compared with the case where the machine tool 16 is operated by the pre-application machining program (FIGS. 4 and 5). The cycle time was shortened. The effect of shortening the cycle time (shortening time) will be described later.

å›³ļ¼—åŠć³å›³ļ¼˜ćÆć€ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼äø­ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ć‚ˆć‚Šé©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«ć€é …ē›®ļ¼—ć®é©ē”Øć‚’é™¤ćęœ€é©åŒ–é …ē›®ļ¼ˆé …ē›®ļ¼‘ļ½žé …ē›®ļ¼–ć€é …ē›®ļ¼˜ć€é …ē›®ļ¼™ļ¼‰ćŒé©ē”Øć•ć‚ŒćŸé©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆļ¼‘ļ¼ļ¼’ć€ļ¼’ļ¼ļ¼’ļ¼‰ć‚’ē¤ŗć™ć€‚é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼—ćØå›³ļ¼˜ļ¼‰ćÆć€é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼”ćØå›³ļ¼•ļ¼‰ć«åÆ¾ć—ć€ćƒ–ćƒ­ćƒƒć‚Æę•°ćÆć€ē“„ļ¼“ļ¼Žļ¼•å‰²å‰Šęø›ć•ć‚Œć¦ć„ć‚‹ć€‚ć“ć®å “åˆć«ć‚‚ć€é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼—åŠć³å›³ļ¼˜ļ¼‰ć«ć‚ˆć‚Šå·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć‚’ä½œå‹•ć•ć›ćŸćØćć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®å‹•ä½œćŒęœ€é©åŒ–ć•ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ćŒēŸ­ēø®ć•ć‚ŒćŸć€‚ In FIGS. 7 and 8, optimization items (items 1 to 6, item 8 and item 9) excluding the application of item 7 are applied to the applied pre-machining program by the machining program optimizing device 90 in the CNC device 20. The post-application machining program (1/2, 2/2) is shown. In the post-applying machining program (FIGS. 7 and 8), the number of blocks is reduced by about 3.5% as compared with the pre-applying machining program (FIGS. 4 and 5). Also in this case, when the machine tool 16 was operated by the post-application machining program (FIGS. 7 and 8), the operation of the machine tool 16 was optimized and the cycle time was shortened.

ļ¼»åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«å«ć¾ć‚Œć‚‹åŠ å·„å†…å®¹ć®å…Øä½“ļ¼ˆę¦‚č¦ļ¼‰čŖ¬ę˜Žļ¼½
ć“ć“ć§ć€å®Ÿę–½å½¢ę…‹ć®ē†č§£ć®ä¾æå®œć®ćŸć‚ć«ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«å«ć¾ć‚Œć‚‹åŠ å·„å†…å®¹ļ¼ˆćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹å·„å…·ļ¼“ļ¼’ć«ć‚ˆć‚‹åŠ å·„å†…å®¹ļ¼‰ć«ć¤ć„ć¦ę¦‚č¦ć‚’čŖ¬ę˜Žć™ć‚‹ć€‚é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼”ćØå›³ļ¼•ļ¼‰åŠć³é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼–ć€åˆćÆå›³ļ¼—ćØå›³ļ¼˜ļ¼‰ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹å·„å…·ļ¼“ļ¼’ć®åŠ å·„å†…å®¹ćÆåŒć˜ć§ć‚ć‚‹ć€‚
[Overall (overview) explanation of the machining contents included in the machining program]
Here, for the convenience of understanding the embodiment, the outline of the machining content (machining content by the tool 32 for the work 34) included in the machining program will be described. The machining contents of the tool 32 with respect to the work 34 by the pre-application machining program (FIGS. 4 and 5) and the post-applying machining program (FIG. 6 or 7 and 8) are the same.

ćŖćŠć€å›³ļ¼”åŠć³å›³ļ¼•ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆćƒ‡ćƒ¼ć‚æć‚¹ć‚æćƒ¼ćƒˆļ¼…ļ½žćƒ‡ćƒ¼ć‚æć‚Øćƒ³ćƒ‰ļ¼…ć¾ć§ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼‰ć«ćÆć€M98ļ¼ˆć‚µćƒ–ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‘¼ć³å‡ŗć—ļ¼‰åŠć³M99ļ¼ˆć‚µćƒ–ćƒ—ćƒ­ć‚°ćƒ©ćƒ ēµ‚äŗ†ļ¼‰ć§å‘¼ć³å‡ŗć•ć‚Œć‚‹ć‚µćƒ–ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®å®Ÿč”ŒćŒå«ć¾ć‚Œć¦ć„ćŖć„ćŒć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć§å‘¼ć³å‡ŗć•ć‚Œć‚‹ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć€ć™ćŖć‚ć”ć‚µćƒ–ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åÆ¾ć—ć¦ć‚‚ć€äøŠčØ˜é …ē›®ļ¼‘ļ½žé …ē›®ļ¼™ć®ęœ€é©åŒ–å‹•ä½œć‚’é©ē”ØåÆčƒ½ć§ć‚ć‚‹ć€‚ The pre-application machining programs (machining programs from data start% to data end%) in FIGS. 4 and 5 include execution of subprograms called by M98 (subprogram call) and M99 (subprogram end). Although not, the optimization operation of the above items 1 to 9 can be applied to the program called by the machining program, that is, the subprogram.

å›³ļ¼”ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ļ¼“ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒG40G69G17G80ć€ļ¼ˆG40ļ¼šå·„å…·å¾„č£œę­£ć‚­ćƒ£ćƒ³ć‚»ćƒ«ć€G69ļ¼šåŗ§ęØ™å›žč»¢ć‚­ćƒ£ćƒ³ć‚»ćƒ«ć€G17:XYå¹³é¢ęŒ‡å®šć€G80ļ¼šå›ŗå®šć‚µć‚¤ć‚Æćƒ«ć‚­ćƒ£ćƒ³ć‚»ćƒ«ļ¼‰ćÆć€ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®å§‹ć‚ć‚„å·„å…·äŗ¤ę›å‰ē­‰ć«ęŒ‡ä»¤ć•ć‚Œć‚‹ć‚­ćƒ£ćƒ³ć‚»ćƒ«ć‚³ćƒ¼ćƒ‰ć‚„čØ­å®šć®ćƒÆćƒ³ć‚»ćƒƒćƒˆļ¼ˆēµ„ć«ćŖć£ćŸć‚‚ć®ć®äø€ęƒć„ļ¼‰ć§ć®å®šåž‹ēš„ćŖęŒ‡ä»¤ć§ć‚ć‚‹ć€‚ The third block of the machining program in Fig. 4 "G40G69G17G80" (G40: tool diameter correction cancellation, G69: coordinate rotation cancellation, G17: XY plane designation, G80: fixed cycle cancellation) is used at the beginning of the program or before tool replacement. It is a standard command with a set of canceled codes and settings (a set of sets).

ļ¼”ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒG91G28G00Z0.0ć€ļ¼ˆG91ļ¼šć‚¤ćƒ³ć‚Æćƒ¬ćƒ”ćƒ³ć‚æćƒ«å…„åŠ›ć€G28ļ¼šćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ļ¼ˆļ¼²ē‚¹ļ¼‰ćøć®å¾©åø°ć€G00ļ¼šä½ē½®ę±ŗć‚ļ¼ˆę—©é€ć‚Šļ¼‰ļ¼‰ćÆć€äø»č»øļ¼“ļ¼ć®Zč»øć®ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ļ¼ˆåŽŸē‚¹ļ¼‰ćøć®å¾©åø°ęŒ‡ä»¤ć§ć‚ć‚‹ć€‚ćŖćŠć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®äø­ć§ć€X*态Y*态Z*ļ¼ˆć€Œ*ć€ćÆć€ć€Œ+ć€åˆćÆć€Œ-ć€ć®ę•°å€¤ć€ē¬¦å·ć€Œ+ć€ćÆčØ˜čæ°ć—ćŖć„ć€‚ļ¼‰ćÆć€ćć‚Œćžć‚Œć€XYZč»øć®åŗ§ęØ™ļ¼ˆåŗ§ęØ™å€¤ļ¼‰ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚ The 4th block "G91G28G00Z0.0" (G91: incremental input, G28: return to reference point (R point), G00: positioning (fast forward)) is to the reference point (origin) of the Z axis of the spindle 30. It is a return command. In the machining program, X *, Y *, and Z * ("*" is a numerical value of "+" or "-", and the sign "+" is not described) are the coordinates of the XYZ axes (). Coordinate values) are shown.

ć¾ćšć€ļ¼•ćƒ–ćƒ­ćƒƒć‚Æē›®ć§ć€äø»č»øļ¼“ļ¼ć«č£…ē€ć•ć‚Œć¦ć„ć‚‹å·„å…·ļ¼“ļ¼’ć‚’č‡Ŗå‹•å·„å…·äŗ¤ę›č£…ē½®ļ¼’ļ¼˜ć«ć‚ˆć‚Šå·„å…·ē•Ŗå·ļ¼‘ē•Ŗļ¼ˆT01ļ¼‰ć®ćƒ•ćƒ©ć‚¤ć‚¹å·„å…·ļ¼ˆMilling toolļ¼‰ć«å·„å…·äŗ¤ę›ć€ŒG49M06T01ć€ļ¼ˆG49ļ¼šå·„å…·é•·č£œę­£ć‚­ćƒ£ćƒ³ć‚»ćƒ«ć€M06ļ¼šå·„å…·äŗ¤ę›ļ¼‰ć—ć€č©²ćƒ•ćƒ©ć‚¤ć‚¹å·„å…·ć‚’ć€ļ¼™ćƒ–ćƒ­ćƒƒć‚Æē›®ć§ć€äø»č»øå›žč»¢ęŒ‡ä»¤12000ļ¼»rpmļ¼½ć€ŒM03S12000ć€ļ¼ˆM03ļ¼šäø»č»øę­£å›žč»¢ļ¼‰ć§å›žč»¢ć•ć›ćŸå¾Œć€ļ¼‘ļ¼“ćƒ–ćƒ­ćƒƒć‚Æē›®ć§ć‚Æćƒ¼ćƒ©ćƒ³ćƒˆć‚’åå‡ŗć—ć€ŒM08ć€ļ¼ˆć‚Æćƒ¼ćƒ©ćƒ³ćƒˆé–‹å§‹ļ¼‰ć€ļ¼‘ļ¼”ćƒ–ćƒ­ćƒƒć‚Æē›®ć§åŠ å·„é€ć‚Šé€Ÿåŗ¦6000ļ¼»mm/minļ¼½ć€ŒF6000ć€ć§å††å¼§č£œé–“ć€ŒG03ć€ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åˆ‡å‰ŠåŠ å·„ć‚’ē¬¬ļ¼’ēœē•„ćƒ–ćƒ­ćƒƒć‚Æć¾ć§č”Œć„ć€ē¬¬ļ¼’ēœē•„ćƒ–ćƒ­ćƒƒć‚Æå¾Œć«ć€ē›“ē·šč£œé–“ć€ŒG01X-66.4658Y-113.1226ē­‰ć€ļ¼ˆG01ļ¼šē›“ē·šč£œé–“ļ¼ˆåˆ‡å‰Šé€ć‚Šļ¼‰ļ¼‰ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åˆ‡å‰ŠåŠ å·„ć‚’č”Œć†ć€‚ First, at the 5th block, the tool 32 mounted on the spindle 30 is replaced with the milling tool of tool number 1 (T01) by the automatic tool changer 28 "G49M06T01" (G49: tool length correction cancellation). , M06: Tool change), and after rotating the milling tool with the spindle rotation command 12000 [rpm] "M03S12000" (M03: spindle forward rotation) at the 9th block, the coolant is discharged at the 13th block. M08 ā€(coolant start), machining feed speed 6000 [mm / min] at the 14th block. The work 34 is machined by interpolation "G01X-66.4658Y-113.1226, etc." (G01: linear interpolation (cutting feed)).

ę¬”ć«ć€å·„å…·ļ¼“ļ¼’ć‚’ć€å·„å…·ē•Ŗå·ļ¼—ē•Ŗļ¼ˆT07ļ¼‰ć®ćƒ‰ćƒŖćƒ«ć«å·„å…·äŗ¤ę›ć€ŒG49M06T07ć€ć—ļ¼ˆå›³ļ¼•äø­ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ļ¼”ćƒ–ćƒ­ćƒƒć‚Æē›®ļ¼‰ć€č©²ćƒ‰ćƒŖćƒ«ć‚’12000ļ¼»rpmļ¼½ć€ŒM03S12000ć€ć§å›žč»¢ć•ć›ćŸå¾Œć€ćƒ‰ćƒŖćƒ«å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ęŒ‡ä»¤ć€ŒG99G81X111.Y110.Z-28.9914R-12.F2400ć€ļ¼ˆG99ļ¼šļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«å¾©åø°ć€G81ļ¼šćƒ‰ćƒŖćƒ«ć‚µć‚¤ć‚Æćƒ«ļ¼‰ć«ć‚ˆć‚ŠåŠ å·„é€ć‚Šé€Ÿåŗ¦2400ļ¼»mm/minļ¼½ć€ŒF2400ć€ć§ć€å·„å…·ļ¼“ļ¼’ļ¼ˆćƒ‰ćƒŖćƒ«ļ¼‰ć«ć‚ˆć‚ŠćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć—ć‚æćƒƒćƒ—ć®äø‹ē©“ć®åŠ å·„ļ¼ˆč¤‡ę•°ē®‡ę‰€ļ¼‰ć‚’č”Œć†ć€‚ Next, the tool 32 was replaced with a drill with tool number 7 (T07) by "G49M06T07" (4th block of the machining program in FIG. 5), and the drill was rotated at 12000 [rpm] "M03S12000". After that, according to the drill fixing cycle command "G99G81X111.Y110.Z-28.9914R-12.F2400" (G99: R point level return, G81: drill cycle), the machining feed speed is 2400 [mm / min] "F2400", and the tool is used. The pilot hole of the tap is machined (multiple points) on the work 34 by 32 (drill).

ę¬”ć„ć§ć€å·„å…·ļ¼“ļ¼’ć‚’å·„å…·ē•Ŗå·ļ¼˜ē•Ŗć€ŒT08ć€ć®ć‚æćƒƒćƒ—ć«å·„å…·äŗ¤ę›ć€ŒG49M06T08ć€ć—ć€č©²ć‚æćƒƒćƒ—ć‚’ćƒŖć‚øćƒƒćƒ‰ć‚æćƒƒćƒ—ćƒ¢ćƒ¼ćƒ‰ć§1190ļ¼»rpmļ¼½ć€ŒM29S1190ć€ć§ęŒ‡ä»¤ć—ćŸå¾Œć€ć‚æćƒƒćƒ—å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ęŒ‡ä»¤ć€ŒG99G84X111.Y110.Z-25.R-12.F833ć€ļ¼ˆG84ļ¼šć‚æćƒƒćƒ”ćƒ³ć‚°ć‚µć‚¤ć‚Æćƒ«ļ¼‰ć«ć‚ˆć‚ŠåŠ å·„é€ć‚Šé€Ÿåŗ¦833ļ¼»mm/minļ¼½ć€ŒF833ć€ć§å„å‰čØ˜äø‹ē©“ć«ćć‚Œćžć‚Œć­ć˜ć‚’åˆ‡ć‚‹ć€‚ Next, the tool 32 is replaced with the tap of tool number 8 "T08" by "G49M06T08", and the tap is commanded by 1190 [rpm] "M29S1190" in the rigid tap mode, and then the tap fixing cycle command "G99G84X111.Y110". .Z-25.R-12.F833 "(G84: tapping cycle) to cut a thread in each of the prepared holes at a machining feed rate of 833 [mm / min]" F833 ".

ęœ€å¾Œć«ć€å›³ļ¼•ć®äø‹ć‹ć‚‰ļ¼•č”Œē›®åŠć³ļ¼”č”Œē›®ć®ęŒ‡ä»¤ć€ŒG91G28Z0.0M05;G28X0.Y0.;ć€ļ¼ˆG91ļ¼šć‚¤ćƒ³ć‚Æćƒ¬ćƒ”ćƒ³ć‚æćƒ«å…„åŠ›ć€G28ļ¼šćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ćøć®å¾©åø°ć€M05ļ¼šäø»č»øåœę­¢ć€ć‚Æćƒ¼ćƒ©ćƒ³ćƒˆåœę­¢ļ¼‰ć«ć‚ˆć‚ŠåŽŸē‚¹ć«å¾©åø°ć•ć›ć¦åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«ć‚ˆć‚‹åŠ å·„ć‚’ēµ‚äŗ†ć™ć‚‹ć€ŒM30ļ¼›ļ¼…ć€ļ¼ˆM30ļ¼šć‚Øćƒ³ćƒ‰ć‚Ŗćƒ–ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼‰ć€‚ Finally, the command "G91G28Z0.0M05; G28X0.Y0 .;" (G91: incremental input, G28: return to reference point, M05: spindle stop, coolant stop) on the 5th and 4th lines from the bottom of FIG. ) To return to the origin and end the machining by the machining program "M30;%" (M30: end of program).

ä»„äøŠć®čŖ¬ę˜ŽćŒć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«å«ć¾ć‚Œć‚‹åŠ å·„å†…å®¹ļ¼ˆćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹å·„å…·ļ¼“ļ¼’ć«ć‚ˆć‚‹åŠ å·„å†…å®¹ļ¼‰ć«ć¤ć„ć¦ć®å…Øä½“ļ¼ˆę¦‚č¦ļ¼‰čŖ¬ę˜Žć§ć‚ć‚‹ć€‚ę¬”ć«ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ć‚ˆć‚Šå®Ÿę–½ć•ć‚Œć‚‹ęœ€é©åŒ–é …ē›®ļ¼‘ļ½žļ¼™ļ¼ˆļ¼”.ļ½žļ¼©ļ¼Žļ¼‰ć®č©³ē“°ćŖå‹•ä½œć«ć¤ć„ć¦å†—é•·ęŒ‡ä»¤ć®å†…å®¹ć«é–¢é€£ć„ć‘ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ The above description is an overall (overview) description of the machining content (machining content by the tool 32 for the work 34) included in the machining program. Next, the detailed operations of the optimization items 1 to 9 (A. to I.) Performed by the machining program optimization device 90 will be described in relation to the contents of the redundancy command.

ļ¼»å†—é•·ęŒ‡ä»¤ć®å†…å®¹åŠć³ęœ€é©åŒ–é …ē›®ć®č©³ē“°å‹•ä½œčŖ¬ę˜Žļ¼½
ļ¼”.é …ē›®ļ¼‘ļ¼ˆé‡č¤‡ć™ć‚‹ęŒ‡ä»¤ć®å‰Šé™¤ļ¼‰é©ē”Øå‹•ä½œć«ć¤ć„ć¦ć€å›³ļ¼™åŠć³å›³ļ¼‘ļ¼ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰äø¦ć³ć«å›³ļ¼‘ļ¼‘åŠć³å›³ļ¼‘ļ¼’ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰ć‚’å‚ē…§ć—ć¦čŖ¬ę˜Žć™ć‚‹ć€‚
[Detailed operation explanation of the contents of the redundancy command and optimization items]
A. Regarding the application operation of item 1 (deletion of duplicate commands), the description of the pre-application machining program (1/2 to 2/2) in FIGS. 9 and 10 and the description of the post-application machining program in FIGS. 11 and 12 (the description of the post-application machining program in FIGS. 11 and 12). This will be described with reference to 1/2 to 2/2).

ćŖćŠć€å›³ļ¼™ä»„é™ć«ē¤ŗć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć€å‰čØ˜ęœ€é©åŒ–é …ē›®ļ¼‘ļ½žļ¼™ć®ęØ™čØ˜ćÆć€é …ē›®ļ½Žļ¼ˆļ½ŽćÆć€ļ¼‘ļ½žļ¼™ć®ę•°å­—ļ¼‰ć®ę•°å­—ļ½Žć‚’äøøć§å›²ć£ć¦äø”ć¤ć‹ć£ć“ę›øćć§č”Øē¤ŗć—ć¦ć„ć‚‹ć€‚ć™ćŖć‚ć”ć€äøøć§ę•°å­—ļ½Žć‚’å›²ć£ćŸč”Øē¤ŗćÆć€é …ē›®ļ½Žć®ęœ€é©åŒ–é …ē›®ć‚’ę„å‘³ć™ć‚‹ć€‚ In the machining programs shown in FIGS. 9 and 9 onward, the markings of the optimization items 1 to 9 are displayed by enclosing the number n of the item n (n is a number 1 to 9) in parentheses. .. That is, the display in which the number n is surrounded by a circle means the optimized item of the item n.

ć¾ćŸć€å›³ļ¼™ä»„é™ć«ē¤ŗć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žć«ćŠć„ć¦ć€å®Ÿē·šć®ć‚¢ćƒ³ćƒ€ćƒ¼ćƒ©ć‚¤ćƒ³ć‚’ä»˜ć‘ć¦ć„ć‚‹ćƒÆćƒ¼ćƒ‰ļ¼ˆćƒ—ćƒ­ć‚°ćƒ©ćƒ ęŒ‡ä»¤ć®ęœ€å°å˜ä½ļ¼‰ć€ćƒ–ćƒ­ćƒƒć‚Æļ¼ˆćƒÆćƒ¼ćƒ‰ć‚’ēµ„ćæåˆć‚ć›ćŸęŒ‡ä»¤å˜ä½ļ¼‰åŠć³åŗ§ęØ™ē­‰ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®é …ē›®ļ½Žļ¼ˆå›³ļ¼™åŠć³å›³ļ¼‘ļ¼ć§ćÆć€é …ē›®ļ¼‘ć®é‡č¤‡ęŒ‡ä»¤ć®å‰Šęø›åˆćÆå‰Šé™¤ļ¼‰ć®ęœ€é©åŒ–ć®é©ē”ØåÆčƒ½ćŖćƒÆćƒ¼ćƒ‰ć€ćƒ–ćƒ­ćƒƒć‚ÆåŠć³åŗ§ęØ™ē­‰ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚ Further, in the description of the machining program shown in FIGS. 9 and 9 onward, the word (minimum unit of the program command), the block (command unit combining the words), the coordinates, etc., which are underlined by the solid line, are the items n in the machining program. (FIGS. 9 and 10 show words, blocks, coordinates, etc. to which the optimization of item 1 reduction or deletion of the duplicate command is applicable).

ć•ć‚‰ć«ć€å›³ļ¼™ä»„é™ć«ē¤ŗć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žć«ćŠć„ć¦ć€ē “ē·šć®ć‚¢ćƒ³ćƒ€ćƒ¼ćƒ©ć‚¤ćƒ³ć‚’ä»˜ć‘ć¦ć„ć‚‹ćƒÆćƒ¼ćƒ‰ć€ćƒ–ćƒ­ćƒƒć‚ÆåŠć³åŗ§ęØ™ē­‰ćÆć€ē†č§£ć®ä¾æå®œć®ćŸć‚ć«ć€å‰čØ˜å®Ÿē·šć®ć‚¢ćƒ³ćƒ€ćƒ¼ćƒ©ć‚¤ćƒ³ć‚’ä»˜ć‘ć¦ć„ć‚‹ęœ€é©åŒ–é©ē”ØåÆčƒ½ćŖé …ē›®ļ½Žć«é–¢é€£ćŒć‚ć‚‹ćƒÆćƒ¼ćƒ‰ć€ćƒ–ćƒ­ćƒƒć‚ÆåŠć³åŗ§ęØ™ē­‰ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚ Further, in the description of the machining program shown in FIGS. 9 and 9 onward, the words, blocks, coordinates, etc. underlined with a broken line are optimized and applicable with the underlined solid line for convenience of understanding. The words, blocks, coordinates, etc. related to the item n are shown.

å›³ļ¼‘ļ¼“ćÆć€ęœ€é©åŒ–é …ē›®ļ¼‘ć«é–¢ć—ć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆä¾‹ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚
ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼‘ć«ć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć‹ć‚‰ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼ć‚’ę§‹ęˆć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›éƒØļ¼—ļ¼˜ć‚’ä»‹ć—ć¦ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«å…„åŠ›ć•ć‚ŒčØ˜ę†¶ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼”åŠć³å›³ļ¼•ć«ē¤ŗć—ćŸé©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼‰ć‹ć‚‰ć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć¦ć„ć‚‹é‡č¤‡ęŒ‡ä»¤ć‚’å‚ē…§ć—ć€åŒć˜ć‚°ćƒ«ćƒ¼ćƒ—ć®Gć‚³ćƒ¼ćƒ‰ć€åŒć˜ē³»ēµ±ć®Mć‚³ćƒ¼ćƒ‰ļ¼ˆć‚Ŗćƒ³ćƒ»ć‚Ŗćƒ•ć®ęŒ‡ä»¤ē­‰ļ¼‰ć€åŠć³ęŒ‡ä»¤åŗ§ęØ™ć®ęŽØē§»ć«ć¤ć„ć¦ć€ęœ€åˆć‹ć‚‰ęœ€å¾Œć¾ć§é †ę¬”čŖ­ćæč¾¼ćæć€ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«čØ˜ę†¶ć™ć‚‹ć€‚
FIG. 13 shows an example of a flowchart executed by the processor 60 with respect to the optimization item 1.
In step S1, the machining program (shown in FIGS. 4 and 5) input and stored in the memory 66 from the machining program creation device 12 via the machining program input unit 78 of the machining program optimization device 90 constituting the CNC device 20. From the application pre-processing program), the redundant command detection unit 80 refers to the duplicate command stored in the redundant command storage unit 74, and has a G code of the same group and an M code of the same system (on / off command, etc.). , And the transition of the command coordinates are sequentially read from the beginning to the end and stored in the memory 66.

ę¬”ć„ć§ć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼’ć«ć¦ć€é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć€é‡č¤‡ęŒ‡ä»¤ćŒćŖć•ć‚Œć¦ć„ć‚‹ć‚‚ć®ć«ć¤ć„ć¦ćÆć€å¾Œć®ćƒ–ćƒ­ćƒƒć‚Æć§ęŒ‡ä»¤ć•ć‚Œć¦ć„ć‚‹é‡č¤‡ē®‡ę‰€ļ¼ˆé‡č¤‡ć‚³ćƒ¼ćƒ‰ć€é‡č¤‡åŗ§ęØ™ļ¼‰ć‚’å‰Šé™¤ć™ć‚‹ć€‚ Next, in step S2, for those for which the overlap command is given in the application pre-machining program, the duplicate location (duplicate code, duplicate coordinates) instructed in the later block is deleted.

ä¾‹ćˆć°ć€å›³ļ¼™ļ¼ˆå›³ļ¼”ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’č»¢č¼‰ļ¼‰ć«ćŠć„ć¦ć€ļ¼‘ļ¼‘ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒZ10ļ¼Žć€ćÆć€ćć®ļ¼“ćƒ–ćƒ­ćƒƒć‚Æå‰ć«ć€ŒG43Z10.ć€ćØć®åŗ§ęØ™ęŒ‡ä»¤ćŒć‚ć‚Šć€åŒć˜ä½ē½®ćøć®å‹•ä½œęŒ‡ä»¤ćŖć®ć§äøč¦ć§ć‚ć‚Šå‰Šé™¤åÆčƒ½ć§ć‚ć‚‹ć€‚ For example, in FIG. 9 (reprinting the application pre-machining program of FIG. 4), the 11th block "Z10." Has a coordinate command of "G43Z10." 3 blocks before that, and is an operation command to the same position. It is unnecessary and can be deleted.

ć¾ćŸć€ļ¼‘ļ¼‘ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒZ10ļ¼Žć€ć®ļ¼’ćƒ–ćƒ­ćƒƒć‚Æå¾Œć®Mć‚³ćƒ¼ćƒ‰ć€ŒM08ć€ć®ć‚Æćƒ¼ćƒ©ćƒ³ćƒˆåå‡ŗęŒ‡ä»¤ćÆć€ćć‚Œć‚ˆć‚Šå‰ć®ć€äøŠć‹ć‚‰ļ¼–ćƒ–ćƒ­ćƒƒć‚Æē›®ć«åŒć˜ć€ŒM08ć€ęŒ‡ä»¤ćŒć‚ć‚‹ć®ć§äøč¦ć§ć‚ć‚Šå‰Šé™¤åÆčƒ½ć§ć‚ć‚‹ć€‚ Also, the coolant discharge command of M code "M08" after 2 blocks of "Z10." In the 11th block is unnecessary and can be deleted because there is the same "M08" command in the 6th block from the top before that. Is.

ć•ć‚‰ć«ć€ē¬¬ļ¼‘ēœē•„ćƒ–ćƒ­ćƒƒć‚Æć‹ć‚‰ę•°ćˆć¦ļ¼”ćƒ–ćƒ­ćƒƒć‚Æå¾Œć‚ć«ć‚ć‚‹ć€ŒG02X75.Y-42.R103.ć€ć®å…ˆé ­ć®ć€ŒG02ć€ļ¼ˆå††å¼§č£œé–“ęŒ‡ä»¤ļ¼‰ćÆć€ćć®ļ¼“ćƒ–ćƒ­ćƒƒć‚Æå‰ć®ć€ŒG02G54X-37.5Y-49.069R103.ć€ć®å…ˆé ­ć«ć‚‚ć‚ć‚‹ć®ć§äøč¦ć§ć‚ć‚Šå‰Šé™¤åÆčƒ½ć§ć‚ć‚‹ć€‚ Furthermore, "G02" (arc interpolation command) at the beginning of "G02X75.Y-42.R103.", Which is 4 blocks behind the 1st omitted block, is "G02G54X-37.5Y-49.069R103" 3 blocks before. Since it is also at the beginning of ".", It is unnecessary and can be deleted.

ä»„äø‹ć€åŒę§˜ć«ć€å›³ļ¼™åŠć³å›³ļ¼‘ļ¼ć®é …ē›®ļ¼‘ļ¼ˆé‡č¤‡ęŒ‡ä»¤ć®å‰Šé™¤ļ¼‰é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«ćŠć„ć¦ć€å®Ÿē·šć®ć‚¢ćƒ³ćƒ€ćƒ¼ćƒ©ć‚¤ćƒ³ćŒä»˜ć„ć¦ć„ć‚‹ę®‹ć‚Šć®ćƒ–ćƒ­ćƒƒć‚Æļ¼ˆäøøć§å›²ć£ćŸę•°å­—ļ¼‘ć‚’ć‹ć£ć“å†…ć«čØ˜čæ°ć—ćŸćƒ–ćƒ­ćƒƒć‚Æļ¼‰ć«ćŠć„ć¦ć€é‡č¤‡ęŒ‡ä»¤ć®å‰Šęø›åˆćÆå‰Šé™¤ćŒåÆčƒ½ć§ć‚ć‚‹ć“ćØćŒå®¹ę˜“ć«ē†č§£ć•ć‚Œć‚‹ć€‚ Hereinafter, similarly, in the item 1 (deletion of duplicate command) application pre-machining program of FIGS. 9 and 10, the remaining blocks with solid underlines (blocks in which the number 1 circled is described in parentheses). ), It is easily understood that it is possible to reduce or delete duplicate directives.

å›³ļ¼‘ļ¼‘åŠć³å›³ļ¼‘ļ¼’ćÆć€é …ē›®ļ¼‘ļ¼ˆé‡č¤‡ęŒ‡ä»¤ć®å‰Šé™¤ļ¼‰é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚ć“ć®ć‚ˆć†ć«ć€é‡č¤‡ęŒ‡ä»¤ļ¼ˆé‡č¤‡ć™ć‚‹Gć‚³ćƒ¼ćƒ‰ć€Mć‚³ćƒ¼ćƒ‰åŠć³é‡č¤‡ć™ć‚‹åŗ§ęØ™ļ¼‰ć‚’å‰Šé™¤ć™ć‚‹ć“ćØć«ć‚ˆć‚Šć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ćŒå›³ć‚‰ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ć™ćŖć‚ć”ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ćŒå›³ć‚Œć‚‹ć€‚ 11 and 12 show a post-machining program to which item 1 (deletion of duplicate command) is applied. By deleting the duplicate command (duplicate G code, M code and duplicate coordinates) in this way, the machining program can be optimized and the cycle time can be shortened. As a result, the speed of machining by the machine tool 16 can be increased. That is, the processing speed of the work 34 by the machine tool 16 can be increased.

é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćÆć€ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–äø­ć€äøę®ē™ŗę€§ćƒ”ćƒ¢ćƒŖć«čØ˜ę†¶ć•ć‚Œć‚‹ć€‚ä»„äø‹ć€åŒę§˜ć«ć€é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćÆć€ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–äø­ć€äøę®ē™ŗę€§ćƒ”ćƒ¢ćƒŖć«čØ˜ę†¶ć•ć‚Œć‚‹ć€‚ The applied post-processing program is stored in the non-volatile memory in the memory 66. Hereinafter, similarly, the applied post-processing program is stored in the non-volatile memory in the memory 66.

ļ¼¢ļ¼Žé …ē›®ļ¼’ļ¼ˆäø»č»øå›žč»¢ęŒ‡ä»¤ć®ć‚æć‚¤ćƒŸćƒ³ć‚°ļ¼‰ć®é©ē”Øå‹•ä½œć«ć¤ć„ć¦ć€å›³ļ¼‘ļ¼”åŠć³å›³ļ¼‘ļ¼•ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰äø¦ć³ć«å›³ļ¼‘ļ¼–åŠć³å›³ļ¼‘ļ¼—ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰ć‚’å‚ē…§ć—ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ B. Regarding the application operation of item 2 (spindle rotation command timing), the description of the pre-application machining program (1/2 to 2/2) in FIGS. 14 and 15 and the description of the post-application machining program in FIGS. 16 and 17 (1). This will be described with reference to / 2 to 2/2).

ä¾‹ćˆć°ć€äø»č»øļ¼“ļ¼ć®å›žč»¢é€Ÿåŗ¦ćŒęŒ‡ä»¤å€¤ć¾ć§é”ć™ć‚‹ć¾ć§ć®å¾…ć”ę™‚é–“ć«ć¤ć„ć¦ć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®å·„å…·ļ¼“ļ¼’ć«ć‚ˆć‚‹åŠ å·„ę™‚ć«ć€ęŒ‡ä»¤ć—ćŸå›žč»¢é€Ÿåŗ¦ć«é”ć—ć¦ć‹ć‚‰ć€é€ć‚ŠćŒå§‹ć¾ć‚‹ćŸć‚ć€ęŒ‡ä»¤ć—ćŸå›žč»¢é€Ÿåŗ¦ć«é”ć™ć‚‹ć¾ć§ćŒå¾…ć”ę™‚é–“ćØćŖć‚ŠåŠ å·„ćŒé–‹å§‹ć•ć‚ŒćŖć„ć€‚ For example, regarding the waiting time until the rotation speed of the spindle 30 reaches the command value, when machining with the tool 32 of the work 34, the feed starts after reaching the commanded rotation speed, so that the waiting time until the commanded rotation speed is reached is waited. It's time to start processing.

ä¾‹ćˆć°ć€äø»č»øå›žč»¢é€Ÿåŗ¦ļ¼ļ¼»ļ½’ļ½ļ½ļ¼½ć‹ć‚‰ļ¼’ļ¼”ļ¼ļ¼ļ¼ļ¼»ļ½’ļ½ļ½ļ¼½ć¾ć§ć«é”ć™ć‚‹ę™‚é–“ćŒļ¼‘ļ¼»ē§’ļ¼½ć‹ć‹ć‚‹ćØć™ć‚‹ćØć€äø»č»øå›žč»¢ęŒ‡ä»¤å¾Œć®åˆ‡å‰Šé€ć‚Šć¾ć§ć€ļ¼‘ē§’ć®é–“ć€å¾…ć”ę™‚é–“ć‚’č¦ć™ć‚‹ć“ćØć«ćŖć‚‹ć€‚ For example, if it takes 1 [second] to reach the spindle rotation speed from 0 [rpm] to 24000 [rpm], a waiting time of 1 second is required until the cutting feed after the spindle rotation command is given.

ć“ć®å “åˆć€äø»č»øļ¼“ļ¼ć®å›žč»¢ęŒ‡ä»¤ć‚’ć€åˆ‡å‰ŠęŒ‡ä»¤ć®ē›“å‰ć§ćÆćŖćć€å……åˆ†å‰ć«ē™ŗć™ć‚‹ć“ćØć«ć‚ˆć‚Šć€č¦å®šć®äø»č»øå›žč»¢é€Ÿåŗ¦ć«é”ć™ć‚‹ć¾ć§ć®å¾…ć”ę™‚é–“ć‚’å‰Šęø›ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ In this case, by issuing the rotation command of the spindle 30 not immediately before the cutting command but sufficiently before the cutting command, the waiting time until the specified spindle rotation speed is reached can be reduced.

ć™ćŖć‚ć”ć€å¾“å‰ć®äø»č»øć®å›žč»¢ęŒ‡ä»¤ć§ćÆć€č¦å®šć®äø»č»øå›žč»¢ę•°ć«é”ć™ć‚‹ć¾ć§å¾…ć£ć¦ć‹ć‚‰ę¬”ć®åŠ å·„å‡¦ē†ć‚’ć™ć‚‹ć€‚ć¤ć¾ć‚Šć€äø»č»øļ¼“ļ¼ć®å›žč»¢ć‚’å˜ē‹¬ć§ęŒ‡ä»¤ć—ć¦ć„ć‚‹ć€‚ć“ć®ćŸć‚ć€äø»č»øļ¼“ļ¼ć«č£…ē€ć•ć‚ŒćŸå·„å…·ļ¼“ļ¼’ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„é–‹å§‹ć¾ć§ć«å¾…ć”ę™‚é–“ćŒē”Ÿć˜ć¦ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ćŒé…ććŖć‚‹ć€‚ That is, in the conventional spindle rotation command, the next machining process is performed after waiting until the specified spindle speed is reached. That is, the rotation of the spindle 30 is independently commanded. Therefore, a waiting time is generated before the machining of the work 34 by the tool 32 mounted on the spindle 30 is started, and the cycle time is delayed.

ćć“ć§ć€ęœ€é©åŒ–é …ē›®ļ¼’ć§ćÆć€äø»č»øļ¼“ļ¼ć®å›žč»¢ć‚’ć€ć‚¢ćƒ—ćƒ­ćƒ¼ćƒę™‚ć®č»øē§»å‹•ē­‰ć®å‹•ä½œćØåŒę™‚ć«ęŒ‡ä»¤ć—ć¦ć€äø»č»øļ¼“ļ¼ć®å›žč»¢ć‚’č»øå‹•ä½œćØåŒę™‚ć«č”Œć†ć‚ˆć†ć«ć™ć‚‹ć“ćØć§ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć€‚
å›³ļ¼‘ļ¼˜ćÆć€ęœ€é©åŒ–é …ē›®ļ¼’ć«é–¢ć—ć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆä¾‹ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚
Therefore, in the optimization item 2, the cycle time is shortened by instructing the rotation of the spindle 30 at the same time as the operation such as the axis movement at the time of approach so that the rotation of the spindle 30 is performed at the same time as the axis operation.
FIG. 18 shows an example of a flowchart executed by the processor 60 with respect to the optimization item 2.

ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼‘ļ¼‘ć«ć¦ć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼‘ļ¼”åŠć³å›³ļ¼‘ļ¼•ļ¼‰äø­ć‹ć‚‰äø»č»øļ¼“ļ¼ć®å›žč»¢ęŒ‡ä»¤ć§ć‚ć‚‹ć€ŒM03S*ć€ćØć„ć†ęŒ‡ä»¤ć‚’ć‚µćƒ¼ćƒć™ć‚‹ć€‚
ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼‘ļ¼’ć«ć¦ć€ć‚µćƒ¼ćƒć•ć‚ŒćŸäø»č»øå›žč»¢ęŒ‡ä»¤ćŒå˜ē‹¬ć®ćƒ–ćƒ­ćƒƒć‚Æć§å®Ÿč”Œć•ć‚Œć¦ć„ć‚‹ć‹å¦ć‹ć‚’åˆ¤ę–­ć™ć‚‹ć€‚
å˜ē‹¬ć®ćƒ–ćƒ­ćƒƒć‚Æć§å®Ÿč”Œć•ć‚Œć¦ć„ćŖć„ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼‘ļ¼’ļ¼šļ¼®ļ¼Æļ¼‰å “åˆć«ćÆć€å‡¦ē†ć‚’ēµ‚äŗ†ć™ć‚‹ć€‚
In step S11, the redundancy command detection unit 80 searches for a command "M03S *" which is a rotation command of the spindle 30 from the application pre-machining program (FIGS. 14 and 15).
In step S12, it is determined whether or not the searched spindle rotation command is executed in a single block.
If it is not executed in a single block (step S12: NO), the process ends.

å›³ļ¼‘ļ¼”ć®ļ¼™ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒM03S12000ć€ćÆć€å˜ē‹¬ć®ćƒ–ćƒ­ćƒƒć‚Æć§å®Ÿč”Œć•ć‚Œć¦ć„ć‚‹ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼‘ļ¼’ļ¼šļ¼¹ļ¼„ļ¼³ļ¼‰ć®ć§ć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼‘ļ¼“ć«ć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€ć“ć®ćƒ–ćƒ­ćƒƒć‚Æć®čæ‘å‚ć®ćƒ–ćƒ­ćƒƒć‚Æć§ęŒ‡ä»¤ć•ć‚Œć‚‹ć€ć‚¢ćƒ—ćƒ­ćƒ¼ćƒć®ęŒ‡ä»¤ļ¼ˆć€ŒG00ć€ć§å‹•ä½œć™ć‚‹č»øē§»å‹•ęŒ‡ä»¤ļ¼‰ćØēµ±åˆć™ć‚‹ć€ć™ćŖć‚ć”ć€äø»č»øå›žč»¢ęŒ‡ä»¤ć®ä½ē½®ć‚’ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć‹ć‚‰ć‚ˆć‚Šé ć„ä½ē½®ć«å¤‰ę›“ć™ć‚‹ć€‚ Since the ninth block "M03S12000" in FIG. 14 is executed in a single block (step S12: YES), in step S13, the machining program optimization unit 82 is instructed in a block near this block. Integrate with the approach command (axis movement command operated by "G00"), that is, change the position of the spindle rotation command to a position farther from the work 34.

ć“ć®å “åˆć€ęŒ‡ä»¤ć‚’ēµ±åˆć™ć‚‹å„Ŗå…ˆé †ä½ćÆć€ļ¼ˆļ½‰ļ¼‰Zč»øć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒļ¼ˆG43Z*H* å·„å…·é•·č£œę­£ć‚’č”Œć„ć€Zč»øć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒć‚’č”Œć†ęŒ‡ä»¤ļ¼‰ļ¼ˆļ½‰ļ½‰ļ¼‰ćć®ä»–ć®ę—©é€ć‚Šē§»å‹•ęŒ‡ä»¤ćØć™ć‚‹ć€‚
ć“ć®ć‚ˆć†ćŖč€ƒę…®ć®ć‚‚ćØć€å›³ļ¼‘ļ¼”ć®ļ¼˜ć€ļ¼™ćƒ–ćƒ­ćƒƒć‚Æē›®ć«ć€
怌G43Z10.0H001(Zč»øć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒęŒ‡ä»¤ć€åŠć³å·„å…·é•·č£œę­£ęŒ‡ä»¤ ć“ć®ęŒ‡ä»¤ćØēµ±åˆļ¼‰
M03S12000ļ¼ˆå·„å…·ć®å›žč»¢ęŒ‡ä»¤ å˜ē‹¬ć§ęŒ‡ä»¤ć•ć‚Œć¦ć„ć‚‹ļ¼‰ć€ćØć‚ć‚‹ć®ć‚’ć€
å›³ļ¼‘ļ¼–ć®ļ¼˜ćƒ–ćƒ­ćƒƒć‚Æē›®ć«ē¤ŗć™ć‚ˆć†ć«ć€
怌G43Z10.0H001M03S12000ć€ć«ē½®ę›ļ¼ˆēµ±åˆļ¼‰ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚
In this case, the order of priority for integrating the commands is (i) Z-axis approach (command to correct the tool length and perform Z-axis approach) (ii) and other fast-forward movement commands.
Based on this consideration, in the 8th and 9th blocks of FIG.
"G43Z10.0H001 (Z-axis approach command and tool length correction command integrated with this command)
M03S12000 (The rotation command of the tool is commanded independently) "
As shown in the 8th block of FIG.
It can be replaced (integrated) with "G43Z10.0H001M03S12000".

åŒę§˜ć«ć€å›³ļ¼‘ļ¼•ć®ļ¼“ć€ļ¼”ćƒ–ćƒ­ćƒƒć‚Æē›®ć®å˜ē‹¬ć®äø»č»øå›žč»¢ęŒ‡ä»¤ć€ŒM03S12000ć€åŠć³å·„å…·é•·č£œę­£ć‚’å«ć‚€ļ¼ŗč»øć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒęŒ‡ä»¤ć€ŒG43Z0.0H007ć€ć‚’ć€å›³ļ¼‘ļ¼—ć®ļ¼–ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒG43Z0.0H007M03S12000ć€ć«ē½®ę›ļ¼ˆēµ±åˆļ¼‰ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ Similarly, the single spindle rotation command "M03S12000" in the 3rd and 4th blocks of FIG. 15 and the Z-axis approach command "G43Z0.0H007" including tool length correction are applied to the 6th block "G43Z0.0H007M03S12000" in FIG. Can be replaced (integrated) with.

ć“ć®ć‚ˆć†ć«ć€å·„å…·ļ¼“ļ¼’ć®ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒęŒ‡ä»¤ćØå·„å…·ļ¼“ļ¼’ć®å›žč»¢ęŒ‡ä»¤ļ¼ˆäø»č»øå›žč»¢ęŒ‡ä»¤ļ¼‰ć‚’åŒę™‚ć«ęŒ‡ä»¤ć™ć‚‹ć‚ˆć†ć«ę›øćę›ćˆć‚‹ć“ćØć§ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ćŒå›³ć‚‰ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ć™ćŖć‚ć”ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ćŒå›³ć‚Œć‚‹ć€‚ In this way, by rewriting the approach command for the work 34 of the tool 32 and the rotation command (spindle rotation command) of the tool 32 at the same time, the machining program can be optimized and the cycle time can be shortened. As a result, the speed of machining by the machine tool 16 can be increased. That is, the processing speed of the work 34 by the machine tool 16 can be increased.

ļ¼£ļ¼Žé …ē›®ļ¼“ļ¼ˆå·„å…·äŗ¤ę›ć®åŒę™‚ęŒ‡ä»¤ļ¼‰ć®é©ē”Øå‹•ä½œć«ć¤ć„ć¦ć€å›³ļ¼‘ļ¼™åŠć³å›³ļ¼’ļ¼ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰äø¦ć³ć«å›³ļ¼’ļ¼‘åŠć³å›³ļ¼’ļ¼’ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰ć‚’å‚ē…§ć—ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ C. Regarding the application operation of item 3 (simultaneous command of tool change), the description of the pre-application machining program (1/2 to 2/2) in FIGS. 19 and 20 and the description of the post-application machining program in FIGS. 21 and 22 (1). This will be described with reference to / 2 to 2/2).

å·„å…·äŗ¤ę›ć®éš›ć«ē”Ÿć˜ć‚‹å¾…ć”ę™‚é–“ćØć—ć¦ć€å·„å…·ć®äŗ¤ę›ę–¹å¼ē­‰ć«ć‚ˆć‚Šäŗ‹ęƒ…ćÆē•°ćŖć‚‹ćŒć€ä¾‹ćˆć°ć€å·„å…·äŗ¤ę›å¾Œć«ć€ę¬”ć®åŠ å·„ä½ē½®ć¾ć§ē§»å‹•ć•ć›ć‚‹ęŒ‡ä»¤ć®å “åˆć€å·„å…·äŗ¤ę›ć®ęŒ‡ä»¤ćØę¬”ć®åŠ å·„ä½ē½®ć¾ć§ć®ē§»å‹•ęŒ‡ä»¤ć‚’åŒć˜č”Œļ¼ˆćƒ–ćƒ­ćƒƒć‚Æļ¼‰ć§ęŒ‡ä»¤ć™ć‚‹ć‚ˆć†ć«ć—ćŸå “åˆć€å·„å…·äŗ¤ę›ćØę¬”ć®åŠ å·„ä½ē½®ć¾ć§ć®ē§»å‹•ćŒåŒę™‚ć«č”Œć‚ć‚Œć‚‹ćŸć‚ć€å·„å…·äŗ¤ę›ć‚’å¾…ć¤ę™‚é–“ćŒēŸ­ēø®ć•ć‚Œć‚‹ć€‚ The waiting time that occurs when changing a tool differs depending on the tool changing method, etc., but for example, in the case of a command to move to the next machining position after changing the tool, the command to change the tool and the move to the next machining position. When the command is given in the same line (block), the tool change and the movement to the next machining position are performed at the same time, so that the time for waiting for the tool change is shortened.

ć™ćŖć‚ć”ć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒM06ć€ćŒć‚ć‚‹ćƒ–ćƒ­ćƒƒć‚Æć®å¾Œć«ć€ē§»å‹•ęŒ‡ä»¤ćŒć‚ć‚‹å “åˆć€åŒę™‚ć«å‹•ä½œć™ć‚‹ć‚ˆć†ć«ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ēµ„ćæć‹ćˆć‚‹ć“ćØć§ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ That is, if there is a movement command after the block with the tool change command "M06", the cycle time can be shortened by reconfiguring the program so that it operates at the same time.

å›³ļ¼’ļ¼“ćÆć€ęœ€é©åŒ–é …ē›®ļ¼“ć«é–¢ć—ć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆä¾‹ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚
ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼’ļ¼‘ć«ć¦ć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼‘ļ¼™åŠć³å›³ļ¼’ļ¼ļ¼‰äø­ć‹ć‚‰ć€ć€ŒM06T**ć€ćØć„ć†å·„å…·äŗ¤ę›ęŒ‡ä»¤ć‚’ć‚µćƒ¼ćƒć—ć¦ę¤œå‡ŗć™ć‚‹ć€‚
FIG. 23 shows an example of a flowchart executed by the processor 60 with respect to the optimization item 3.
In step S21, the redundancy command detection unit 80 searches for and detects a tool change command "M06T **" from the input machining programs (FIGS. 19 and 20).

ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼’ļ¼’ć«ć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€ę¤œå‡ŗć•ć‚ŒćŸå·„å…·äŗ¤ę›ęŒ‡ä»¤ćŒå˜ē‹¬ć®ćƒ–ćƒ­ćƒƒć‚Æć§å®Ÿč”Œć•ć‚Œć¦ć„ć‚‹ć‹å¦ć‹ć‚’åˆ¤ę–­ć™ć‚‹ć€‚ In step S22, the machining program optimization unit 82 determines whether or not the detected tool change command is executed in a single block.

å˜ē‹¬ć®ćƒ–ćƒ­ćƒƒć‚Æć§å®Ÿč”Œć•ć‚Œć¦ć„ć‚‹ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼’ļ¼’ļ¼šļ¼¹ļ¼„ļ¼³ļ¼‰å “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼’ļ¼“ć«ć¦ć€å·„å…·äŗ¤ę›å¾Œć®ē§»å‹•ęŒ‡ä»¤ć®ä½ē½®ć‚’å¤‰ę›“ć™ć‚‹ć€‚
ćŖćŠć€å˜ē‹¬ć®ćƒ–ćƒ­ćƒƒć‚Æć§å®Ÿč”Œć•ć‚Œć¦ć„ćŖć„ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼’ļ¼’ļ¼šļ¼®ļ¼Æļ¼‰å “åˆć«ćÆć€ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ēµ‚äŗ†ć™ć‚‹ć€‚
When executed in a single block (step S22: YES), the machining program optimization unit 82 changes the position of the movement command after the tool change in step S23.
If it is not executed in a single block (step S22: NO), the program is terminated.

å›³ļ¼‘ļ¼™ć®ļ¼•ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼’ļ¼‘ć§ć‚µćƒ¼ćƒć•ć‚Œę¤œå‡ŗć•ć‚ŒćŸå·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒG49M06T01 (MILLING)ć€ćÆč»øē§»å‹•ćØåŒę™‚ć«ęŒ‡ä»¤ć•ć‚Œć¦ć„ćŖć„å˜ē‹¬ęŒ‡ä»¤ć§ć‚ć‚‹ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼’ļ¼’ļ¼šļ¼¹ļ¼„ļ¼³ļ¼‰ć®ć§ć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼’ļ¼“ć§å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒM06ć€ē›“å¾Œć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć‚’ęŽ¢ć™ć€‚ć“ć“ć§ćÆć€ļ¼—ćƒ–ćƒ­ćƒƒć‚Æē›®ć®X軸・Yč»øåŗ§ęØ™ć€ŒX0.0Y0.0ć€ļ¼ˆå·„å…·äŗ¤ę›ęŒ‡ä»¤ē›“å¾Œć®ē§»å‹•ęŒ‡ä»¤ć€ŒG00ć€ć§ć®ļ¼øļ¼¹č»øć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ļ¼‰ćŒč©²å½“ć™ć‚‹ć€‚ Since the tool change command "G49M06T01 (MILLING)" searched and detected in step S21 in the fifth block of FIG. 19 is a single command that is not commanded at the same time as the axis movement (step S22: YES), the tool is used in step S23. Find the approach position immediately after the exchange command "M06". Here, the X-axis / Y-axis coordinates ā€œX0.0Y0.0ā€ of the 7th block (XY-axis approach position in the movement command ā€œG00ā€ immediately after the tool change command) corresponds.

ćć“ć§ć€ć•ć‚‰ć«ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼’ļ¼“ć§ćÆć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ć«ć€ē§»å‹•ęŒ‡ä»¤ć‚’ēµ±åˆć™ć‚‹ć€‚
ēµ±åˆå¾Œć®å·„å…·äŗ¤ę›ćƒ»ē§»å‹•ęŒ‡ä»¤ćÆć€å›³ļ¼’ļ¼‘ć®ļ¼•ćƒ–ćƒ­ćƒƒć‚Æē›®ć«ē¤ŗć™ć‚ˆć†ć«ć€ć€ŒG49M06T01G90G54G00X0.0Y0.0ć€ć«ćŖć‚‹ć€‚
Therefore, in step S23, the movement command is integrated with the tool change command.
The tool change / movement command after the integration is "G49M06T01G90G54G00X0.0Y0.0" as shown in the fifth block of FIG.

ćŖćŠć€å·„å…·äŗ¤ę›ć®åŒę™‚ęŒ‡ä»¤ć‚’č”Œć†å “åˆć®ēµ±åˆć™ć‚‹éš›ć®åŸŗęœ¬ćƒ•ć‚©ćƒ¼ćƒžćƒƒćƒˆćÆć€ę¬”ć®é€šć‚Šć§ć‚ć‚‹ć€‚
G49M06T*G90(åˆćÆG91)G54(åŗ§ęØ™ē³»ć®ęŒ‡å®šG55ļ½žG59态G54.1P*)G00X*Y*(4态5č»øē­‰ćŒć‚ć‚‹å “åˆćÆćć®åŗ§ęØ™A*B*ē­‰)怂
The basic format for integration when simultaneous command of tool change is given is as follows.
G49M06T * G90 (or G91) G54 (specified coordinate system G55 to G59, G54.1P *) G00X * Y * (coordinates A * B * etc. if there are 4 or 5 axes).

åŒę§˜ć«ć€å›³ļ¼‘ļ¼™ć®ęœ€ēµ‚ćƒ–ćƒ­ćƒƒć‚Æē›®ć®å·„å…·ē•Ŗå·ļ¼—ē•Ŗļ¼ˆT07ļ¼‰ćøć®å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒG49M06T07(DRILL)ć€ć€åŠć³å›³ļ¼’ļ¼ć®äø­ēØ‹ć®å·„å…·ē•Ŗå·ļ¼˜ē•Ŗļ¼ˆT08ļ¼‰ćøć®å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒG49M06T08 (TAP)ć€ć‚‚å˜ē‹¬ęŒ‡ä»¤ć§ć‚ć‚‹ć®ć§ć€é …ē›®ļ¼“ćŒé©ē”Øć•ć‚Œć‚‹ć€‚ Similarly, the tool change command "G49M06T07 (DRILL)" to the tool number 7 (T07) in the final block of FIG. 19 and the tool change command "G49M06T08" to the tool number 8 (T08) in the middle of FIG. (TAP) ā€is also a single command, so item 3 applies.

ć“ć®ć‚ˆć†ć«ć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒM06ć€ćØć€č©²å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒM06ć€ē›“å¾Œć®ē§»å‹•ęŒ‡ä»¤ć€ŒG00ć€ć«ć‚ˆć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć¾ć§ć®ē§»å‹•ęŒ‡ä»¤ć‚’åŒę™‚ć«ęŒ‡ä»¤ć™ć‚‹ć‚ˆć†ļ¼ˆåŒę™‚ęŒ‡ä»¤ļ¼‰ć«ę›øćę›ćˆć‚‹ć“ćØć§ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ćŒå›³ć‚‰ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ć™ćŖć‚ć”ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ćŒå›³ć‚Œć‚‹ć€‚ In this way, by rewriting the tool change command "M06" and the move command to the approach position by the move command "G00" immediately after the tool change command "M06" (simultaneous command), the machining program can be rewritten. Optimization can be achieved and the cycle time can be shortened. As a result, the speed of machining by the machine tool 16 can be increased. That is, the processing speed of the work 34 by the machine tool 16 can be increased.

ļ¼¤ļ¼Žé …ē›®ļ¼”ļ¼ˆć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć®ęœ€é©åŒ–ļ¼‰ć®é©ē”Øå‹•ä½œć«ć¤ć„ć¦ć€å›³ļ¼’ļ¼”åŠć³å›³ļ¼’ļ¼•ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰äø¦ć³ć«å›³ļ¼’ļ¼–åŠć³å›³ļ¼’ļ¼—ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰ć‚’å‚ē…§ć—ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ D. Regarding the application operation of item 4 (optimization of approach position), the description of the application pre-machining program (1/2 to 2/2) in FIGS. 24 and 25 and the description of the post-application machining program in FIGS. 26 and 27 (1). This will be described with reference to / 2 to 2/2).

ä¾‹ćˆć°ć€å·„å…·äŗ¤ę›å¾Œć®å·„å…·ļ¼“ļ¼’ć‚’ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«ęŽ„čæ‘ć•ć›ć‚‹ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć®é–‹å§‹ć‹ć‚‰ć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ļ¼ˆć€ŒG00ć€ęŒ‡ä»¤ć®ēµ‚äŗ†ä½ē½®ļ¼‰ć¾ć§ć®å‰čØ˜ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć®å®Ÿč”Œäø­ć«ć€åŒäø€č»øćŒč¤‡ę•°å›žå‹•ä½œć™ć‚‹ć‚ˆć†ćŖęŒ‡ä»¤ćŒćŖć•ć‚Œć¦ć„ć‚‹å “åˆćŒć‚ć‚‹ć€‚ For example, during the execution of the fast-forward command "G00" from the start of the fast-forward command "G00" that brings the tool 32 closer to the work 34 after the tool change to the final approach position to the work 34 (the end position of the "G00" command). , There may be a command to operate the same axis multiple times.

ć“ć®å “åˆć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€č¤‡ę•°å›žå‹•ä½œć™ć‚‹ć‚ˆć†ć«ęŒ‡ä»¤ć•ć‚Œć¦ć„ć‚‹č»øć®ęœ€ēµ‚ēš„ćŖē§»å‹•åŗ§ęØ™ļ¼ˆę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć®ēµ‚äŗ†ä½ē½®ļ¼‰ć‚’ć‚µćƒ¼ćƒć—ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć§ęœ€åˆć«ęŒ‡ä»¤ć•ć‚Œć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć‚’å‰čØ˜ęœ€ēµ‚ēš„ćŖē§»å‹•åŗ§ęØ™ļ¼ˆę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć®ēµ‚äŗ†ä½ē½®ļ¼‰ć«ę›øćę›ćˆć‚‹ć“ćØć§åŒäø€č»øćŒč¤‡ę•°å›žå‹•ä½œć™ć‚‹ć‚ˆć†ćŖē„”é§„ćŖå‹•ćć®ē”ŸęˆćŒęŠ‘åˆ¶ć•ć‚Œć‚‹ć€‚ In this case, the redundant command detection unit 80 searches for the final moving coordinates of the axis instructed to operate a plurality of times (the end position of the fast-forward command ā€œG00ā€), and the machining program optimization unit 82 fast-forwards. By rewriting the approach position first commanded by the command "G00" to the final movement coordinates (end position of the fast-forward command "G00"), the generation of unnecessary movements such that the same axis operates multiple times is suppressed. To.

å›³ļ¼’ļ¼˜ćÆć€ęœ€é©åŒ–é …ē›®ļ¼”ć«é–¢ć—ć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆć®ä¾‹ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚
ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼“ļ¼‘ć«ć¦ć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼’ļ¼”åŠć³å›³ļ¼’ļ¼•ļ¼‰äø­ć‹ć‚‰äø»č»øļ¼“ļ¼ć®ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć‚’ć‚µćƒ¼ćƒć™ć‚‹ć€‚
FIG. 28 shows an example of a flowchart executed by the processor 60 with respect to the optimization item 4.
In step S31, the redundancy command detection unit 80 searches for the fast-forward command ā€œG00ā€ of the spindle 30 from the application pre-machining program (FIGS. 24 and 25).

ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼“ļ¼’ć«ć¦ć€ć‚µćƒ¼ćƒć•ć‚ŒćŸę—©é€ć‚ŠęŒ‡ä»¤ćŒć€ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ćøć®å¾©åø°ć‹å¦ć‹ćŒåˆ¤å®šć•ć‚Œć€ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ćøć®å¾©åø°ęŒ‡ä»¤ć§ć‚ć‚‹ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼“ļ¼’ļ¼šļ¼¹ļ¼„ļ¼³ļ¼‰å “åˆć«ćÆć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒē§»å‹•ć§ćÆćŖć„ć®ć§é™¤å¤–ļ¼ˆć‚¹ć‚­ćƒƒćƒ—ļ¼‰ć™ć‚‹ć€‚ In step S32, it is determined whether or not the searched fast-forward command is a return to the reference point, and if it is a return command to the reference point (step S32: YES), it is not an approach move to the work 34. Exclude (skip).

ä¾‹ćˆć°ć€å›³ļ¼’ļ¼”ć®ļ¼”ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒG91G28G00Z0.0ć€ćÆć€ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹å¾©åø°ęŒ‡ä»¤ć€ŒG28ć€ć®ćŸć‚ć«é™¤å¤–ć•ć‚Œć‚‹ć€‚ For example, the fourth block "G91G28G00Z0.0" in FIG. 24 is excluded because of the reference point return command "G28".

ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ćøć®å¾©åø°ć§ćÆćŖć„ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼“ļ¼’ļ¼šļ¼®ļ¼Æļ¼‰å “åˆć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼“ļ¼“ć«ć¦ć€å‰čØ˜é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼’ļ¼”ć€å›³ļ¼’ļ¼•ļ¼‰ć‹ć‚‰ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć®ēµ‚äŗ†ä½ē½®ć‚’ć‚µćƒ¼ćƒć™ć‚‹ć€‚ If it is not a return to the reference point (step S32: NO), the end position of the fast-forward command ā€œG00ā€ is searched from the application pre-machining program (FIGS. 24 and 25) in step S33.

ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć®ēµ‚äŗ†ä½ē½®ćÆć€ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ęŒ‡ä»¤é–‹å§‹å¾Œć®ć€ŒG01态G02态G03ć€ć®åˆ‡å‰ŠęŒ‡ä»¤ć€ć‚ć‚‹ć„ćÆć€ŒG81态G84ć€ē­‰ć®å›ŗå®šć‚µć‚¤ć‚Æćƒ«ęŒ‡ä»¤ē­‰ć®åŠ å·„ęŒ‡ä»¤ć‚’å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćŒć‚µćƒ¼ćƒć—ć¦ę¤œå‡ŗć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ The end position of the fast-forward command "G00" is a redundant command detector that outputs a cutting command of "G01, G02, G03" after the start of the fast-forward command "G00", or a machining command such as a fixed cycle command such as "G81, G84". 80 can be searched and detected.

ä¾‹ćˆć°ć€å›³ļ¼’ļ¼”ć®ļ¼—ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒG90G54G00X0.0Y0.0ć€ćŒę—©é€ć‚ŠęŒ‡ä»¤ć®é–‹å§‹ćØć•ć‚Œć€ļ¼‘ļ¼”ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒG03X-35.1739Y12.7612Z2.2856R9.F6000ć€ć®åˆ‡å‰ŠęŒ‡ä»¤ć€ŒG03ļ¼ˆå††å¼§č£œé–“CCWļ¼‰ć€ćŒć€åˆ‡å‰ŠęŒ‡ä»¤ļ¼ˆę—©é€ć‚ŠęŒ‡ä»¤ć®ēµ‚äŗ†ļ¼‰ļ¼ˆåŠ å·„ęŒ‡ä»¤ļ¼‰ćØć—ć¦ę¤œå‡ŗć•ć‚Œć‚‹ć€‚ For example, the 7th block "G90G54G00X0.0Y0.0" in FIG. 24 is regarded as the start of the fast forward command, and the cutting command "G03 (arc interpolation CCW)" of the 14th block "G03X-35.1739Y12.7612Z2.2856R9.F6000". Is detected as a cutting command (end of fast-forward command) (machining command).

ę¬”ć„ć§ć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼“ļ¼”ć«ć¦ć€ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć§ęœ€åˆć«ęŒ‡ä»¤ć•ć‚Œć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć‚’ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć«ę›øćę›ćˆć‚‹ć€‚ Next, in step S34, the approach position first commanded by the fast-forward command ā€œG00ā€ is rewritten to the final approach position with respect to the work 34.

ä¾‹ćˆć°ć€å›³ļ¼’ļ¼”ć®ļ¼—ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒG90G54G00X0.0Y0.0ć€ć®ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć§ć®ļ¼øļ¼¹č»øć®ęœ€åˆć®ęŒ‡ä»¤ä½ē½®ć€ŒX0.0Y0.0ć€ć‚’ć€ļ¼‘ļ¼ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒX-26.1881Y4.2664ć€ć®ļ¼øļ¼¹č»øć®ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć«ę›øćę›ćˆć‚‹ć€‚ For example, the first command position "X0.0Y0.0" on the XY axis in the fast-forward command "G00" of the 7th block "G90G54G00X0.0Y0.0" in FIG. 24 is set to the 10th block "X-26.1881Y4. Rewrite to the final approach position of the XY axis of "2664".

åŒę§˜ć«ć€ļ¼˜ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒG43Z10.0H001ć€ć®ļ¼ŗč»øć®ęœ€åˆć®ęŒ‡ä»¤ä½ē½®ć€ŒZ10.0ć€ć‚’ć€ļ¼‘ļ¼’ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ć€ŒZ3.ć€ć®ļ¼ŗč»øć®ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć«ę›øćę›ćˆć‚‹ć€‚ Similarly, the first command position "Z10.0" on the Z axis of "G43Z10.0H001" in the 8th block is rewritten to the final approach position of the Z axis of "Z3." In the 12th block.

ć“ć®ć‚ˆć†ć«ć—ć¦ć€å›³ļ¼’ļ¼”ć®ļ¼–ćƒ–ćƒ­ćƒƒć‚Æē›®ć‹ć‚‰ļ¼‘ļ¼“ćƒ–ćƒ­ćƒƒć‚Æē›®ć¾ć§ć®ęŒ‡ä»¤
怌M08
G90G54G00X0.0Y0.0(G00ęŒ‡ä»¤ ä»„äø‹ę—©é€ć‚Šļ¼‰
G43Z10.0H001
M03S12000
X-26.1881Y4.2664(G00 ꗩ送悊恧恮XYč»øć®ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒļ¼‰
Z10.
Z3.ļ¼ˆć“ć“ć¾ć§G00ęŒ‡ä»¤ć§ć®å‹•ä½œļ¼‰ļ¼ˆG00 ꗩ送悊恧恮Zč»øć®ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒļ¼‰
M08怍悒态
å›³ļ¼’ļ¼–ć®ļ¼–ćƒ–ćƒ­ćƒƒć‚Æē›®ć‹ć‚‰ļ¼‘ļ¼ćƒ–ćƒ­ćƒƒć‚Æē›®ć¾ć§ć®ęŒ‡ä»¤
怌M08
G90G54G00 X-26.1881Y4.2664(XYč»øęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ćøä½ē½®ę±ŗć‚ļ¼‰
G43 Z3.H001(Zč»øęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ćøä½ē½®ę±ŗć‚ļ¼‰
M03S12000
M08ć€ć«ęœ€é©åŒ–ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚
In this way, the command "M08" from the 6th block to the 13th block in FIG. 24
G90G54G00X0.0Y0.0 (fast forward below G00 directive)
G43Z10.0H001
M03S12000
X-26.1881Y4.2664 (G00 fast forward XY axis final approach)
Z10.
Z3. (Operation with G00 command so far) (Z-axis final approach with G00 fast forward)
M08 ",
The command "M08" from the 6th block to the 10th block in FIG. 26
G90G54G00 X-26.1881Y4.2664 (Positioning to XY axis final approach position)
G43 Z3.H001 (Positioning to Z-axis final approach position)
M03S12000
It can be optimized for "M08".

ć“ć®ć‚ˆć†ć«ć€ä¾‹ćˆć°ć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒM06ć€ē›“å¾Œć®ē§»å‹•ęŒ‡ä»¤ć€ŒG00ć€ć«ć‚ˆć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć¾ć§ć®ē§»å‹•ęŒ‡ä»¤äø­ć«ć€åŒäø€č»øćŒč¤‡ę•°å›žå‹•ä½œć™ć‚‹ęŒ‡ä»¤ćŒå«ć¾ć‚Œć¦ć„ć‚‹å “åˆć€ļ¼øļ¼¹ļ¼ŗåŗ§ęØ™ć®ęœ€åˆć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ęŒ‡ä»¤ć‚’ć€ļ¼øļ¼¹ļ¼ŗåŗ§ęØ™ć®ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒęŒ‡ä»¤ć«ę›øćę›ćˆć‚‹ć“ćØć§ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ćŒå›³ć‚‰ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ć™ćŖć‚ć”ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ćŒå›³ć‚Œć‚‹ć€‚ In this way, for example, when the movement command to the approach position by the movement command "G00" immediately after the tool change command "M06" includes a command that the same axis operates multiple times, the first approach of the XYZ coordinates. By rewriting the position command to the final approach command of XYZ coordinates, the machining program can be optimized and the cycle time can be shortened. As a result, the speed of machining by the machine tool 16 can be increased. That is, the processing speed of the work 34 by the machine tool 16 can be increased.

ļ¼„ļ¼Žé …ē›®ļ¼•ļ¼ˆåŽŸē‚¹ć«ęˆ»ć‚‹å‹•ä½œć®å‰Šé™¤ļ¼‰ć®é©ē”Øå‹•ä½œć«ć¤ć„ć¦ć€å›³ļ¼’ļ¼™åŠć³å›³ļ¼“ļ¼ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰äø¦ć³ć«å›³ļ¼“ļ¼‘åŠć³å›³ļ¼“ļ¼’ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰ć‚’å‚ē…§ć—ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ E. Regarding the application operation of item 5 (deletion of the operation of returning to the origin), the description of the pre-application machining program (1/2 to 2/2) of FIGS. 29 and 30 and the description of the post-application machining program of FIGS. 31 and 32 (the description of the post-application machining program of FIGS. 31 and 32). This will be described with reference to 1/2 to 2/2).

åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć§ä½œęˆć—ćŸćƒ—ćƒ­ć‚°ćƒ©ćƒ ćÆć€äø€čˆ¬ć«ć€åŽŸē‚¹ć«ęˆ»ć‚‹ā†’å·„å…·äŗ¤ę›ā†’åŠ å·„ā†’åŽŸē‚¹ć«ęˆ»ć‚‹ćØć„ć†ć‚·ćƒ¼ć‚±ćƒ³ć‚¹ć«ćŖć‚‹ć“ćØćŒć‚ć‚‹ć€‚ć“ć®ć‚ˆć†ćŖćƒ—ćƒ­ć‚°ćƒ©ćƒ ćŒć‚µćƒ–ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćØć—ć¦é€£ē¶šēš„ć«čŖ­ćæå‡ŗć•ć‚Œć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć§ćÆć€ć€ŒåŽŸē‚¹ć«ęˆ»ć‚‹ā†’å·„å…·äŗ¤ę›ā†’åŠ å·„ā†’åŽŸē‚¹ć«ęˆ»ć‚‹ć€ć€ć€ŒåŽŸē‚¹ć«ęˆ»ć‚‹ā†’å·„å…·äŗ¤ę›ā†’åŠ å·„ā†’åŽŸē‚¹ć«ęˆ»ć‚‹ā€¦ć€ćØćŖć‚Šć€ć‚µćƒ–ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ć¤ćŖćŽē›®ć§äøåæ…č¦ć«ć€ŒåŽŸē‚¹ć«ęˆ»ć‚‹ć€ęŒ‡ä»¤ćŒćŖć•ć‚Œć‚‹ć€‚ The program created by the machining program creation device 12 may generally have a sequence of returning to the origin → changing tools → machining → returning to the origin. In a machining program in which such a program is continuously read out as a subprogram, "return to origin-> tool change-> machining-> return to origin", "return to origin-> tool change-> machining-> return to origin ..." An unnecessary "return to origin" command is issued at the joint of the program.

ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć§ćÆć€å·„å…·äŗ¤ę›ęÆŽć«ć€åŽŸē‚¹ć«ęˆ»ć£ć¦ć‹ć‚‰å·„å…·äŗ¤ę›ćØć„ć†ć‚ˆć†ćŖćƒ—ćƒ­ć‚°ćƒ©ćƒ ćŒēµ„ć¾ć‚Œć‚‹ć“ćØćŒć‚ć‚‹ć€‚ć“ć®å “åˆć«ć‚‚ć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ć®åŗ¦ć«ć€åŽŸē‚¹ć«ęˆ»ć‚‹ā†’å·„å…·äŗ¤ę›ā†’åŠ å·„ā†’åŽŸē‚¹ć«ęˆ»ć‚‹ā†’å·„å…·äŗ¤ę›ā†’åŠ å·„ćƒ»ćƒ»ćƒ»ćŒē¹°ć‚Ščæ”ć•ć‚Œć¦ć€å·„å…·äŗ¤ę›ć§äøåæ…č¦ć«ć€ŒåŽŸē‚¹ć«ęˆ»ć‚‹ć€ęŒ‡ä»¤ćŒćŖć•ć‚Œć‚‹ć€‚ Further, in the machining program, a program such as tool change after returning to the origin may be set for each tool change. In this case as well, each time a tool change command is issued, the command to return to the origin → tool change → machining → return to the origin → tool change → machining ... is repeated, and the command to ā€œreturn to the originā€ is unnecessarily issued by the tool change. Will be done.

ć“ć®ć‚ˆć†ćŖå “åˆć«ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®ć‚µćƒ–ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćØć‚µćƒ–ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ć¤ćŖćŽćØćŖć‚‹éƒØåˆ†ć§ć€åˆćÆå·„å…·äŗ¤ę›ęÆŽć«ęÆŽå›žåŽŸē‚¹ć«ęˆ»ć‚‹ćŸć‚ē„”é§„ćŖå‹•ććŒē”Ÿć˜ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’é…ć‚‰ć›ć‚‹ć€‚ In such a case, the cycle time is delayed because the origin is returned to the origin at the connecting portion of the subprogram in the machining program or every time the tool is changed.

ć“ć®å “åˆć€å·„å…·äŗ¤ę›ć®å‰ć®ēµ‚äŗ†ä½ē½®ćØć€å·„å…·äŗ¤ę›å¾Œć®åŠ å·„é–‹å§‹ä½ē½®ć«ē„”é§„ćŒē”Ÿć˜ćŖć„ć‚ˆć†ć«ć€ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęŒ‡ä»¤ä½ē½®ć‚’äæ®ę­£ć™ć‚‹ć“ćØć§ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ In this case, the cycle time can be shortened by modifying the command position of the program so that the end position before the tool change and the machining start position after the tool change are not wasted.

ć™ćŖć‚ć”ć€ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®åŽŸē‚¹ć«ęˆ»ć‚‹å‹•ä½œćÆć€äøč¦ć§ć‚ć‚‹å “åˆćŒå¤šć„ć€‚ć¤ć¾ć‚Šć€ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ćÆć˜ć‚ćØć€ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ēµ‚ć‚ć‚Šć‚’é™¤ćć€åŽŸē‚¹ć«ęˆ»ć‚‹ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć“ćØćŒåÆčƒ½ć§ć‚ć‚‹ć€‚ That is, the operation of returning to the origin in the program is often unnecessary. In other words, it is possible to delete the command to return to the origin except at the beginning of the program and the end of the program.

å›³ļ¼“ļ¼“ćÆć€ęœ€é©åŒ–é …ē›®ļ¼•ć«é–¢ć—ć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆä¾‹ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚
ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼”ļ¼‘ć«ć¦ć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼’ļ¼™åŠć³å›³ļ¼“ļ¼ļ¼‰ć‹ć‚‰åŽŸē‚¹ć§ć‚ć‚‹ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ćøć®å¾©åø°ęŒ‡ä»¤ć§ć‚ć‚‹ć€ŒG28ć€ćŒć‚ć‚‹ćƒ–ćƒ­ćƒƒć‚Æć‚’ć‚µćƒ¼ćƒć—ć¦ę¤œå‡ŗć™ć‚‹ć€‚
åŽŸē‚¹å¾©åø°ęŒ‡ä»¤ćŒćŖć„ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼”ļ¼‘ļ¼šļ¼®ļ¼Æļ¼‰å “åˆć«ćÆć€ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ēµ‚äŗ†ć™ć‚‹ć€‚
FIG. 33 shows an example of a flowchart executed by the processor 60 with respect to the optimization item 5.
In step S41, the redundancy command detection unit 80 searches for and detects a block having "G28", which is a return command to the reference point, which is the origin, from the application pre-machining program (FIGS. 29 and 30).
If there is no home return command (step S41: NO), the program ends.

å›³ļ¼’ļ¼™åŠć³å›³ļ¼“ļ¼ć«ē¤ŗć—ćŸé©ē”Øå‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć§ćÆć€ä»„äø‹ć«ć€Œā†’ļ½‰ć€ć‹ć‚‰ć€Œā†’ļ½–ļ½‰ć€ć§ē¤ŗć™ļ¼–ē®‡ę‰€ć«ć€ŒG28ć€ļ¼ˆćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ćøć®å¾©åø°ļ¼‰ćŒć‚ć‚‹ćƒ–ćƒ­ćƒƒć‚ÆćŒę¤œå‡ŗć•ć‚Œć‚‹ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼”ļ¼‘ļ¼šļ¼¹ļ¼„ļ¼³ļ¼‰ć€‚ćŖćŠć€å‰Šé™¤å¾Œć®ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćØć®åÆ¾ęÆ”ć®ä¾æå®œć®ćŸć‚ć«ć€G28ć«é–¢é€£ć—ć¦å‰Šęø›åÆčƒ½ćŖčæ‘å‚éƒØåˆ†ć®ćƒ–ćƒ­ćƒƒć‚Æć‚‚ä½µć›ć¦ē¤ŗć—ć¦ć„ć‚‹ć€‚
ć€Œļ¼…
…
G91G28G00Z0.0 ā†’ļ½‰ļ¼ˆå›³ļ¼’ļ¼™ć®äøŠć‹ć‚‰ļ¼”ćƒ–ćƒ­ćƒƒć‚Æē›®ļ¼‰
…
G80G40M09
G91G28Z0.0M05 ā†’ļ½‰ļ½‰ļ¼ˆå›³ļ¼’ļ¼™ć®äø‹ć‹ć‚‰ļ¼’ćƒ–ćƒ­ćƒƒć‚Æē›®ļ¼‰
G28X0.Y0.M09 ā†’ļ½‰ļ½‰ļ½‰ļ¼ˆå›³ļ¼’ļ¼™ć®äø€ē•Ŗäø‹ć®ćƒ–ćƒ­ćƒƒć‚Æļ¼‰
G49
G40G69G17G80
G91G28G00Z0.0 ā†’ļ½‰ļ½–ļ¼ˆå›³ļ¼“ļ¼ć®äøŠć‹ć‚‰ļ¼“ćƒ–ćƒ­ćƒƒć‚Æē›®ļ¼‰
…
G80G40G69M09
G91G28Z0.0M05
G28X0.Y0.
G49
G40G69G17G80
G91G28G00Z0.0 ā†’ļ½–ļ¼ˆå›³ļ¼“ļ¼ć®äøŠć‹ć‚‰ļ¼’ļ¼“ćƒ–ćƒ­ćƒƒć‚Æē›®ļ¼‰
…
G91G28Z0.0M05 ā†’ļ½–ļ½‰ļ¼ˆå›³ļ¼“ļ¼ć®äø‹ć‹ć‚‰ļ¼•ćƒ–ćƒ­ćƒƒć‚Æē›®ļ¼‰
G28X0.Y0. ā†’ļ½–ļ½‰ļ½‰ļ¼ˆå›³ļ¼“ļ¼ć®äø‹ć‹ć‚‰ļ¼”ćƒ–ćƒ­ćƒƒć‚Æē›®ļ¼‰
…
ļ¼…ć€
In the pre-application machining program shown in FIGS. 29 and 30, a block having "G28" (return to the reference point) is detected at six points indicated by "→ i" to "→ vi" below (step). S41: YES). For convenience of comparison with the deleted program, the blocks in the vicinity that can be reduced in relation to G28 are also shown.
"%
…
G91G28G00Z0.0 → i (4th block from the top of Fig. 29)
…
G80G40M09
G91G28Z0.0M05 → ii (second block from the bottom of Fig. 29)
G28X0.Y0.M09 → iii (bottom block in Fig. 29)
G49
G40G69G17G80
G91G28G00Z0.0 → iv (3rd block from the top of Fig. 30)
…
G80G40G69M09
G91G28Z0.0M05
G28X0.Y0.
G49
G40G69G17G80
G91G28G00Z0.0 → v (23rd block from the top of Fig. 30)
…
G91G28Z0.0M05 → vi (5th block from the bottom of Fig. 30)
G28X0.Y0. → vii (4th block from the bottom of Fig. 30)
…
% "

åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼”ļ¼’ć«ć¦ć€ę¤œå‡ŗć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®ęœ€åˆćØęœ€å¾Œć®åŽŸē‚¹å¾©åø°ęŒ‡ä»¤ć‚’ę®‹ć—ć€é€”äø­ć®åŽŸē‚¹å¾©åø°ęŒ‡ä»¤ć‚’å‰Šé™¤ć—ć¦ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ēµ‚äŗ†ć™ć‚‹ć€‚ In step S42, the machining program optimization unit 82 leaves the first and last origin return commands in the detected machining program, deletes the origin return command in the middle, and ends the program.

ć“ć®å “åˆć€äøŠčØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®ęœ€åˆć®ć€Œā†’ļ½‰ć€åŠć³ęœ€å¾Œć®ć€Œā†’ļ½–ļ½‰ć€ć€Œā†’ļ½–ļ½‰ļ½‰ć€ć®ć€ŒG28ć€ęŒ‡ä»¤ć‚’ę®‹ć—ć€ļ¼’ē•Ŗē›®ć€Œā†’ļ½‰ļ½‰ć€ć‹ć‚‰ļ¼•ē•Ŗē›®ć€Œā†’ļ½–ć€ć¾ć§ć®é€”äø­ć®ć€ŒG28ć€ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć€‚ä½†ć—ć€åŒę™‚ć«ęŒ‡ä»¤ć•ć‚Œć‚‹Mć‚³ćƒ¼ćƒ‰ęŒ‡ä»¤ćÆåæ…č¦ć§ć‚ć‚‹ć®ć§å‰Šé™¤ć—ćŖć„ć€‚ In this case, the first "→ i" and the last "→ vi" "→ vii" "G28" command in the above machining program is left, and the second "→ ii" to the fifth "→ v" are in the middle. Delete the "G28" directive. However, since the M code command issued at the same time is necessary, it will not be deleted.

怌G28ć€ęŒ‡ä»¤ć®å‰å¾Œć«ć‚ć‚‹ć€ć‚­ćƒ£ćƒ³ć‚»ćƒ«ć‚³ćƒ¼ćƒ‰é–¢é€£ć€ŒG40态G49态G69态G80ć€ļ¼ć€Œå·„å…·å¾„č£œę­£ć‚­ćƒ£ćƒ³ć‚»ćƒ«ć€å·„å…·é•·č£œę­£ć‚­ćƒ£ćƒ³ć‚»ćƒ«ć€åŗ§ęØ™å›žč»¢ć‚­ćƒ£ćƒ³ć‚»ćƒ«ć€å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć‚­ćƒ£ćƒ³ć‚»ćƒ«ć€ćÆć€ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ć§ć‚ć‚‹ļ¼²ē‚¹ļ¼ˆåŽŸē‚¹ļ¼‰ć«å¾©åø°ć—ćŖć„ć“ćØć‹ć‚‰äøč¦ćØćŖć‚‹ć®ć§åŒę™‚ć«å‰Šé™¤ć™ć‚‹ć€‚ Before and after the "G28" command, the cancellation code related "G40, G49, G69, G80" = "tool diameter correction cancellation, tool length correction cancellation, coordinate rotation cancellation, fixed cycle cancellation" is the reference point R point ( Since it does not return to the origin), it is unnecessary, so delete it at the same time.

äøŠčØ˜ę¤œå‡ŗéƒØåˆ†ļ¼ˆļ¼’ē•Ŗē›®ć€Œā†’ļ½‰ļ½‰ć€ć‹ć‚‰ļ¼”ē•Ŗē›®ć€Œā†’ļ½‰ļ½–ć€ć¾ć§ć®é€”äø­ć®ć€ŒG28ć€ęŒ‡ä»¤ļ¼‰ć®å‰Šé™¤å¾Œć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼“ļ¼‘åŠć³å›³ļ¼“ļ¼’ļ¼‰ćÆć€ä»„äø‹ć®ć‚ˆć†ć«ćŖć‚‹ć€‚
ć€Œļ¼…
…
G91G28G00Z0.0 →i ļ¼ˆćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€åˆćŖć®ć§å‰Šé™¤ć—ćŖć„ć€‚ļ¼‰
…
M09
M05 ā†’ļ½‰ļ½‰ć®ćƒ–ćƒ­ćƒƒć‚Æć«åÆ¾åæœć™ć‚‹ćƒ–ćƒ­ćƒƒć‚Æ
M09 ā†’ļ½‰ļ½‰ļ½‰ć®ćƒ–ćƒ­ćƒƒć‚Æć«åÆ¾åæœć™ć‚‹ćƒ–ćƒ­ćƒƒć‚Æ
…
G91G28Z0.0M05 ā†’ļ½–ļ½‰ć®ćƒ–ćƒ­ćƒƒć‚Æć«åÆ¾åæœć™ć‚‹ćƒ–ćƒ­ćƒƒć‚Æļ¼ˆćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€å¾Œć®ļ¼ŗč»øć®åŽŸē‚¹å¾©åø°ęŒ‡ä»¤ćŖć®ć§ć€å‰Šé™¤ć—ćŖć„ć€‚ļ¼‰
G28X0.Y0. ā†’ļ½–ļ½‰ć®ćƒ–ćƒ­ćƒƒć‚Æļ¼ˆćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€å¾Œć®ļ¼øļ¼¹č»øć®åŽŸē‚¹å¾©åø°ęŒ‡ä»¤ćŖć®ć§å‰Šé™¤ć—ćŖć„ć€‚ļ¼‰
…
ļ¼…ć€
The post-application processing program (FIGS. 31 and 32) after the deletion of the detection portion (ā€œG28ā€ command in the middle from the second ā€œā†’ iiā€ to the fourth ā€œā†’ ivā€) is as follows.
"%
…
G91G28G00Z0.0 → i (Because it is the beginning of the program, do not delete it.)
…
M09
M05 → Block corresponding to ii block
M09 → Block corresponding to iii block ...
G91G28Z0.0M05 → The block corresponding to the vi block (Since it is the origin return command of the Z axis at the end of the program, it is not deleted.)
G28X0.Y0. → Vi block (Do not delete because it is the origin return command of the last XY axis of the program.)
…
% "

åŽŸē‚¹ć«ęˆ»ć‚‹å‹•ä½œć®å®Ÿč³Ŗēš„ć«äøč¦ćŖē®‡ę‰€ļ¼ˆå‰Šé™¤ē®‡ę‰€ļ¼‰ćÆć€åˆ‡å‰ŠåŠ å·„ć‹ć‚‰ē©“åŠ å·„ć«å¤‰ę›“ć•ć‚Œć‚‹éƒØåˆ†ć€åŠć³ē©“åŠ å·„ć‹ć‚‰ć‚æćƒƒćƒ—åŠ å·„ć«å¤‰ę›“ć•ć‚Œć‚‹éƒØåˆ†ćØćŖć‚‹ć®ć§ļ¼’ē®‡ę‰€ć«ćŖć‚‹ć€‚ There are two substantially unnecessary parts (deleted parts) for the operation of returning to the origin because they are a part where cutting is changed to hole processing and a part where hole processing is changed to tap processing.

ć“ć®ć‚ˆć†ć«ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ć€ä¾‹ćˆć°ć€ć€ŒåŽŸē‚¹ć«ęˆ»ć‚‹ā†’å·„å…·äŗ¤ę›ļ¼ˆå‰čØ˜ćƒ•ćƒ©ć‚¤ć‚¹å·„å…·ć‹ć‚‰å‰čØ˜ćƒ‰ćƒŖćƒ«ļ¼‰ā†’åŠ å·„ļ¼ˆē©“åŠ å·„ļ¼‰ā†’åŽŸē‚¹ć«ęˆ»ć‚‹ā†’å·„å…·äŗ¤ę›ļ¼ˆå‰čØ˜ćƒ‰ćƒŖćƒ«ć‹ć‚‰å‰čØ˜ć‚æćƒƒćƒ—ļ¼‰ā†’åŠ å·„ļ¼ˆć‚æćƒƒćƒ—åŠ å·„ļ¼‰ā†’åŽŸē‚¹ć«ęˆ»ć‚‹ć€ćØć„ć†äø€é€£ć®ęŒ‡ä»¤ćŒć‚ć‚‹å “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć§ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć€äø­é–“ć®ć€ŒåŽŸē‚¹ć«ęˆ»ć‚‹ć€ęŒ‡ä»¤ļ¼ˆē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ļ¼‰ć‚’å‰Šé™¤ć™ć‚‹ć“ćØć§ć€äø»č»øļ¼“ļ¼ćŒåŽŸē‚¹ć«ęˆ»ć‚‹ćØć„ć†äøč¦ćŖå‹•ä½œćŒå‰Šęø›ć•ć‚Œć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ćŒå›³ć‚‰ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ć™ćŖć‚ć”ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ćŒå›³ć‚Œć‚‹ć€‚ In this way, during the machining program, for example, "return to origin → tool change (from the drill tool to the drill) → machining (hole drilling) → return to the origin → tool change (from the drill to the tap) → machining (tap). When there is a series of commands "machining)-> return to origin", the machining program optimization unit 82 deletes the intermediate "return to origin" command (command to generate useless movement) in the machining program. Unnecessary operation of returning the spindle 30 to the origin is reduced, the machining program is optimized, and the cycle time can be shortened. As a result, the speed of machining by the machine tool 16 can be increased. That is, the processing speed of the work 34 by the machine tool 16 can be increased.

ļ¼¦ļ¼Žé …ē›®ļ¼–ļ¼ˆå†…åŒ…ć•ć‚Œć‚‹ć‚³ćƒ¼ćƒ‰ć®å‰Šé™¤ļ¼‰ć®é©ē”Øå‹•ä½œć«ć¤ć„ć¦ć€å›³ļ¼“ļ¼”åŠć³å›³ļ¼“ļ¼•ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰äø¦ć³ć«å›³ļ¼“ļ¼–åŠć³å›³ļ¼“ļ¼—ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰ć‚’å‚ē…§ć—ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ F. Regarding the application operation of item 6 (deletion of the included code), the description of the pre-application machining program (1/2 to 2/2) of FIGS. 34 and 35 and the description of the post-application machining program of FIGS. 36 and 37 (the description of the post-application machining program of FIGS. 36 and 37). This will be described with reference to 1/2 to 2/2).

1つのGć‚³ćƒ¼ćƒ‰ć‚„Mć‚³ćƒ¼ćƒ‰ć®ęŒ‡ä»¤ć«ć€åˆ„ć®Gć‚³ćƒ¼ćƒ‰ć‚„Mć‚³ćƒ¼ćƒ‰ć®ę©Ÿčƒ½ćŒå†…åŒ…ć•ć‚Œć‚‹ęŒ‡ä»¤ļ¼ˆć‚³ćƒ¼ćƒ‰ļ¼‰ćŒć‚ć‚‹ć€‚ć“ć®å “åˆć€å†…åŒ…ć•ć‚Œć‚‹ęŒ‡ä»¤ć«ć¤ć„ć¦ćÆć€ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć“ćØć§ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ćć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ There is a command (code) in which the function of another G code or M code is included in one G code or M code command. In this case, the cycle time of the included command can be shortened by deleting the command.

ä¾‹ćˆć°ć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒM06ć€ć«ćÆć€ć€ŒG28Z0ć€ļ¼ˆå·„å…·äŗ¤ę›å‰ć«ć€Zč»øć‚’åŽŸē‚¹ć«ęˆ»ć™ęŒ‡ä»¤ļ¼‰ćØć€å·„å…·äŗ¤ę›å‰ć«ć‚Æćƒ¼ćƒ©ćƒ³ćƒˆć‚’åå‡ŗć™ć‚‹ęŒ‡ä»¤ćŒęœ‰åŠ¹ć§ć‚ć‚‹ć“ćØć‚’ę”ä»¶ć«å·„å…·äŗ¤ę›å¾Œć®ć‚Æćƒ¼ćƒ©ćƒ³ćƒˆåå‡ŗęŒ‡ä»¤ć€ŒM08ć€åŠć³å·„å…·äŗ¤ę›å‰ć®ć‚Æćƒ¼ćƒ©ćƒ³ćƒˆåœę­¢ęŒ‡ä»¤ć€ŒM09ć€ćŒå†…åŒ…ć•ć‚Œć¦ć„ć‚‹ć€‚ For example, in the tool change command "M06", after the tool change, "G28Z0" (command to return the Z axis to the origin before the tool change) and the command to discharge the coolant before the tool change are valid. The coolant discharge command "M08" and the coolant stop command "M09" before tool replacement are included.

ć‚ˆć£ć¦ć€å·„å…·äŗ¤ę›å‰ć«ęŒ‡ä»¤ć•ć‚Œć‚‹ć€ŒG28Z0ć€ļ¼ˆG28ļ¼šćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ćøć®å¾©åø°ļ¼‰ć‚„ć€äøŠčØ˜ę”ä»¶ć‚’ęŗ€ćŸć™å “åˆć®ć€ŒM08怍态怌M09ć€ćÆå‰Šé™¤ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ Therefore, the "G28Z0" (G28: return to the reference point) commanded before the tool change and the "M08" and "M09" when the above conditions are satisfied can be deleted.


å›³ļ¼“ļ¼˜ćÆć€ęœ€é©åŒ–é …ē›®ļ¼–ć«é–¢ć—ć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆä¾‹ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚
ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼•ļ¼‘ć«ć¦ć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€ē‰¹å®šć®ęŒ‡ä»¤ć‚’å†…åŒ…ć™ć‚‹ęŒ‡ä»¤ć®ęœ‰ē„”ć‚’ć‚µćƒ¼ćƒć—ć¦ę¤œå‡ŗć™ć‚‹ć€‚
ē‰¹å®šć®ęŒ‡ä»¤ć‚’å†…åŒ…ć™ć‚‹ęŒ‡ä»¤ćŒē„”ć„ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼•ļ¼‘ļ¼šļ¼®ļ¼Æļ¼‰å “åˆć«ćÆć€ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ēµ‚äŗ†ć™ć‚‹ć€‚

FIG. 38 shows an example of a flowchart executed by the processor 60 with respect to the optimization item 6.
In step S51, the redundant command detection unit 80 searches for and detects the presence or absence of a command including a specific command.
If there is no command including a specific command (step S51: NO), the program is terminated.

ē‰¹å®šć®ęŒ‡ä»¤ć‚’å†…åŒ…ć™ć‚‹ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼•ļ¼‘ļ¼šļ¼¹ļ¼„ļ¼³ļ¼‰ęŒ‡ä»¤ć®ä¾‹ćØć—ć¦ć€å›³ļ¼“ļ¼”ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ļ¼”ć€ļ¼•ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ęŒ‡ä»¤ć€ŒG91G28G00Z0.0ļ¼›G49M06T01ļ¼›ć€ćŒę¤œå‡ŗć•ć‚Œć‚‹ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼•ļ¼‘ļ¼šļ¼¹ļ¼„ļ¼³ļ¼‰ćØć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼•ļ¼’ć«ć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć«ć‚ˆć‚Šć€ŒG28G00Z0.0ć€ęŒ‡ä»¤ćÆć€ć€ŒM06ć€ć«å†…åŒ…ć•ć‚Œć‚‹ćŸć‚ć«å‰Šé™¤ć•ć‚Œć‚‹ć€‚ As an example of a command including a specific command (step S51: YES), the command ā€œG91G28G00Z0.0; G49M06T01;ā€ in the 4th and 5th blocks of the application pre-machining program of FIG. 34 is detected (step S51: YES). Then, in step S52, the "G28G00Z0.0" command is deleted by the machining program optimization unit 82 because it is included in "M06".

ć‚ˆć£ć¦ć€å›³ļ¼“ļ¼”ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ļ¼”ć€ļ¼•ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ęŒ‡ä»¤ć€ŒG91G28G00Z0.0ļ¼›G49M06T01ļ¼›ć€ćÆć€å›³ļ¼“ļ¼–ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ļ¼”ćƒ–ćƒ­ćƒƒć‚Æē›®ć®ęŒ‡ä»¤ć€ŒG49M06T01ć€ć«å¤‰ę›“ļ¼ˆēµ±åˆļ¼‰ć§ćć‚‹ć€‚ Therefore, the command "G91G28G00Z0.0; G49M06T01;" in the 4th and 5th blocks of the pre-application machining program of FIG. 34 can be changed (integrated) to the command "G49M06T01" in the 4th block of the post-application machining program of FIG.

ć“ć®ć‚ˆć†ć«ć€ē‰¹å®šć®ęŒ‡ä»¤ļ¼ˆä¾‹ćˆć°ć€G28ļ¼šćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ćøć®å¾©åø°ļ¼‰ćŒć€ä»–ć®ęŒ‡ä»¤ļ¼ˆä¾‹ćˆć°ć€M06ļ¼šå·„å…·äŗ¤ę›ļ¼‰ć«å†…åŒ…ć•ć‚Œć‚‹ęŒ‡ä»¤ć§ć‚ć£ć¦ć€å‰čØ˜ä»–ć®ęŒ‡ä»¤ļ¼ˆM06ļ¼šå·„å…·äŗ¤ę›ļ¼‰ć®å‰ć«å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ļ¼ˆG28ļ¼šćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹å¾©åø°ļ¼‰ćŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«å­˜åœØć™ć‚‹ć“ćØćŒå†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šę¤œå‡ŗć•ć‚ŒćŸå “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćŒć€å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ļ¼ˆG28ļ¼šćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹ē‚¹ć®å¾©åø°ļ¼‰ć‚’å‰Šé™¤ć™ć‚‹ć“ćØć§ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ćŒå›³ć‚‰ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ć™ćŖć‚ć”ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ćŒå›³ć‚Œć‚‹ć€‚ In this way, a specific command (for example, G28: return to the reference point) is a command included in another command (for example, M06: tool change), and the other command (M06: tool change). When the redundant command detection unit 80 detects that the specific command (G28: reference point return) exists in the machining program before the above, the machining program optimization unit 82 determines the specific command (G28: reference point return). By deleting (returning points), the machining program can be optimized and the cycle time can be shortened. As a result, the speed of machining by the machine tool 16 can be increased. That is, the processing speed of the work 34 by the machine tool 16 can be increased.

ćŖćŠć€é …ē›®ļ¼–ć®ä»–ć®ä¾‹ćØć—ć¦ć€äø»č»øļ¼“ļ¼ć®ć‚ŖćƒŖć‚Øćƒ³ćƒ†ćƒ¼ć‚·ćƒ§ćƒ³ęŒ‡ä»¤ć€ŒM19ć€ćÆć€äø»č»øļ¼“ļ¼ć‚’ē‰¹å®šć®č§’åŗ¦ć§å›ŗå®šć™ć‚‹ęŒ‡ä»¤ć§ć‚ć‚‹ćŒć€ć“ć®äø»č»øļ¼“ļ¼ć®ć‚ŖćƒŖć‚Øćƒ³ćƒ†ćƒ¼ć‚·ćƒ§ćƒ³ęŒ‡ä»¤ć«ćÆć€äø»č»øļ¼“ļ¼ć®åœę­¢ęŒ‡ä»¤ć€ŒM05ć€ćŒå†…åŒ…ć•ć‚Œć¦ć„ć‚‹ć€‚äø»č»øļ¼“ļ¼ćŒå›žč»¢ć—ć¦ć„ć‚‹ęœ€äø­ć«ć€ć‚ŖćƒŖć‚Øćƒ³ćƒ†ćƒ¼ć‚·ćƒ§ćƒ³ęŒ‡ä»¤ć€ŒM19ć€ćŒęŒ‡ä»¤ć•ć‚Œć‚‹ćØć€äø»č»øļ¼“ļ¼ć®å›žč»¢ćŒåœę­¢ć—ć¦ć€ē‰¹å®šć®č§’åŗ¦ć«å›ŗå®šć•ć‚Œć‚‹ć€‚ As another example of item 6, the orientation command "M19" of the spindle 30 is a command to fix the spindle 30 at a specific angle, but the orientation command of the spindle 30 includes a stop command "M05" of the spindle 30. Is included. If the orientation command "M19" is commanded while the spindle 30 is rotating, the rotation of the spindle 30 is stopped and the spindle 30 is fixed at a specific angle.

ć‚ˆć£ć¦ć€ć‚ŖćƒŖć‚Øćƒ³ćƒ†ćƒ¼ć‚·ćƒ§ćƒ³ęŒ‡ä»¤ć€ŒM19ć€ć®ē›“å‰ć«ęŒ‡ä»¤ć•ć‚Œć‚‹åœę­¢ęŒ‡ä»¤ć€ŒM05ć€ć‚‚å‰Šé™¤ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ Therefore, the stop command "M05" issued immediately before the orientation command "M19" can also be deleted.

ć™ćŖć‚ć”ć€å®Ÿéš›ć®å‡¦ē†ćØć—ć¦ćÆć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼•ļ¼‘ć€ļ¼³ļ¼•ļ¼’ć§ē¤ŗć—ćŸć‚ˆć†ć«ć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒM06ć€ć‚„ć€ć‚ŖćƒŖć‚Øćƒ³ćƒ†ćƒ¼ć‚·ćƒ§ćƒ³ęŒ‡ä»¤ć€ŒM19ć€ć®ć‚ˆć†ćŖå†…åŒ…ć™ć‚‹ć‚³ćƒ¼ćƒ‰ļ¼ˆē‰¹å®šć®ęŒ‡ä»¤ć‚’å†…åŒ…ć™ć‚‹ęŒ‡ä»¤ļ¼‰ć‚’ć€é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć‹ć‚‰ć‚µćƒ¼ćƒć—ć¦ę¤œå‡ŗć—ć€ę¤œå‡ŗć—ćŸå†…åŒ…ć™ć‚‹ć‚³ćƒ¼ćƒ‰ļ¼ˆē‰¹å®šć®ęŒ‡ä»¤ć‚’å†…åŒ…ć™ć‚‹ęŒ‡ä»¤ļ¼‰ć®å‰å¾Œć«ć€åÆ¾č±”ćØćŖć‚‹å†…åŒ…ć•ć‚Œć‚‹ć‚³ćƒ¼ćƒ‰ļ¼ˆå†…åŒ…ć•ć‚Œć‚‹ęŒ‡ä»¤ļ¼‰ć‚’ęŽ¢ć—ć€č©²å†…åŒ…ć•ć‚Œć‚‹ć‚³ćƒ¼ćƒ‰ļ¼ˆå†…åŒ…ć•ć‚Œć‚‹ęŒ‡ä»¤ļ¼‰ćŒć‚ć‚Œć°å‰Šé™¤ć‚’č”Œć†ć€‚ That is, as an actual process, as shown in steps S51 and S52, before applying the included code (command containing a specific command) such as the tool change command "M06" or the orientation command "M19". The code to be included (command to be included) is searched for before and after the code to be included (command to include a specific command) that is searched and detected from the processing program, and the code to be included (command to be included) is searched for. If there is a command included), delete it.

ćŖćŠć€ä¾‹ćØć—ć¦ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ļ¼ˆå›³ļ¼“ļ¼”åŠć³å›³ļ¼“ļ¼•ļ¼‰ć«ćÆć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒM06ć€ćÆå­˜åœØć™ć‚‹ćŒć€ć‚ŖćƒŖć‚Øćƒ³ćƒ†ćƒ¼ć‚·ćƒ§ćƒ³ęŒ‡ä»¤ć€ŒM19ć€ćÆå«ć¾ć‚Œć¦ć„ćŖć„ć€‚ The applied pre-machining program (FIGS. 34 and 35) as an example includes the tool change command ā€œM06ā€ but does not include the orientation command ā€œM19ā€.

ļ¼§ļ¼Žé …ē›®ļ¼—ļ¼ˆęœ€é©ćŖęŒ‡ä»¤ć®éøęŠžļ¼‰ć®é©ē”Øå‹•ä½œć«ć¤ć„ć¦ć€å›³ļ¼“ļ¼™åŠć³å›³ļ¼”ļ¼ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰äø¦ć³ć«å›³ļ¼”ļ¼‘åŠć³å›³ļ¼”ļ¼’ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰ć‚’å‚ē…§ć—ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ G. Regarding the application operation of item 7 (selection of the optimum command), the description of the application pre-machining program (1/2 to 2/2) in FIGS. 39 and 40 and the description of the post-application machining program in FIGS. 41 and 42 (1). This will be described with reference to / 2 to 2/2).

å›³ļ¼‘ć«ä¾‹ē¤ŗć—ćŸå·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ćÆć€č©²å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ē”Øć®å°‚ē”Øć‚³ćƒ¼ćƒ‰ćŒē”Øę„ć•ć‚Œć¦ć„ć‚‹ć€‚ć“ć®å “åˆć€ę±Žē”Øć‚³ćƒ¼ćƒ‰ęŒ‡ä»¤ć‚’å°‚ē”Øć‚³ćƒ¼ćƒ‰ęŒ‡ä»¤ć«ē½®ćę›ćˆć‚‹ć“ćØć§ć€ćć®å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ęœ€é©åŒ–ć•ć‚ŒćŸęŒ‡ä»¤ćØćŖć‚Šć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ The machine tool 16 illustrated in FIG. 1 is provided with a dedicated code for the machine tool 16. In this case, by replacing the general-purpose code command with the dedicated code command, the command is optimized for the machine tool 16 and the cycle time can be shortened.

ä¾‹ćˆć°ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–å°‚ē”Øć«ć€ŒG100ć€ćØć„ć†Gć‚³ćƒ¼ćƒ‰ćŒē”Øę„ć•ć‚Œć¦ć„ć‚‹ćØć™ć‚‹ć€‚
怌G100ć€ćÆć€å·„å…·äŗ¤ę›ćØć€ļ¼øļ¼¹ļ¼ŗč»øć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒć€äø»č»øļ¼“ļ¼ć®å›žč»¢ęŒ‡ä»¤ć‚’äø€ę‹¬ć§ęŒ‡ä»¤ć§ćć€ē„”é§„ć®ćŖć„å·„å…·äŗ¤ę›å‹•ä½œć‚’ć™ć‚‹ćŸć‚ć«ä½œęˆć•ć‚ŒćŸęŒ‡ä»¤ć ćØć™ć‚‹ć€‚
For example, it is assumed that a G code "G100" is prepared exclusively for the machine tool 16.
It is assumed that "G100" is a command created for efficient tool change operation by being able to collectively command tool change, XYZ axis approach, and spindle 30 rotation command.

ćć“ć§ć€ä¾‹ćˆć°ć€ę±Žē”Øć‚³ćƒ¼ćƒ‰ć®å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒM06ć€ć‚’ć€č©²å·„å…·äŗ¤ę›ć‚’å«ćæć€č©²å·„å…·äŗ¤ę›ć®ę¬”ć«ć‚¢ćƒ—ćƒ­ćƒ¼ćƒåŠć³äø»č»øļ¼“ļ¼ć®å›žč»¢ęŒ‡ä»¤ć‚’äø€ę‹¬ć§ęŒ‡ä»¤ć§ćć‚‹å°‚ē”Øć‚³ćƒ¼ćƒ‰ęŒ‡ä»¤ć€ŒG100ć€ćøē½®ćę›ćˆć‚‹ć€‚ Therefore, for example, the tool change command "M06" of the general-purpose code is replaced with a dedicated code command "G100" that includes the tool change and can collectively command the approach and the rotation command of the spindle 30 after the tool change.

ē½®ćę›ćˆć‚‹éš›ć€ć€ŒM06ć€ā†’ć€ŒG100ć€ćØć„ć†å˜ē“”ćŖē½®ćę›ćˆć ć‘ć§ćÆćŖćć€ć€ŒG100ć€ćØåŒę™‚ć«ęŒ‡ä»¤ć™ć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒć®ä½ē½®ć‚„ć€č£œę­£ē•Ŗå·ć€äø»č»øļ¼“ļ¼ć®å›žč»¢ę•°ć€åŗ§ęØ™ē³»ć®ęŒ‡å®šē­‰ć€åæ…č¦ćŖęƒ…å ±ćÆć€é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć§å·„å…·äŗ¤ę›ć€ŒM06ć€ćŒęŒ‡ä»¤ć•ć‚ŒćŸå‘Øå›²ć®ć‚³ćƒ¼ćƒ‰ć‹ć‚‰čŖ­ćæå–ć‚‹ć€‚ When replacing, not only the simple replacement of "M06" → "G100", but also the necessary information such as the position of the approach commanded at the same time as "G100", the correction number, the rotation speed of the spindle 30, the specification of the coordinate system, etc. Read from the surrounding code instructed to change the tool "M06" in the pre-application machining program.

ć™ćŖć‚ć”ć€ē½®ćę›ćˆå‰ć®ę±Žē”Øć‚³ćƒ¼ćƒ‰ć€ŒM06T*怍悒态Tļ¼šå·„å…·ē•Ŗå·ć€Gļ¼šåŗ§ęØ™ē³»ć®ęŒ‡å®šć€X:X軸の座標、Y:Y軸の座標、Z:Z軸の座標、Hļ¼šå·„å…·é•·ć€Sļ¼šå›žč»¢ę•°ćŒļ¼‘ć¤ć®ćƒ–ćƒ­ćƒƒć‚Æć§ęŒ‡ä»¤åÆčƒ½ćŖå°‚ē”Øć‚³ćƒ¼ćƒ‰ć€ŒG100T*G*X*Y*Z*H*S*ć€ć«ē½®ćę›ćˆć‚‹ć“ćØćŒć§ćć‚‹ć€‚ That is, the general-purpose code "M06T *" before replacement is replaced with T: tool number, G: coordinate system specification, X: X-axis coordinates, Y: Y-axis coordinates, Z: Z-axis coordinates, H: tool length. , S: It can be replaced with a dedicated code "G100T * G * X * Y * Z * H * S *" that can be commanded by one block.

XYZč»øć®åŗ§ęØ™ćÆęœ€ēµ‚ēš„ćŖć‚¢ćƒ—ćƒ­ćƒ¼ćƒåœ°ē‚¹ć§ć‚ć‚‹ęŒ‡ä»¤G00ć§ęŒ‡ä»¤ć•ć‚Œć‚‹ęœ€å¾Œć®åŗ§ęØ™ć«čØ­å®šć™ć‚‹ć€‚ The coordinates of the XYZ axes are set to the last coordinates commanded by the command G00, which is the final approach point.

å®Ÿéš›ć«ć€å›³ļ¼“ļ¼™åŠć³å›³ļ¼”ļ¼ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ē½®ćę›ćˆåÆčƒ½ćŖē®‡ę‰€ļ¼ˆē½®ćę›ćˆå‰ć®ę±Žē”Øć‚³ćƒ¼ćƒ‰ć€ŒM06T*ć€ļ¼‰ćŒļ¼“ē®‡ę‰€ć‚µćƒ¼ćƒć•ć‚Œć‚‹ćŒć€ęœ€åˆć®ļ¼‘ē®‡ę‰€ļ¼ˆå›³ļ¼“ļ¼™ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®ļ¼•ćƒ–ćƒ­ćƒƒć‚Æē›®ļ½žļ¼‘ļ¼’ćƒ–ćƒ­ćƒƒć‚Æē›®ć¾ć§ļ¼‰ć‚’ä¾‹ćØć—ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ Actually, three replaceable parts (general-purpose code "M06T *" before replacement) are searched in the application pre-machining program of FIGS. 39 and 40, but the first one (in the machining program of FIG. 39) is searched. The 5th to 12th blocks) will be described as an example.

ē½®ćę›ćˆå‰ć«ć€
怌G49M06T01 (MILLING)ļ¼ˆē½®ćę›ćˆå…ƒć®ęŒ‡ä»¤M06)
M08
G90G54G00X0.0Y0.0(G100ęŒ‡ä»¤ć«åæ…č¦ćŖåŗ§ęØ™ē³»ć®ęŒ‡å®šļ¼‰
G43Z10.0H001(G100ęŒ‡ä»¤ć«åæ…č¦ćŖZč»øć®ä½ē½®ćØå·„å…·é•·č£œę­£ć®åŗ§ęØ™ļ¼‰
M03S12000(G100ęŒ‡ä»¤ć«åæ…č¦ćŖäø»č»øć®å›žč»¢ęŒ‡ä»¤ļ¼‰
X-26.1881Y4.2664(G100ęŒ‡ä»¤ć«åæ…č¦ćŖXYč»øć®ä½ē½®ļ¼‰
Z10. (G100ęŒ‡ä»¤ć«åæ…č¦ćŖZč»øć®ä½ē½®ļ¼‰
Z3. (G100ęŒ‡ä»¤ć«åæ…č¦ćŖZč»øć®ä½ē½®ļ¼‰
ć€ćØć‚ć‚‹ć®ć‚’ć€
å›³ļ¼”ļ¼‘ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ļ¼•ćƒ–ćƒ­ćƒƒć‚Æē›®ć®
怌G100T01G54 X-26.1881Y4.2664 Z3.0H001 S12000ļ¼ˆå°‚ē”Øć‚³ćƒ¼ćƒ‰ć€å·„å…·ē•Ŗå·ć€XYZč»øć®åŗ§ęØ™ć€å·„å…·é•·ć€å›žč»¢ę•°ļ¼‰ć€
ć«ē½®ćę›ćˆć‚‹ć“ćØćŒć§ćć‚‹ć€‚
Before replacement
"G49M06T01 (MILLING) (Replacement source directive M06)
M08
G90G54G00X0.0Y0.0 (Specify the coordinate system required for the G100 directive)
G43Z10.0H001 (Z-axis position and tool length correction coordinates required for G100 directive)
M03S12000 (Main shaft rotation command required for G100 command)
X-26.1881Y4.2664 (XY-axis position required for G100 directive)
Z10. (Z-axis position required for G100 directive)
Z3. (Z-axis position required for G100 directive)
"
"G100T01G54 X-26.1881Y4.2664 Z3.0H001 S12000 (dedicated code, tool number, XYZ axis coordinates, tool length, rotation speed)" in the 5th block of the post-application machining program shown in Fig. 41.
Can be replaced with.

ć“ć®ć‚ˆć†ć«ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«å°‚ē”ØęŒ‡ä»¤ļ¼ˆä¾‹ćˆć°ć€G100ļ¼‰ćŒē”Øę„ć•ć‚Œć¦ć„ćŸå “åˆć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ć€å‰čØ˜å°‚ē”ØęŒ‡ä»¤ć«ē½®ćę›ćˆć‚‹ć“ćØćŒåÆčƒ½ćŖļ¼ˆå‰čØ˜å°‚ē”ØęŒ‡ä»¤ć«åŒ…å«ć•ć‚Œć‚‹ļ¼‰ę±Žē”ØęŒ‡ä»¤ļ¼ˆć“ć®å “åˆć€M06ļ¼šå·„å…·äŗ¤ę›ęŒ‡ä»¤ć€X**态Y**态Z**ē­‰ć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć€M03ļ¼šäø»č»øļ¼“ļ¼ć®å›žč»¢ęŒ‡ä»¤ļ¼‰ćŒå†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šę¤œå‡ŗć•ć‚ŒćŸéš›ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć§ć€å‰čØ˜ę±Žē”ØęŒ‡ä»¤ć‚’å‰čØ˜å°‚ē”ØęŒ‡ä»¤ć«å¤‰ę›“ć™ć‚‹ć“ćØć§ć€ęŒ‡ä»¤ę•°ćŒå‰Šęø›ć•ć‚Œć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ćŒå›³ć‚‰ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ć™ćŖć‚ć”ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ćŒå›³ć‚Œć‚‹ć€‚ In this way, when a dedicated command (for example, G100) is prepared for the machine tool 16, a general-purpose command (included in the dedicated command) that can be replaced with the dedicated command in the input machining program. (In this case, M06: tool change command, approach position such as X **, Y **, Z **, M03: spindle rotation command) is detected by the redundant command detection unit 80, and the machining program is optimized. By changing the general-purpose command to the dedicated command in the unit 82, the number of commands can be reduced, the machining program can be optimized, and the cycle time can be shortened. As a result, the speed of machining by the machine tool 16 can be increased. That is, the processing speed of the work 34 by the machine tool 16 can be increased.

H.é …ē›®ļ¼˜ļ½›ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ćØåŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ćØć®é–“ć®č·é›¢ć®ēŸ­ēø®ļ¼ˆć‚¢ćƒ—ćƒ­ćƒ¼ćƒć®ä½ē½®å¤‰ę›“ļ¼‰ļ½é©ē”Øå‹•ä½œć«ć¤ć„ć¦ć€å›³ļ¼”ļ¼“åŠć³å›³ļ¼”ļ¼”ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰äø¦ć³ć«å›³ļ¼”ļ¼•åŠć³å›³ļ¼”ļ¼–ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰ć‚’å‚ē…§ć—ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ H. Item 8 {Reducing the distance between the position after the approach and the machining feed start position (changing the position of the approach)} Explanation of the pre-application machining program of FIGS. 43 and 44 (1/2 to 2) for the application operation. / 2) and the description of the post-application machining program of FIGS. 45 and 46 (1/2 to 2/2) will be described.

å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćÆć€ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć§å·„å…·ļ¼“ļ¼’ć‚’ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«čæ‘ć„ć‘ć¦ć€åŠ å·„é€ć‚Šé€Ÿåŗ¦ć€ŒF*ć€ć§ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć‚’åŠ å·„ć™ć‚‹ęµć‚Œć«ćŖć£ć¦ć„ć‚‹ć€‚å¾“ć£ć¦ć€ē§»å‹•é€Ÿåŗ¦ć®é€Ÿć„ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć§åÆčƒ½ćŖé™ć‚ŠćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«å·„å…·ļ¼“ļ¼’ć‚’čæ‘ć„ć‘ć‚‹ļ¼ˆć‚¢ćƒ—ćƒ­ćƒ¼ćƒć™ć‚‹ļ¼‰ć“ćØć§ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ The machining program of the machine tool 16 is such that the tool 32 is brought closer to the work 34 by the fast-forward command "G00" and the work 34 is machined by the machining feed speed "F *". Therefore, the cycle time can be shortened by bringing (approaching) the tool 32 as close as possible to the work 34 by the fast-forward command "G00" having a high moving speed.

ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ć‹ć‚‰ć€åŠ å·„ćøć®åˆ‡ć‚Šę›æć‚ć‚ŠćÆć€ę—©é€ć‚Šć®ęŒ‡ä»¤ć€ŒG00ć€ć‹ć‚‰ć€åŠ å·„é€ć‚ŠęŒ‡ä»¤ć€ŒG01态G02态G03ć‚„å›ŗå®šć‚µć‚¤ć‚Æćƒ«G81悄G84ē­‰ć€ć®ć‚ˆć†ć«åˆ‡ć‚Šę›æć‚ć‚‹ćØć“ć‚ć§ć‚ć‚‹ć€‚
ć“ć®åˆ‡ć‚Šę›æć‚ć‚Šć‚’åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć‹ć‚‰ęŽ¢ć—ć€ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć§ęŒ‡ä»¤ć•ć‚Œć¦ć„ć‚‹ć€å„č»øć®ē§»å‹•ęŒ‡ä»¤ć«ć‚ˆć‚‹ä½ē½®ć‚’ć€åÆčƒ½ćŖé™ć‚ŠćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«čæ‘ć„ć‘ć‚‹ć€‚
The switch from the position after the approach to machining is about to switch from the fast-forward command "G00" to the machining feed command "G01, G02, G03, fixed cycle G81, G84, etc."
This change is searched for in the machining program, and the position according to the movement command of each axis, which is commanded by the fast-forward command "G00", is made as close as possible to the work 34.

ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«čæ‘ć„ć‘ć‚‹åŗ§ęØ™ć‚„ę•°å€¤ć®å…„åŠ›ć«é–¢ć—ć¦ćÆć€ä»„äø‹ć®ć‚ˆć†ć«č”Œć†ć€‚
ä¾‹ćØć—ć¦ć€ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ćØåŠ å·„é–‹å§‹ä½ē½®ćØć®é–“ć®č·é›¢ć‚’å ±ēŸ„å›žč·Æļ¼–ļ¼˜ć®č”Øē¤ŗč£…ē½®ć«č”Øē¤ŗć—ć¦ć€ćƒ¦ćƒ¼ć‚¶ć«ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ć®åŗ§ęØ™å€¤ć®å¤‰ę›“ć‚’äæƒć—ć€ćƒ¦ćƒ¼ć‚¶ć«å¤‰ę›“ć—ć¦ć‚‚ć‚‰ć†ć€‚
Input of coordinates and numerical values close to the work 34 is performed as follows.
As an example, the distance between the position after the approach and the machining start position is displayed on the display device of the notification circuit 68, the user is urged to change the coordinate value of the position after the approach in the machining program, and the user is changed. do that for me.

å›³ļ¼”ļ¼—ćÆć€ęœ€é©åŒ–é …ē›®ļ¼˜ć«é–¢ć—ć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆä¾‹ć‚’ē¤ŗć—ć¦ć„ć‚‹ć€‚
ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼–ļ¼‘ć«ć¦ć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‹ć‚‰ć‚¢ćƒ—ćƒ­ćƒ¼ćƒć‚’č”Œć£ć¦ć„ć‚‹ē®‡ę‰€ļ¼ˆå “ę‰€ļ¼‰ćŒć‚ć‚‹ć‹å¦ć‹ć‚’ć‚µćƒ¼ćƒć—ć¦ę¤œå‡ŗć™ć‚‹ć€‚ä¾‹ćˆć°ć€ć€ŒG00怍恋悉怌G03怍态怌G81ć€åˆćÆć€ŒG84ć€ē­‰ć®ē®‡ę‰€ćŒč©²å½“ć™ć‚‹ć€‚
FIG. 47 shows an example of a flowchart executed by the processor 60 with respect to the optimization item 8.
In step S61, the redundancy command detection unit 80 searches for and detects whether or not there is a location (location) where the approach is being performed from the machining program. For example, "G00" to "G03", "G81", "G84", and the like are applicable.

å›³ļ¼”ļ¼“ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć€ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć‹ć‚‰åŠ å·„é€ć‚ŠęŒ‡ä»¤ć€ŒG03ć€ć«åˆ‡ć‚Šę›æć‚ć‚‹ć‚·ćƒ¼ć‚±ćƒ³ć‚¹ćØć—ć¦ć€ä¾‹ćˆć°ć€ę¬”ć«ē¤ŗć™ļ¼—ćƒ–ćƒ­ćƒƒć‚Æē›®ļ½žļ¼‘ļ¼”ćƒ–ćƒ­ćƒƒć‚Æē›®ćŒć‚µćƒ¼ćƒć—ć¦ę¤œå‡ŗć•ć‚Œć‚‹ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼–ļ¼‘ļ¼šļ¼¹ļ¼„ļ¼³ļ¼‰ć€‚
怌G90G54G00X0.0Y0.0ļ¼ˆę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ļ¼‰
G43Z10.0H001ļ¼ˆå·„å…·å¾„č£œę­£ęŒ‡ä»¤ć€ŒG43ć€ć§ć®Zč»øć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ćŒć€ŒZ10.0ć€ć«ęŒ‡ä»¤ć•ć‚Œć¦ć„ć‚‹ć€‚ļ¼‰
M03S12000
X-26.1881Y4.2664(XYč»øć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ćøć®ē§»å‹•ļ¼‰
Z10.(Zč»øć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ćøć®ē§»å‹•ļ¼‰
Z3.ļ¼ˆć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®Zč»øć®ęœ€ć‚‚ä½Žć„ä½ē½®ć€ć“ć“ć¾ć§ćŒć€ŒG00ć€ć®ę—©é€ć‚Šć§ć®ē§»å‹•ęŒ‡ä»¤ļ¼‰
M08
G03X-35.1739Y12.7612Z2.2856R9.F6000ļ¼ˆåˆ‡å‰Šć«å¤‰ć‚ć£ćŸē‚¹ļ¼‰ć€
In the machining program of FIG. 43, for example, the 7th to 14th blocks shown below are searched and detected as a sequence for switching from the fast-forward command "G00" to the machining feed command "G03" (step S61: YES).
"G90G54G00X0.0Y0.0 (Fast forward command" G00 ")
G43Z10.0H001 (The approach position of the Z axis in the tool diameter correction command "G43" is commanded to "Z10.0".)
M03S12000
X-26.1881Y4.2664 (Movement of XY axis to approach position)
Z10. (Move to approach position of Z axis)
Z3. (Lowest position of Z axis after approach, up to here is "G00" fast forward movement command)
M08
G03X-35.1739Y12.7612Z2.2856R9.F6000 (changed to cutting) "

ć“ć®å “åˆć€åŠ å·„é€ć‚Šé€Ÿåŗ¦ć§ć®å††å¼§č£œé–“ć€ŒG03ć€ć§ć®åŠ å·„é–‹å§‹ē‚¹ć§Zč»øć®åŗ§ęØ™ćŒć€ŒZ2.2856ć€ć§ć‚ć‚‹ć®ć§ć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼–ļ¼’ć«ć¦ć€ć€ŒZ3.ć€ć«åÆ¾ć—ć¦ć€å¤‰ę›“ä½™åœ°ćŒć‚ć‚‹ć“ćØć‚’ćƒ¦ćƒ¼ć‚¶ć«å ±ēŸ„å›žč·Æļ¼–ļ¼˜ć®č”Øē¤ŗč£…ē½®ē­‰ć‚’é€šć˜ć¦ęē¤ŗć—ć€é€šäæ”ē·šļ¼–ļ¼’ć«ęŽ„ē¶šć•ć‚Œć‚‹č”Øē¤ŗč£…ē½®ä»˜ćę©Ÿę¢°ę“ä½œē›¤ļ¼ˆäøå›³ē¤ŗļ¼‰ć®ćƒ‡ćƒ¼ć‚æå…„åŠ›č£…ē½®ē­‰ć«ć‚ˆć‚‹ä½ē½®å¤‰ę›“ć®ćƒ‡ćƒ¼ć‚æå…„åŠ›ć‚’äæƒć™ć€‚ In this case, since the Z-axis coordinate is "Z2.2856" at the machining start point in the arc interpolation "G03" at the machining feed rate, there is room for change with respect to "Z3." In step S62. This is presented to the user through the display device of the notification circuit 68 or the like, and the data input of the position change by the data input device or the like of the machine operation panel with the display device (not shown) connected to the communication line 62 is urged.

ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼–ļ¼“ć«ć¦ć€ćƒ¦ćƒ¼ć‚¶ćŒZč»øć®åŠ å·„é–‹å§‹ē‚¹ć®åŗ§ęØ™ć‚’ä¾‹ćˆć°ć€ŒZ2.5ć€ć«ęŒ‡å®šć™ć‚‹ćØć€ä½ē½®å¤‰ę›“ćŒć‚ć‚ŠćØåˆ¤ę–­ć•ć‚Œć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼–ļ¼”ć«ć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®ę—©é€ć‚ŠęŒ‡ä»¤ć€ŒG00ć€ć§ć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ć‚’ć€ŒZ3.怍恋悉怌Z2.5ć€ć«äæ®ę­£ć™ć‚‹ć“ćØć§ć€å·„å…·ļ¼“ļ¼’ć®é«˜é€Ÿē§»å‹•ć«ć‚ˆć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ļ¼ˆåŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ļ¼‰ć‚’ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«čæ‘ć„ć‘ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ In step S63, when the user specifies the coordinates of the machining start point of the Z axis to, for example, "Z2.5", it is determined that there is a position change, and in step S64, the fast-forward command "G00" in the machining program is used. By modifying the position after the approach from "Z3." To "Z2.5", the position after the approach (machining feed start position) due to the high-speed movement of the tool 32 can be brought closer to the work 34.

ćŖćŠć€ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼–ļ¼‘ć«ć¦ć€ć‚¢ćƒ—ćƒ­ćƒ¼ćƒć‚’č”Œć£ć¦ć„ć‚‹ē®‡ę‰€ćŒćŖć„å “åˆć€åˆćÆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼–ļ¼“ć«ć¦ć€äŗˆć‚čØ­å®šćŒåÆčƒ½ćŖé–¾å€¤ę™‚é–“ä»„å†…ć«ćƒ¦ćƒ¼ć‚¶ć«ć‚ˆć‚‹ä½ē½®å¤‰ę›“ę“ä½œćŒćŖć„å “åˆć«ćÆć€é …ē›®ļ¼˜ć«äæ‚ć‚ć‚‹ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®å®Ÿč”Œć‚’ēµ‚äŗ†ć™ć‚‹ć€‚ If there is no place to approach in step S61, or if there is no position change operation by the user within the threshold time that can be set in advance in step S63, the program related to item 8 is executed. To finish.

ć“ć®ć‚ˆć†ć«ć€ćƒ¦ćƒ¼ć‚¶ć«ć€åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ļ¼ˆć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ļ¼‰ćØåŠ å·„é–‹å§‹ä½ē½®ćØć®é–“ć®č·é›¢ć‚’ć€å ±ēŸ„å›žč·Æļ¼–ļ¼˜ć‚’é€šć˜ć¦å ±ēŸ„ć—ć€ćƒ¦ćƒ¼ć‚¶ćŒåŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ć‚’åŠ å·„é–‹å§‹ä½ē½®ć«ć•ć‚‰ć«čæ‘ć„ć‘ć‚‹ę“ä½œļ¼ˆč·é›¢ć‚’ēŸ­ćć™ć‚‹ę“ä½œļ¼‰ć‚’č”Œć†ć“ćØć§ć€éŽå‰°ćŖä½™č£•ćŒēø®å°ć•ć‚Œć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ćŒå›³ć‚‰ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ć™ćŖć‚ć”ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ćŒå›³ć‚Œć‚‹ć€‚ In this way, the user is notified of the distance between the machining feed start position (approach position) and the machining start position through the notification circuit 68, and the user operates to bring the machining feed start position closer to the machining start position (distance). By performing the operation (shortening operation), the excessive margin can be reduced, the machining program can be optimized, and the cycle time can be shortened. As a result, the speed of machining by the machine tool 16 can be increased. That is, the processing speed of the work 34 by the machine tool 16 can be increased.

é …ē›®ļ¼˜ć®ä»–ć®ä¾‹ćØć—ć¦ć€äø»č»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼‘ć®ćƒˆćƒ«ć‚Æå€¤ć®å¤‰åŒ–ć‹ć‚‰ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ćØęŽ„č§¦ć™ć‚‹ē‚¹ć‚’ęŽØå®šć—ć€č©²ęŽ„č§¦ē‚¹ć®ę‰‹å‰ć‹ć‚‰ć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć‹ć‚‰é›¢ć‚ŒćŸäŗˆć‚å®šć‚ćŸč·é›¢ć®ä½ē½®ć«ć‚¢ćƒ—ćƒ­ćƒ¼ćƒć™ć‚‹ć“ćØć€ć‚‚ć—ććÆćƒ¦ćƒ¼ć‚¶ćŒå…„åŠ›ć—ćŸč·é›¢åˆ†ć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć‹ć‚‰é›¢ć‚ŒćŸć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć«å¤‰ę›“ć™ć‚‹ć“ćØć‚‚ć§ćć‚‹ć€‚ As another example of item 8, a point of contact with the work 34 is estimated from a change in the torque value of the spindle motor 51, and a predetermined distance away from the work 34 is approached from the front of the contact point. Alternatively, the approach position can be changed to a distance away from the work 34 by the distance input by the user.

ćŖćŠć€äø»č»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼‘ć®ćƒˆćƒ«ć‚Æå€¤ć®å¤‰åŒ–ćÆć€ä¾‹ćˆć°ć€äø»č»øćƒ¢ćƒ¼ć‚æļ¼•ļ¼‘ć®é§†å‹•é›»ęµć‚’ę¤œå‡ŗć—ć€ę¤œå‡ŗć—ć¦ć„ć‚‹é§†å‹•é›»ęµć®ę™‚é–“å¤‰åŒ–ć‹ć‚‰ę¤œå‡ŗć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ The change in the torque value of the spindle motor 51 can be detected, for example, by detecting the drive current of the spindle motor 51 and from the time change of the detected drive current.

ļ¼©ļ¼Žé …ē›®ļ¼™ļ¼ˆå›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®čØ­å®šć®å¤‰ę›“ļ¼‰é©ē”Øå‹•ä½œć«ć¤ć„ć¦ć€å›³ļ¼”ļ¼˜åŠć³å›³ļ¼”ļ¼™ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰äø¦ć³ć«å›³ļ¼•ļ¼åŠć³å›³ļ¼•ļ¼‘ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®čŖ¬ę˜Žļ¼ˆļ¼‘ļ¼ļ¼’ļ½žļ¼’ļ¼ļ¼’ļ¼‰ć‚’å‚ē…§ć—ć¦čŖ¬ę˜Žć™ć‚‹ć€‚ I. Item 9 (Change of fixed cycle setting) Regarding the application operation, the description of the application pre-machining program (1/2 to 2/2) in FIGS. 48 and 49 and the description of the post-application machining program in FIGS. 50 and 51 (1). This will be described with reference to / 2 to 2/2).

å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®å›ŗå®šć‚µć‚¤ć‚Æćƒ«ćÆć€ä½æē”Øé »åŗ¦ć®é«˜ć„åŠ å·„å‹•ä½œļ¼ˆćƒ‰ćƒŖćƒ«ć‚„ć‚æćƒƒćƒ—ē­‰ļ¼‰ć‚’ć€č¤‡ę•°ćƒ–ćƒ­ćƒƒć‚Æć§ęŒ‡ä»¤ć™ć‚‹ć“ćØćŖćć€ļ¼‘ćƒ–ćƒ­ćƒƒć‚Æć§ęŒ‡ä»¤ć™ć‚‹ć“ćØćŒć§ćć‚‹ć‚³ćƒ¼ćƒ‰ć§ć‚ć‚‹ć€‚ä¾‹ćˆć°ć€ćƒ‰ćƒŖćƒ«ć‚µć‚¤ć‚Æćƒ«ęŒ‡ä»¤ć€ŒG81ć€ć€ć‚æćƒƒćƒ”ćƒ³ć‚°ć‚µć‚¤ć‚Æćƒ«ęŒ‡ä»¤ć€ŒG84ļ¼ˆć‚æćƒƒćƒ—ļ¼‰ć€ē­‰ćŒć‚ć‚‹ć€‚ The fixed cycle of the machine tool 16 is a code that can command frequently used machining operations (drills, taps, etc.) in one block without commanding them in a plurality of blocks. For example, there are a drill cycle command "G81", a tapping cycle command "G84 (tap)", and the like.

ä¾‹ćˆć°ć€å›³ļ¼•ļ¼’ćÆć€ä¾‹ćØć—ć¦ć®å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ęŒ‡ä»¤ć€ŒG81(G98ļ¼‰ć€ć€ć€ŒG81(G99ļ¼‰ć€ć®čŖ¬ę˜Žć§ć‚ć‚‹ć€‚ For example, FIG. 52 illustrates the fixed cycle directives ā€œG81 (G98)ā€ and ā€œG81 (G99)ā€ as examples.

ć“ć®å “åˆć€ęŒ‡ä»¤ć®å†…å®¹ćÆć€ć€ŒG81X_Y_Z_R_F_Kļ¼æļ¼›ć€ļ¼ˆX_Yļ¼æļ¼šē©“ä½ē½®ćƒ‡ćƒ¼ć‚æć€Zļ¼æļ¼šļ¼²ē‚¹ć‹ć‚‰ē©“åŗ•ć¾ć§ć®č·é›¢ć€Rļ¼æļ¼šć‚¤ćƒ‹ć‚·ćƒ£ćƒ«ćƒ¬ćƒ™ćƒ«ć‹ć‚‰ļ¼²ē‚¹ć¾ć§ć®č·é›¢ć€Fļ¼æļ¼šåˆ‡å‰Šé€ć‚Šé€Ÿåŗ¦ć€Kļ¼æļ¼šē¹°čæ”ć—å›žę•°ļ¼ˆē¹°čæ”ć™åæ…č¦ć®ć‚ć‚‹å “åˆć®ćæļ¼‰ļ¼‰ć§ć‚ć‚‹ć€‚ In this case, the content of the command is "G81X_Y_Z_R_F_K_;" (X_Y_: hole position data, Z_: distance from R point to hole bottom, R_: distance from initial level to R point, F_: cutting feed rate, K_: repetition. The number of times (only if it needs to be repeated).

ęŒ‡ä»¤ć€ŒG81(G98ļ¼‰ć€ļ¼ˆG81ļ¼šćƒ‰ćƒŖćƒ«ć‚µć‚¤ć‚Æćƒ«ć€G98ļ¼šć‚¤ćƒ‹ć‚·ćƒ£ćƒ«ćƒ¬ćƒ™ćƒ«ćøć®å¾©åø°ļ¼‰ć®ćØćć€å›ŗå®šć‚µć‚¤ć‚Æćƒ«ćŒé–‹å§‹ć•ć‚Œć‚‹ćØć€å·„å…·ļ¼“ļ¼’ćÆć€ļ¼²ē‚¹ć¾ć§ę—©é€ć‚Šć§ē§»å‹•ć™ć‚‹ć€‚ćć—ć¦ć€å·„å…·ļ¼“ļ¼’ćÆć€ļ¼²ē‚¹ć‹ć‚‰åˆ‡å‰Šé€ć‚Šé€Ÿåŗ¦ļ¼¦ć§ć®ļ¼ŗē‚¹ć¾ć§ć®å·„å…·ļ¼“ļ¼’ć«ć‚ˆć‚‹ē©“åŠ å·„ēµ‚äŗ†å¾Œć«ć€ļ¼ŗē‚¹ć‹ć‚‰ć‚¤ćƒ‹ć‚·ćƒ£ćƒ«ćƒ¬ćƒ™ćƒ«ć¾ć§ę—©é€ć‚Šć§ęˆ»ć‚‹ć€‚ At the time of the command "G81 (G98)" (G81: drill cycle, G98: return to the initial level), when the fixing cycle is started, the tool 32 moves fast forward to the R point. Then, the tool 32 quickly returns from the Z point to the initial level after the hole drilling by the tool 32 from the R point to the Z point at the cutting feed rate F is completed.

ęŒ‡ä»¤ć€ŒG8ļ¼‘ļ¼ˆG99ļ¼‰ć€ļ¼ˆG8ļ¼‘ļ¼šćƒ‰ćƒŖćƒ«ć‚µć‚¤ć‚Æćƒ«ć€G99:Rē‚¹ćƒ¬ćƒ™ćƒ«å¾©åø°ļ¼‰ć®ćØćć€å›ŗå®šć‚µć‚¤ć‚Æćƒ«ćŒé–‹å§‹ć•ć‚Œć‚‹ćØć€å·„å…·ļ¼“ļ¼’ćÆć€ļ¼²ē‚¹ć¾ć§ę—©é€ć‚Šć§ē§»å‹•ć™ć‚‹ć€‚ćć—ć¦ć€å·„å…·ļ¼“ļ¼’ćÆć€åˆ‡å‰Šé€ć‚Šé€Ÿåŗ¦ļ¼¦ć§ć®ļ¼ŗē‚¹ć¾ć§ć®ē©“åŠ å·„ēµ‚äŗ†å¾ŒćÆć€ļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«ć¾ć§ę—©é€ć‚Šć§ęˆ»ć‚‹ć€‚ When the fixed cycle is started at the time of the command "G81 (G99)" (G81: drill cycle, G99: R point level return), the tool 32 moves fast forward to the R point. Then, the tool 32 quickly returns to the R point level after the hole drilling up to the Z point at the cutting feed speed F is completed.

ćć“ć§ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć‹ć‚‰ć€å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ęŒ‡ä»¤ļ¼ˆć€ŒG81(G98ļ¼‰ć€ć‚„ć€ŒG8ļ¼‘ļ¼ˆG99ļ¼‰ć€ļ¼‰ć‚’ęŽ¢ć—ć¦ć€å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ļ¼²ē‚¹ļ¼ˆć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ļ¼‰ć‚’ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«čæ‘ć„ć‘ć‚‹ć“ćØć‚„ć€å¾©åø°ä½ē½®ć‚’ć‚¤ćƒ‹ć‚·ćƒ£ćƒ«ćƒ¬ćƒ™ćƒ«ć‹ć‚‰ļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«ć«å¤‰ę›“ć™ć‚‹ć“ćØć«ć‚ˆć‚Šć€ē§»å‹•č·é›¢ćŒēŸ­ććŖć‚Šć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ć™ćŖć‚ć”ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ćŒå›³ć‚Œć‚‹ć€‚ Therefore, search for the fixed cycle command ("G81 (G98)" or "G81 (G99)") from the machining program, move the R point (approach position) of the fixed cycle closer to the work 34, or set the return position. By changing from the initial level to the R point level, the travel distance can be shortened and the cycle time can be shortened. As a result, the speed of machining by the machine tool 16 can be increased. That is, the processing speed of the work 34 by the machine tool 16 can be increased.

å…·ä½“ēš„ć«ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€å›³ļ¼”ļ¼™ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć§ćÆć€
ć€Œā€¦
G99G81X111.Y110.Z-28.9914R-12.F2400
…
G99G84X111.Y110.Z-25.R-12.F833
ā€¦ć€ćØć‚ć‚‹ć®ć‚’ć€å›³ļ¼•ļ¼‘ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć§ćÆć€
ć€Œā€¦
G99G81X111.Y110.Z-28.9914R-14.F2400(R-12悒R-14に変曓)
…
G99G84X111.Y110.Z-25.R-14.F833(R-12悒R-14に変曓)
ā€¦ć€ć«å¤‰ę›“ć—ć¦ć„ć‚‹ć€‚
Specifically, the machining program optimization unit 82 is described in the pre-application machining program of FIG. 49.
"...
G99G81X111.Y110.Z-28.9914R-12.F2400
…
G99G84X111.Y110.Z-25.R-12.F833
"..." is stated in the post-application machining program of FIG. 51.
"...
G99G81X111.Y110.Z-28.9914R-14.F2400 (R-12 changed to R-14)
…
G99G84X111.Y110.Z-25.R-14.F833 (R-12 changed to R-14)
It has been changed to "...".

ćŖćŠć€ć“ć®é …ē›®ļ¼™ć«é–¢ć—ć¦ć‚‚ć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«čæ‘ć„ć‘ć‚‹åŗ§ęØ™ć‚„ę•°å€¤ć®å…„åŠ›ćÆć€é …ē›®ļ¼˜ć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć®å¤‰ę›“ćØåŒę§˜ć«ć€ćƒ¦ćƒ¼ć‚¶ć«å ±ēŸ„å›žč·Æļ¼–ļ¼˜ć®č”Øē¤ŗč£…ē½®ē­‰ć‚’é€šć˜ć¦ęē¤ŗć—ć€é€šäæ”ē·šļ¼–ļ¼’ć«ęŽ„ē¶šć•ć‚Œć‚‹č”Øē¤ŗč£…ē½®ä»˜ćę©Ÿę¢°ę“ä½œē›¤ļ¼ˆäøå›³ē¤ŗļ¼‰ć®ćƒ‡ćƒ¼ć‚æå…„åŠ›č£…ē½®ē­‰ć«ć‚ˆć‚‹ćƒ‡ćƒ¼ć‚æå…„åŠ›ć‚’äæƒć™ć€‚ As for this item 9, the input of coordinates and numerical values close to the work 34 is presented to the user through the display device of the notification circuit 68 and is connected to the communication line 62, as in the case of changing the approach position of the item 8. Encourage data input using a data input device or the like on a machine operation panel with a display device (not shown).

å›³ļ¼•ļ¼“åŠć³å›³ļ¼•ļ¼”ćÆć€é …ē›®ļ¼‘ļ½žļ¼™ć®ęœ€é©åŒ–ć®é©ē”Øå‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åÆ¾ć—ć¦å¤‰ę›“ē‚¹ć‚’ćƒžćƒ¼ć‚Æļ¼ˆé …ē›®ē•Ŗå·ć‚’ęŒæå…„ļ¼‰ć—ćŸčŖ¬ę˜Žå›³ć§ć‚ć‚‹ć€‚äøŠčØ˜ć—ćŸć‚ˆć†ć«ć€å›³äø­ć€äøøć§å›²ć£ćŸę•°å­—ćÆć€é …ē›®ļ¼‘ļ½žļ¼™ć®é …ē›®ē•Ŗå·ć«åÆ¾åæœć™ć‚‹ć€‚ 53 and 54 are explanatory views in which changes are marked (item numbers are inserted) with respect to the application pre-machining program of the optimization of items 1 to 9. As described above, the numbers circled in the figure correspond to the item numbers of items 1 to 9.

å›³ļ¼•ļ¼•åŠć³å›³ļ¼•ļ¼–ćÆć€ęœ€é©åŒ–é …ē›®ļ¼‘ļ½žļ¼™ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åÆ¾ć—ć¦é …ē›®ē•Ŗå·ć‚’ęŒæå…„ć—ćŸčŖ¬ę˜Žå›³ć§ć‚ć‚‹ć€‚ 55 and 56 are explanatory views in which item numbers are inserted for the post-application machining programs of optimization items 1 to 9.

å›³ļ¼•ļ¼—åŠć³å›³ļ¼•ļ¼˜ćÆć€é …ē›®ļ¼—ć‚’é™¤ćé …ē›®ļ¼‘ļ½žļ¼–åŠć³é …ē›®ļ¼˜ć€ļ¼™ć®ęœ€é©åŒ–ć®é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åÆ¾ć—ć¦é …ē›®ē•Ŗå·ć‚’ęŒæå…„ć—ćŸčŖ¬ę˜Žå›³ć§ć‚ć‚‹ć€‚ćŖćŠć€é …ē›®ļ¼“ć®å·„å…·äŗ¤ę›ęŒ‡ä»¤ć€ŒM06ć€ćÆć€é …ē›®ļ¼—ć®å°‚ē”ØęŒ‡ä»¤ć€ŒG100ć€ć«å«ć¾ć‚Œć‚‹ć®ć§ć€å°‚ē”ØęŒ‡ä»¤ć€ŒG100ć€ćŒć‚ć‚‹å “åˆć«ćÆć€ć“ć®å°‚ē”ØęŒ‡ä»¤ć€ŒG100ć€ć‚’å„Ŗå…ˆēš„ć«é©ē”Øć—ć¦ćƒ–ćƒ­ćƒƒć‚Æę•°ć‚’å‰Šęø›ć™ć‚‹ć‚ˆć†ć«ć™ć‚Œć°ć‚ˆć„ć€‚ 57 and 58 are explanatory views in which item numbers are inserted into the post-application machining programs of items 1 to 6 and items 8 and 9 excluding item 7. Since the tool change command "M06" of item 3 is included in the dedicated command "G100" of item 7, if there is a dedicated command "G100", this dedicated command "G100" is preferentially applied. The number of blocks should be reduced.

å›³ļ¼•ļ¼™ćÆć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ć«ć‚ˆć‚Šå®Ÿč”Œć•ć‚Œć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć®čŖ¬ę˜Žć«ä¾›ć•ć‚Œć‚‹ćƒ•ćƒ­ćƒ¼ćƒćƒ£ćƒ¼ćƒˆć§ć‚ć‚‹ć€‚
ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼—ļ¼‘ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›ć‚¹ćƒ†ćƒƒćƒ—ć«ć¦ć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®ļ¼‘ļ¼’ć‹ć‚‰ć€ęœ€é©åŒ–ć—ć‚ˆć†ćØć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›éƒØļ¼—ļ¼˜ć«ć‚ˆć‚Šå…„åŠ›ć—ć€ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«čØ˜ę†¶ć™ć‚‹ć€‚
FIG. 59 is a flowchart provided for explaining a machining program optimization method executed by the processor 60.
In the machining program input step of step S71, the processor 60 inputs the machining program to be optimized from the machining program creation device 12 by the machining program input unit 78 and stores it in the memory 66.

ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼—ļ¼’ć®å†—é•·ęŒ‡ä»¤ę¤œå‡ŗć‚¹ćƒ†ćƒƒćƒ—ć«ć¦ć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ćÆć€å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć¦ć„ć‚‹äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’å‚ē…§ć—ć€å…„åŠ›ć•ć‚Œćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«čØ˜ę†¶ć•ć‚Œć¦ć„ć‚‹ęœ€é©åŒ–å‰åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‹ć‚‰å†—é•·ęŒ‡ä»¤ć‚’ć‚µćƒ¼ćƒć—ć¦ę¤œå‡ŗć™ć‚‹ć€‚ In the redundant command detection step of step S72, the processor 60 refers to the predetermined redundant command stored in the redundant command storage unit 74, and inputs the redundant command from the optimized preprocessing program stored in the memory 66. Search and detect.

ć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼—ļ¼“ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ć‚¹ćƒ†ćƒƒćƒ—ć§ćÆć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć«ć‚ˆć‚Šć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗć‚¹ćƒ†ćƒƒćƒ—ć«ć¦ę¤œå‡ŗć•ć‚ŒćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć—ć€ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ä½œęˆć—ć€ćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć«é©ē”Øå¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćØć—ć¦čØ˜ę†¶ć™ć‚‹ć€‚ In the machining program optimization step of step S73, the processor 60 is optimized by deleting or reducing the redundancy command detected in the redundancy command detection step by the machining program optimization unit 82 to modify the machining program. A machining program is created and stored in the memory 66 as a post-machining program.

ćŖćŠć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ć‚¹ćƒ†ćƒƒćƒ—ļ¼ˆļ¼³ļ¼—ļ¼“ļ¼‰ć§ćÆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€åæ…č¦ć«åæœć˜ć¦ć€å ±ēŸ„éƒØļ¼˜ļ¼”ć‚’é€šć˜ć¦ćƒ¦ćƒ¼ć‚¶ć«å†—é•·ć®å‰Šęø›ć‚’ęē¤ŗć—ć€ćƒ¦ćƒ¼ć‚¶ć«ć‚ˆć‚‹å†—é•·ć®å‰Šęø›å…„åŠ›ć‚’äæƒć™ć€‚ In the machining program optimization step (S73), the machining program optimization unit 82 presents the user with the reduction of redundancy through the notification unit 84, if necessary, and prompts the user to input the reduction of redundancy.

åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›ć‚¹ćƒ†ćƒƒćƒ—ļ¼ˆļ¼³ļ¼—ļ¼”ļ¼‰ć«ć¦ć€ęœ€é©åŒ–å¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćŒć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ć«ć‚ˆć‚Šćƒ”ćƒ¢ćƒŖļ¼–ļ¼–ć‹ć‚‰čŖ­ćæå‡ŗć•ć‚Œć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›éƒØļ¼˜ļ¼–ć‚’é€šć˜ć¦ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼ć‹ć‚‰å‡ŗåŠ›ć•ć‚Œć¦å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«é€å‡ŗć•ć‚Œć‚‹ć“ćØć§ć€ļ¼£ļ¼®ļ¼£č£…ē½®ļ¼’ļ¼ć«ć‚ˆć‚Šå·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ćŒé§†å‹•åˆ¶å¾”ć•ć‚Œć‚‹ć€‚ In the machining program output step (S74), the optimized post-machining program is read from the memory 66 by the processor 60, output from the CNC device 20 through the machining program output unit 86, and sent to the machine tool 16. The machine tool 16 is driven and controlled by the CNC device 20.

ć“ć®ć‚ˆć†ć«ć—ć¦ć€ęœ€é©åŒ–å¾ŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åŸŗć„ćå·„å…·ļ¼“ļ¼’ć‚’é€šć˜ć¦ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ćŒåŠ å·„ć•ć‚Œć‚‹ć“ćØć§ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ In this way, the work 34 is machined through the tool 32 based on the optimized post-machining program, so that the cycle time of the machine tool 16 can be shortened. As a result, the processing speed of the work 34 by the machine tool 16 can be increased.

ļ¼»é …ē›®ļ¼˜ć®ć‚ˆć‚Šē°”ę˜“ēš„ćŖčŖ¬ę˜Žļ¼½
å›³ļ¼–ļ¼ćÆć€é …ē›®ļ¼˜ć®ć€Œć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ćØåŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ćØć®é–“ć®č·é›¢ć®ēŸ­ēø®ļ¼ˆć‚¢ćƒ—ćƒ­ćƒ¼ćƒć®ä½ē½®å¤‰ę›“ļ¼‰ć€å‡¦ē†ć®ć‚ˆć‚Šē°”ę˜“ēš„ćŖčŖ¬ę˜Žć«ä¾›ć•ć‚Œć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä¾‹ćØć€ćć®å‹•ä½œć‚’čŖ¬ę˜Žć™ć‚‹čŖ¬ę˜Žå›³ć§ć‚ć‚‹ć€‚
å›³ļ¼–ļ¼ć§ćÆć€ļ¼øč»øć€ļ¼ŗč»øć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®å·„å…·ļ¼“ļ¼’ć®ä½ē½®ć‚’ć§ćć‚‹ć ć‘ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«čæ‘ć„ć‘ć‚‹ć“ćØć«ć¤ć„ć¦čŖ¬ę˜Žć™ć‚‹ć€‚
[Simpler explanation of item 8]
FIG. 60 shows an example of a machining program provided for a simpler explanation of the ā€œshortening the distance between the position after approach and the machining feed start position (change of approach position)ā€ in item 8 and its operation. It is explanatory drawing to explain.
In FIG. 60, it will be described that the position of the tool 32 after the X-axis and Z-axis approaches is as close as possible to the work 34.

åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä¾‹
G00X100. ļ¼ˆļ¼‘ļ¼‰ļ¼øč»øć‚¢ćƒ—ćƒ­ćƒ¼ćƒ
Z-200. ļ¼ˆļ¼’ļ¼‰ļ¼ŗč»øć‚¢ćƒ—ćƒ­ćƒ¼ćƒ
G01X200.F1000 ļ¼ˆļ¼“ļ¼‰ļ¼øč»øåˆ‡å‰Šé€ć‚Šļ¼ˆļ¼øč»øć®åˆ°é”ē‚¹ć‚’ęŒ‡ä»¤ļ¼‰
Machining program example
G00X100. (1) X-axis approach
Z-200. (2) Z-axis approach
G01X200.F1000 (3) X-axis cutting feed (command the arrival point of the X-axis)

å›³ļ¼–ļ¼ć«ćŠć„ć¦ć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®ļ¼øč»øć®å·¦ē«Æä½ē½®ćŒć€ŒX115ć€ļ¼»ļ½ļ½ļ¼½ć§ć‚ć‚‹ć€‚
怌G00X100.ć€ć®ę—©é€ć‚Šć§ć®ļ¼øč»øć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ćÆć€ŒX100ć€ļ¼»ļ½ļ½ļ¼½ć§ć‚ć‚‹ć€‚
å·„å…·å¾„ćŒļ¼‘ļ¼ļ¼»ļ½ļ½ļ¼½ć§ć‚ć‚‹ćØć™ć‚Œć°ć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®ē«Æé¢ćØå·„å…·ļ¼“ļ¼’é–“ć®č·é›¢ćÆļ¼‘ļ¼ļ¼»ļ½ļ½ļ¼½ć®ä½™č£•ćŒć‚ć‚‹ć€‚
In FIG. 60, the left end position of the X-axis of the work 34 is ā€œX115ā€ [mm].
The X-axis approach position for fast-forwarding "G00X100." Is "X100" [mm].
Assuming that the tool diameter is 10 [mm], the distance between the end face of the work 34 and the tool 32 has a margin of 10 [mm].

ć“ć®å “åˆć€å·„å…·ļ¼“ļ¼’ć®åŠå¾„ē­‰ć‚’č€ƒę…®ć—ć€ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®ē«Æé¢ćØå·„å…·ļ¼“ļ¼’é–“ć®č·é›¢ćŒļ¼‘ļ¼»ļ½ļ½ļ¼½ćØćŖć‚‹ć‚ˆć†ć«ć€ć‚¢ćƒ—ćƒ­ćƒ¼ćƒć™ć‚‹ć‚ˆć†ć«ć™ć‚Œć°ć€ć€ŒX109ć€ļ¼»ļ½ļ½ļ¼½ć¾ć§č©°ć‚ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ęœ€åˆć®ćƒ–ćƒ­ćƒƒć‚Æć‚’ć€ŒG00X109.ć€ć«å¤‰ę›“ć™ć‚Œć°ć€ć€ŒG01X200.F1000ć€ć§č”Œć‚ć‚Œć‚‹åˆ‡å‰Šé€ć‚Šč·é›¢ć‚’ļ¼™ļ¼»ļ½ļ½ļ¼½å‰Šęø›ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ In this case, if the approach is made so that the distance between the end face of the work 34 and the tool 32 is 1 [mm] in consideration of the radius of the tool 32 and the like, it is possible to reduce the distance to "X109" [mm]. .. If the first block is changed to "G00X109.", The cutting feed distance performed by "G01X200.F1000" can be reduced by 9 [mm].

ć“ć®å›³ļ¼–ļ¼ć®ä¾‹ć§ćÆć€ļ¼øč»øć‚’ä¾‹ćØć—ć¦čŖ¬ę˜Žć—ć¦ć„ć‚‹ćŒć€ļ¼¹č»øć€ļ¼ŗč»øć‚‚åŒę§˜ć«ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć‚’ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«čæ‘ć„ć‘ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ In the example of FIG. 60, the X-axis is described as an example, but the Y-axis and the Z-axis can also bring the approach position closer to the work 34.

ļ¼»ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®å…·ä½“ēš„ćŖēŸ­ēø®åŠ¹ęžœć«ć¤ć„ć¦ć®čŖ¬ę˜Žļ¼½
ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®å…·ä½“ēš„ćŖēŸ­ēø®åŠ¹ęžœćÆć€ęœ€é©åŒ–é …ē›®ęÆŽć«å®šć‚ć‚‹ć“ćØćŒć§ćć‚‹ć€‚
ä¾‹ćˆć°ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć¤ć„ć¦ć€
ęœ€é©åŒ–é …ē›®ļ¼‘ć§ćÆć€é‡č¤‡ęŒ‡ä»¤ć®å‰Šé™¤ļ¼‘å›žć”ćØć«ć€å‰Šęø›åŠ¹ęžœļ¼ļ¼Žļ¼ļ¼ļ¼”ļ¼»ē§’ļ¼½ļ¼ˆļ¼‘ęŒ‡ä»¤ć®å‡¦ē†ę™‚é–“ļ¼‰ć«ćŖć‚Šć€
ęœ€é©åŒ–é …ē›®ļ¼’ć§ćÆć€äø»č»øć®å›žč»¢ęŒ‡ä»¤ć®ęœ€é©åŒ–ļ¼‘å›žć«ć¤ćć€å‰Šęø›åŠ¹ęžœļ¼ļ¼Žļ¼•ļ¼»ē§’ļ¼½ć«ćŖć‚Šć€
ęœ€é©åŒ–é …ē›®ļ¼“ć§ćÆć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ć®ęœ€é©åŒ–ļ¼‘å›žć«ć¤ćć€å‰Šęø›åŠ¹ęžœļ¼ļ¼Žļ¼—ļ¼»ē§’ļ¼½ć«ćŖć‚‹ć€‚
[Explanation of the specific effect of shortening the cycle time]
The specific effect of shortening the cycle time can be determined for each optimization item.
For example, about the machine tool 16.
In the optimization item 1, the reduction effect is 0.004 [seconds] (processing time of one command) for each deletion of duplicate commands.
In the optimization item 2, the reduction effect is 0.5 [seconds] for each optimization of the rotation command of the spindle.
In the optimization item 3, the reduction effect is 0.7 [seconds] for each optimization of the tool change command.

ć“ć®å “åˆć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęÆŽć«ć€å„ęœ€é©åŒ–é …ē›®ć‚’é©ē”Øć§ćć‚‹å›žę•°ļ½Žć‚’čØˆē®—ć™ć‚‹ć€‚ćć—ć¦ć€ęœ€é©åŒ–é …ē›®ć®ēŸ­ēø®åŠ¹ęžœļ¼»ē§’ļ¼½Ć—é©ē”Øå›žę•°ļ½Žć§ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆēŸ­ēø®ę™‚é–“ļ¼‰ć‚’čØˆē®—ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ In this case, the number of times n to which each optimization item can be applied is calculated for each machining program. Then, the cycle time shortening effect (shortening time) can be calculated by multiplying the optimization item shortening effect [seconds] by the number of times of application n.

ä½†ć—ć€äøŠčØ˜ć—ćŸć®ćÆć€ē°”å˜ćŖä¾‹ć§ć€ä¾‹ćˆć°ć€ęœ€é©åŒ–é …ē›®ļ¼’ć«ć¤ć„ć¦ć€äø»č»øå›žč»¢ęŒ‡ä»¤ć®å›žč»¢ę•°ć«ć‚ˆć£ć¦ć€ēŸ­ēø®åŠ¹ęžœļ¼ˆēŸ­ēø®ę™‚é–“ļ¼‰ćŒē•°ćŖć‚‹ć€‚ä¾‹ćˆć°ć€ļ¼ā†’ļ¼’ļ¼”ļ¼ļ¼ļ¼ļ¼»rpmļ¼½ć§ćÆļ¼‘ļ¼Žļ¼ļ¼»ē§’ļ¼½ć‹ć‹ć‚Šć€ļ¼ā†’ļ¼‘ļ¼ļ¼ļ¼ļ¼ļ¼»rpmļ¼½ć®å “åˆć«ćÆļ¼ļ¼Žļ¼•ļ¼»ē§’ļ¼½ć‹ć‹ć‚‹ē­‰ć®ć‚ˆć†ć«ć€ć‚ˆć‚Šę­£ē¢ŗćŖēŸ­ēø®åŠ¹ęžœļ¼ˆēŸ­ēø®ę™‚é–“ļ¼‰ć‚’ę±‚ć‚ć‚‹ć“ćØć‚‚ć§ćć‚‹ć€‚ However, the above is a simple example. For example, for the optimization item 2, the shortening effect (shortening time) differs depending on the rotation speed of the spindle rotation command. For example, it takes 1.0 [seconds] for 0 → 24000 [rpm], 0.5 [seconds] for 0 → 10000 [rpm], and so on. You can also do it.

ć¾ćŸć€ęœ€é©åŒ–é …ē›®ęÆŽć®ēŸ­ēø®åŠ¹ęžœļ¼ˆēŸ­ēø®ę™‚é–“ļ¼‰ćÆć€å·„ä½œę©Ÿę¢°ć«ć‚ˆć£ć¦ē•°ćŖć‚‹ć®ć§ć€å·„ä½œę©Ÿę¢°ć®ēØ®é”žć‚„čƒ½åŠ›ē­‰ć«åæœć˜ć¦ć€å·„ä½œę©Ÿę¢°ęÆŽć«ęœ€é©åŒ–é …ē›®ćØå…±ć«ēŸ­ēø®åŠ¹ęžœć‚’čØ­å®šć—ć¦ćŠćć“ćØćŒć§ćć‚‹ć€‚
ę®‹ć‚Šć®ęœ€é©åŒ–é …ē›®ļ¼”ļ½žļ¼™ć‚‚åŒę§˜ć«ēŸ­ēø®åŠ¹ęžœļ¼ˆēŸ­ēø®ę™‚é–“ļ¼‰ć‚’čØ­å®šć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚
Further, since the shortening effect (shortening time) for each optimization item differs depending on the machine tool, the shortening effect can be set together with the optimization item for each machine tool according to the type and capacity of the machine tool. ..
The shortening effect (shortening time) can be set for the remaining optimization items 4 to 9 in the same manner.

ćŖćŠć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆēŸ­ēø®ę™‚é–“ļ¼‰ć‚’čØˆē®—ć—ćŸćØćć€å ±ēŸ„å›žč·Æļ¼ˆč”Øē¤ŗå™Øć‚„ć‚¹ćƒ”ćƒ¼ć‚«ļ¼‰ļ¼–ļ¼˜ē­‰ć§ć€č©²å½“ęœ€é©åŒ–é …ē›®ć®é©ē”Øć«ć‚ˆć‚‹ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ēŸ­ēø®åŠ¹ęžœļ¼ˆēŸ­ēø®ę™‚é–“ļ¼‰ć‚’ćƒ¦ćƒ¼ć‚¶ć«ęē¤ŗć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ć“ć®å “åˆć€ćƒ¦ćƒ¼ć‚¶ćÆć€ęē¤ŗć•ć‚ŒćŸęƒ…å ±ć‚’å…ƒć«ć€ę‰€ęœ›ć®ęœ€é©åŒ–é …ē›®ć‚’åˆ¤ę–­ć—ć¦ć€ęœ€é©åŒ–é …ē›®ć®ęœ€ēµ‚ēš„ćŖęŽ”å¦ć‚’ę±ŗå®šć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ When the cycle time shortening effect (shortening time) is calculated, the notification circuit (display or speaker) 68 or the like is used to present the cycle time shortening effect (shortening time) by applying the corresponding optimization item to the user. You may. In this case, the user may determine a desired optimization item based on the presented information and decide whether or not to finally adopt the optimization item.

ļ¼»å®Ÿę–½å½¢ę…‹ć‹ć‚‰ęŠŠę”ć—å¾—ć‚‹ē™ŗę˜Žļ¼½
ć“ć“ć§ć€äøŠčØ˜å®Ÿę–½å½¢ę…‹ć‹ć‚‰ęŠŠę”ć—å¾—ć‚‹ē™ŗę˜Žć«ć¤ć„ć¦ć€ä»„äø‹ć«čØ˜č¼‰ć™ć‚‹ć€‚ćŖćŠć€ē†č§£ć®ä¾æå®œć®ćŸć‚ć«ę§‹ęˆč¦ē“ ć‚’ä»˜ć‘ć¦ć„ć‚‹ćŒć€č©²ę§‹ęˆč¦ē“ ćÆć€ćć®ē¬¦å·ć‚’ć¤ć‘ćŸć‚‚ć®ć«é™å®šć•ć‚ŒćŖć„ć€‚
[Invention that can be grasped from the embodiment]
Here, the inventions that can be grasped from the above embodiments will be described below. Although components are attached for convenience of understanding, the components are not limited to those with the reference numerals.

ć“ć®ē™ŗę˜Žć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ćÆć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć‚’å‹•ć‹ć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ęœ€é©åŒ–ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć§ć‚ć£ć¦ć€ęœ€é©åŒ–ć—ć‚ˆć†ćØć™ć‚‹å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å…„åŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›éƒØļ¼—ļ¼˜ćØć€å…„åŠ›ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć™ć‚‹å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćØć€ę¤œå‡ŗć—ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćØć€å‰čØ˜ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å‡ŗåŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›éƒØļ¼˜ļ¼–ćØć€ć‚’å‚™ćˆć‚‹ć€‚ The machining program optimizing device 90 according to the present invention is a machining program optimizing device 90 for optimizing a machining program for operating a machine tool 16, and includes a machining program input unit 78 for inputting the machining program to be optimized. The redundant command detection unit 80 that detects the input redundant command in the machining program, the machining program optimization unit 82 that deletes or reduces the detected redundant command to modify the machining program, and the above. A machining program output unit 86 that outputs an optimized machining program is provided.

ć“ć®ę§‹ęˆć«ć‚ˆć‚Œć°ć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć—ć€ę¤œå‡ŗć—ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć—ć€ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ä½œęˆć™ć‚‹ć‚ˆć†ć«ć—ćŸć®ć§ć€ęœ€é©åŒ–ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åŸŗć„ć„ć¦å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć‚’å‹•ä½œć•ć›ć‚‹ć“ćØć§ć€å‰čØ˜å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć€ć™ćŖć‚ć”åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ According to this configuration, a predetermined redundant command in the input machining program is detected, the detected redundant command is deleted or reduced, the machining program is modified, and an optimized machining program is created. Therefore, by operating the machine tool 16 based on the optimized machining program, the cycle time of the machine tool 16, that is, the cycle time of the machining program can be shortened. As a result, the processing speed of the work 34 by the machine tool 16 can be increased.

ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€äŗˆć‚å®šć‚ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ćŒć€å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€å…„åŠ›ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‹ć‚‰å‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć™ć‚‹éš›ć€å‰čØ˜å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć«čØ˜ę†¶ć•ć‚Œć¦ć„ć‚‹å‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‚ē…§ć—ć¦ę¤œå‡ŗć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ć“ć‚Œć«ć‚ˆć‚Šå†—é•·ęŒ‡ä»¤ć‚’ē¢ŗå®Ÿć«ē²¾åŗ¦ć‚ˆćę¤œå‡ŗć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ Further, in the machining program optimizing device 90, the predetermined redundancy command is stored in the redundancy command storage unit 74, and the redundancy command detection unit 80 detects the redundancy command from the input machining program. , The redundant command stored in the redundant command storage unit 74 may be referred to for detection. As a result, the redundant command can be detected reliably and accurately.

ć•ć‚‰ć«ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ćÆć€äŗˆć‚å®šć‚ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ćØć—ć¦ć€å‰čØ˜å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ćŒē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€åŠć³éŽå‰°ćŖä½™č£•ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć®å°‘ćŖććØć‚‚äø€ć¤ć‚’ę¤œå‡ŗć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ Further, in the machining program optimization device 90, the redundant command detecting unit 80 uses the predetermined redundant command as a command for the machine tool 16 to generate a useless waiting time, a command for generating a useless movement, and a command for generating a useless movement. At least one of the directives that produces the excess margin may be detected.

å°‘ćŖććØć‚‚äø€ć¤ć®å†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć—ć¦ć€å‰Šé™¤ć™ć‚‹ć“ćØć§ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚å…Øć¦ę¤œå‡ŗć—ć¦å‰Šé™¤ć™ć‚‹ć“ćØć§ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆå‰Šęø›ę™‚é–“ļ¼‰ć‚’å¤§ććć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ By detecting and deleting at least one redundant command, the cycle time of the machining program can be shortened. By detecting and deleting all of them, the effect of shortening the cycle time (reduction time) can be increased.

ć•ć‚‰ć«ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€å®Ÿč”Œäø­ć®å‹•ä½œć‚’ęŒ‡ä»¤ć™ć‚‹é‡č¤‡ęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€å‰čØ˜é‡č¤‡ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ Furthermore, in the machining program optimization device 90, when the redundant command detection unit 80 detects a duplicate command for instructing an operation during execution as a command for generating the useless waiting time, the machining program optimization device 90 is used. The conversion unit 82 may delete the duplicate command.

å®Ÿč”Œäø­ć®å‹•ä½œć‚’ęŒ‡ä»¤ć™ć‚‹ęŒ‡ä»¤ćÆć€äøč¦ćŖęŒ‡ä»¤ćØć—ć¦å‰Šé™¤ć—ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆå‰Šęø›ę™‚é–“ļ¼‰ć‚’å¤§ććć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ The command that commands the operation during execution can be deleted as an unnecessary command, and the effect of shortening the cycle time (reduction time) can be increased.

ć•ć‚‰ć«ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ć€å·„å…·ļ¼“ļ¼’ć®ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒęŒ‡ä»¤å¾Œć«å‰čØ˜å·„å…·ļ¼“ļ¼’ć®å›žč»¢ę•°ć‚’ęŒ‡ä»¤ć™ć‚‹ęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€å‰čØ˜å·„å…·ļ¼“ļ¼’ć®ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒęŒ‡ä»¤ćØå‰čØ˜å·„å…·ļ¼“ļ¼’ć®å›žč»¢ęŒ‡ä»¤ć‚’åŒę™‚ć«ęŒ‡ä»¤ć™ć‚‹ć‚ˆć†ę›øćę›ćˆć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ Furthermore, in the machining program optimizing device 90, as a command for generating the useless waiting time by the redundant command detection unit 80, the tool 32 receives an approach command to the work 34 of the tool 32 during the machining program. When the command for commanding the number of rotations is detected, the machining program optimization unit 82 may rewrite the approach command for the work 34 of the tool 32 and the rotation command for the tool 32 at the same time.

é †ę¬”ęŒ‡ä»¤ć‚’åŒę™‚ęŒ‡ä»¤ć«ę›øćę›ćˆć‚‹ć“ćØć§ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ćƒ–ćƒ­ćƒƒć‚Æę•°ćŒå‰Šęø›ć•ć‚Œć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆå‰Šęø›ę™‚é–“ļ¼‰ć‚’å¤§ććć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ By rewriting the sequential command to the simultaneous command, the number of blocks of the machining program can be reduced and the effect of shortening the cycle time (reduction time) can be increased.

ć•ć‚‰ć«ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€å·„å…·äŗ¤ę›ęŒ‡ä»¤å¾Œć«å·„å…·ć‚’ę¬”ć®åŠ å·„ä½ē½®ć¾ć§ē§»å‹•ć™ć‚‹ęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ćØå·„å…·ļ¼“ļ¼’ć‚’ę¬”ć®åŠ å·„ä½ē½®ć¾ć§ē§»å‹•ć™ć‚‹ęŒ‡ä»¤ć‚’åŒę™‚ć«ęŒ‡ä»¤ć™ć‚‹ć‚ˆć†ć«ę›øćę›ćˆć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ Furthermore, in the machining program optimization device 90, when the redundant command detection unit 80 detects a command to move the tool to the next machining position after the tool change command as a command to generate the useless waiting time. The machining program optimization unit 82 may rewrite the tool change command and the command for moving the tool 32 to the next machining position at the same time.

ć“ć®å “åˆć«ć‚‚ć€é †ę¬”ęŒ‡ä»¤ć‚’åŒę™‚ęŒ‡ä»¤ć«ę›øćę›ćˆć‚‹ć“ćØć§ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ćƒ–ćƒ­ćƒƒć‚Æę•°ćŒå‰Šęø›ć•ć‚Œć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆå‰Šęø›ę™‚é–“ļ¼‰ć‚’å¤§ććć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ Also in this case, by rewriting the sequential command to the simultaneous command, the number of blocks of the machining program can be reduced and the effect of shortening the cycle time (reduction time) can be increased.

ć•ć‚‰ć«ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€å·„å…·ļ¼“ļ¼’ć‚’ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć«åÆ¾ć™ć‚‹ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć¾ć§ē§»å‹•ć™ć‚‹ē§»å‹•ęŒ‡ä»¤ć®å®Ÿč”Œäø­ć«ć€åŒäø€č»øćŒč¤‡ę•°å›žē§»å‹•ć™ć‚‹ęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€å‰čØ˜ē§»å‹•ęŒ‡ä»¤ć§ęœ€åˆć«ęŒ‡ä»¤ć•ć‚Œć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć‚’å‰čØ˜ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć«ę›øćę›ćˆć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ Furthermore, in the machining program optimization device 90, the same during execution of the movement command for moving the tool 32 to the final approach position with respect to the work 34 as a command for generating the useless movement by the redundant command detection unit 80. When a command to move the axis a plurality of times is detected, the machining program optimization unit 82 may rewrite the approach position first commanded by the movement command to the final approach position.

ć“ć®å “åˆć«ćÆć€åŒäø€č»øć®č»øē§»å‹•ć®ęŒ‡ä»¤å›žę•°ć‚’ļ¼‘å›žć«ć™ć‚‹ć“ćØćŒć§ćć¦ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ćŒå›³ć‚‰ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆå‰Šęø›ę™‚é–“ļ¼‰ć‚’å¤§ććć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ In this case, the number of commands for axis movement of the same axis can be set to one, the machining program can be optimized, and the effect of shortening the cycle time (reduction time) can be increased.

ć•ć‚‰ć«ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ć€ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹åŽŸē‚¹å¾©åø°ęŒ‡ä»¤ćŒļ¼“å€‹ä»„äøŠå«ć¾ć‚Œć¦ć„ć‚‹ć“ćØć‚’ę¤œå‡ŗć—ćŸå “åˆć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€ęœ€åˆćØęœ€å¾Œć®ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹åŽŸē‚¹å¾©åø°ęŒ‡ä»¤ä»„å¤–ć®ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ęŒ‡ä»¤ćŒå‰Šé™¤ć•ć‚ŒćŸåˆ†ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆå‰Šęø›ę™‚é–“ļ¼‰ć‚’å¤§ććć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ Furthermore, in the machining program optimization device 90, the redundancy command detection unit 80 includes three or more reference origin return commands in the machining program as commands for generating the useless movement. If detected, the machining program optimization unit 82 may delete commands other than the first and last reference origin return commands. The effect of shortening the cycle time (reduction time) can be increased by the amount that the command is deleted.

ć•ć‚‰ć«ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€ē‰¹å®šć®ęŒ‡ä»¤ćŒć€ä»–ć®ęŒ‡ä»¤ć«å†…åŒ…ć•ć‚Œć‚‹ęŒ‡ä»¤ć§ć‚ć£ć¦ć€å‰čØ˜ä»–ć®ęŒ‡ä»¤ć®å‰ć«å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ćŒå­˜åœØć™ć‚‹å “åˆć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ Furthermore, in the machining program optimization device 90, a specific command is included in another command as a command for generating the useless waiting time by the redundant command detection unit 80, and the other command is included. If the specific command is present before the command, the machining program optimization unit 82 may delete the specific command.

ē‰¹å®šć®ęŒ‡ä»¤ćŒć€ä»–ć®ęŒ‡ä»¤ć«å†…åŒ…ć•ć‚Œć‚‹ęŒ‡ä»¤ć§ć‚ć£ć¦ć€å‰čØ˜ä»–ć®ęŒ‡ä»¤ć®å‰ć«å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ćŒå­˜åœØć™ć‚‹å “åˆć€å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć‚ˆć†ć«ć™ć‚Œć°ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ćƒ–ćƒ­ćƒƒć‚Æę•°ćŒå‰Šęø›ć•ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆå‰Šęø›ę™‚é–“ļ¼‰ć‚’å¤§ććć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ If the specific command is a command included in another command and the specific command exists before the other command, the number of blocks of the machining program can be obtained by deleting the specific command. Is reduced, and the effect of shortening the cycle time (reduction time) can be increased.

ć•ć‚‰ć«ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€ę‰€å®šć®å·„ä½œę©Ÿę¢°å°‚ē”Øć«äŗˆć‚ä½œęˆć•ć‚ŒćŸć€ę±Žē”ØęŒ‡ä»¤ć‚’åŒ…å«ć—ćŸå°‚ē”ØęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€å‰čØ˜ę±Žē”ØęŒ‡ä»¤ć‚’å‰čØ˜å°‚ē”ØęŒ‡ä»¤ć«å¤‰ę›“ć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ Furthermore, in the machining program optimization device 90, when the redundant command detection unit 80 detects a dedicated command including a general-purpose command created in advance exclusively for a predetermined machine tool, the machining program optimization unit 90. 82 may change the general-purpose command to the dedicated command.

ę±Žē”ØęŒ‡ä»¤ć‚’åŒ…å«ć—ćŸå°‚ē”ØęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€å‰čØ˜ę±Žē”ØęŒ‡ä»¤ć‚’å‰čØ˜å°‚ē”ØęŒ‡ä»¤ć«å¤‰ę›“ć™ć‚‹ć“ćØć§åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ćƒ–ćƒ­ćƒƒć‚Æę•°ćŒå‰Šęø›ć•ć‚Œć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆå‰Šęø›ę™‚é–“ļ¼‰ć‚’å¤§ććć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ When a dedicated command including a general-purpose command is detected, the number of blocks of the machining program can be reduced by changing the general-purpose command to the dedicated command, and the effect of shortening the cycle time (reduction time) can be increased.

ć•ć‚‰ć«ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€ę—©é€ć‚ŠęŒ‡ä»¤ć§ć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć«ć€åŠ å·„é€ć‚ŠęŒ‡ä»¤ć§ć®åŠ å·„ć‚’ę¤œå‡ŗć—ćŸå “åˆć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€ćƒ¦ćƒ¼ć‚¶ć«ć€å‰čØ˜ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ćØć€åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ćØć®é–“ć®č·é›¢ć‚’å ±ēŸ„ć™ć‚‹ćØå…±ć«ć€å‰čØ˜ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ć‚’å‰čØ˜åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ć«ć•ć‚‰ć«čæ‘ć„ć‘ć‚‹ć“ćØć§ć€éŽå‰°ćŖä½™č£•ć®ēø®å°ć®åÆčƒ½ę€§ćŒć‚ć‚‹ć“ćØć‚’å ±ēŸ„ć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ Furthermore, in the machining program optimization device 90, when the redundant command detection unit 80 detects machining by the machining feed command after the approach by the fast-forward command, the machining program optimization unit 82 informs the user. By notifying the distance between the position after the approach and the machining feed start position and making the position after the approach closer to the machining feed start position, there is a possibility of excessive reduction of the margin. It may be notified.

ćƒ¦ćƒ¼ć‚¶ćŒć€å ±ēŸ„ć«åæœć˜ć¦ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ć‚’åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ć«čæ‘ć„ć‘ć‚‹ć‚ˆć†åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å¤‰ę›“ć™ć‚‹ć“ćØć§ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆå‰Šęø›ę™‚é–“ļ¼‰ć‚’å¤§ććć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ By changing the machining program so that the user moves the position after the approach closer to the machining feed start position in response to the notification, the effect of shortening the cycle time (reduction time) can be increased.

ć•ć‚‰ć«ć¾ćŸć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼ć«ćŠć„ć¦ćÆć€å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć«ć‚ˆć‚Šć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ć€åŠ å·„ć®å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ęŒ‡ä»¤ćŒć‚ć‚‹ć‹å¦ć‹ćŒć‚µćƒ¼ćƒć•ć‚Œć€å‰čØ˜å›ŗå®šć‚µć‚¤ć‚Æćƒ«ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ćÆć€ćƒ¦ćƒ¼ć‚¶ć«ć€å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«ć‚’åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ć«ć•ć‚‰ć«čæ‘ć„ć‘ć‚‹ć“ćØåŠć³ļ¼åˆćÆå›ŗå®šć‚µć‚¤ć‚Æćƒ«ć‚¤ćƒ‹ć‚·ćƒ£ćƒ«ćƒ¬ćƒ™ćƒ«å¾©åø°ć‚’å›ŗå®šć‚µć‚¤ć‚Æćƒ«ļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«å¾©åø°ć«å¤‰ę›“ć™ć‚‹ć“ćØćŒåÆčƒ½ć§ć‚ć‚Œć°å‰čØ˜éŽå‰°ćŖä½™č£•ć®ēø®å°ćŒåÆčƒ½ć§ć‚ć‚‹ć“ćØå ±ēŸ„ć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ Furthermore, in the machining program optimization device 90, the redundant command detection unit 80 searches for whether or not there is a command for a fixed cycle of machining in the machining program, and if the fixed cycle is detected, the said. If it is possible for the machining program optimization unit 82 to bring the R point level of the fixed cycle closer to the machining feed start position and / or change the fixed cycle initial level return to the fixed cycle R point level return to the user. It may be notified that the excessive reduction of the margin is possible.

ćƒ¦ćƒ¼ć‚¶ćŒć€å ±ēŸ„ć«åæœć˜ć¦ć€å›ŗå®šć‚µć‚¤ć‚Æćƒ«ļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«ć‚’åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ć«ć•ć‚‰ć«čæ‘ć„ć‘ć‚‹ć“ćØåŠć³ļ¼åˆćÆå›ŗå®šć‚µć‚¤ć‚Æćƒ«ć‚¤ćƒ‹ć‚·ćƒ£ćƒ«ćƒ¬ćƒ™ćƒ«å¾©åø°ć‚’å›ŗå®šć‚µć‚¤ć‚Æćƒ«ļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«å¾©åø°ć«å¤‰ę›“ć™ć‚‹ć‚ˆć†ć«ć—ć¦ć‚‚ć‚ˆć„ć€‚ The user may change the fixed cycle R point level closer to the machining feed start position and / or the fixed cycle initial level return to the fixed cycle R point level return in response to the notification.

ć“ć®ę§‹ęˆć«ć‚ˆć‚Œć°ć€åŠ å·„é€ć‚Šé–‹å§‹ć‹ć‚‰åŠ å·„é€ć‚Šēµ‚äŗ†ć¾ć§ć®å·„å…·ļ¼“ļ¼’ć®ē§»å‹•č·é›¢ć‚’ēŸ­ćć™ć‚‹ć“ćØćŒć§ćć‚‹ć®ć§ć€ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®åŠ¹ęžœļ¼ˆå‰Šęø›ę™‚é–“ļ¼‰ć‚’å¤§ććć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ According to this configuration, the moving distance of the tool 32 from the start of the machining feed to the end of the machining feed can be shortened, so that the effect of shortening the cycle time (reduction time) can be increased.

ć•ć‚‰ć«ć¾ćŸć€ć“ć®ē™ŗę˜Žć«äæ‚ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ćÆć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć‚’å‹•ć‹ć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ęœ€é©åŒ–ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć§ć‚ć£ć¦ć€ęœ€é©åŒ–ć—ć‚ˆć†ćØć™ć‚‹å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å…„åŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›ć‚¹ćƒ†ćƒƒćƒ—ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼—ļ¼‘ļ¼‰ćØć€å…„åŠ›ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć™ć‚‹å†—é•·ęŒ‡ä»¤ę¤œå‡ŗć‚¹ćƒ†ćƒƒćƒ—ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼—ļ¼’ļ¼‰ćØć€ę¤œå‡ŗć—ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©ć‚¹ćƒ†ćƒƒćƒ—ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼—ļ¼“ļ¼‰ćØć€å‰čØ˜ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å‡ŗåŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›ć‚¹ćƒ†ćƒƒćƒ—ļ¼ˆć‚¹ćƒ†ćƒƒćƒ—ļ¼³ļ¼—ļ¼”ļ¼‰ćØć€ć‚’å‚™ćˆć‚‹ć€‚ Furthermore, the machining program optimization method according to the present invention is a machining program optimization method for optimizing a machining program for operating a machine tool 16, and is a machining program input step for inputting the machining program to be optimized (a machining program input step ( Step S71), a redundant command detection step (step S72) for detecting a predetermined redundant command in the input machining program, and a machining program for deleting or reducing the detected redundant command to modify the machining program. It includes an optimum step (step S73) and a machining program output step (step S74) for outputting the optimized machining program.

ć“ć®ę§‹ęˆć«ć‚ˆć‚Œć°ć€å…„åŠ›ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć—ć€ę¤œå‡ŗć—ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć—ć€ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ä½œęˆć™ć‚‹ć‚ˆć†ć«ć—ćŸć®ć§ć€ęœ€é©åŒ–ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć«åŸŗć„ć„ć¦å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć‚’å‹•ä½œć•ć›ć‚‹ć“ćØć§ć€å‰čØ˜å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć€ć™ćŖć‚ć”åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć‚’ēŸ­ēø®ć™ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ēµęžœćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ć«ć‚ˆć‚‹ćƒÆćƒ¼ć‚Æļ¼“ļ¼”ć®åŠ å·„ć®é«˜é€ŸåŒ–ć‚’å›³ć‚‹ć“ćØćŒć§ćć‚‹ć€‚ According to this configuration, a predetermined redundant command in the input machining program is detected, the detected redundant command is deleted or reduced, the machining program is modified, and an optimized machining program is created. Therefore, by operating the machine tool 16 based on the optimized machining program, the cycle time of the machine tool 16, that is, the cycle time of the machining program can be shortened. As a result, the processing speed of the work 34 by the machine tool 16 can be increased.

ćŖćŠć€ć“ć®ē™ŗę˜ŽćÆć€äøŠčæ°ć®å®Ÿę–½å½¢ę…‹ć«é™ć‚‰ćšć€ć“ć®ę˜Žē“°ę›øć®čØ˜č¼‰å†…å®¹ć«åŸŗć„ćć€ēØ®ć€…ć®ę§‹ęˆć‚’ęŽ”ć‚Šå¾—ć‚‹ć“ćØćÆć‚‚ć”ć‚ć‚“ć§ć‚ć‚‹ć€‚ It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that various configurations can be adopted based on the contents described in this specification.

ä¾‹ćˆć°ć€å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ćÆć€äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ćØć—ć¦ć€å·„ä½œę©Ÿę¢°ļ¼‘ļ¼–ćŒē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€åŠć³éŽå‰°ćŖä½™č£•ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć‚’čØ˜ę†¶ć—ć¦ć„ć‚‹ćŒć€ć“ć‚Œć‚‰ć®å†—é•·ęŒ‡ä»¤äø­ć€å°‘ćŖććØć‚‚ļ¼‘ć¤ć®ęŒ‡ä»¤ć‚’čØ˜ę†¶ć™ć‚‹ć‚ˆć†ć«å¤‰ę›“ć—ć¦ć‚‚ć‚ˆć„ć€‚ For example, the redundant command storage unit 74 stores, as predetermined redundant commands, a command for the machine tool 16 to generate a useless waiting time, a command for generating a useless movement, and a command for generating an excessive margin. However, it may be changed to store at least one of these redundant directives.

ć¾ćŸć€ćƒ—ćƒ­ć‚»ćƒƒć‚µļ¼–ļ¼ćŒåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć‚’å®Ÿč”Œć™ć‚‹ćƒ—ćƒ­ć‚°ćƒ©ćƒ åŠć³č©²ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’čØ˜éŒ²ć™ć‚‹čØ˜éŒ²åŖ’ä½“ć‚‚ć“ć®ē™ŗę˜Žć®å®Ÿę–½ć«å«ć¾ć‚Œć‚‹ć€‚ Further, a program in which the processor 60 executes a machining program optimization method and a recording medium for recording the program are also included in the implementation of the present invention.

ć•ć‚‰ć«ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ć«ć‚ˆć‚Šé”ęˆć•ć‚Œć‚‹ć‚µć‚¤ć‚Æćƒ«ć‚æć‚¤ćƒ ć®ēŸ­ēø®ćÆć€å›³ļ¼‘ć«ē¤ŗć—ćŸēø¦åž‹ć®ćƒžć‚·ćƒ‹ćƒ³ć‚°ć‚»ćƒ³ć‚æć«é©ē”Øć™ć‚‹ä»„å¤–ć«ć€ęØŖåž‹ć€é–€åž‹ē­‰ć®å·„ä½œę©Ÿę¢°ć«é©ē”Øć™ć‚‹ć“ćØć‚‚åÆčƒ½ć§ć‚ć‚‹ć€‚ćŖćŠć€ć“ć®å “åˆć«ćÆć€ęœ€é©ćŖåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćÆć€ęØŖåž‹ć€é–€åž‹ē­‰ć®å·„ä½œę©Ÿę¢°ć®ę§‹é€ ēš„ē‰¹å¾“ē­‰ć‚’č€ƒę…®ć—ćŸå¤‰ę›“ćŒåæ…č¦ć§ć‚ć‚‹ć€‚ Further, the reduction in cycle time achieved by optimizing the machining program can be applied not only to the vertical machining center shown in FIG. 1 but also to machine tools such as horizontal type and portal type. In this case, the optimum machining program needs to be changed in consideration of the structural characteristics of the machine tool such as the horizontal type and the gate type.

ć•ć‚‰ć«ć¾ćŸć€å·„å…·äŗ¤ę›ę–¹å¼ć‚„åˆ¶å¾”ę–¹ę³•ē­‰ć®č¦å› ć«ć‚ˆć£ć¦ć‚‚ć€ęœ€é©ćŖåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ćÆć€å¤‰ę›“ćŒåæ…č¦ć«ćŖć‚‹å “åˆćŒć‚ć‚‹ć€‚ Furthermore, the optimum machining program may need to be changed depending on factors such as the tool change method and the control method.

ć™ćŖć‚ć”ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ć§ćÆć€å·„ä½œę©Ÿę¢°ć«åæœć˜ćŸęœ€é©åŒ–é …ē›®ćØćƒ«ćƒ¼ćƒ«ć‚’ä½œęˆć—ć€ć“ć‚Œć‚‰ć«åŸŗć„ć„ć¦ć€å›³ļ¼“ć«ē¤ŗć—ćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ļ¼™ļ¼äø­ć€å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØļ¼—ļ¼”ć®čØ˜ę†¶å†…å®¹ć€å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØļ¼˜ļ¼ć§ć®ę¤œå‡ŗļ¼ˆć‚µćƒ¼ćƒļ¼‰ć®ä»•ę–¹ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØļ¼˜ļ¼’ć§ć®ęœ€é©åŒ–å‡¦ē†ć®å†…å®¹ć‚’å¤‰ę›“ć™ć‚‹ć“ćØć§ć€ēØ®ć€…ć®å·„ä½œę©Ÿę¢°ć«é©åæœć—ćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć®ęœ€é©åŒ–ćŒå®Ÿę–½ć§ćć‚‹ć€‚ That is, in the optimization of the machining program, optimization items and rules corresponding to the machine tool are created, and based on these, the storage contents of the redundant command storage unit 74 in the machining program optimization device 90 shown in FIG. By changing the detection (search) method in the redundant command detection unit 80 and the content of the optimization process in the machining program optimization unit 82, it is possible to optimize the machining program adapted to various machine tools.

ļ¼‘ļ¼ā€¦ļ¼®ļ¼£å·„ä½œę©Ÿę¢°ć‚·ć‚¹ćƒ†ćƒ  ļ¼‘ļ¼’ā€¦åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ä½œęˆč£…ē½®
ļ¼‘ļ¼”ā€¦ļ¼£ļ¼®ļ¼£ć‚·ć‚¹ćƒ†ćƒ  ļ¼‘ļ¼–ā€¦å·„ä½œę©Ÿę¢°
ļ¼‘ļ¼˜ć€ļ¼•ļ¼–ć€ļ¼•ļ¼˜ā€¦ć‚±ćƒ¼ćƒ–ćƒ« 20…CNC装置
22…PMC装置 ļ¼’ļ¼”ć€ļ¼–ļ¼’ā€¦é€šäæ”ē·š
ļ¼’ļ¼–ā€¦åŠ å·„č£…ē½® ļ¼’ļ¼˜ā€¦č‡Ŗå‹•å·„å…·äŗ¤ę›č£…ē½®
30…主軸 32…巄具
ļ¼“ļ¼“ā€¦ć‚°ćƒŖćƒƒćƒ— ļ¼“ļ¼”ā€¦ćƒÆćƒ¼ć‚Æ
35…主軸頭 ļ¼“ļ¼–ā€¦ć‚³ćƒ©ćƒ 
ļ¼“ļ¼—ā€¦ćƒ†ćƒ¼ćƒ–ćƒ« ļ¼“ļ¼˜ā€¦ć‚¢ć‚Æćƒćƒ„ć‚Øćƒ¼ć‚æéƒØ
ļ¼”ļ¼ā€¦å·„å…·ćƒ›ćƒ«ćƒ€ ļ¼”ļ¼’ā€¦ć‚æćƒ¬ćƒƒćƒˆ
ļ¼”ļ¼”ā€¦å°åŗ§ 46…Yč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØ
47…Zč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØ ļ¼”ļ¼˜ā€¦ć‚µćƒ‰ćƒ«
50…Xč»øć‚¹ćƒ©ć‚¤ćƒ‰éƒØ ļ¼•ļ¼‘ā€¦äø»č»øćƒ¢ćƒ¼ć‚æ
52…Xč»øćƒ¢ćƒ¼ć‚æ 53…Yč»øćƒ¢ćƒ¼ć‚æ
54…Zč»øćƒ¢ćƒ¼ć‚æ ļ¼–ļ¼ā€¦ćƒ—ćƒ­ć‚»ćƒƒć‚µ
ļ¼–ļ¼”ā€¦å…„åŠ›ć‚¤ćƒ³ć‚æćƒ•ć‚§ćƒ¼ć‚¹ ļ¼–ļ¼–ā€¦ćƒ”ćƒ¢ćƒŖ
ļ¼–ļ¼˜ā€¦å ±ēŸ„å›žč·Æ ļ¼—ļ¼ā€¦č»øåˆ¶å¾”å›žč·Æ
ļ¼—ļ¼’ā€¦ć‚µćƒ¼ćƒœć‚¢ćƒ³ćƒ— ļ¼—ļ¼”ā€¦å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØ
ļ¼—ļ¼–ā€¦ę©Ÿčƒ½ćƒ–ćƒ­ćƒƒć‚Æ ļ¼—ļ¼˜ā€¦åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›éƒØ
ļ¼˜ļ¼ā€¦å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØ ļ¼˜ļ¼’ā€¦åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØ
ļ¼˜ļ¼”ā€¦å ±ēŸ„éƒØ ļ¼˜ļ¼–ā€¦åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›éƒØ
ļ¼™ļ¼ā€¦åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®
10 ... NC machine tool system 12 ... Machine tool creation device 14 ... CNC system 16 ... Machine tool 18, 56, 58 ... Cable 20 ... CNC device 22 ... PMC device 24, 62 ... Communication line 26 ... Machining device 28 ... Automatic tool change Device 30 ... Spindle 32 ... Tool 33 ... Grip 34 ... Work 35 ... Spindle head 36 ... Column 37 ... Table 38 ... Actuator section 40 ... Tool holder 42 ... Turret 44 ... Pedestal 46 ... Y-axis slide section 47 ... Z-axis slide section 48 ... Saddle 50 ... X-axis slide section 51 ... Spindle motor 52 ... X-axis motor 53 ... Y-axis motor 54 ... Z-axis motor 60 ... Processor 64 ... Input interface 66 ... Memory 68 ... Notification circuit 70 ... Axis control circuit 72 ... Servo amplifier 74 ... Redundant command storage unit 76 ... Functional block 78 ... Machining program input unit 80 ... Redundant command detection unit 82 ... Machining program optimization unit 84 ... Notification unit 86 ... Machining program output unit 90 ... Machining program optimization device

Claims (13)

å·„ä½œę©Ÿę¢°ć‚’å‹•ć‹ć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ęœ€é©åŒ–ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć§ć‚ć£ć¦ć€
ęœ€é©åŒ–ć—ć‚ˆć†ćØć™ć‚‹å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å…„åŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›éƒØćØć€
å…„åŠ›ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć™ć‚‹å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØćØć€
ę¤œå‡ŗć—ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćØć€
å‰čØ˜ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å‡ŗåŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›éƒØćØć€
ć‚’å‚™ćˆć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
It is a machining program optimization device that optimizes the machining program that moves the machine tool.
A machining program input unit that inputs the machining program to be optimized, and a machining program input unit.
A redundancy command detector that detects a predetermined redundancy command in the input machining program, and a redundancy command detector.
A machining program optimization unit that corrects the machining program by deleting or reducing the detected redundancy command, and
A machining program output unit that outputs the optimized machining program,
A machining program optimizer equipped with.
č«‹ę±‚é …ļ¼‘ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
äŗˆć‚å®šć‚ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ćŒć€å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØć«čØ˜ę†¶ć•ć‚Œć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØćÆć€
å…„åŠ›ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‹ć‚‰å‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć™ć‚‹éš›ć€å‰čØ˜å†—é•·ęŒ‡ä»¤čØ˜ę†¶éƒØć«čØ˜ę†¶ć•ć‚Œć¦ć„ć‚‹å‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‚ē…§ć—ć¦ę¤œå‡ŗć™ć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to claim 1,
The predetermined redundant command is stored in the redundant command storage unit, and the redundant command is stored in the redundant command storage unit.
The redundant command detection unit is
When the redundant command is detected from the input machining program, the redundant command stored in the redundant command storage unit is referred to and detected.
Machining program optimization device.
č«‹ę±‚é …ļ¼‘åˆćÆļ¼’ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØćÆć€
äŗˆć‚å®šć‚ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ćØć—ć¦ć€å‰čØ˜å·„ä½œę©Ÿę¢°ćŒē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć€åŠć³éŽå‰°ćŖä½™č£•ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ć®å°‘ćŖććØć‚‚äø€ć¤ć‚’ę¤œå‡ŗć™ć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to claim 1 or 2.
The redundant command detection unit is
As the predetermined redundancy command, the machine tool detects at least one of a command for generating a useless waiting time, a command for generating a useless movement, and a command for generating an excessive margin.
Machining program optimization device.
č«‹ę±‚é …ļ¼“ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€å®Ÿč”Œäø­ć®å‹•ä½œć‚’ęŒ‡ä»¤ć™ć‚‹é‡č¤‡ęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€
å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćÆć€å‰čØ˜é‡č¤‡ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to claim 3,
When the redundant command detection unit detects a duplicate command that commands an operation being executed as a command that generates the useless waiting time.
The machining program optimization unit deletes the duplication command.
Machining program optimization device.
č«‹ę±‚é …ļ¼“ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ć€å·„å…·ć®ćƒÆćƒ¼ć‚Æć«åÆ¾ć™ć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒęŒ‡ä»¤å¾Œć«å‰čØ˜å·„å…·ć®å›žč»¢ę•°ć‚’ęŒ‡ä»¤ć™ć‚‹ęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€
å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćÆć€å‰čØ˜å·„å…·ć®ćƒÆćƒ¼ć‚Æć«åÆ¾ć™ć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒęŒ‡ä»¤ćØå‰čØ˜å·„å…·ć®å›žč»¢ęŒ‡ä»¤ć‚’åŒę™‚ć«ęŒ‡ä»¤ć™ć‚‹ć‚ˆć†ę›øćę›ćˆć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to claim 3,
When the redundant command detection unit detects, as a command to generate the useless waiting time, a command to command the rotation speed of the tool after an approach command to the work of the tool is detected in the machining program.
The machining program optimization unit rewrites the approach command to the workpiece of the tool and the rotation command of the tool to be commanded at the same time.
Machining program optimization device.
č«‹ę±‚é …ļ¼“ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€å·„å…·äŗ¤ę›ęŒ‡ä»¤å¾Œć«å·„å…·ć‚’ę¬”ć®åŠ å·„ä½ē½®ć¾ć§ē§»å‹•ć™ć‚‹ęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€
å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćÆć€å·„å…·äŗ¤ę›ęŒ‡ä»¤ćØå·„å…·ć‚’ę¬”ć®åŠ å·„ä½ē½®ć¾ć§ē§»å‹•ć™ć‚‹ęŒ‡ä»¤ć‚’åŒę™‚ć«ęŒ‡ä»¤ć™ć‚‹ć‚ˆć†ć«ę›øćę›ćˆć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to claim 3,
When the redundant command detection unit detects a command to move the tool to the next machining position after the tool change command as a command to generate the useless waiting time.
The machining program optimization unit rewrites the tool change command and the command to move the tool to the next machining position at the same time.
Machining program optimization device.
č«‹ę±‚é …ļ¼“ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€å·„å…·ć‚’ćƒÆćƒ¼ć‚Æć«åÆ¾ć™ć‚‹ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć¾ć§ē§»å‹•ć™ć‚‹ē§»å‹•ęŒ‡ä»¤ć®å®Ÿč”Œäø­ć«ć€åŒäø€č»øćŒč¤‡ę•°å›žē§»å‹•ć™ć‚‹ęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€
å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćÆć€å‰čØ˜ē§»å‹•ęŒ‡ä»¤ć§ęœ€åˆć«ęŒ‡ä»¤ć•ć‚Œć‚‹ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć‚’å‰čØ˜ęœ€ēµ‚ć‚¢ćƒ—ćƒ­ćƒ¼ćƒä½ē½®ć«ę›øćę›ćˆć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to claim 3,
When the redundant command detection unit detects a command to move the same axis a plurality of times while executing a movement command to move the tool to the final approach position with respect to the work as a command to generate the useless movement.
The machining program optimization unit rewrites the approach position first commanded by the movement command to the final approach position.
Machining program optimization device.
č«‹ę±‚é …ļ¼“ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå‹•ćć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ć€ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹åŽŸē‚¹å¾©åø°ęŒ‡ä»¤ćŒļ¼“å€‹ä»„äøŠå«ć¾ć‚Œć¦ć„ć‚‹ć“ćØć‚’ę¤œå‡ŗć—ćŸå “åˆć€
å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćÆć€ęœ€åˆćØęœ€å¾Œć®ćƒ¬ćƒ•ć‚”ćƒ¬ćƒ³ć‚¹åŽŸē‚¹å¾©åø°ęŒ‡ä»¤ä»„å¤–ć®ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to claim 3,
When the redundant command detection unit detects that three or more reference origin return commands are included in the machining program as commands for generating the useless movement.
The machining program optimization unit deletes commands other than the first and last reference home return commands.
Machining program optimization device.
č«‹ę±‚é …ļ¼“ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØć«ć‚ˆć‚Šć€å‰čØ˜ē„”é§„ćŖå¾…ć”ę™‚é–“ć‚’ē”Ÿęˆć™ć‚‹ęŒ‡ä»¤ćØć—ć¦ć€ē‰¹å®šć®ęŒ‡ä»¤ćŒć€ä»–ć®ęŒ‡ä»¤ć«å†…åŒ…ć•ć‚Œć‚‹ęŒ‡ä»¤ć§ć‚ć£ć¦ć€å‰čØ˜ä»–ć®ęŒ‡ä»¤ć®å‰ć«å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ćŒå­˜åœØć™ć‚‹å “åˆć€
å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćÆć€
å‰čØ˜ē‰¹å®šć®ęŒ‡ä»¤ć‚’å‰Šé™¤ć™ć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to claim 3,
When the specific command is a command included in another command as a command for generating the useless waiting time by the redundant command detection unit, and the specific command exists before the other command. ,
The machining program optimization unit
Delete the specific directive,
Machining program optimization device.
č«‹ę±‚é …ļ¼‘ļ½žļ¼™ć®ć„ćšć‚Œć‹ļ¼‘é …ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØć«ć‚ˆć‚Šć€ę‰€å®šć®å·„ä½œę©Ÿę¢°å°‚ē”Øć«äŗˆć‚ä½œęˆć•ć‚ŒćŸć€ę±Žē”ØęŒ‡ä»¤ć‚’åŒ…å«ć—ćŸå°‚ē”ØęŒ‡ä»¤ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€
å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćÆć€å‰čØ˜ę±Žē”ØęŒ‡ä»¤ć‚’å‰čØ˜å°‚ē”ØęŒ‡ä»¤ć«å¤‰ę›“ć™ć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to any one of claims 1 to 9,
When the redundant command detection unit detects a dedicated command including a general-purpose command created in advance exclusively for a predetermined machine tool.
The machining program optimization unit changes the general-purpose command to the dedicated command.
Machining program optimization device.
č«‹ę±‚é …ļ¼“ļ½žļ¼‘ļ¼ć®ć„ćšć‚Œć‹ļ¼‘é …ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØć«ć‚ˆć‚Šć€ę—©é€ć‚ŠęŒ‡ä»¤ć§ć®ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć«ć€åŠ å·„é€ć‚ŠęŒ‡ä»¤ć§ć®åŠ å·„ć‚’ę¤œå‡ŗć—ćŸå “åˆć€
å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćÆć€ćƒ¦ćƒ¼ć‚¶ć«ć€å‰čØ˜ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ćØć€åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ćØć®é–“ć®č·é›¢ć‚’å ±ēŸ„ć™ć‚‹ćØå…±ć«ć€å‰čØ˜ć‚¢ćƒ—ćƒ­ćƒ¼ćƒå¾Œć®ä½ē½®ć‚’å‰čØ˜åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ć«ć•ć‚‰ć«čæ‘ć„ć‘ć‚‹ć“ćØć§ć€éŽå‰°ćŖä½™č£•ć®ēø®å°ć®åÆčƒ½ę€§ćŒć‚ć‚‹ć“ćØć‚’å ±ēŸ„ć™ć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to any one of claims 3 to 10.
When the redundant command detection unit detects machining by the machining feed command after approaching by the fast forward command.
The machining program optimization unit notifies the user of the distance between the position after the approach and the machining feed start position, and further brings the position after the approach closer to the machining feed start position, thereby causing an excess. Notify that there is a possibility of reduction of margin,
Machining program optimization device.
č«‹ę±‚é …ļ¼“ļ½žļ¼™ć®ć„ćšć‚Œć‹ļ¼‘é …ć«čØ˜č¼‰ć®åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć«ćŠć„ć¦ć€
å‰čØ˜å†—é•·ęŒ‡ä»¤ę¤œå‡ŗéƒØć«ć‚ˆć‚Šć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć«ć€åŠ å·„ć®å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ęŒ‡ä»¤ćŒć‚ć‚‹ć‹å¦ć‹ćŒć‚µćƒ¼ćƒć•ć‚Œć€å‰čØ˜å›ŗå®šć‚µć‚¤ć‚Æćƒ«ćŒę¤œå‡ŗć•ć‚ŒćŸå “åˆć€
å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–éƒØćÆć€ćƒ¦ćƒ¼ć‚¶ć«ć€å›ŗå®šć‚µć‚¤ć‚Æćƒ«ļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«ć‚’åŠ å·„é€ć‚Šé–‹å§‹ä½ē½®ć«ć•ć‚‰ć«čæ‘ć„ć‘ć‚‹ć“ćØåŠć³ļ¼åˆćÆå›ŗå®šć‚µć‚¤ć‚Æćƒ«ć‚¤ćƒ‹ć‚·ćƒ£ćƒ«ćƒ¬ćƒ™ćƒ«å¾©åø°ć‚’å›ŗå®šć‚µć‚¤ć‚Æćƒ«ć®ļ¼²ē‚¹ćƒ¬ćƒ™ćƒ«å¾©åø°ć«å¤‰ę›“ć™ć‚‹ć“ćØćŒåÆčƒ½ć§ć‚ć‚Œć°å‰čØ˜éŽå‰°ćŖä½™č£•ć®ēø®å°ćŒåÆčƒ½ć§ć‚ć‚‹ć“ćØå ±ēŸ„ć™ć‚‹ć€
åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–č£…ē½®ć€‚
In the machining program optimization apparatus according to any one of claims 3 to 9,
The redundant command detection unit searches for whether or not there is a command for a fixed cycle of machining in the machining program, and when the fixed cycle is detected, the fixed cycle is detected.
If the machining program optimization unit can bring the fixed cycle R point level closer to the machining feed start position and / or change the fixed cycle initial level return to the fixed cycle R point level return to the user. Notifying that the excessive margin can be reduced.
Machining program optimization device.
å·„ä½œę©Ÿę¢°ć‚’å‹•ć‹ć™åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’ęœ€é©åŒ–ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć§ć‚ć£ć¦ć€
ęœ€é©åŒ–ć—ć‚ˆć†ćØć™ć‚‹å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å…„åŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å…„åŠ›ć‚¹ćƒ†ćƒƒćƒ—ćØć€
å…„åŠ›ć•ć‚ŒćŸå‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ äø­ć®äŗˆć‚å®šć‚ćŸå†—é•·ęŒ‡ä»¤ć‚’ę¤œå‡ŗć™ć‚‹å†—é•·ęŒ‡ä»¤ę¤œå‡ŗć‚¹ćƒ†ćƒƒćƒ—ćØć€
ę¤œå‡ŗć—ćŸå‰čØ˜å†—é•·ęŒ‡ä»¤ć‚’å‰Šé™¤åˆćÆå‰Šęø›ć—ć¦å‰čØ˜åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’äæ®ę­£ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ć‚¹ćƒ†ćƒƒćƒ—ćØć€
å‰čØ˜ęœ€é©åŒ–ć•ć‚ŒćŸåŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ć‚’å‡ŗåŠ›ć™ć‚‹åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ å‡ŗåŠ›ć‚¹ćƒ†ćƒƒćƒ—ćØć€
ć‚’å‚™ćˆć‚‹ć€åŠ å·„ćƒ—ćƒ­ć‚°ćƒ©ćƒ ęœ€é©åŒ–ę–¹ę³•ć€‚
It is a machining program optimization method that optimizes the machining program that moves the machine tool.
A machining program input step for inputting the machining program to be optimized, and
A redundancy command detection step for detecting a predetermined redundancy command in the input machining program, and
A machining program optimization step that corrects the machining program by deleting or reducing the detected redundancy command, and
The machining program output step that outputs the optimized machining program, and
A machining program optimization method.
JP2020153619A 2020-09-14 2020-09-14 Machining program optimization device and method thereof Pending JP2022047702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020153619A JP2022047702A (en) 2020-09-14 2020-09-14 Machining program optimization device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020153619A JP2022047702A (en) 2020-09-14 2020-09-14 Machining program optimization device and method thereof

Publications (1)

Publication Number Publication Date
JP2022047702A true JP2022047702A (en) 2022-03-25

Family

ID=80781211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020153619A Pending JP2022047702A (en) 2020-09-14 2020-09-14 Machining program optimization device and method thereof

Country Status (1)

Country Link
JP (1) JP2022047702A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7654172B1 (en) * 2024-03-13 2025-03-31 äø‰č±é›»ę©Ÿę Ŗå¼ä¼šē¤¾ Machining program correction support device, machining program correction support method, and machining system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7654172B1 (en) * 2024-03-13 2025-03-31 äø‰č±é›»ę©Ÿę Ŗå¼ä¼šē¤¾ Machining program correction support device, machining program correction support method, and machining system

Similar Documents

Publication Publication Date Title
US6597142B2 (en) Apparatus and method for setting control parameters of machining apparatus
EP0002750A1 (en) Computerized numerical controller for a machine tool
JP6684549B2 (en) Numerical control device for machine tool, machine tool, machine tool control method and program
JP7301486B1 (en) Information processing device and program
CN117440869A (en) Vibration cutting condition setting device for machine tool
JPH02259911A (en) Numerical controller
JP2022047702A (en) Machining program optimization device and method thereof
JP4059411B2 (en) NC machine tool controller
JP2019079244A (en) Numeric control device
JP6770018B2 (en) Setting device and setting program
JP2018116422A (en) Numerical control device
JP6444923B2 (en) Numerical controller
JPH06202723A (en) Numerically controlled machine tool
JP2021068180A (en) Optimization processor
US8498733B2 (en) Method and apparatus for reducing tool change operations
JP7401665B2 (en) Numerical control device and control method
JP6987960B1 (en) Information processing equipment
JP4549051B2 (en) Machine tool axis control device, machine tool axis control program
JPH05305540A (en) Tool exchange method for working device
JP4286940B2 (en) NC machining program creation method and apparatus for machine tools
JP2009075727A (en) Numerical control device, numerical control program, and storage medium storing numerical control program
JP3049485B2 (en) Control device for program operation machine and conversion device for control program
JP7602013B2 (en) Numerical Control Device
WO2023276121A1 (en) Numerical control device
US20230060229A1 (en) Machine tool