Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7694438B2 - Control device, machine tool, control method, and computer program - Google Patents
[go: Go Back, main page]

JP7694438B2 - Control device, machine tool, control method, and computer program - Google Patents

Control device, machine tool, control method, and computer program Download PDF

Info

Publication number
JP7694438B2
JP7694438B2 JP2022060813A JP2022060813A JP7694438B2 JP 7694438 B2 JP7694438 B2 JP 7694438B2 JP 2022060813 A JP2022060813 A JP 2022060813A JP 2022060813 A JP2022060813 A JP 2022060813A JP 7694438 B2 JP7694438 B2 JP 7694438B2
Authority
JP
Japan
Prior art keywords
command
movement
workpiece
spindle
unit
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.)
Active
Application number
JP2022060813A
Other languages
Japanese (ja)
Other versions
JP2023151280A (en
Inventor
優 甲斐
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2022060813A priority Critical patent/JP7694438B2/en
Publication of JP2023151280A publication Critical patent/JP2023151280A/en
Application granted granted Critical
Publication of JP7694438B2 publication Critical patent/JP7694438B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Description

本技術は、工具を装着する主軸及びワークを保持する保持部を制御する制御装置、工作機械、制御方法及びコンピュータプログラムに関する。 This technology relates to a control device, a machine tool, a control method, and a computer program that controls a spindle on which a tool is attached and a holding unit that holds a workpiece.

工作機械は、加工プログラムを読み出してワークの加工を実行する。加工プログラムは、例えば工具を装着する主軸の移動を示す先行指令と、該先行指令の後に読み出され、ワークを保持する保持部の移動を示す基準指令とを含む。工作機械の制御装置は、先行指令の実行時に保持部の制動を解除する。基準指令の実行前に保持部の制動を解除するので、ワークの加工に要する時間を短縮できる(特許文献1参照)。 The machine tool reads out a machining program to machine a workpiece. The machining program includes, for example, a preceding command that indicates the movement of a spindle on which a tool is attached, and a reference command that is read out after the preceding command and indicates the movement of a holding part that holds the workpiece. The control device of the machine tool releases the brake on the holding part when the preceding command is executed. Since the brake on the holding part is released before the reference command is executed, the time required to machine the workpiece can be shortened (see Patent Document 1).

特開2018-173912号公報JP 2018-173912 A

先行指令が示す主軸の移動は、ワーク加工時、例えば穴空け加工時の主軸の移動も含む。ワーク加工時に保持部の制動を解除した場合、ワークが不必要に移動し、加工精度が低下するおそれがある。 The spindle movement indicated by the preceding command includes the movement of the spindle when machining the workpiece, for example when drilling a hole. If the brake on the holding part is released while machining the workpiece, the workpiece may move unnecessarily, which may result in reduced machining accuracy.

本開示は斯かる事情に鑑みてなされたものであり、ワークの加工に要する時間を短縮しつつ、加工精度の低下を抑制できる制御装置、工作機械、制御方法及びコンピュータプログラムを提供することを目的とする。 This disclosure has been made in consideration of these circumstances, and aims to provide a control device, machine tool, control method, and computer program that can reduce the time required to machine a workpiece while suppressing a decrease in machining accuracy.

本開示の一実施形態に係る制御装置は、複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御装置において、前記保持部は移動のために予め制動解除が必要であり、軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定する移動判定部と、該移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令における前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置であるか否かを判定する開始位置判定部と、該開始位置判定部にて、前記移動開始位置が前記ワークから第一距離以上離れた位置であると判定した場合、前記第一指令の実行中に前記保持部の制動解除を実行する第一実行部とを備える。 A control device according to one embodiment of the present disclosure reads out a plurality of commands in sequence to control the movement of a movable spindle on which a tool is attached and a movable holding unit that holds a workpiece, the holding unit needs to be braked beforehand in order to move, and includes a movement determination unit that, when a first command is read out that is a command indicating the movement of the spindle away from the workpiece in the axial direction, determines whether a second command read out after the first command is a command indicating the movement of the holding unit, a start position determination unit that, when the movement determination unit determines that the second command is a command indicating the movement of the holding unit, determines whether the movement start position of the spindle in the first command is a position that is a first distance or more away from the workpiece, and a first execution unit that executes brake release of the holding unit during execution of the first command when the start position determination unit determines that the movement start position is a position that is the first distance or more away from the workpiece.

本開示にあっては、主軸の移動開始位置がワークから第一距離以上離れた位置である場合、第一指令の実行中に保持部の制動解除を実行する。第一指令の実行中にワークが移動しても、ワークの移動はワークの加工に影響しない。 In the present disclosure, when the spindle movement start position is a position that is a first distance or more away from the workpiece, the brake of the holding unit is released while the first command is being executed. Even if the workpiece moves while the first command is being executed, the movement of the workpiece does not affect the machining of the workpiece.

本開示の一実施形態に係る制御装置は、前記開始位置判定部にて、前記移動開始位置が前記ワークから第一距離以上離れた位置であると判定した場合、前記第一指令に紐づけて前記保持部の制動を解除する制動解除指令を記憶部に書き込む第一書き込み部を備え、前記第一実行部は、前記第一指令の実行時に、前記第一書き込み部にて書き込まれた前記制動解除指令を実行する。 A control device according to an embodiment of the present disclosure includes a first writing unit that writes a brake release command to release the brake of the holding unit in a memory unit in association with the first command when the start position determination unit determines that the movement start position is a position that is a first distance or more away from the workpiece, and the first execution unit executes the brake release command written by the first writing unit when the first command is executed.

本開示にあっては、第一指令に紐づけて制動解除指令を記憶部に書き込み、第一指令の保持部の制動解除との並行的な実行を実現する。 In this disclosure, the brake release command is written to the memory unit in association with the first command, and the first command is executed in parallel with the brake release of the holding unit.

本開示の一実施形態に係る制御装置は、前記開始位置判定部にて、前記移動開始位置が前記ワークから第一距離以上離れた位置でないと判定した場合、前記主軸の移動終了位置が前記ワークから第一距離以上離れた位置であるか否かを判定する終了位置判定部と、該終了位置判定部にて、前記移動終了位置が前記ワークから第一距離以上離れた位置であると判定した場合、前記第一指令の実行時に、前記主軸が前記ワークから第一距離以上離れた位置に到達した際に前記保持部の制動解除を実行する第二実行部とを備える。 The control device according to one embodiment of the present disclosure includes an end position determination unit that determines whether the end position of the movement of the spindle is a position that is a first distance or more away from the workpiece when the start position determination unit determines that the movement start position is not a position that is a first distance or more away from the workpiece, and a second execution unit that releases the brake of the holding unit when the spindle reaches a position that is the first distance or more away from the workpiece during execution of the first command when the end position determination unit determines that the movement end position is a position that is the first distance or more away from the workpiece.

本開示にあっては、主軸の移動開始位置はワークから第一距離以上離れない場合であって、主軸の移動終了位置はワークから第一距離以上離れる場合、第一指令の実行時に、主軸がワークから第一距離以上離れた位置に到達した際に保持部の制動解除を実行する。保持部の制動解除時に工具はワークに非干渉な位置にある。 In the present disclosure, when the start position of the spindle movement is not more than a first distance away from the workpiece and the end position of the spindle movement is more than the first distance away from the workpiece, the brake of the holding unit is released when the spindle reaches a position more than the first distance away from the workpiece upon execution of a first command. When the brake of the holding unit is released, the tool is in a position that does not interfere with the workpiece.

本開示の一実施形態に係る制御装置は、前記終了位置判定部にて、前記移動終了位置が前記ワークから第一距離以上離れた位置であると判定した場合、前記第一指令に紐づけて前記主軸が前記ワークから第一距離以上離れた位置に到達した際に前記保持部の制動を解除する制動解除指令を記憶部に書き込む第二書き込み部を備え、前記第二実行部は、前記第一指令の実行時に、前記第二書き込み部にて書き込まれた前記制動解除指令を実行する。 A control device according to an embodiment of the present disclosure includes a second writing unit that, when the end position determination unit determines that the movement end position is a position that is a first distance or more away from the workpiece, writes a brake release command to a memory unit that is linked to the first command and releases the brake of the holding unit when the spindle reaches a position that is the first distance or more away from the workpiece, and the second execution unit executes the brake release command written by the second writing unit when the first command is executed.

本開示にあっては、第一指令に紐づけて、主軸がワークから第一距離以上離れた位置に到達した際に保持部の制動を解除する指令を記憶部に書き込み、工具とワークの非干渉を実現する。 In this disclosure, a command is written to the memory unit in response to the first command to release the brake on the holding unit when the spindle reaches a position that is a first distance or more away from the workpiece, thereby preventing interference between the tool and the workpiece.

本開示の一実施形態に係る制御装置は、複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御装置において、前記保持部は移動のために予め制動解除が必要であり、前記ワークから第一距離離れた第一位置と、前記ワークに接触する第二位置との間を前記主軸が繰り返し移動する第一繰り返し指令を読み出したか否か判定する第一繰り返し判定部と、該第一繰り返し判定部にて前記第一繰り返し指令を読み出したと判定した場合、軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出したか否か判定する軸方向移動判定部と、該軸方向移動判定部にて前記第一指令を読み出したと判定した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定する保持部移動判定部と、該保持部移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令の実行時に前記保持部の制動解除を実行する第三実行部とを備える。 A control device according to one embodiment of the present disclosure reads out a plurality of commands in sequence to control the movement of a movable spindle on which a tool is attached and a movable holding unit that holds a workpiece, and includes a first repetition determination unit that determines whether a first repetition command has been read out, in which the holding unit needs to be released from the brake beforehand in order to move, and the spindle repeatedly moves between a first position a first distance away from the workpiece and a second position in contact with the workpiece; an axial movement determination unit that determines whether a first command has been read out, which is a command indicating the movement of the spindle away from the workpiece in the axial direction, when the first repetition determination unit determines that the first command has been read out; a holding unit movement determination unit that determines whether a second command read out after the first command is a command indicating the movement of the holding unit, when the holding unit movement determination unit determines that the second command is a command indicating the movement of the holding unit; and a third execution unit that executes release of the brake of the holding unit when the first command is executed, when the holding unit movement determination unit determines that the second command is a command indicating the movement of the holding unit.

本開示にあっては、第一繰り返し指令の後に第一指令が実行され、第一指令の後に保持部の移動が実行される場合、第一指令の実行中に保持部の制動解除を実行する。 In the present disclosure, when the first command is executed after the first repeat command, and the movement of the holding part is executed after the first command, the brake of the holding part is released during the execution of the first command.

本開示の一実施形態に係る制御装置は、前記保持部移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令に紐づけて前記保持部の制動を解除する制動解除指令を記憶部に書き込む第三書き込み部を備え、前記第三実行部は、前記第一指令の実行時に、前記第三書き込み部にて書き込まれた前記制動解除指令を実行する。 The control device according to one embodiment of the present disclosure includes a third writing unit that writes a brake release command to release the brake of the holding unit in a memory unit in association with the first command when the holding unit movement determination unit determines that the second command is a command indicating movement of the holding unit, and the third execution unit executes the brake release command written by the third writing unit when the first command is executed.

本開示にあっては、第一繰り返し指令の後に実行される第一指令に紐づけて制動解除指令を記憶部に書き込み、第一指令と保持部の制動解除との並行的な実行を実現する。 In this disclosure, the brake release command is written to the memory unit in association with the first command executed after the first repeat command, and the first command and the brake release of the holding unit are executed in parallel.

本開示の一実施形態に係る制御装置は、複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御装置において、前記保持部は移動のために予め制動解除が必要であり、前記ワークから第一距離離れた第一位置と、前記ワークに接触する第二位置との間を前記主軸が繰り返し移動する繰り返し動作を実行する為の指令であって、前記繰り返し動作の終了位置が前記第一位置とは異なる前記ワークから第二距離離れた第三位置である第二繰り返し指令を読み出したか否か判定する第二繰り返し判定部と、該第二繰り返し判定部にて前記第二繰り返し指令を読み出したと判定した場合、軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出したか否か判定する軸方向移動判定部と、該軸方向移動判定部にて前記第一指令を読み出したと判定した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定する保持部移動判定部と、該保持部移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令の実行時に、前記主軸が前記ワークから第一距離以上離れた位置に到達した際に前記保持部の制動解除を実行する第四実行部を備える。 A control device according to one embodiment of the present disclosure sequentially reads out a plurality of commands to control the movement of a movable spindle on which a tool is attached and a movable holding unit which holds a workpiece, the holding unit needs to be braked beforehand in order to move, the spindle is to repeatedly move between a first position a first distance away from the workpiece and a second position in contact with the workpiece, and a second repetition determination unit determines whether a second repetition command has been read out, the second repetition command being a command for executing a repetitive operation in which the spindle repeatedly moves between a first position a first distance away from the workpiece and a second position in contact with the workpiece, the end position of the repetitive operation being a third position a second distance away from the workpiece different from the first position, and a second repetition determination unit determines whether the second repetition command has been read out, The device includes an axial movement determination unit that, when it is determined that a repeat command has been read, determines whether a first command has been read, which is a command indicating movement of the spindle away from the workpiece in the axial direction; a holding unit movement determination unit that, when it is determined that the first command has been read by the axial movement determination unit, determines whether a second command read after the first command is a command indicating movement of the holding unit; and a fourth execution unit that, when the first command is executed and the holding unit movement determination unit determines that the second command is a command indicating movement of the holding unit, releases the brake of the holding unit when the spindle reaches a position that is a first distance or more away from the workpiece.

本開示にあっては、第二繰り返し指令を読み出した場合、第一指令の実行中に、主軸がワークから第一距離以上離れた位置に到達した際に保持部の制動解除を実行する。 In this disclosure, when the second repeat command is read, the brake of the holding unit is released when the spindle reaches a position that is at least the first distance away from the workpiece during execution of the first command.

本開示の一実施形態に係る制御装置は、前記保持部移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令に紐づけて前記主軸が前記ワークから第一距離以上離れた位置に到達した際に前記保持部の制動を解除する制動解除指令を記憶部に書き込む第四書き込み部を備え、前記第四実行部は、前記第一指令の実行時に、前記第四書き込み部にて書き込まれた前記制動解除指令を実行する。 The control device according to one embodiment of the present disclosure includes a fourth writing unit that, when the holding unit movement determination unit determines that the second command is a command indicating movement of the holding unit, writes into a memory unit a brake release command that is linked to the first command and that releases the brake of the holding unit when the spindle reaches a position that is a first distance or more away from the workpiece, and the fourth execution unit executes the brake release command written by the fourth writing unit when the first command is executed.

本開示にあっては、第二繰り返し指令の読み出し時に、第一指令に紐づけて、主軸がワークから第一距離以上離れた位置に到達した際に制動を解除する指令を記憶部に書き込み、工具とワークの非干渉を実現する。 In this disclosure, when the second repeat command is read, a command is written to the memory unit that is linked to the first command and that releases the brake when the spindle reaches a position that is a first distance or more away from the workpiece, thereby realizing non-interference between the tool and the workpiece.

本開示の一実施形態に係る工作機械は、工具を装着する移動可能な主軸と、ワークを保持する移動可能な保持部と、複数の指令を順に読み出して、前記主軸及び保持部の移動を制御する制御装置とを備える工作機械において、前記保持部は移動のために予め制動解除が必要であり、前記制御装置は、軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定する移動判定部と、該移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令における前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置であるか否かを判定する開始位置判定部と、該開始位置判定部にて、前記移動開始位置が前記ワークから第一距離以上離れた位置であると判定した場合、前記第一指令の実行中に前記保持部の制動解除を実行する第一実行部とを備える。 A machine tool according to an embodiment of the present disclosure includes a movable spindle on which a tool is attached, a movable holding unit that holds a workpiece, and a control device that reads out a plurality of commands in sequence to control the movement of the spindle and the holding unit. The holding unit needs to be released from the brake before it can move. The control device includes a movement determination unit that, when a first command is read out, which is a command indicating the movement of the spindle away from the workpiece in the axial direction, determines whether a second command read out after the first command is a command indicating the movement of the holding unit, and, when the movement determination unit determines that the second command is a command indicating the movement of the holding unit, determines whether the movement start position of the spindle in the first command is a position that is a first distance or more away from the workpiece. And, when the start position determination unit determines that the movement start position is a position that is the first distance or more away from the workpiece, a first execution unit that executes release of the brake of the holding unit during execution of the first command.

本開示にあっては、主軸の移動開始位置がワークから第一距離以上離れた位置である場合、第一指令の実行中に保持部の制動解除を実行する。第一指令の実行中にワークが移動しても、ワークの移動はワークの加工に影響しない。 In the present disclosure, when the spindle movement start position is a position that is a first distance or more away from the workpiece, the brake of the holding unit is released while the first command is being executed. Even if the workpiece moves while the first command is being executed, the movement of the workpiece does not affect the machining of the workpiece.

本開示の一実施形態に係る制御方法は、複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御方法において、前記保持部は移動のために予め制動解除が必要であり、軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定し、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令における前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置であるか否かを判定し、前記移動開始位置が前記ワークから第一距離以上離れた位置であると判定した場合、前記第一指令の実行中に前記保持部の制動解除を実行する。 A control method according to an embodiment of the present disclosure reads out a plurality of commands in sequence to control the movement of a movable spindle on which a tool is attached and a movable holder that holds a workpiece, the holder requires a brake release in advance to move, and when a first command is read out which is a command indicating the movement of the spindle away from the workpiece in the axial direction, it is determined whether a second command read out after the first command is a command indicating the movement of the holder, and when it is determined that the second command is a command indicating the movement of the holder, it is determined whether the movement start position of the spindle in the first command is a position that is a first distance or more away from the workpiece, and when it is determined that the movement start position is a position that is the first distance or more away from the workpiece, the brake of the holder is released during the execution of the first command.

本開示にあっては、主軸の移動開始位置がワークから第一距離以上離れた位置である場合、第一指令の実行中に保持部の制動解除を実行する。第一指令の実行中にワークが移動しても、ワークの移動はワークの加工に影響しない。 In the present disclosure, when the spindle movement start position is a position that is a first distance or more away from the workpiece, the brake of the holding unit is released while the first command is being executed. Even if the workpiece moves while the first command is being executed, the movement of the workpiece does not affect the machining of the workpiece.

本開示の一実施形態に係る制御方法は、複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御方法において、前記保持部は移動のために予め制動解除が必要であり、軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令の後に、前記保持部の移動を示す第二指令を実行する場合、前記第一指令における前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置の場合、前記第一指令の実行中に前記保持部の制動解除を実行し、前記第一指令における前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置でない場合、前記第一指令の実行後に前記保持部の制動解除を実行する。 A control method according to one embodiment of the present disclosure reads out a plurality of commands in sequence to control the movement of a movable spindle on which a tool is attached and a movable holding unit that holds a workpiece, the holding unit needs to be braked before it can move, and when a second command indicating the movement of the holding unit is executed after a first command which is a command indicating the movement of the spindle away from the workpiece in the axial direction, if the movement start position of the spindle in the first command is a position that is a first distance or more away from the workpiece, the brake of the holding unit is released during the execution of the first command, and if the movement start position of the spindle in the first command is not a position that is the first distance or more away from the workpiece, the brake of the holding unit is released after the execution of the first command.

本開示にあっては、主軸の移動開始位置がワークから第一距離以上離れた位置である場合、第一指令の実行中に保持部の制動解除を実行する。第一指令の実行中にワークが移動しても、ワークの移動はワークの加工に影響しない。 In the present disclosure, when the spindle movement start position is a position that is a first distance or more away from the workpiece, the brake of the holding unit is released while the first command is being executed. Even if the workpiece moves while the first command is being executed, the movement of the workpiece does not affect the machining of the workpiece.

本開示の一実施形態に係るコンピュータプログラムは、複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御装置で実行可能なコンピュータプログラムにおいて、前記保持部は移動のために予め制動解除が必要であり、制御装置に、軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定し、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令における前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置であるか否かを判定し、前記移動開始位置が前記ワークから第一距離以上離れた位置であると判定した場合、前記第一指令の実行中に前記保持部の制動解除を実行する処理を実行させる。 A computer program according to an embodiment of the present disclosure is a computer program executable by a control device that sequentially reads out a plurality of commands to control the movement of a movable spindle on which a tool is attached and a movable holding unit that holds a workpiece, the holding unit needs to be braked before it can move, and the control device executes a process to read out a first command that is a command indicating the movement of the spindle away from the workpiece in the axial direction, determine whether a second command read out after the first command is a command indicating the movement of the holding unit, determine whether the movement start position of the spindle in the first command is a position that is a first distance or more away from the workpiece, and execute a process to release the brake of the holding unit while the first command is being executed if it is determined that the movement start position is a position that is the first distance or more away from the workpiece.

本開示にあっては、主軸の移動開始位置がワークから第一距離以上離れた位置である場合、第一指令の実行中に保持部の制動解除を実行する。第一指令の実行中にワークが移動しても、ワークの移動はワークの加工に影響しない。 In the present disclosure, when the spindle movement start position is a position that is a first distance or more away from the workpiece, the brake of the holding unit is released while the first command is being executed. Even if the workpiece moves while the first command is being executed, the movement of the workpiece does not affect the machining of the workpiece.

本開示の一実施形態に係る制御装置、工作機械、制御方法及びコンピュータプログラムにあっては、主軸の移動開始位置がワークから第一距離以上離れた位置である場合、第一指令の実行時に保持部の制動解除を実行する。第一指令の実行中にワークが移動しても、ワークの移動はワークの加工に影響せず、加工時間を短縮しつつ、加工精度の低下を抑制することができる。 In the control device, machine tool, control method, and computer program according to an embodiment of the present disclosure, if the movement start position of the spindle is a position that is a first distance or more away from the workpiece, the brake of the holding unit is released when the first command is executed. Even if the workpiece moves during the execution of the first command, the movement of the workpiece does not affect the machining of the workpiece, and it is possible to reduce the machining time while suppressing a decrease in machining accuracy.

実施の形態1に係る工作機械の斜視図である。1 is a perspective view of a machine tool according to a first embodiment; 工具交換装置及び軌道を覆うカバー等を省略した工作機械の斜視図である。FIG. 2 is a perspective view of the machine tool omitting the tool changer and the cover that covers the track. ワーク保持装置の正面側斜視図である。FIG. 2 is a front perspective view of the work holding device. 制御装置の構成を略示するブロック図である。FIG. 2 is a block diagram illustrating a simplified configuration of a control device. 不揮発性メモリに記憶した加工プログラムの一例を示す概念図である。FIG. 4 is a conceptual diagram showing an example of a machining program stored in a non-volatile memory. 図5の各ブロックの指令の動作を示す模式図である。6 is a schematic diagram showing the operation of commands in each block in FIG. 5 . RAMに書き込んだ加工プログラム及び制動解除指令の一例を示す概念図である。11 is a conceptual diagram showing an example of a machining program and a brake release command written in a RAM. FIG. 制御装置による加工処理を説明するフローチャートである。4 is a flowchart illustrating a processing process performed by a control device. 不揮発性メモリに記憶した加工プログラムの他例を示す概念図である。FIG. 11 is a conceptual diagram showing another example of a machining program stored in the nonvolatile memory. 図9の各ブロックの指令の動作を示す模式図である。FIG. 10 is a schematic diagram showing the command operations of each block in FIG. 9 . RAMに書き込んだ加工プログラム及び制動解除指令の一例を示す概念図である。11 is a conceptual diagram showing an example of a machining program and a brake release command written in a RAM. FIG. 実施の形態2に係る不揮発性メモリに記憶した加工プログラムの一例を示す概念図である。FIG. 11 is a conceptual diagram showing an example of a machining program stored in a non-volatile memory according to the second embodiment. 図12の各ブロックの指令の動作を示す模式図である。FIG. 13 is a schematic diagram showing the command operation of each block in FIG. 12 . RAMに書き込んだ加工プログラム及び制動解除指令の一例を示す概念図である。11 is a conceptual diagram showing an example of a machining program and a brake release command written in a RAM. FIG. 制御装置による加工処理を説明するフローチャートである。4 is a flowchart illustrating a processing process performed by a control device. 実施の形態3に係る不揮発性メモリに記憶した加工プログラムの一例を示す概念図である。FIG. 13 is a conceptual diagram showing an example of a machining program stored in a non-volatile memory according to the third embodiment. 図16の各ブロックの指令の動作を示す模式図である。FIG. 17 is a schematic diagram showing the command operation of each block in FIG. 16 . RAMに書き込んだ加工プログラム及び制動解除指令の一例を示す概念図である。11 is a conceptual diagram showing an example of a machining program and a brake release command written in a RAM. FIG. 制御装置による加工処理を説明するフローチャートである。4 is a flowchart illustrating a processing process performed by a control device.

(実施の形態1)
以下本発明を実施の形態1に係る工作機械を示す図面に基づいて説明する。以下の説明では図において矢印で示す上下、左右及び前後を使用する。作業者は前方で工作機械を操作し、ワークW(図6参照)の着脱を行う。図1は工作機械の斜視図であり、図2は工具交換装置及び軌道を覆うカバー等を省略した工作機械の斜視図である。
(Embodiment 1)
The present invention will be described below based on the drawings showing a machine tool according to a first embodiment. In the following description, up/down, left/right, and front/rear directions will be used as indicated by arrows in the drawings. An operator operates the machine tool from the front and loads/unloads a workpiece W (see FIG. 6). FIG 1 is a perspective view of the machine tool, and FIG 2 is a perspective view of the machine tool with the tool changer and the cover covering the track, etc., omitted.

工作機械100は、基台20、Y軸方向移動装置22、X軸方向移動装置26、立柱28、Z軸方向移動装置30、主軸ヘッド32、工具交換装置10等を備える。X軸方向は左右方向に対応し、Y軸方向は前後方向に対応し、Z軸方向は上下方向に対応する。基台20は床面上に固定してある。基台20は、Y軸方向移動装置22、X軸方向移動装置26を介して立柱28を前後方向及び左右方向に移動可能に支持する。基台20はワーク保持装置120を支持する。ワーク保持装置120は保持部に対応する。立柱28にZ軸方向移動装置30が設けてある。Z軸方向移動装置30は主軸ヘッド32を上下方向に移動する。工具交換装置10は、主軸ヘッド32に装着する工具を交換する。 The machine tool 100 includes a base 20, a Y-axis direction moving device 22, an X-axis direction moving device 26, a vertical column 28, a Z-axis direction moving device 30, a spindle head 32, a tool changer 10, and the like. The X-axis direction corresponds to the left-right direction, the Y-axis direction corresponds to the front-rear direction, and the Z-axis direction corresponds to the up-down direction. The base 20 is fixed on the floor. The base 20 supports the vertical column 28 so that it can move in the front-rear direction and the left-right direction via the Y-axis direction moving device 22 and the X-axis direction moving device 26. The base 20 supports a workpiece holding device 120. The workpiece holding device 120 corresponds to a holding section. The Z-axis direction moving device 30 is provided on the vertical column 28. The Z-axis direction moving device 30 moves the spindle head 32 in the up-down direction. The tool changer 10 changes the tool attached to the spindle head 32.

Y軸方向移動装置22は、互いに平行な二つの軌道22a、複数の移動体22b、Y軸方向移動台22c及びY軸モータ22d(図4参照)を備える。軌道22aは基台20の上面にて前後方向に延びる。移動体22bは二つの軌道22a夫々に前後方向に移動可能に嵌合する。Y軸方向移動台22cは二つの軌道22aに跨がって移動体22b上に固定してある。Y軸モータ22dの駆動によって、Y軸方向移動台22cは前後方向に移動する。 The Y-axis direction moving device 22 comprises two parallel tracks 22a, multiple moving bodies 22b, a Y-axis direction moving table 22c, and a Y-axis motor 22d (see FIG. 4). The track 22a extends in the front-rear direction on the top surface of the base 20. The moving bodies 22b are fitted into each of the two tracks 22a so as to be movable in the front-rear direction. The Y-axis direction moving table 22c is fixed onto the moving bodies 22b, straddling the two tracks 22a. The Y-axis direction moving table 22c moves in the front-rear direction when driven by the Y-axis motor 22d.

X軸方向移動装置26は、互いに平行な二つの軌道26a、複数の移動体26b、立柱台26c及びX軸モータ26d(図4参照)を備える。軌道26aはY軸方向移動台22cの上面に左右方向に延びる。移動体26bは二つの軌道26a夫々に左右方向に移動可能に嵌合する。立柱台26cは二つの軌道26aに跨がって移動体26b上に固定してある。立柱28は立柱台26c上に固定してある。X軸モータ26dの駆動によって、立柱台26cは左右方向に移動する。立柱28は、Y軸方向移動装置22及びX軸方向移動装置26によって前後方向及び左右方向に移動する。 The X-axis direction moving device 26 includes two parallel tracks 26a, multiple moving bodies 26b, a pillar base 26c, and an X-axis motor 26d (see FIG. 4). The track 26a extends in the left-right direction on the upper surface of the Y-axis direction moving base 22c. The moving bodies 26b are fitted into each of the two tracks 26a so as to be movable in the left-right direction. The pillar base 26c is fixed onto the moving bodies 26b, straddling the two tracks 26a. The pillar 28 is fixed onto the pillar base 26c. The pillar base 26c moves in the left-right direction when driven by the X-axis motor 26d. The pillar 28 moves in the front-rear and left-right directions by the Y-axis direction moving device 22 and the X-axis direction moving device 26.

Z軸方向移動装置30は、互いに平行な二つの軌道30a、複数の移動体30b、主軸ヘッド台30c及びZ軸モータ30d(図4参照)を備える。軌道30aは、立柱28の前面に上下方向に延びる。複数の移動体30bは二つの軌道30a夫々に上下方向に移動可能に嵌合する。主軸ヘッド台30cは二つの軌道30aに跨がって移動体30bの前面に固定してある。Z軸モータ30dの駆動によって、主軸ヘッド台30cは上下方向に移動する。 The Z-axis direction moving device 30 comprises two parallel tracks 30a, multiple moving bodies 30b, a spindle head table 30c, and a Z-axis motor 30d (see FIG. 4). The track 30a extends vertically on the front surface of the upright column 28. The multiple moving bodies 30b are fitted to each of the two tracks 30a so as to be vertically movable. The spindle head table 30c is fixed to the front surface of the moving body 30b, straddling the two tracks 30a. The spindle head table 30c moves vertically when driven by the Z-axis motor 30d.

主軸ヘッド32は主軸ヘッド台30cに固定してある。主軸ヘッド32は、前側内部に上下方向に延びる主軸34を回転可能に保持する。主軸34は中空の筒形状をなす。X軸モータ26d、Y軸モータ22d及びZ軸モータ30dを駆動制御することで、主軸ヘッド32は前後、左右及び上下に移動する。 The spindle head 32 is fixed to the spindle head base 30c. The spindle head 32 rotatably holds the spindle 34, which extends vertically inside the front side. The spindle 34 has a hollow cylindrical shape. By controlling the drive of the X-axis motor 26d, the Y-axis motor 22d, and the Z-axis motor 30d, the spindle head 32 moves forward/backward, left/right, and up/down.

工具交換装置10は、長円形の軌道(図示略)、該軌道を移動する複数の移動台(図示略)を備える。軌道は主軸ヘッド32及び立柱28を囲み、前側下方から後側上方へ延び、水平面から所定角度傾斜する。複数の移動台はリンクによってチェーン状に結合されている。図1に示すように、ギア51及び駆動モータ52が軌道の内側に配置してある。ギア51は駆動モータ52に連結し、駆動モータ52の駆動によって回転する。複数の移動台はギア51に噛合し、駆動モータ52の駆動によって軌道上を回転する。各移動台は把持アーム53を支持する。 The tool changer 10 is equipped with an elliptical track (not shown) and multiple movable carriages (not shown) that move on the track. The track surrounds the spindle head 32 and the upright column 28, extends from the lower front to the upper rear, and is inclined at a predetermined angle from the horizontal plane. The multiple movable carriages are connected in a chain shape by links. As shown in FIG. 1, a gear 51 and a drive motor 52 are disposed inside the track. The gear 51 is connected to the drive motor 52 and rotates when driven by the drive motor 52. The multiple movable carriages mesh with the gear 51 and rotate on the track when driven by the drive motor 52. Each movable carriage supports a gripping arm 53.

空の把持アーム53を工具交換装置10の軌道の前端部に配置し、工具11を装着した主軸34が上昇することによって、把持アーム53は工具11を主軸34から取り外して把持する。工具11を把持する把持アーム53を工具交換装置10の軌道の前端部に配置し、工具11を把持していない主軸34が下降することによって、主軸34は工具11を装着する。 The empty gripping arm 53 is placed at the front end of the orbit of the tool changer 10, and the spindle 34 with the tool 11 attached thereto rises, causing the gripping arm 53 to remove the tool 11 from the spindle 34 and grip it. The gripping arm 53 gripping the tool 11 is placed at the front end of the orbit of the tool changer 10, and the spindle 34 not gripping the tool 11 is lowered, causing the spindle 34 to attach the tool 11.

図3は、ワーク保持装置120の正面側斜視図である。ワーク保持装置120は、支持台121を備える。支持台121の左右部夫々に、左右方向を軸方向とした軸部122が設けてある。以下軸部122の中心軸をA軸とも称する。左側の軸部122は支持部124によって、A軸回りに回転可能に支持してある。支持部124は基台20に連結する。支持台121の上面に、C軸回りに回転可能な回転台127が設けてある。C軸は支持台121の上面に直交する。 Figure 3 is a front perspective view of the workpiece holding device 120. The workpiece holding device 120 includes a support table 121. A shaft portion 122 with its axial direction extending in the left-right direction is provided on each of the left and right portions of the support table 121. Hereinafter, the central axis of the shaft portion 122 is also referred to as the A-axis. The left-side shaft portion 122 is supported by a support portion 124 so as to be rotatable around the A-axis. The support portion 124 is connected to the base 20. A rotating table 127 rotatable around the C-axis is provided on the upper surface of the support table 121. The C-axis is perpendicular to the upper surface of the support table 121.

右側の軸部122は支持部123によって、A軸回りに回転可能に支持してある。支持部123にはA軸モータ125が設けてある。支持部123内にギヤ、カム、カムフォロワ等の伝動部材(図示略)が収容してある。A軸モータ125の回転は伝動部材を介して軸部122に伝達し、支持台121はA軸回りに回転する。支持台121の上部に回転台127が設けてあり、支持台121の下部にC軸駆動部126が設けてある。C軸駆動部126はC軸モータ79(図4参照)を有し、C軸モータ79の回転によって回転台127はC軸回りに回転する。ワーク保持装置120はA軸モータ125の制動又は制動解除を行うA軸ブレーキB1(図4参照)と、C軸モータ79の制動又は制動解除を行うC軸ブレーキB2(図4参照)とを備える。 The right-side shaft portion 122 is supported by a support portion 123 so that it can rotate around the A-axis. An A-axis motor 125 is provided in the support portion 123. Transmission members (not shown) such as gears, cams, and cam followers are housed within the support portion 123. The rotation of the A-axis motor 125 is transmitted to the shaft portion 122 via the transmission members, and the support base 121 rotates around the A-axis. A rotating table 127 is provided on the upper portion of the support base 121, and a C-axis drive portion 126 is provided on the lower portion of the support base 121. The C-axis drive portion 126 has a C-axis motor 79 (see Figure 4), and the rotation of the C-axis motor 79 rotates the rotating table 127 around the C-axis. The workpiece holding device 120 is equipped with an A-axis brake B1 (see FIG. 4) that brakes or releases the A-axis motor 125, and a C-axis brake B2 (see FIG. 4) that brakes or releases the C-axis motor 79.

工作機械は制御装置80を備える。図4は、制御装置80の構成を略示するブロック図である。制御装置80はバスを介して相互に接続されたCPU80a、情報を一時的に記憶するRAM80b、加工プログラムを格納している書換可能な不揮発性メモリ80c、入出力インタフェース(入出力I/F)80d等を備える。CPU80aは制御部の一例であり、CPU80aに代えてMPU又はロジック回路(例えばFPGA)等を使用してもよい。不揮発性メモリ80cは例えばEEPROM又はEPROMである。不揮発性メモリ80cは加工プログラムを記憶する。不揮発性メモリ80cに代えて、ハードディスク又はフラッシュメモリ等の書き換え可能な記録媒体を使用してもよい。RAM80b及び不揮発性メモリ80cは記憶部に対応する。 The machine tool is equipped with a control device 80. FIG. 4 is a block diagram showing the configuration of the control device 80. The control device 80 includes a CPU 80a, a RAM 80b for temporarily storing information, a rewritable non-volatile memory 80c for storing a machining program, and an input/output interface (input/output I/F) 80d, all of which are connected to each other via a bus. The CPU 80a is an example of a control unit, and an MPU or logic circuit (e.g., FPGA) may be used instead of the CPU 80a. The non-volatile memory 80c is, for example, an EEPROM or EPROM. The non-volatile memory 80c stores the machining program. A rewritable recording medium such as a hard disk or a flash memory may be used instead of the non-volatile memory 80c. The RAM 80b and the non-volatile memory 80c correspond to the storage unit.

CPU80aは不揮発性メモリ80cから加工プログラムをRAM80bに読み出し、工作機械の制御を行う。光ディスク等の記録媒体81に加工プログラムを記録し、記録媒体81から不揮発性メモリ80cにダウンロードしてもよい。サーバに加工プログラムを記録し、ネットワークを介してサーバと制御装置80とを接続し、サーバから不揮発性メモリ80cに加工プログラムをダウンロードしてもよい。 The CPU 80a reads the machining program from the non-volatile memory 80c into the RAM 80b and controls the machine tool. The machining program may be recorded on a recording medium 81 such as an optical disk, and downloaded from the recording medium 81 to the non-volatile memory 80c. The machining program may be recorded on a server, and the server and the control device 80 may be connected via a network, and the machining program may be downloaded from the server to the non-volatile memory 80c.

CPU80aは、X軸モータ26d、Y軸モータ22d、Z軸モータ30d、A軸モータ125、C軸モータ79に駆動信号を出力する。X軸モータ26d、Y軸モータ22d、Z軸モータ30d、A軸モータ125、C軸モータ79は、夫々エンコーダ(図示略)を備えており、エンコーダの検出値をフィードバック信号として、目標位置まで回転する。CPU80aは、A軸ブレーキB1及びC軸ブレーキB2に制動信号又は制動解除信号を出力する。 The CPU 80a outputs drive signals to the X-axis motor 26d, the Y-axis motor 22d, the Z-axis motor 30d, the A-axis motor 125, and the C-axis motor 79. The X-axis motor 26d, the Y-axis motor 22d, the Z-axis motor 30d, the A-axis motor 125, and the C-axis motor 79 each have an encoder (not shown), and rotate to a target position using the detected value of the encoder as a feedback signal. The CPU 80a outputs a brake signal or a brake release signal to the A-axis brake B1 and the C-axis brake B2.

図5は、不揮発性メモリ80cに記憶した加工プログラムの一例を示す概念図である。図6は、図5の各ブロックの指令の動作を示す模式図である。加工プログラムは複数のブロックを備え、ブロックはブロック番号と指令とを有する。図5において、「番号」はブロック番号を示し、「指令」は指令の内容を示す。CPU80aは番号順に指令を実行する。図6において、E(n-2)~E(n+1)は図5の第n-2~n+1ブロックの動作を示す。 Figure 5 is a conceptual diagram showing an example of a machining program stored in non-volatile memory 80c. Figure 6 is a schematic diagram showing the operation of the commands of each block in Figure 5. The machining program has multiple blocks, and each block has a block number and a command. In Figure 5, "number" indicates the block number, and "command" indicates the content of the command. The CPU 80a executes the commands in numerical order. In Figure 6, E(n-2) to E(n+1) indicate the operation of blocks n-2 to n+1 in Figure 5.

第n-2ブロックの「G90」はブロック内の座標軸を絶対座標で与える指令であり、「G1」は主軸の直線移動を示す指令である。即ち「G90G1Z50」は、Z座標50への主軸34の直線移動を示す指令である(図6のE(n-2)参照)。第n-1ブロックの「G0」は最大速度での位置決めを示す指令である。即ち「G0Z110」はZ座標110への主軸34の最大速度での移動を示す(図6のE(n-1)参照)。第nブロックの「G0Z130」、第n+1ブロックの「G0Z150」も同様である(図6のE(n)、E(n-1)参照)。「G0Z100」、「G0Z130」、「G0Z150」はいずれも主軸34の軸方向の移動を示す指令、即ち軸方向移動指令である。 "G90" in the n-2th block is a command that gives the coordinate axis in the block in absolute coordinates, and "G1" is a command that indicates linear movement of the spindle. That is, "G90G1Z50" is a command that indicates linear movement of the spindle 34 to Z coordinate 50 (see E(n-2) in Figure 6). "G0" in the n-1th block is a command that indicates positioning at maximum speed. That is, "G0Z110" indicates movement of the spindle 34 to Z coordinate 110 at maximum speed (see E(n-1) in Figure 6). The same is true for "G0Z130" in the nth block and "G0Z150" in the n+1th block (see E(n) and E(n-1) in Figure 6). "G0Z100", "G0Z130", and "G0Z150" are all commands that indicate axial movement of the spindle 34, that is, axial movement commands.

第n+2ブロックの「G0A_」は最大速度でのA軸回りの位置決めを行う指令を示す。Aの後に例えば目標角度又は位置が記述される。即ち「G0A_」は目標角度又は位置への最大速度でのA軸回りの回転を行う指令を示し、付加軸移動指令を示す。尚、付加軸移動指令はX軸、Y軸及びZ軸方向の移動以外の移動を行う指令を示し、例えばB又はC軸回りの回転を行う指令を含む。 "G0A_" in the n+2th block indicates a command to perform positioning around the A axis at maximum speed. After the A, for example, a target angle or position is written. In other words, "G0A_" indicates a command to rotate around the A axis at maximum speed to the target angle or position, and indicates an additional axis movement command. Note that additional axis movement commands indicate commands to perform movements other than movements in the X-axis, Y-axis, and Z-axis directions, and include commands to rotate around the B or C axis, for example.

図6において、IはZ軸方向における工具11の初期位置を示す。本実施例において初期位置Iは150よりも大きい。PはZ座標を示し、ワークWの上端座標から少なくとも第一距離上側に離れた座標を示す。即ちPは、ワークから少なくとも第一距離離れた位置を示す閾値である。本実施例ではP=100であり、ワークWはZ座標50~95の間に配置してある。ワークWの上面と閾値Pとの差分は、第一距離以上の距離である。本実施例において、第一距離は5以下である。 図7は、RAM80bに書き込んだ加工プログラム及び制動解除指令の一例を示す概念図である。CPU80aは、必要に応じて、加工プログラムの各ブロックに紐づけて制動を解除する指令を書き込む。例えば、図7に示すように、第n+1ブロックに紐づけて、A軸の制動を解除する指令として「A」を書き込む。 In FIG. 6, I indicates the initial position of the tool 11 in the Z-axis direction. In this embodiment, the initial position I is greater than 150. P indicates the Z coordinate, which indicates a coordinate at least the first distance above the top end coordinate of the workpiece W. That is, P is a threshold value indicating a position at least the first distance away from the workpiece. In this embodiment, P=100, and the workpiece W is placed between Z coordinates 50 and 95. The difference between the top surface of the workpiece W and the threshold value P is a distance equal to or greater than the first distance. In this embodiment, the first distance is 5 or less. FIG. 7 is a conceptual diagram showing an example of a machining program and a brake release command written in the RAM 80b. The CPU 80a writes a command to release the brake by linking it to each block of the machining program as necessary. For example, as shown in FIG. 7, "A" is written as a command to release the brake of the A-axis by linking it to the n+1th block.

図8は、制御装置80による加工処理を説明するフローチャートである。初期状態において、作業者が閾値Pを制御装置80に予め入力し、CPU80aは閾値P(本実施例においては100)をRAM80bに書き込んでいる。CPU80aは不揮発性メモリ80cから第kブロックを読み出す(S1)。尚、kの初期値は1である。CPU80aは第kブロックが軸方向移動指令であるか否か判定する(S2)。上述の如く、軸方向移動指令は例えば「G0Z_」(Zの後にZ座標が記述される)である。第kブロックが軸方向移動指令である場合(S2:YES)、CPU80aは第k+1ブロックを読み出し(S3)、第k+1ブロックが付加軸移動指令であるか否か判定する(S4)。 Figure 8 is a flow chart explaining the processing by the control device 80. In the initial state, the operator inputs the threshold value P to the control device 80 in advance, and the CPU 80a writes the threshold value P (100 in this embodiment) to the RAM 80b. The CPU 80a reads the kth block from the non-volatile memory 80c (S1). The initial value of k is 1. The CPU 80a judges whether the kth block is an axial movement command (S2). As described above, the axial movement command is, for example, "G0Z_" (Z is followed by the Z coordinate). If the kth block is an axial movement command (S2: YES), the CPU 80a reads the kth+1th block (S3) and judges whether the kth+1th block is an additional axis movement command (S4).

第k+1ブロックが付加軸移動指令である場合(S4:YES)、CPU80aは第kブロックの軸方向移動指令における移動開始位置、即ちZ軸方向における開始位置の座標Z1が閾値P以上であるか判定する(S5)。座標Z1が閾値P以上である場合(S5:YES)、CPU80aは第kブロックの軸方向移動指令に第一制動解除指令、例えばA軸ブレーキB1に対する第一制動解除指令を紐づけ(S6)、第kブロックをRAM80bに書き込む(S7、図7参照)。第一制動解除指令は、第kブロックの軸方向移動指令の実行中に、例えばA軸ブレーキB1の制動を解除する指令である。CPU80aはkを一加算し(S8)、ステップS1に処理を戻す。 If the k+1th block is an additional axis movement command (S4: YES), the CPU 80a determines whether the movement start position in the axial movement command of the kth block, i.e., the coordinate Z1 of the start position in the Z-axis direction, is equal to or greater than the threshold value P (S5). If the coordinate Z1 is equal to or greater than the threshold value P (S5: YES), the CPU 80a links the axial movement command of the kth block to a first brake release command, for example, a first brake release command for the A-axis brake B1 (S6), and writes the kth block to the RAM 80b (S7, see FIG. 7). The first brake release command is, for example, a command to release the brake of the A-axis brake B1 while the axial movement command of the kth block is being executed. The CPU 80a increments k by one (S8) and returns the process to step S1.

例えば、第n+1ブロック、即ち軸方向移動指令を読み出した場合(S1、S2、図5参照)、CPU80aは第n+2ブロックが付加軸移動指令であるか否か判定する(S3、S4)。第n+2ブロックがA軸回りの回転指令、即ち付加軸移動指令であるので(S4:YES)、CPU80aは第n+1ブロックの移動開始位置が閾値P、即ち100以上であるか否か判定する(S5)。第n+1ブロックの移動開始位置は130であり、100以上であるので(S5:YES、図5、図6参照)、CPU80aは第n+1ブロックに第一制動解除指令を紐づけ(S6)、第n+1ブロックをRAM80bに書き込む(S7)。 For example, when the n+1th block, i.e., an axial movement command, is read (S1, S2, see FIG. 5), the CPU 80a judges whether the n+2th block is an additional axis movement command (S3, S4). Since the n+2th block is a rotation command about the A axis, i.e., an additional axis movement command (S4: YES), the CPU 80a judges whether the movement start position of the n+1th block is equal to or greater than the threshold value P, i.e., 100 (S5). Since the movement start position of the n+1th block is 130, which is equal to or greater than 100 (S5: YES, see FIG. 5, FIG. 6), the CPU 80a links the first brake release command to the n+1th block (S6) and writes the n+1th block to the RAM 80b (S7).

ステップS5にて、座標Z1が閾値P以上でない場合(S5:NO)、CPU80aは第kブロックの軸方向移動指令における移動終了位置、即ちZ軸方向における終了位置の座標Z2が閾値P以上であるか判定する(S9)。座標Z2が閾値P以上である場合(S9:YES)、CPU80aは第kブロックの軸方向移動指令にA軸ブレーキB1に対する第二制動解除指令を紐づけ(S10、図7参照)、第kブロックをRAM80bに書き込む(S7)。第二制動解除指令は、第kブロックの軸方向移動指令の実行開始後、主軸34のZ座標が閾値P以上に至った場合に、軸方向への移動中にA軸ブレーキB1の制動を解除する指令である。CPU80aはkを一加算し(S8)、ステップS1に処理を戻す。 In step S5, if the coordinate Z1 is not equal to or greater than the threshold P (S5: NO), the CPU 80a determines whether the coordinate Z2 of the end position in the axial movement command of the kth block, i.e., the end position in the Z-axis direction, is equal to or greater than the threshold P (S9). If the coordinate Z2 is equal to or greater than the threshold P (S9: YES), the CPU 80a links the axial movement command of the kth block to a second brake release command for the A-axis brake B1 (S10, see FIG. 7) and writes the kth block to the RAM 80b (S7). The second brake release command is a command to release the A-axis brake B1 during axial movement when the Z coordinate of the spindle 34 reaches or exceeds the threshold P after the execution of the axial movement command of the kth block is started. The CPU 80a increments k by one (S8) and returns to step S1.

図9は、加工プログラムの他例を示す概念図、図10は、図9の各ブロックの指令の動作を示す模式図である。図9は、図5の第n+2ブロック、第nブロック、第n+1ブロックを第nブロック、第n+1ブロック、第n+2ブロックにそれぞれ置き換えたものである。
図11は、RAM80bに書き込んだ加工プログラム及び制動解除指令の他例を示す概念図である。CPU80aは、必要に応じて、加工プログラムの各ブロックに紐づけて制動を解除する指令を書き込む。例えば、図11に示すように、第n-1ブロックに紐づけて、主軸34のZ座標が閾値P以上に至った場合にA軸の制動を解除する指令、即ち第二制動解除指令として「A」を書き込む。
Fig. 9 is a conceptual diagram showing another example of a machining program, and Fig. 10 is a schematic diagram showing the operation of commands in each block in Fig. 9. Fig. 9 shows the n+2th block, nth block, and n+1th block in Fig. 5 replaced with the nth block, n+1th block, and n+2th block, respectively.
11 is a conceptual diagram showing another example of the machining program and the brake release command written in the RAM 80b. The CPU 80a writes the command to release the brake in association with each block of the machining program as necessary. For example, as shown in FIG. 11, the CPU 80a writes "A" as a command to release the brake of the A-axis when the Z coordinate of the spindle 34 reaches or exceeds the threshold value P in association with the n-1th block, that is, as a second brake release command.

例えば、第n-1ブロック、即ち軸方向移動指令を読み出した場合(S1、S2、図9参照)、CPU80aは第nブロックが付加軸移動指令であるか否か判定する(S3、S4)。第nブロックがA軸回りの回転指令、即ち付加軸移動指令であるので(S4:YES)、CPU80aは第n-1ブロックの移動開始位置が閾値P、即ち100以上であるか否か判定する(S5)。第n-1ブロックの移動開始位置は50であり、100以上でないので(S5:NO、図9、図10参照)、CPU80aは第n-1ブロックの移動終了位置が100以上であるか判定する(S9)。座標Z2は110であり、100以上であるので(S9:YES)、CPU80aは第n-1ブロックの軸方向移動指令にA軸ブレーキB1に対する第二制動解除指令を紐づけ(S10、図11参照)、第n-1ブロックをRAM80bに書き込む(S7)。A軸ブレーキB1は、主軸34のZ座標が100に至った場合、即ち主軸34のZ座標が100以上になった場合、A軸の制動を解除する。A軸の制動解除時に工具11はワークWに非干渉な位置にある。 For example, when the n-1th block, i.e., an axial movement command, is read (S1, S2, see Figure 9), the CPU 80a determines whether the nth block is an additional axis movement command (S3, S4). Since the nth block is a rotation command around the A axis, i.e., an additional axis movement command (S4: YES), the CPU 80a determines whether the movement start position of the n-1th block is greater than or equal to the threshold value P, i.e., 100 (S5). Since the movement start position of the n-1th block is 50, not greater than or equal to 100 (S5: NO, see Figures 9 and 10), the CPU 80a determines whether the movement end position of the n-1th block is greater than or equal to 100 (S9). Since coordinate Z2 is 110, which is greater than or equal to 100 (S9: YES), the CPU 80a links the axial movement command of the n-1th block to the second brake release command for the A-axis brake B1 (S10, see FIG. 11) and writes the n-1th block to the RAM 80b (S7). The A-axis brake B1 releases the brake on the A-axis when the Z coordinate of the spindle 34 reaches 100, i.e., when the Z coordinate of the spindle 34 becomes greater than or equal to 100. When the brake on the A-axis is released, the tool 11 is in a position that does not interfere with the workpiece W.

ステップS2にて、第kブロックが軸方向移動指令でない場合(S2:NO)、例えば第kブロックが付加軸移動指令である場合、CPU80aは第kブロックが終了指令であるか否か判定する(S11)。第kブロックが終了指令でない場合(S11:NO)、CPU80aは第kブロックをRAM80bに記憶し(S7)、kを一加算し(S8)、ステップS1に処理を戻す。 If the kth block is not an axial movement command in step S2 (S2: NO), for example if the kth block is an additional axis movement command, the CPU 80a determines whether the kth block is an end command (S11). If the kth block is not an end command (S11: NO), the CPU 80a stores the kth block in the RAM 80b (S7), increments k by one (S8), and returns to step S1.

ステップS11にて、第kブロックが終了指令である場合(S11:YES)、CPU80aは第kブロックをRAM80bに記憶し(S12)、RAM80bに記憶した全ブロックを実行し(S13)、処理を終了する。 In step S11, if the kth block is an end command (S11: YES), the CPU 80a stores the kth block in the RAM 80b (S12), executes all blocks stored in the RAM 80b (S13), and ends the process.

実施の形態1に係る工作機械にあっては、主軸34の移動開始位置がワークWから少なくとも第一距離離れた位置である場合、軸方向移動指令(第一指令)の実行中にワーク保持装置120の制動解除を実行する。軸方向移動指令の実行時にワークWが移動しても、工具11とワークWは干渉せず、加工時間を短縮しつつ、加工精度の低下を抑制することができる。 In the machine tool according to the first embodiment, when the movement start position of the spindle 34 is at least a first distance away from the workpiece W, the brake of the workpiece holding device 120 is released during execution of an axial movement command (first command). Even if the workpiece W moves when the axial movement command is executed, the tool 11 and the workpiece W do not interfere with each other, and it is possible to reduce the machining time while suppressing a decrease in machining accuracy.

また軸方向移動指令(第一指令)に紐づけて制動解除指令をRAM80bに書き込み、軸方向移動指令とワーク保持装置120の制動解除との並行的な実行を実現する。 In addition, a brake release command is written to RAM 80b in association with the axial movement command (first command), realizing parallel execution of the axial movement command and brake release of the work holding device 120.

また主軸34の移動開始位置はワークWから少なくとも第一距離離れない場合であって、主軸34の移動終了位置はワークWから少なくとも第一距離離れる場合、軸方向移動指令(第一指令)の実行中に、主軸34がワークWから第一距離離れた位置に到達した以後、ワーク保持装置120の制動解除を実行する。ワーク保持装置120の制動解除時に工具11はワークWに非干渉な位置にある。 In addition, if the movement start position of the spindle 34 is not at least the first distance away from the workpiece W, and the movement end position of the spindle 34 is at least the first distance away from the workpiece W, during execution of the axial movement command (first command), the brake of the workpiece holding device 120 is released after the spindle 34 reaches a position that is the first distance away from the workpiece W. When the brake of the workpiece holding device 120 is released, the tool 11 is in a position that does not interfere with the workpiece W.

また軸方向移動指令に紐づけて、主軸34がワークから第一距離離れた位置に到達した際に軸方向移動指令の制動を解除する指令をRAM80bに書き込み、工具11とワークWの非干渉を実現する。 In addition, a command is written to RAM 80b that is linked to the axial movement command and that releases the brake on the axial movement command when the spindle 34 reaches a position a first distance away from the workpiece, thereby realizing non-interference between the tool 11 and the workpiece W.

(実施の形態2)
以下本発明を実施の形態2に係る工作機械を示す図面に基づいて説明する。実施の形態2に係る工作機械の構成の内、実施の形態1と同様な構成については同じ符号を付し、その詳細な説明を省略する。図12は、加工プログラムの一例を示す概念図、図13は、図12の各ブロックの指令の動作を示す模式図である。
(Embodiment 2)
The present invention will be described below with reference to the drawings showing a machine tool according to embodiment 2. Among the configurations of the machine tool according to embodiment 2, the same configurations as those in embodiment 1 are given the same reference numerals, and detailed description thereof will be omitted. Fig. 12 is a conceptual diagram showing an example of a machining program, and Fig. 13 is a schematic diagram showing the operation of commands in each block in Fig. 12.

図13において、Z座標R(本実施例ではR=50)は、ワークWの上端座標から少なくとも第一距離上側に離れた座標を示す。ワークWの上面とRとの差分は第一距離以上の距離である。ワークWは、例えばZ座標0~45の間に配置してある。本実施例において、第一距離は5以下である。 In FIG. 13, Z coordinate R (R=50 in this embodiment) indicates a coordinate that is at least a first distance above the top end coordinate of the workpiece W. The difference between the top surface of the workpiece W and R is a distance equal to or greater than the first distance. The workpiece W is positioned, for example, between Z coordinates 0 and 45. In this embodiment, the first distance is 5 or less.

第n-3ブロックの「G81」は所定動作を繰り返す指令である。「G99」はG81の所定動作のZ座標復帰位置をZ座標Rにする指令である。所定動作の詳細は後のブロックに記載してあり、所定動作は初期位置まで移動後、第一位置と第二位置との間を移動する穴空け動作である。第n-2ブロックの「G90Z100」は、初期位置I、即ちZ座標100までの直線移動する指令である(図13のE(n-2)参照)。第n-1ブロックの「G81R50.Z0.F1000」は送り速度1000mm/minで、初期位置Iから第一位置、即ちZ座標Rと第二位置、即ちZ座標0との間を主軸34が往復移動して穴空けを実行する指令である(図13のE(n-1)2、E(n-1)3参照)。図13のE(n-1)1~E(n-1)3は、第n-1ブロックの指令の実行動作を詳細に示す。第nブロックの「X_Y_」はZ座標RにおけるX軸方向及びY軸方向への直線移動指令である(図13のE(n)参照)。X、Yの後に例えば目標座標又は移動距離が記述される。即ち、CPU80aは、図13の動作E(n-1)3の実行後、動作E(n)を実行し、その後、動作E(n-1)3を実行する。 "G81" in the n-3th block is a command to repeat a specified operation. "G99" is a command to set the Z coordinate return position of the specified operation of G81 to Z coordinate R. Details of the specified operation are described in the following blocks, and the specified operation is a hole-drilling operation in which the machine moves to the initial position and then moves between the first and second positions. "G90Z100" in the n-2th block is a command to move in a straight line to the initial position I, i.e., Z coordinate 100 (see E(n-2) in Figure 13). "G81R50.Z0.F1000" in the n-1th block is a command to perform hole-drilling by moving the spindle 34 back and forth at a feed rate of 1000 mm/min from the initial position I to the first position, i.e., Z coordinate R, and the second position, i.e., Z coordinate 0 (see E(n-1)2 and E(n-1)3 in Figure 13). E(n-1)1 to E(n-1)3 in FIG. 13 show in detail the execution operations of the command in the n-1th block. "X_Y_" in the nth block is a linear movement command in the X-axis direction and Y-axis direction at the Z coordinate R (see E(n) in FIG. 13). After X and Y, for example, the target coordinates or movement distance are written. That is, after executing operation E(n-1)3 in FIG. 13, the CPU 80a executes operation E(n), and then executes operation E(n-1)3.

第nブロックの実行後、「G81」を無効にする指令、例えば軸方向移動指令を実行するまで、第n-1ブロックのE(n-1)1を除く動作、即ち動作E(n-1)2、E(n-1)3と、第nブロックの動作E(n)が繰り返し実行される。第n+sブロックの「G0Z100」はZ座標100への主軸34の最大速度での移動指令である(図13のE(n+s)参照)。第n+sブロックは軸方向移動指令であり、「G81」を無効にする指令である。第n+sブロックの実行によって繰り返し指令は終了する。第n-3ブロック、第n-1ブロック及び第nブロックは第一繰り返し指令に対応する。以下、G99状態での「G81」の読み出し後、「G81」が無効になるまでの間の状態を第一繰り返し状態と称する。 After execution of the nth block, the operations other than E(n-1)1 in the n-1th block, i.e., operations E(n-1)2 and E(n-1)3, and operation E(n) in the nth block are repeatedly executed until a command that invalidates "G81", for example an axial movement command, is executed. "G0Z100" in the n+sth block is a command to move the spindle 34 at the maximum speed to the Z coordinate 100 (see E(n+s) in Figure 13). The n+sth block is an axial movement command, and is a command that invalidates "G81". The repeat command ends with execution of the n+sth block. The n-3th block, the n-1th block, and the nth block correspond to the first repeat command. Hereinafter, the state from when "G81" is read in the G99 state until "G81" is invalidated is referred to as the first repeat state.

図14は、RAM80bに書き込んだ加工プログラム及び制動解除指令の一例を示す概念図である。CPU80aは、必要に応じて、加工プログラムの各ブロックに紐づけて制動を解除する指令を書き込む。例えば、図14に示すように、第n+sブロックに紐づけて、主軸34のZ座標がR以上の位置に至った場合にA軸の制動を解除する指令として「A」を書き込む。 Figure 14 is a conceptual diagram showing an example of a machining program and brake release command written to RAM 80b. CPU 80a writes a command to release the brake, linked to each block of the machining program as necessary. For example, as shown in Figure 14, it writes "A" as a command to release the brake of the A axis when the Z coordinate of the spindle 34 reaches a position equal to or greater than R, linked to the n+sth block.

図15は、制御装置80による加工処理を説明するフローチャートである。CPU80aは第kブロックを読み出す(S21)。尚、kの初期値は1である。CPU80aは第一繰り返し状態であるか否か判定する(S22)。第一繰り返し状態である場合(S22:YES、図12の第n-3~第nブロック参照)、CPU80aは、第kブロックが軸方向移動指令であるか否か判定する(S23)。第kブロックが軸方向移動指令である場合(S23:YES、図12の第n+sブロック参照)、CPU80aは第k+1ブロックを読み出す(S24)。 Figure 15 is a flow chart explaining the processing by the control device 80. The CPU 80a reads out the kth block (S21). The initial value of k is 1. The CPU 80a judges whether or not it is in the first repetition state (S22). If it is in the first repetition state (S22: YES, see blocks n-3 to n in Figure 12), the CPU 80a judges whether or not the kth block is an axial movement command (S23). If the kth block is an axial movement command (S23: YES, see block n+s in Figure 12), the CPU 80a reads out the k+1th block (S24).

CPU80aは、第k+1ブロックが付加軸移動であるか否か判定する(S25)。第k+1ブロックが付加軸移動である場合(S25:YES、図12の第n+s+1ブロック参照)、CPU80aは第kブロックの軸方向移動指令に制動解除指令、例えばA軸ブレーキB1に対する制動解除指令を紐づけ(S26、図14参照)、第kブロックをRAM80bに書き込む(S27)。ステップS26の制動解除指令は、図13の動作E(n+s)の実行中に、即ち主軸34がワークWから離れる方向に移動し、第一位置以上の位置に至った場合に、例えばA軸ブレーキB1の制動を解除する指令である。CPU80aはkを一加算し(S28)、ステップS21に処理を戻す。 The CPU 80a determines whether the k+1th block is an additional axis movement (S25). If the k+1th block is an additional axis movement (S25: YES, see the n+s+1th block in FIG. 12), the CPU 80a links the axial movement command of the kth block to a brake release command, for example, a brake release command for the A-axis brake B1 (S26, see FIG. 14), and writes the kth block to the RAM 80b (S27). The brake release command in step S26 is, for example, a command to release the brake of the A-axis brake B1 during the execution of the operation E(n+s) in FIG. 13, that is, when the spindle 34 moves in a direction away from the workpiece W and reaches a position equal to or higher than the first position. The CPU 80a increments k by one (S28) and returns the process to step S21.

ステップS25において、第k+1ブロックが付加軸移動でない場合(S25:NO)、CPU80aはステップS27処理を進める。 In step S25, if the k+1th block is not an additional axis movement (S25: NO), the CPU 80a proceeds to step S27.

ステップS22において、第一繰り返し状態でない場合(S22:NO)、CPU80aは第kブロックが終了指令であるか否か判定する(S29)。第kブロックが終了指令でない場合(S29:NO)、CPU80aはステップS27処理を進める。第kブロックが終了指令である場合(S29:YES)、CPU80aは第kブロックをRAM80bに記憶し(S30)、全ブロックを実行し(S31)、処理を終了する。 If it is not the first repetition state in step S22 (S22: NO), the CPU 80a determines whether the kth block is an end command (S29). If the kth block is not an end command (S29: NO), the CPU 80a proceeds to step S27. If the kth block is an end command (S29: YES), the CPU 80a stores the kth block in the RAM 80b (S30), executes all blocks (S31), and ends the process.

実施の形態2に係る工作機械にあっては、第一繰り返し指令の後に軸方向移動指令(第一指令)が実行され、軸方向移動指令の後にワーク保持装置120の付加軸移動指令(第二指令)が実行される場合、軸方向移動指令の実行中にワーク保持装置120の制動解除を実行する。また第一繰り返し指令の後に実行される軸方向移動指令に紐づけて制動解除指令をRAM80bに書き込み、軸方向移動指令とワーク保持装置120の制動解除との並行的な実行を実現する。 In the machine tool according to the second embodiment, when an axial movement command (first command) is executed after the first repeat command, and an additional axis movement command (second command) of the work holding device 120 is executed after the axial movement command, the brake release of the work holding device 120 is executed during the execution of the axial movement command. In addition, a brake release command is written to RAM 80b in association with the axial movement command executed after the first repeat command, thereby realizing the parallel execution of the axial movement command and the brake release of the work holding device 120.

(実施の形態3)
以下本発明を実施の形態3に係る工作機械を示す図面に基づいて説明する。実施の形態3に係る工作機械の構成の内、実施の形態1又は2と同様な構成については同じ符号を付し、その詳細な説明を省略する。図16は、加工プログラムの一例を示す概念図、図17は、図16の各ブロックの指令の動作を示す模式図である。
(Embodiment 3)
The present invention will be described below with reference to the drawings showing a machine tool according to embodiment 3. Among the configurations of the machine tool according to embodiment 3, the same configurations as those of embodiment 1 or 2 are given the same reference numerals, and detailed description thereof will be omitted. Fig. 16 is a conceptual diagram showing an example of a machining program, and Fig. 17 is a schematic diagram showing the operation of commands in each block in Fig. 16.

第n-2ブロックの「G81」は所定の動作を繰り返す指令である。「G98」はG81の所定動作のZ座標復帰位置を初期位置にする指令である。所定動作の詳細は後のブロックに記載してあり、所定動作は初期位置Iまで移動後、第一位置と第二位置との間を往復移動し、初期位置Iまで戻る穴空け動作である。初期位置Iは第三位置に対応する。第n-1ブロックの「G90Z100」は、初期位置I、即ちZ座標100までの直線移動する指令である(図17のE(n-1)参照)。第nブロックの「G81R50.Z0.F1000」は送り速度1000mm/minで、初期位置Iから第一位置、即ちZ座標R(本実施例ではR=50)まで移動し(図17のE(n)1参照)、更に第二位置、即ちZ座標0まで移動する指令である(図17のE(n)2参照)。第n+1ブロックの「X_Y_」は、第二位置から第一位置まで移動し(図17のE(n+1)1参照)、更に第一位置から初期位置Iまで移動し(図17のE(n+1)2参照)、初期位置IにてX軸方向及びY軸方向へ直線移動する指令である(図17のE(n+1)3参照)。図17のE(n)1及びE(n)2は第nブロック指令の実行動作を詳細に示し、E(n+1)1~E(n+1)3は第n+1ブロックの指令の実行動作を詳細に示す。 "G81" in the n-2th block is a command to repeat a specified operation. "G98" is a command to set the Z coordinate return position of the specified operation of G81 to the initial position. Details of the specified operation are described in the following blocks, and the specified operation is a hole-drilling operation in which the tool moves to the initial position I, then moves back and forth between the first and second positions, and returns to the initial position I. The initial position I corresponds to the third position. "G90Z100" in the n-1th block is a command to move in a straight line to the initial position I, i.e., Z coordinate 100 (see E(n-1) in Figure 17). "G81R50.Z0.F1000" in the nth block is a command to move from the initial position I to the first position, i.e., Z coordinate R (R = 50 in this embodiment) at a feed rate of 1000 mm/min (see E(n)1 in Figure 17), and then further to the second position, i.e., Z coordinate 0 (see E(n)2 in Figure 17). "X_Y_" in the n+1th block is a command to move from the second position to the first position (see E(n+1)1 in FIG. 17), then move from the first position to the initial position I (see E(n+1)2 in FIG. 17), and move linearly in the X-axis and Y-axis directions at the initial position I (see E(n+1)3 in FIG. 17). E(n)1 and E(n)2 in FIG. 17 show the execution operation of the nth block command in detail, and E(n+1)1 to E(n+1)3 show the execution operation of the n+1th block command in detail.

動作E(n+1)は、Z軸方向の移動である動作E(n+1)1及びE(n+1)2を含む。即ち動作E(n+1)の指令である第n+1ブロックを軸方向移動指令とみなすことができる。 Motion E(n+1) includes motions E(n+1)1 and E(n+1)2, which are movements in the Z-axis direction. In other words, the n+1th block, which is the command for motion E(n+1), can be considered an axial movement command.

第nブロック~第n+2ブロックが繰り返し実行される。第n-2ブロック、第n~第n+2ブロックは第二繰り返し指令に対応する。以下、「G98」状態での「G81」の読み出し後の状態を第二繰り返し状態と称する。 Blocks n to n+2 are executed repeatedly. Blocks n-2 and n to n+2 correspond to the second repeat command. Hereinafter, the state after reading "G81" in the "G98" state will be referred to as the second repeat state.

図18は、RAM80bに書き込んだ加工プログラム及び制動解除指令の一例を示す概念図である。CPU80aは、必要に応じて、加工プログラムの各ブロックに紐づけて制動を解除する指令を書き込む。例えば、図18に示すように、第n+1ブロックに紐づけて、主軸34のZ座標がR以上に至った場合にA軸の制動を解除する指令として「A」を書き込む。 Figure 18 is a conceptual diagram showing an example of a machining program and brake release command written to RAM 80b. CPU 80a writes a command to release the brake, linked to each block of the machining program as necessary. For example, as shown in Figure 18, it writes "A" as a command to release the brake of the A axis when the Z coordinate of the spindle 34 reaches R or higher, linked to the n+1th block.

図19は、制御装置80による加工処理を説明するフローチャートである。CPU80aは第kブロックを読み出す(S41)。尚、kの初期値は1である。CPU80aは第二繰り返し状態であるか否か判定する(S42)。第二繰り返し状態である場合(S42:YES、図13の第n-1~第n+2ブロック参照)、CPU80aは、第kブロックが軸方向移動指令であるか否か判定する(S43)。第kブロックが軸方向移動指令である場合(S43:YES、図16の第n+1ブロック参照)、CPU80aは第k+1ブロックを読み出す(S44)。 Figure 19 is a flow chart explaining the processing by the control device 80. The CPU 80a reads out the kth block (S41). The initial value of k is 1. The CPU 80a judges whether or not it is in the second repetition state (S42). If it is in the second repetition state (S42: YES, see blocks n-1 to n+2 in Figure 13), the CPU 80a judges whether or not the kth block is an axial movement command (S43). If the kth block is an axial movement command (S43: YES, see block n+1 in Figure 16), the CPU 80a reads out the kth block (S44).

CPU80aは、第k+1ブロックが付加軸移動であるか否か判定する(S45)。第k+1ブロックが付加軸移動である場合(S45:YES、図16の第n+2ブロック参照)、CPU80aは第kブロックの指令に制動解除指令、例えばA軸ブレーキB1に対する制動解除指令を紐づけ(S46、図18参照)、第kブロックをRAM80bに書き込む(S47)。ステップS46の制動解除指令は、例えば第n+1ブロックの実行開始後、図17の動作E(n+1)2の実行中に、即ち主軸34がワークWから離れる方向に移動し、第一位置以上の位置に至った場合に、例えばA軸ブレーキB1の制動を解除する指令である。CPU80aはkを一加算し(S48)、ステップS41に処理を戻す。 The CPU 80a determines whether the k+1th block is an additional axis movement (S45). If the k+1th block is an additional axis movement (S45: YES, see the n+2th block in FIG. 16), the CPU 80a links the command of the kth block to a brake release command, for example, a brake release command for the A-axis brake B1 (S46, see FIG. 18), and writes the kth block to the RAM 80b (S47). The brake release command in step S46 is, for example, a command to release the brake of the A-axis brake B1 during the execution of the operation E(n+1)2 in FIG. 17 after the execution of the n+1th block starts, that is, when the spindle 34 moves in a direction away from the workpiece W and reaches a position equal to or higher than the first position. The CPU 80a increments k by one (S48) and returns the process to step S41.

ステップS45において、第k+1ブロックが付加軸移動でない場合(S45:NO)、CPU80aはステップS47処理を進める。 In step S45, if the k+1th block is not an additional axis movement (S45: NO), the CPU 80a proceeds to step S47.

ステップS42において、第二繰り返し状態でない場合(S42:NO)、CPU80aは第kブロックが終了指令であるか否か判定する(S49)。第kブロックが終了指令でない場合(S49:NO)、CPU80aはステップS47処理を進める。第kブロックが終了指令である場合(S49:YES)、CPU80aは第kブロックをRAM80bに書き込み(S50)、全ブロックを実行し(S51)、処理を終了する。 If it is not the second repeat state in step S42 (S42: NO), the CPU 80a determines whether the kth block is an end command (S49). If the kth block is not an end command (S49: NO), the CPU 80a proceeds to step S47. If the kth block is an end command (S49: YES), the CPU 80a writes the kth block to the RAM 80b (S50), executes all blocks (S51), and ends the process.

実施の形態3に係る工作機械にあっては、第二繰り返し指令を読み出した場合、軸方向移動指令(第一指令)の実行中に、主軸34がワークWから第一距離離れた位置に到達した以後、ワーク保持装置120の制動解除を実行する。また第二繰り返し指令の読み出し時に、軸方向移動指令に紐づけて、主軸34がワークから第一距離離れた位置に到達した際に制動を解除する指令をRAM80bに書き込み、工具11とワークWの非干渉を実現する。 In the machine tool according to the third embodiment, when the second repeat command is read out, during execution of the axial movement command (first command), the brake of the work holding device 120 is released after the spindle 34 reaches a position separated by the first distance from the workpiece W. Furthermore, when the second repeat command is read out, a command to release the brake when the spindle 34 reaches a position separated by the first distance from the workpiece W is written in the RAM 80b in association with the axial movement command, thereby realizing non-interference between the tool 11 and the workpiece W.

実施の形態1~3において、主軸34の軸方向は上下方向であるが、主軸34の軸方向は前後方向又は左右方向でもよい。工具交換は主軸34の軸方向の移動を含むので、軸方向移動指令は工具交換指令を含む。付加軸移動指令はB軸又はC軸回りの回転指令を含む。実施の形態1~3において、CPU80aは軸方向移動指令(第一指令)の読み出し後に付加軸移動指令(第二指令)を初めて読み出す場合、第一指令の実行中に付加軸移動指令の制動を解除する指令をRAM80bに書き込んでもよい。例えば、第一指令を読み出した後、第一指令及び第二指令以外の指令、例えばパラメータの演算指令を読み出し、その後第二指令を読み出す場合、第一指令の実行中に付加軸移動指令の制動を解除する指令をRAM80bに書き込んでもよい。 In the first to third embodiments, the axial direction of the spindle 34 is the up-down direction, but the axial direction of the spindle 34 may be the front-rear direction or the left-right direction. Tool change includes axial movement of the spindle 34, so the axial movement command includes a tool change command. The additional axis movement command includes a rotation command about the B axis or the C axis. In the first to third embodiments, when the CPU 80a reads an additional axis movement command (second command) for the first time after reading an axial movement command (first command), the CPU 80a may write a command to release the brake on the additional axis movement command during execution of the first command to the RAM 80b. For example, when the CPU 80a reads a command other than the first command and the second command, such as a parameter calculation command, after reading the first command, and then reads the second command, the CPU 80a may write a command to release the brake on the additional axis movement command during execution of the first command to the RAM 80b.

実施の形態1~3において、終了指令読み出し後、全ブロックを実行しているが、第kブロックをRAM80bに書き込む都度、第kブロックを実行してもよい。例えば図8に示すステップS7とS8との間、及びステップS12の後に第kブロックを実行してもよい。例えば図19に示すステップS26とS27との間、及びステップS29の後に第kブロックを実行してもよい。例えば図19に示すステップS46とS47との間、及びステップS49の後に第kブロックを実行してもよい。 In the first to third embodiments, all blocks are executed after the end command is read, but the kth block may be executed each time the kth block is written to RAM 80b. For example, the kth block may be executed between steps S7 and S8 shown in FIG. 8 and after step S12. For example, the kth block may be executed between steps S26 and S27 shown in FIG. 19 and after step S29. For example, the kth block may be executed between steps S46 and S47 shown in FIG. 19 and after step S49.

今回開示した実施の形態は、全ての点で例示であって、制限的なものではないと考えられるべきである。各実施例にて記載されている技術的特徴は互いに組み合わせることができ、本発明の範囲は、特許請求の範囲内での全ての変更及び特許請求の範囲と均等の範囲が含まれることが意図される。 The embodiments disclosed herein are illustrative in all respects and should not be considered limiting. The technical features described in each embodiment can be combined with each other, and the scope of the present invention is intended to include all modifications within the scope of the claims and equivalents to the scope of the claims.

11 工具
34 主軸
80 制御装置
80a CPU
80b RAM
120 ワーク保持装置
B1 A軸ブレーキ
B2 C軸ブレーキ
W ワーク
11 Tool 34 Spindle 80 Control device 80a CPU
80b RAM
120 Work holding device B1 A-axis brake B2 C-axis brake W Work

Claims (11)

複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御装置において、
前記保持部は移動のために予め制動解除が必要であり、
軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定する移動判定部と、
該移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令は、前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置である指令であるのか、又は前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置でない指令であるのかを判定する開始位置判定部と、
前記開始位置判定部にて、前記第一指令は、前記移動開始位置が前記ワークから第一距離以上離れた位置である指令であると判定した場合、前記第一指令に紐づけて前記保持部の制動を解除する制動解除指令を記憶部に書き込む第一書き込み部と、
記第一指令の実行中に、前記第一書き込み部にて書き込まれた前記制動解除指令を実行する第一実行部と
を備える
制御装置。
A control device that sequentially reads out a plurality of commands to control movement of a movable spindle that mounts a tool and a movable holder that holds a workpiece,
The holding part needs to be released from the brake before it can move.
a movement determination unit that, when a first command is read out, which is a command indicating a movement of the spindle away from the workpiece in an axial direction, determines whether a second command read out after the first command is a command indicating a movement of the holding unit;
a start position determination unit that, when it is determined by the movement determination unit that the second command is a command indicating movement of the holding unit , determines whether the first command is a command for starting the movement of the spindle at a position that is a first distance or more away from the workpiece, or a command for starting the movement of the spindle at a position that is not the first distance or more away from the workpiece;
a first writing unit that writes a brake release command to release the brake of the holding unit in a memory unit in association with the first command when the start position determination unit determines that the first command is a command for the movement start position to be a position that is a first distance or more away from the workpiece; and
a first execution unit that executes the brake release command written by the first writing unit while the first command is being executed.
前記開始位置判定部にて、前記第一指令は、前記移動開始位置が前記ワークから第一距離以上離れた位置でない指令であると判定した場合、前記第一指令における前記主軸の移動終了位置が前記ワークから第一距離以上離れた位置であるか否かを判定する終了位置判定部と、
該終了位置判定部にて、前記移動終了位置が前記ワークから第一距離以上離れた位置であると判定した場合、前記第一指令の実行時に、前記主軸が前記ワークから第一距離以上離れた位置に到達した際に前記保持部の制動解除を実行する第二実行部と
を備える請求項1に記載の制御装置。
an end position determination unit that, when it is determined by the start position determination unit that the first command is a command in which the movement start position is not a position that is a first distance or more away from the workpiece, determines whether or not the movement end position of the spindle in the first command is a position that is a first distance or more away from the workpiece;
and a second execution unit that, when the end position determination unit determines that the movement end position is a position that is a first distance or more away from the workpiece, releases the brake of the holding unit when the spindle reaches a position that is the first distance or more away from the workpiece during execution of the first command.
前記終了位置判定部にて、前記第一指令における前記移動終了位置が前記ワークから第一距離以上離れた位置であると判定した場合、前記第一指令に紐づけて前記主軸が前記ワークから第一距離以上離れた位置に到達した際に前記保持部の制動を解除する制動解除指令を記憶部に書き込む第二書き込み部を備え、
前記第二実行部は、前記第一指令の実行時に、前記第二書き込み部にて書き込まれた前記制動解除指令を実行する
請求項に記載の制御装置。
a second writing unit that writes a brake release command to a memory unit when the end position determination unit determines that the movement end position in the first command is a position that is a first distance or more away from the workpiece, the brake release command being associated with the first command and causing the spindle to release the brake of the holding unit when the spindle reaches a position that is a first distance or more away from the workpiece;
The control device according to claim 2 , wherein the second execution unit executes the brake release command written by the second writing unit when the first command is executed.
複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御装置において、
前記保持部は移動のために予め制動解除が必要であり、
前記ワークから第一距離離れた第一位置と、前記ワークの内部の第二位置との間を前記主軸が繰り返し移動する第一繰り返し指令を読み出したか否か判定する第一繰り返し判定部と、
該第一繰り返し判定部にて前記第一繰り返し指令を読み出したと判定した場合、
軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出したか否か判定する軸方向移動判定部と、
該軸方向移動判定部にて前記第一指令を読み出したと判定した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定する保持部移動判定部と、
該保持部移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一繰り返し指令の実行によって前記主軸が前記第一位置に配置され、前記第一指令実行する場合に前記保持部の制動解除を実行する第三実行部と
を備える
制御装置。
A control device that sequentially reads out a plurality of commands to control movement of a movable spindle that mounts a tool and a movable holder that holds a workpiece,
The holding part needs to be released from the brake before it can move.
a first repetition determination unit that determines whether a first repetition command for repeatedly moving the spindle between a first position that is a first distance away from the workpiece and a second position inside the workpiece has been read out;
When it is determined that the first repeat command has been read out by the first repeat determination unit,
an axial movement determination unit that determines whether a first command, which is a command indicating a movement of the spindle away from the workpiece in the axial direction, has been read;
a holder movement determination unit that, when it is determined that the first command has been read out by the axial movement determination unit, determines whether a second command read out after the first command is a command indicating movement of the holder; and
a third execution unit that, when the holding unit movement determination unit determines that the second command is a command indicating movement of the holding unit, causes the spindle to be positioned at the first position by executing the first repeat command, and releases the brake of the holding unit when the first command is executed .
前記保持部移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令に紐づけて前記保持部の制動を解除する制動解除指令を記憶部に書き込む第三書き込み部を備え、
前記第三実行部は、前記第一指令の実行時に、前記第三書き込み部にて書き込まれた前記制動解除指令を実行する
請求項に記載の制御装置。
a third writing unit that writes a brake release command to release the brake of the holding unit in a storage unit in association with the first command when the holding unit movement determination unit determines that the second command is a command indicating the movement of the holding unit,
The control device according to claim 4 , wherein the third execution unit executes the brake release command written by the third writing unit when the first command is executed.
複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御装置において、
前記保持部は移動のために予め制動解除が必要であり、
前記ワークから第一距離離れた第一位置と、前記ワークに接触する第二位置との間を前記主軸が繰り返し移動する繰り返し動作を実行する為の指令であって、前記繰り返し動作の終了位置が前記第一位置とは異なる前記ワークから第二距離離れた第三位置である第二繰り返し指令を読み出したか否か判定する第二繰り返し判定部と、
該第二繰り返し判定部にて前記第二繰り返し指令を読み出したと判定した場合、軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出したか否か判定する軸方向移動判定部と、
該軸方向移動判定部にて前記第一指令を読み出したと判定した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定する保持部移動判定部と、
該保持部移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令の実行時に、前記主軸が前記ワークから第一距離以上離れた位置に到達した際に前記保持部の制動解除を実行する第四実行部を備える
制御装置。
A control device that sequentially reads out a plurality of commands to control movement of a movable spindle that mounts a tool and a movable holder that holds a workpiece,
The holding part needs to be released from the brake before it can move.
a second repetition determination unit that determines whether a second repetition command has been read out, the second repetition command being a command for executing a repetitive operation in which the spindle repeatedly moves between a first position that is a first distance away from the workpiece and a second position that contacts the workpiece, and an end position of the repetitive operation is a third position that is a second distance away from the workpiece and different from the first position;
an axial movement determination unit that, when it is determined that the second repeat command has been read out by the second repeat determination unit, determines whether or not a first command has been read out, the first command being a command indicating a movement of the spindle away from the workpiece in the axial direction;
a holder movement determination unit that, when it is determined that the first command has been read out by the axial movement determination unit, determines whether a second command read out after the first command is a command indicating movement of the holder; and
the holding unit movement determination unit determines that the second command is a command to move the holding unit, and during execution of the first command, the control device further comprises a fourth execution unit that executes release of the brake of the holding unit when the spindle reaches a position that is a first distance or more away from the workpiece.
前記保持部移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令に紐づけて前記主軸が前記ワークから第一距離以上離れた位置に到達した際に前記保持部の制動を解除する制動解除指令を記憶部に書き込む第四書き込み部を備え、
前記第四実行部は、前記第一指令の実行時に、前記第四書き込み部にて書き込まれた前記制動解除指令を実行する
請求項に記載の制御装置。
a fourth writing unit that, when it is determined by the holding unit movement determination unit that the second command is a command indicating movement of the holding unit, writes a brake release command to a memory unit in association with the first command, for releasing the brake of the holding unit when the spindle reaches a position that is a first distance or more away from the workpiece;
The control device according to claim 6 , wherein the fourth execution unit executes the brake release command written by the fourth writing unit when the first command is executed.
工具を装着する移動可能な主軸と、ワークを保持する移動可能な保持部と、複数の指令を順に読み出して、前記主軸及び保持部の移動を制御する制御装置とを備える工作機械において、
前記保持部は移動のために予め制動解除が必要であり、
前記制御装置は、
軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定する移動判定部と、
該移動判定部にて、前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令は、前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置である指令であるのか、又は前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置でない指令であるのかを判定する開始位置判定部と、
該開始位置判定部にて、前記第一指令は、前記移動開始位置が前記ワークから第一距離以上離れた位置である指令であると判定した場合、前記第一指令の実行中に前記保持部の制動解除を実行する第一実行部と
前記開始位置判定部にて、前記第一指令は、前記移動開始位置が前記ワークから第一距離以上離れた位置である指令であると判定した場合、前記第一指令に紐づけて前記保持部の制動を解除する制動解除指令を記憶部に書き込む第一書き込み部と、
前記第一指令の実行中に、前記第一書き込み部にて書き込まれた前記制動解除指令を実行する第一実行部と
を備える
工作機械。
A machine tool including a movable spindle on which a tool is attached, a movable holder that holds a workpiece, and a control device that sequentially reads out a plurality of commands to control movement of the spindle and the holder,
The holding part needs to be released from the brake before it can move.
The control device includes:
a movement determination unit that, when a first command is read out, which is a command indicating a movement of the spindle away from the workpiece in an axial direction, determines whether a second command read out after the first command is a command indicating a movement of the holding unit;
a start position determination unit that, when it is determined by the movement determination unit that the second command is a command indicating movement of the holding unit , determines whether the first command is a command for starting the movement of the spindle at a position that is a first distance or more away from the workpiece, or a command for starting the movement of the spindle at a position that is not the first distance or more away from the workpiece;
a first execution unit that executes brake release of the holding unit during execution of the first command when the start position determination unit determines that the first command is a command for the movement start position to be a position that is a first distance or more away from the workpiece ; and
a first writing unit that writes a brake release command to release the brake of the holding unit in a memory unit in association with the first command when the start position determination unit determines that the first command is a command for the movement start position to be a position that is a first distance or more away from the workpiece; and
a first execution unit that executes the brake release command written by the first writing unit during execution of the first command;
A machine tool equipped with:
複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御方法において、
前記保持部は移動のために予め制動解除が必要であり、
軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定し、
前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令は、前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置である指令であるのか、又は前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置でない指令であるのかを判定し、
前記第一指令は、前記移動開始位置が前記ワークから第一距離以上離れた位置である指令であると判定した場合、前記第一指令に紐づけて前記保持部の制動を解除する制動解除指令を記憶部に書き込み、
前記第一指令の実行中に、書き込まれた前記制動解除指令を実行する
制御方法。
A control method for controlling movement of a movable spindle for mounting a tool and a movable holder for holding a workpiece by sequentially reading out a plurality of commands, comprising:
The holding part needs to be released from the brake before it can move.
When a first command is read out, the first command being a command indicating a movement of the spindle away from the workpiece in an axial direction, a second command read out after the first command is determined to be a command indicating a movement of the holding unit;
When it is determined that the second command is a command indicating movement of the holding unit, it is determined whether the first command is a command for causing the movement start position of the spindle to be at a position away from the workpiece by a first distance or more, or a command for causing the movement start position of the spindle to be at a position not away from the workpiece by a first distance or more;
When it is determined that the first command is a command for the movement start position to be a position that is a first distance or more away from the workpiece, a brake release command is written in a storage unit in association with the first command to release the brake of the holding unit;
Executing the written brake release command during execution of the first command.
Control methods.
複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御方法において、
前記保持部は移動のために予め制動解除が必要であり、
軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令の後に、前記保持部の移動を示す第二指令を実行する場合、前記第一指令における前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置の場合、前記第一指令の実行中に前記保持部の制動解除を実行し、
前記第一指令における前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置でない場合、前記第一指令の実行後に前記保持部の制動解除を実行する
制御方法。
A control method for controlling movement of a movable spindle for mounting a tool and a movable holder for holding a workpiece by sequentially reading out a plurality of commands, comprising:
The holding part needs to be released from the brake before it can move.
When a second command indicating a movement of the holding unit is executed after a first command which is a command indicating a movement of the spindle away from the workpiece in an axial direction, if a movement start position of the spindle in the first command is a position away from the workpiece by a first distance or more, the brake of the holding unit is released during the execution of the first command,
when the movement start position of the spindle in the first command is not a position that is a first distance or more away from the workpiece, releasing the brake of the holding unit after execution of the first command.
複数の指令を順に読み出して、工具を装着する移動可能な主軸及びワークを保持する移動可能な保持部の移動を制御する制御装置で実行可能なコンピュータプログラムにおいて、
前記保持部は移動のために予め制動解除が必要であり、
前記制御装置に、
軸方向にて前記ワークから離れる前記主軸の移動を示す指令である第一指令を読み出した場合、前記第一指令の後に読み出される第二指令が前記保持部の移動を示す指令であるか否かを判定し、
前記第二指令が前記保持部の移動を示す指令であると判定した場合、前記第一指令は、前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置である指令であるのか、又は前記主軸の移動開始位置が前記ワークから第一距離以上離れた位置でない指令であるのかを判定し、
前記第一指令は、前記移動開始位置が前記ワークから第一距離以上離れた位置である指令であると判定した場合、前記第一指令に紐づけて前記保持部の制動を解除する制動解除指令を記憶部に書き込み、
前記第一指令の実行中に、書き込まれた前記制動解除指令を実行する
処理を実行させるコンピュータプログラム。
A computer program executable by a control device for sequentially reading out a plurality of commands and controlling movement of a movable spindle on which a tool is mounted and a movable holder for holding a workpiece, comprising:
The holding part needs to be released from the brake before it can move.
The control device includes:
When a first command is read out, the first command being a command indicating a movement of the spindle away from the workpiece in an axial direction, a second command read out after the first command is determined to be a command indicating a movement of the holding unit;
When it is determined that the second command is a command indicating movement of the holding unit, it is determined whether the first command is a command for causing the movement start position of the spindle to be at a position away from the workpiece by a first distance or more, or a command for causing the movement start position of the spindle to be at a position not away from the workpiece by a first distance or more;
When it is determined that the first command is a command for the movement start position to be a position that is a first distance or more away from the workpiece, a brake release command is written in a storage unit in association with the first command to release the brake of the holding unit;
Executing the written brake release command during execution of the first command.
A computer program that executes a process.
JP2022060813A 2022-03-31 2022-03-31 Control device, machine tool, control method, and computer program Active JP7694438B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022060813A JP7694438B2 (en) 2022-03-31 2022-03-31 Control device, machine tool, control method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022060813A JP7694438B2 (en) 2022-03-31 2022-03-31 Control device, machine tool, control method, and computer program

Publications (2)

Publication Number Publication Date
JP2023151280A JP2023151280A (en) 2023-10-16
JP7694438B2 true JP7694438B2 (en) 2025-06-18

Family

ID=88326872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022060813A Active JP7694438B2 (en) 2022-03-31 2022-03-31 Control device, machine tool, control method, and computer program

Country Status (1)

Country Link
JP (1) JP7694438B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011070247A (en) 2009-09-24 2011-04-07 Brother Industries Ltd Numerical controller for machine tool, control method for the machine tool and control program for the machine tool
JP2015064763A (en) 2013-09-25 2015-04-09 ブラザー工業株式会社 Machine tool
JP2017038438A (en) 2015-08-07 2017-02-16 ファナック株式会社 Motor control system with function to detect brake abnormality
JP2018173912A (en) 2017-03-31 2018-11-08 ブラザー工業株式会社 Machine tool, machine tool control method and computer program
US20210132589A1 (en) 2019-11-06 2021-05-06 Fanuc Corporation Controller for machining device and control method for machining device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0415807A (en) * 1990-05-09 1992-01-21 Toyota Motor Corp Controller for servo mechanism

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011070247A (en) 2009-09-24 2011-04-07 Brother Industries Ltd Numerical controller for machine tool, control method for the machine tool and control program for the machine tool
JP2015064763A (en) 2013-09-25 2015-04-09 ブラザー工業株式会社 Machine tool
JP2017038438A (en) 2015-08-07 2017-02-16 ファナック株式会社 Motor control system with function to detect brake abnormality
JP2018173912A (en) 2017-03-31 2018-11-08 ブラザー工業株式会社 Machine tool, machine tool control method and computer program
US20210132589A1 (en) 2019-11-06 2021-05-06 Fanuc Corporation Controller for machining device and control method for machining device
JP2021076955A (en) 2019-11-06 2021-05-20 ファナック株式会社 Machine tool control device and machine tool control method

Also Published As

Publication number Publication date
JP2023151280A (en) 2023-10-16

Similar Documents

Publication Publication Date Title
JP5873135B2 (en) Magazine swivel tool changer that can change the tool storage position
JP6299527B2 (en) Numerical control device and control method
JP3990441B1 (en) Automatic tool changing method and automatic tool changing device for machine tool with numerical control device
JP5958188B2 (en) Numerical controller
JP3186213B2 (en) Tool breakage detection method
JP4629392B2 (en) Protective cover opening / closing device for machine tools
JP7694438B2 (en) Control device, machine tool, control method, and computer program
JP6819414B2 (en) Numerical control device and control method
JP4947534B2 (en) Machine tool and method of operating machine tool
WO2020089982A1 (en) Machining center and workpiece processing method
JP2010069545A (en) Numerical control type machine tool and control program used for the same
CN109571136A (en) Control device and lathe
JP7188346B2 (en) Control device, control method and control program
JP7346282B2 (en) How to control the tool magazine
JP2025154672A (en) Control device, machine tool, control method, and computer program
JP7250202B1 (en) Information processing device and information processing program
JP2000284817A (en) Numerical controller to simultaneously control two movable objects no common track
JP6809343B2 (en) Machine tools, machine tool control methods and computer programs
JP2007286688A (en) Interference detection method and control device for machine tool
JP2020055053A (en) Tooling system, and control method and computer program for workpiece carrier device
JPH11104934A (en) Method and apparatus for controlling spindle head movement during automatic tool change operation
JP4200725B2 (en) Processing program creation device and processing method for plate processing machine
JP7751772B2 (en) Workpiece processing method
JP2009110223A (en) Numerical control device, numerical control program, and storage medium storing numerical control program
JP7489487B2 (en) Machine Tools

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250311

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250417

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250520

R150 Certificate of patent or registration of utility model

Ref document number: 7694438

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150