JP7727269B2 - Control device and control method - Google Patents
Control device and control methodInfo
- Publication number
- JP7727269B2 JP7727269B2 JP2021193858A JP2021193858A JP7727269B2 JP 7727269 B2 JP7727269 B2 JP 7727269B2 JP 2021193858 A JP2021193858 A JP 2021193858A JP 2021193858 A JP2021193858 A JP 2021193858A JP 7727269 B2 JP7727269 B2 JP 7727269B2
- Authority
- JP
- Japan
- Prior art keywords
- return
- origin
- door
- fixing devices
- pair
- 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
Links
Landscapes
- Machine Tool Units (AREA)
- Numerical Control (AREA)
- Auxiliary Devices For Machine Tools (AREA)
Description
本発明は、制御装置及び制御方法に関する。 The present invention relates to a control device and a control method.
従来の工作機械はカバー、機械本体、作業台、仕切壁を備える。カバーは機械本体、作業台、仕切壁を収容する。作業台はモータの動力で、鉛直方向に平行な軸線を中心に回転できる。作業台は上面に一対の固定装置を備える。被削材は一対の固定装置の一方又は両方に固定する。固定装置はモータの動力で、作業台に対する被削材の配置を変更できる。仕切壁はカバーの内部を準備領域と加工領域に区切る。機械本体は加工領域に設ける。一方の固定装置が準備領域に在る時、他方の固定装置は加工領域に在る。工作機械は一対の固定装置の内、加工領域に在る機械本体側の固定装置が固定する被削材を加工する。工作機械は被削材を機械本体が加工する間に、準備領域に在る固定装置の被削材の交換作業と被削材の配置の調整ができる。 A conventional machine tool comprises a cover, a machine body, a work table, and a partition wall. The cover houses the machine body, work table, and partition wall. The work table can be rotated around an axis parallel to the vertical direction by the power of a motor. The work table has a pair of fixing devices on its upper surface. The workpiece is fixed to one or both of the pair of fixing devices. The fixing devices can change the position of the workpiece relative to the work table by the power of a motor. The partition wall divides the interior of the cover into a preparation area and a processing area. The machine body is installed in the processing area. When one fixing device is in the preparation area, the other fixing device is in the processing area. The machine tool processes the workpiece fixed by the fixing device on the machine body side that is in the processing area. While the machine body processes the workpiece, the machine tool can change the workpiece in the fixing device in the preparation area and adjust the position of the workpiece.
上記工作機械を制御する制御装置は手動運転モードの原点復帰を行う指令に基づき、一対の固定装置の原点復帰を行う。制御装置は準備領域に在る固定装置の被削材の配置の調整が既に完了した時でも、手動運転モードの原点復帰を行う指示に基づき、加工領域に在る固定装置に加え、準備領域に在る固定装置の原点復帰を行う。故に、制御装置は準備領域に在る固定装置の被削材の配置の調整完了後に、手動運転モードの原点復帰を行う時、作業者は再度被削材の配置の再調整が必要であり、煩雑である。 The control device that controls the above-mentioned machine tool returns the pair of clamping devices to their home positions based on a command to perform a home position return in manual operation mode. Even when the control device has already completed adjusting the workpiece placement on the clamping devices in the preparation area, it returns the clamping devices in the preparation area to their home positions in addition to the clamping devices in the machining area based on a command to perform a home position return in manual operation mode. Therefore, when the control device performs a home position return in manual operation mode after completing adjustment of the workpiece placement on the clamping devices in the preparation area, the operator must again readjust the workpiece placement, which is cumbersome.
本発明は、手動運転モードの原点復帰を行う指示をする時の、準備領域に在る固定装置の被削材の配置の再調整の手間を軽減できる制御装置及び制御方法を提供することを目的とする。 The present invention aims to provide a control device and control method that can reduce the effort required to readjust the position of the workpiece in the fixed device in the preparation area when issuing a command to return to the origin in manual operation mode.
本発明の請求項1の制御装置は、機械本体の周囲を囲むカバーと、前記カバーの内部を加工領域と準備領域に仕切る仕切壁と、前記仕切壁の下方に設けた作業台と、前記作業台上に設け、前記作業台に対する配置を変更可能に被削材を固定する一対の固定装置と、一方の前記固定装置が前記加工領域に在る時、他方の前記固定装置が前記準備領域に在る第一位置と前記一方の前記固定装置が前記準備領域に在る時、前記他方の前記固定装置が前記加工領域に在る第二位置に前記作業台の位置を変更する移動装置と、前記作業台の位置の検出結果を出力する台検出部と、前記加工領域に設け、前記加工領域に在る前記固定装置が固定する前記被削材を加工する機械本体とを備える工作機械を制御する制御装置であって、前記一対の固定装置は各々、モータを有し、前記モータの駆動で前記作業台に対する配置を変更可能に前記被削材を固定し、前記一対の固定装置の中から選択した固定装置である復帰対象に対して原点復帰することを指令する原点復帰指令を取得する指令取得部と、前記指令取得部が前記原点復帰指令を取得した時、前記一対の固定装置の内、前記復帰対象の前記モータを駆動して、前記復帰対象の原点復帰を実行する原点復帰実行部とを備える。請求項1の制御装置は復帰対象が加工領域に在る固定装置である場合に、一対の固定装置の内、加工領域に在る固定装置のみに原点復帰を実行できる。制御装置は作業者が意図せずに準備領域に在る固定装置も原点復帰することを回避し、準備領域に在る固定装置の被削材の配置の再調整の手間を軽減できる。 The control device of claim 1 of the present invention includes a cover surrounding the periphery of a machine body, a partition wall dividing the interior of the cover into a machining area and a preparation area, a work table provided below the partition wall, a pair of fixing devices provided on the work table for fixing a workpiece so that its position relative to the work table can be changed, a moving device for changing the position of the work table between a first position where one of the fixing devices is in the machining area and the other of the fixing devices is in the preparation area when the one of the fixing devices is in the preparation area and a second position where the other of the fixing devices is in the machining area when the one of the fixing devices is in the preparation area, a table detection unit for outputting a detection result of the position of the work table, and a moving device for changing the position of the work table between a first position where one of the fixing devices is in the machining area and the other of the fixing devices is in the machining area when the one of the fixing devices is in the preparation area. A control device for controlling a machine tool including a machine main body for machining the workpiece fixed by the fixing device located in the machining area, the machine main body being provided in a position on the work table, the pair of fixing devices each having a motor that fixes the workpiece so that its position relative to the work table can be changed by driving the motor, and the control device includes: a command acquisition unit that acquires a return-to-origin command that commands a fixing device selected from the pair of fixing devices to return to its origin; and a return-to-origin execution unit that, when the command acquisition unit acquires the return-to-origin command, drives the motor of the fixing device selected from the pair of fixing devices to return the fixing device to its origin. The control device of claim 1 can execute return-to-origin only for the fixing device located in the machining area when the fixing device selected from the pair of fixing devices is located in the machining area. The control device prevents the operator from unintentionally returning to its origin a fixing device located in the preparation area , thereby reducing the effort required to readjust the position of the workpiece of the fixing device located in the preparation area.
本発明の請求項2の制御装置が制御する前記工作機械は、前記カバーの側面と前記仕切壁の少なくとも何れかに設けた扉と、前記扉の開閉状態を出力する扉検出器とを更に備え、前記原点復帰実行部は、前記扉検出器の出力した前記扉の開閉状態に応じて、前記復帰対象の原点復帰の実行を中止する。請求項2の制御装置は扉の開閉状態に基づき、復帰対象の原点復帰を実行することが不適切である状況で、復帰対象の原点復帰を実行することを確実に回避できる。 The machine tool controlled by the control device of claim 2 of the present invention further includes a door provided on at least one of the side of the cover and the partition wall, and a door detector that outputs the open/closed state of the door, and the origin return execution unit halts the execution of the origin return of the return target in accordance with the open/closed state of the door output by the door detector. The control device of claim 2 can reliably avoid executing the origin return of the return target in situations where it is inappropriate to execute the origin return of the return target, based on the open/closed state of the door.
本発明の請求項3の制御装置が制御する工作機械の前記台検出部は前記作業台が前記第一位置又は前記第二位置に在る時に前記検出結果を出力し、前記原点復帰実行部は、前記指令取得部が前記原点復帰指令を取得した時に前記台検出部の前記検出結果が未取得である時、前記復帰対象の原点復帰の実行を中止する。請求項3の制御装置は台検出部の検出結果が未取得であり、作業台が第一位置と第二位置の間に在る移動途中である時に、復帰対象の原点復帰を実行することを防ぐことができる。 The table detection unit of the machine tool controlled by the control device of claim 3 of the present invention outputs the detection result when the work table is at the first position or the second position, and the origin return execution unit halts the execution of the origin return of the return target when the detection result of the table detection unit has not been acquired when the command acquisition unit acquires the origin return command. The control device of claim 3 can prevent the execution of the origin return of the return target when the detection result of the table detection unit has not been acquired and the work table is in the middle of movement between the first position and the second position.
本発明の請求項4の制御装置が制御する工作機械の前記扉は、前記カバーの内の前記仕切壁に対し前記準備領域側に設けた外扉、前記仕切壁に設けた内扉、及び前記カバーの内の前記仕切壁と交差する方向に延びる側面扉を有し、前記扉検出器は、前記外扉、前記内扉、及び前記側面扉の開閉状態を個別に検出し、前記原点復帰実行部は、前記復帰対象が前記加工領域に在る前記固定装置である時、前記扉検出器の出力した前記内扉、前記側面扉、及び前記外扉が全て閉状態であり、且つ、前記指令取得部が前記原点復帰指令を取得した時に前記台検出部の前記検出結果が未取得である条件を満たす場合、前記一対の固定装置の原点復帰を実行する。請求項4の制御装置は復帰対象が加工領域に在る固定装置であっても、扉検出器の出力した内扉、側面扉、及び外扉が全て閉状態であり、且つ、原点復帰指令取得時に台検出部の検出結果が未取得である条件を満たす場合、加工領域と準備領域を一つの連続する領域と見做し、一対の固定装置の原点復帰を行うことができる。 The doors of the machine tool controlled by the control device of claim 4 of the present invention include an outer door provided on the preparation area side of the partition wall inside the cover, an inner door provided on the partition wall, and a side door extending in a direction intersecting the partition wall inside the cover, and the door detector individually detects the open/closed states of the outer door, inner door, and side door, and when the return-to-origin execution unit determines that the return target is the fixed device located in the machining area, the return-to-origin execution unit executes the return-to-origin of the pair of fixed devices if the inner door, side door, and outer door output by the door detector are all in a closed state and the detection result of the platform detection unit has not been acquired when the command acquisition unit acquires the return-to-origin command. The control device of claim 4 can regard the processing area and preparation area as one continuous area and return the pair of fixed devices to their home positions, even if the target for return is a fixed device located in the processing area. If the inner door, side door, and outer door output from the door detector are all closed, and the detection results from the platform detection unit have not yet been obtained when the return-to-home command is received, the control device can treat the processing area and preparation area as one continuous area and return the pair of fixed devices to their home positions.
本発明の請求項5の制御装置は、前記一対の固定装置の各々について、前記モータの駆動を許可するOFF信号と、前記モータの駆動を禁止するON信号を外部装置から取得する信号取得部を更に備え、前記原点復帰実行部は、前記指令取得部が前記原点復帰指令を取得した時に、前記復帰対象の少なくとも何れかが前記ON信号を取得している時、前記復帰対象の原点復帰の実行を中止する。請求項5の制御装置は外部装置から復帰対象の少なくとも何れかにON信号を取得している時に、復帰対象に原点復帰を実行することを確実に回避できる。 The control device of claim 5 of the present invention further includes a signal acquisition unit that acquires, for each of the pair of fixing devices, an OFF signal that permits driving of the motor and an ON signal that prohibits driving of the motor from an external device, and the origin return execution unit halts the execution of origin return of the return targets when the command acquisition unit acquires the origin return command and at least one of the return targets has acquired the ON signal. The control device of claim 5 can reliably avoid executing origin return for the return targets when an ON signal is acquired for at least one of the return targets from an external device.
本発明の請求項6の制御装置が制御する工作機械の前記一対の固定装置は各々、前記モータの駆動により前記被削材の削材面を変更する回転台を備え、前記原点復帰実行部は、前記指令取得部が前記原点復帰指令を取得した時、前記復帰対象の前記モータを駆動して、前記復帰対象の前記回転台の原点復帰を行う。請求項6の制御装置は原点復帰指令の取得に応じて、復帰対象のモータの駆動により、復帰対象の回転台の原点復帰を実行できる。 The pair of fixing devices of the machine tool controlled by the control device of claim 6 of the present invention each include a turntable that changes the cutting surface of the workpiece by driving the motor, and when the command acquisition unit acquires the return to origin command, the origin return execution unit drives the motor of the target to return the turntable to the origin. The control device of claim 6 can execute the return to origin of the target turntable by driving the motor of the target in response to acquiring the return to origin command.
本発明の請求項7の制御方法は、機械本体の周囲を囲むカバーと、前記カバーの内部を加工領域と準備領域に仕切る仕切壁と、前記仕切壁の下方に設けた作業台と、前記作業台上に設け、前記作業台に対する配置を変更可能に被削材を固定する一対の固定装置と、一方の前記固定装置が前記加工領域に在る時、他方の前記固定装置が前記準備領域に在る第一位置と前記一方の前記固定装置が前記準備領域に在る時、前記他方の前記固定装置が前記加工領域に在る第二位置に前記作業台の位置を変更する移動装置と、前記作業台の位置の検出結果を出力する台検出部と、前記加工領域に設け、前記加工領域に在る前記固定装置が固定する前記被削材を加工する前記機械本体とを備え、前記一対の固定装置は各々、モータを有し、前記モータの駆動で前記作業台に対する配置を変更可能に前記被削材を固定する工作機械を制御する制御装置が行う制御方法であって、前記一対の固定装置の中から選択した固定装置である復帰対象に対して原点復帰することを指令する原点復帰指令を取得する指令取得工程と、前記指令取得工程で前記原点復帰指令を取得した時、前記一対の固定装置の内、前記復帰対象の前記モータを駆動して、前記復帰対象の原点復帰を実行する原点復帰実行工程とを備える。請求項7の制御方法を実行する制御装置は、請求項1の制御装置と同様の効果を奏する。 The control method of claim 7 of the present invention includes a cover surrounding the periphery of the machine body, a partition wall dividing the interior of the cover into a machining area and a preparation area, a work table provided below the partition wall, a pair of fixing devices provided on the work table for fixing a workpiece so that its position relative to the work table can be changed, a moving device for changing the position of the work table between a first position in which one of the fixing devices is in the preparation area when the other of the fixing devices is in the machining area and a second position in which the other of the fixing devices is in the machining area when the one of the fixing devices is in the preparation area, a table detection unit for outputting the detection result of the position of the work table, and a moving device provided in the machining area and configured to detect the position of the work table. A control method performed by a control device controlling a machine tool that includes a machine main body that processes the workpiece fixed by the fixing device located in a machining area, wherein the pair of fixing devices each have a motor, and that fixes the workpiece so that its position relative to the work table can be changed by driving the motor, the control method comprising: a command acquisition step of acquiring a return-to-origin command that commands a fixing device selected from the pair of fixing devices to return to its origin; and a return-to-origin execution step of, when the return-to-origin command is acquired in the command acquisition step, driving the motor of the fixing device selected from the pair of fixing devices to return the fixing device to its origin. A control device that executes the control method of claim 7 achieves the same effects as the control device of claim 1.
制御装置50が制御する工作機械1の構成を説明する。以下説明は、図中に矢印で示す左右、前後、上下を使用する。工作機械1の左右方向、前後方向、上下方向は夫々工作機械1のX軸方向、Y軸方向、Z軸方向である。 The configuration of the machine tool 1 controlled by the control device 50 will be described. The following description will use the left-right, front-back, and up-down directions indicated by arrows in the diagram. The left-right, front-back, and up-down directions of the machine tool 1 correspond to the X-axis, Y-axis, and Z-axis directions of the machine tool 1, respectively.
図1、図2の如く、工作機械1は、基台2、カバー3、作業台9、一対の固定装置70、80、移動装置90、機械本体8を備える。基台2は工作機械1の下部に設ける。カバー3は基台2上部に設け、機械本体8周囲を取り囲み、切粉と切削液の周囲への飛散を防止する。カバー3は外扉56、側面扉57、操作盤17、仕切壁60、内扉64を備える。外扉56はカバー3前面に左右方向に移動可能に設け、カバー3前面中央の開口部58を開閉する。図1は外扉56が開いた状態である。側面扉57はカバー3右側に前後方向に移動可能に設け、カバー3右側面中央の開口部59を開閉する。操作盤17は外扉56右側に設ける。操作盤17は正面視縦長矩形状である。操作盤17は前面上半分に表示部19、前面下半分に入力部18を備える。表示部19は正面視縦長矩形状であり、各種画面を表示可能で、且つ画面表示を押すことで各種情報を入力可能な入力装置である。入力部18は各種スイッチを備える。操作盤17は表示部19と入力部18で工作機械1の各種動作指示の入力を受付ける。仕切壁60はカバー3の内部で左右方向に延びる壁であり、カバー3の内部を加工領域R1と準備領域R2に仕切る。加工領域R1は仕切壁60に対し機械本体8が在る側の領域である。準備領域R2は仕切壁60に対し外扉56が在る側の領域である。内扉64は仕切壁60前面に左右方向に移動可能に設け、仕切壁60中央の開口部65を開閉する。 As shown in Figures 1 and 2, the machine tool 1 comprises a base 2, a cover 3, a workbench 9, a pair of fixing devices 70, 80, a moving device 90, and a machine body 8. The base 2 is located at the bottom of the machine tool 1. The cover 3 is located at the top of the base 2 and surrounds the machine body 8, preventing chips and cutting fluid from scattering to the surrounding area. The cover 3 comprises an outer door 56, a side door 57, an operation panel 17, a partition wall 60, and an inner door 64. The outer door 56 is located on the front of the cover 3 and is movable left and right, opening and closing an opening 58 in the center of the front of the cover 3. Figure 1 shows the outer door 56 in an open state. The side door 57 is located on the right side of the cover 3 and is movable back and forth, opening and closing an opening 59 in the center of the right side of the cover 3. The operation panel 17 is located to the right of the outer door 56. The operation panel 17 is vertically long and rectangular when viewed from the front. The operation panel 17 has a display unit 19 in the upper half of its front surface and an input unit 18 in the lower half of its front surface. The display unit 19 is a vertically elongated rectangle when viewed from the front, and is an input device that can display various screens and input various information by pressing the screen display. The input unit 18 has various switches. The operation panel 17 accepts input of various operation instructions for the machine tool 1 via the display unit 19 and input unit 18. The partition wall 60 is a wall extending left and right inside the cover 3, and divides the interior of the cover 3 into a machining area R1 and a preparation area R2. The machining area R1 is the area on the side of the partition wall 60 where the machine body 8 is located. The preparation area R2 is the area on the side of the partition wall 60 where the outer door 56 is located. The inner door 64 is movable left and right on the front of the partition wall 60 and opens and closes an opening 65 in the center of the partition wall 60.
作業台9はカバー3の内部、仕切壁60の下方に設ける。作業台9は基台2上面前部にて、水平方向と平行に延びる。作業台9は平面視矩形状である。作業台9上面は作業台9に対し垂直に延びる仕切板95を固定する。仕切板95は仕切板95が左右方向を向く状態で、仕切壁60と共にカバー3の内部を加工領域R1と準備領域R2に仕切る。作業台9は鉛直軸M回りに回転する。 The work table 9 is located inside the cover 3, below the partition wall 60. The work table 9 extends parallel to the horizontal direction at the front of the top surface of the base 2. The work table 9 is rectangular in plan view. A partition plate 95 extending perpendicular to the work table 9 is fixed to the top surface of the work table 9. When the partition plate 95 faces left and right, the partition plate 95, together with the partition wall 60, divides the inside of the cover 3 into a processing area R1 and a preparation area R2. The work table 9 rotates around the vertical axis M.
固定装置70、80は作業台9上に対して取外し可能に設ける。固定装置70、80は被削材を作業台9に対して配置を変更可能に固定する。図1では、一対の固定装置70、80は作業台9から取外してある。図2では、固定装置70が加工領域R1に在り、固定装置80が準備領域R2に在る。固定装置70は、回転台71、固定装置モータ72、エンコーダ73(図3参照)、支持部74、挟持部75を備える。回転台71は左右に長い板状である。固定装置モータ72はサーボモータである。固定装置モータ72の出力軸は回転台71の一端部に連結する。支持部74は固定装置モータ72と左右に離隔して設け、回転台71の他端部を支持する。挟持部75は回転台71の上面に設けてある。挟持部75は手動又は自動で圧縮機が供給する圧縮空気によって被削材を固定又は解除する。回転台71は固定装置モータ72の駆動により軸A1周りに回転し、回転台71に固定した被削材の削材面を変更する。固定装置80は、固定装置70と同様な構成を有し、回転台81、固定装置モータ82、エンコーダ83(図3参照)、支持部84、挟持部85を備える。回転台81は固定装置モータ82の駆動により左右に延びる軸A2周りに回転し、回転台81に固定した被削材の削材面を変更する。 The fixing devices 70 and 80 are removably mounted on the work table 9. The fixing devices 70 and 80 fix the workpiece to the work table 9 so that its position can be changed. In Figure 1, the pair of fixing devices 70 and 80 have been removed from the work table 9. In Figure 2, the fixing device 70 is located in the machining area R1, and the fixing device 80 is located in the preparation area R2. The fixing device 70 comprises a rotating table 71, a fixing device motor 72, an encoder 73 (see Figure 3), a support portion 74, and a clamping portion 75. The rotating table 71 is plate-shaped and long from side to side. The fixing device motor 72 is a servo motor. The output shaft of the fixing device motor 72 is connected to one end of the rotating table 71. The support portion 74 is located spaced apart from the fixing device motor 72 on the left and right, and supports the other end of the rotating table 71. The clamping portion 75 is located on the top surface of the rotating table 71. The clamping unit 75 manually or automatically secures and releases the workpiece using compressed air supplied by a compressor. The rotating table 71 rotates around axis A1 driven by the clamping device motor 72, changing the cutting surface of the workpiece fixed to the rotating table 71. The fixing device 80 has a similar configuration to the fixing device 70 and includes a rotating table 81, a fixing device motor 82, an encoder 83 (see Figure 3), a support unit 84, and a clamping unit 85. The rotating table 81 rotates around axis A2 extending left and right driven by the clamping device motor 82, changing the cutting surface of the workpiece fixed to the rotating table 81.
移動装置90は第一位置と第二位置に作業台9の位置を変更する。図2に示す第一位置は、固定装置70が加工領域R1、固定装置80が準備領域R2に在る位置である。図示しない第二位置は、固定装置70が準備領域R2、固定装置80が加工領域R1に在る位置である。本実施形態の移動装置90は、作業台モータ92(図3参照)を備え、作業台モータ92の動力で作業台9の鉛直軸Mを中心に作業台9を回転することで、第一位置と第二位置に作業台9の位置を変更する。作業台9が第一位置又は第二位置に在る時、軸A1、A2は左右方向を向く。 The moving device 90 changes the position of the work table 9 between a first position and a second position. The first position shown in Figure 2 is a position where the fixing device 70 is in the processing area R1 and the fixing device 80 is in the preparation area R2. The second position (not shown) is a position where the fixing device 70 is in the preparation area R2 and the fixing device 80 is in the processing area R1. The moving device 90 of this embodiment is equipped with a work table motor 92 (see Figure 3), and changes the position of the work table 9 between the first position and the second position by rotating the work table 9 around the vertical axis M of the work table 9 using the power of the work table motor 92. When the work table 9 is in the first position or the second position, the axes A1 and A2 face left and right.
機械本体8は作業台9後方の基台2上部に設け、工具を装着した主軸7を回転し、作業台9の一対の固定装置70、80に固定した被削材の切削加工を行う。機械本体8は立柱5、主軸ヘッド6、主軸7、移動機構10、自動工具交換装置4(以下、ATC4という。)を備える。立柱5は前後左右方向に移動可能に基台2上に設ける。主軸ヘッド6は立柱5に上下動可能に設け、主軸7を回転可能に支持する。主軸7はZ軸方向に延び、主軸モータ20(図3参照)の駆動により回転する。主軸7は工具ホルダを着脱可能に装着し、ATCモータ25(図3参照)の回転角度に応じて工具ホルダの固定と固定解除を行う。工具ホルダは工具を保持する。 The machine body 8 is mounted on the upper part of the base 2 behind the workbench 9. It rotates the spindle 7, to which a tool is attached, to perform cutting on a workpiece fixed to a pair of fixing devices 70, 80 on the workbench 9. The machine body 8 comprises a pillar 5, a spindle head 6, a spindle 7, a movement mechanism 10, and an automatic tool changer 4 (hereinafter referred to as ATC 4). The pillar 5 is mounted on the base 2 so that it can move forward, backward, left, and right. The spindle head 6 is mounted on the pillar 5 so that it can move up and down, and rotatably supports the spindle 7. The spindle 7 extends in the Z-axis direction and is rotated by the spindle motor 20 (see Figure 3). A tool holder is removably attached to the spindle 7, and the tool holder is locked and unlocked depending on the rotation angle of the ATC motor 25 (see Figure 3). The tool holder holds the tool.
移動機構10は立柱5を移動可能に支持する。移動機構10はX軸モータ21(図3参照)の回転駆動により、立柱5をX軸方向に移動する。移動機構10はY軸モータ22(図3参照)の駆動により、立柱5をY軸方向に移動する。移動機構10はZ軸モータ23(図3参照)の駆動により、主軸ヘッド6をZ軸方向に移動する。 The movement mechanism 10 movably supports the upright pillar 5. The movement mechanism 10 moves the upright pillar 5 in the X-axis direction by rotational driving of the X-axis motor 21 (see Figure 3). The movement mechanism 10 moves the upright pillar 5 in the Y-axis direction by driving of the Y-axis motor 22 (see Figure 3). The movement mechanism 10 moves the spindle head 6 in the Z-axis direction by driving of the Z-axis motor 23 (see Figure 3).
X軸モータ21、Y軸モータ22、Z軸モータ23の駆動により、移動機構10は主軸ヘッド6を作業台9に対してX、Y、Z軸方向に相対移動することで主軸7を移動できる。工作機械1は主軸モータ20を駆動し、工具を装着した主軸7を回転することで、被削材を加工する。 By driving the X-axis motor 21, Y-axis motor 22, and Z-axis motor 23, the movement mechanism 10 can move the spindle head 6 relative to the work table 9 in the X-, Y-, and Z-axis directions, thereby moving the spindle 7. The machine tool 1 drives the spindle motor 20 to rotate the spindle 7, to which a tool is attached, thereby machining the workpiece.
図3を参照し、工作機械1の電気的構成を説明する。工作機械1は工作機械1を制御する為の制御装置50を備える。制御装置50はCPU51、ROM52、RAM53、記憶装置54、入出力インタフェース55を備える。CPU51は制御装置50を統括制御する。ROM52は各種プログラムを記憶する。各種プログラムは後述する主処理(図4参照)を実行する為の主制御プログラムを含む。RAM53は処理実行中の各種データを記憶する。記憶装置54は不揮発性メモリであり、NCプログラム等を記憶する。NCプログラムは移動指令、加工指令、工具交換指令を含む。移動指令は主軸7の位置座標、位置座標間の主軸7の移動速度を含む。加工指令は主軸7の回転速度を含む。工具交換指令は主軸7に装着する工具の工具番号を指定する。 The electrical configuration of the machine tool 1 will be described with reference to Figure 3. The machine tool 1 is equipped with a control device 50 for controlling the machine tool 1. The control device 50 is equipped with a CPU 51, ROM 52, RAM 53, storage device 54, and input/output interface 55. The CPU 51 provides overall control of the control device 50. ROM 52 stores various programs. These programs include a main control program for executing the main processing (see Figure 4), which will be described later. RAM 53 stores various data used during processing. Storage device 54 is non-volatile memory, and stores NC programs, etc. NC programs include movement commands, machining commands, and tool change commands. The movement commands include the position coordinates of the spindle 7 and the movement speed of the spindle 7 between the position coordinates. The machining command includes the rotational speed of the spindle 7. The tool change command specifies the tool number of the tool to be attached to the spindle 7.
入出力インタフェース55には入力部18、表示部19、主軸モータ20、X軸モータ21、Y軸モータ22、Z軸モータ23、マガジンモータ24、ATCモータ25、作業台モータ92、固定装置モータ72、82、外扉検出器61、側面扉検出器62、内扉検出器63、エンコーダ30~35、73、83、台検出器93が電気的に接続する。入力部18は作業者の操作に応じ、後述の原点復帰指令を含む入力信号を入出力インタフェース55に出力できる。入出力インタフェース55は外部装置Kと接続し、一対の固定装置70、80の各々について、動作を許可するOFF信号と、動作を禁止するON信号を外部装置Kから取得する。動作とは固定装置モータ72、82が駆動することである。 The input/output interface 55 is electrically connected to the input unit 18, display unit 19, spindle motor 20, X-axis motor 21, Y-axis motor 22, Z-axis motor 23, magazine motor 24, ATC motor 25, work table motor 92, fixing device motors 72 and 82, outer door detector 61, side door detector 62, inner door detector 63, encoders 30-35, 73 and 83, and platform detector 93. In response to operator operation, the input unit 18 can output input signals, including a return-to-origin command (described below), to the input/output interface 55. The input/output interface 55 is connected to an external device K, and receives from the external device K an OFF signal permitting operation and an ON signal prohibiting operation for each of the pair of fixing devices 70 and 80. Operation refers to the driving of the fixing device motors 72 and 82.
外扉検出器61は外扉56の開閉状態を出力する。側面扉検出器62は側面扉57の開閉状態を出力する。内扉検出器63は内扉64の開閉状態を出力する。扉検出器61~63はリミットスイッチ等で構成し、外扉56、側面扉57、及び内扉64の開閉状態を個別に検出する。エンコーダ30は主軸モータ20に設け、主軸モータ20の回転角度を検出する。エンコーダ31はX軸モータ21に設け、X軸モータ21の回転角度を検出する。エンコーダ32はY軸モータ22に設け、Y軸モータ22の回転角度を検出する。エンコーダ33はZ軸モータ23に設け、Z軸モータ23の回転角度を検出する。エンコーダ34はマガジンモータ24に設け、マガジンモータ24の回転角度を検出する。エンコーダ35はATCモータ25に設け、ATCモータ25の回転角度を検出する。台検出器93は作業台9が第一位置又は第二位置に在る時に検出結果を出力する。台検出器93は近接スイッチであり、作業台9に設けた被検出部(突起)を検出する。該突起と台検出器93は作業台9が第一位置、第二位置に在る時に台検出器93が検出できる位置に配置する。エンコーダ73は固定装置モータ72に設け、固定装置モータ72の回転角度を検出する。エンコーダ83は固定装置モータ82に設け、固定装置モータ82の回転角度を検出する。なお、台検出部として台検出器93で構成したが、作業台モータ92にエンコーダを設け、該エンコーダが検出する作業台モータ92の回転角度に基づき作業台9が第一位置又は第二位置に在るかを検出してもよい。 The outer door detector 61 outputs the open/closed state of the outer door 56. The side door detector 62 outputs the open/closed state of the side door 57. The inner door detector 63 outputs the open/closed state of the inner door 64. The door detectors 61 to 63 are composed of limit switches, etc., and individually detect the open/closed states of the outer door 56, side door 57, and inner door 64. The encoder 30 is provided on the main shaft motor 20 and detects the rotation angle of the main shaft motor 20. The encoder 31 is provided on the X-axis motor 21 and detects the rotation angle of the X-axis motor 21. The encoder 32 is provided on the Y-axis motor 22 and detects the rotation angle of the Y-axis motor 22. The encoder 33 is provided on the Z-axis motor 23 and detects the rotation angle of the Z-axis motor 23. The encoder 34 is provided on the magazine motor 24 and detects the rotation angle of the magazine motor 24. The encoder 35 is provided on the ATC motor 25 and detects the rotation angle of the ATC motor 25. The platform detector 93 outputs a detection result when the workbench 9 is in the first position or the second position. The platform detector 93 is a proximity switch that detects a detection target (protrusion) on the workbench 9. The protrusion and platform detector 93 are positioned so that the platform detector 93 can detect when the workbench 9 is in the first position or the second position. The encoder 73 is provided on the fixing device motor 72 and detects the rotation angle of the fixing device motor 72. The encoder 83 is provided on the fixing device motor 82 and detects the rotation angle of the fixing device motor 82. Although the platform detector 93 is configured as the platform detector, an encoder may also be provided on the workbench motor 92, and whether the workbench 9 is in the first position or the second position may be detected based on the rotation angle of the workbench motor 92 detected by the encoder.
図4、図5を参照し、主処理を具体例1~17を用い説明する。手動運転モードの原点復帰を行う指示をする時、作業者は入力部18を操作して一対の固定装置70、80の中から復帰対象を選択して原点復帰指令を入力する。本実施形態の主処理の復帰対象は、一対の固定装置70、80、又は加工領域R1に在る固定装置である。加工領域R1に在る固定装置は作業台9の位置に応じて決まり、図2の如く作業台9が第一位置に在る時の加工領域R1に在る固定装置は固定装置70である。作業台9が第二位置に在る時の加工領域R1に在る固定装置は固定装置80である。CPU51は入力部18が出力した入力信号に基づき原点復帰指令の取得時、ROM52に記憶したプログラムを読出して、主処理を開始する。CPU51は具体例1~17の処理を各々互いに異なる時機に行うが、以下では説明を簡単にする為に具体例1~17の処理を並列に説明する。作業者が入力部18に設けた原点復帰指令キーを押すことで、CPU51は原点復帰指令を取得する。 With reference to Figures 4 and 5, the main processing will be explained using specific examples 1 to 17. When issuing an instruction to perform a return to origin in manual operation mode, the operator operates the input unit 18 to select the return target from the pair of fixing devices 70, 80 and input a return to origin command. The return target in the main processing in this embodiment is the pair of fixing devices 70, 80 or the fixing device located in the machining area R1. The fixing device located in the machining area R1 is determined according to the position of the work table 9. As shown in Figure 2, when the work table 9 is in the first position, the fixing device located in the machining area R1 is fixing device 70. When the work table 9 is in the second position, the fixing device located in the machining area R1 is fixing device 80. Upon receiving a return to origin command based on the input signal output by the input unit 18, the CPU 51 reads a program stored in ROM 52 and starts the main processing. The CPU 51 performs the processing of specific examples 1 to 17 at different times, but for simplicity's sake, the processing of specific examples 1 to 17 will be explained in parallel below. When the operator presses the origin return command key provided on the input unit 18, the CPU 51 acquires the origin return command.
図5の「外扉」の欄は、外扉56が閉状態である時を「閉」で表し、外扉56が開状態である時を「開」で表す。「内扉、側面扉」の欄は、側面扉57、内扉64の両方が閉状態である時を「閉」で表し、側面扉57、内扉64の少なくとも何れかが開状態である時を「開」で表す。「作業台位置」の欄は、台検出器93が作業台位置の検出結果を未出力の時を「未取得」で表し、検出結果を出力済の時を「取得」で表す。「動作信号」の欄は外部装置Kから一対の固定装置70、80の両方にOFF信号を取得中である時を「両方OFF」で表し、加工領域R1に在る固定装置にON信号が取得中で、準備領域R2に在る固定装置にOFF信号が取得中の時を「加工領域ON」で表し、加工領域R1に在る固定装置にOFF信号が取得中で、準備領域R2に在る固定装置にON信号が取得中の時を「準備領域ON」で表し、一対の固定装置70、80の両方にON信号を取得中の時を「両方ON」で表す。「原点復帰」の欄は、一対の固定装置70、80の両方の原点復帰を行う時を「両方実行」で表し、加工領域R1の固定装置の原点復帰を行う時を「加工領域実行」で表し、復帰対象の原点復帰を中止する時を「中止」で表す。外部装置Kは、例えば、シーケンサ、PLC(プログラミングロジックコントローラ)、スイッチ等である。 In the "Outer Door" column in Figure 5, "Closed" indicates when the outer door 56 is closed, and "Open" indicates when the outer door 56 is open. In the "Inner Door, Side Door" column, "Closed" indicates when both the side door 57 and the inner door 64 are closed, and "Open" indicates when at least one of the side door 57 and the inner door 64 is open. In the "Work Table Position" column, "Not Acquired" indicates when the platform detector 93 has not yet output the detection result of the work table position, and "Acquired" indicates when the detection result has been output. The "operation signal" column indicates when an OFF signal is being received from the external device K for both of the pair of fixing devices 70, 80 by "both OFF," when an ON signal is being received by the fixing device in the machining region R1 and an OFF signal is being received by the fixing device in the preparation region R2 by "machining region ON," when an OFF signal is being received by the fixing device in the machining region R1 and an ON signal is being received by the fixing device in the preparation region R2 by "preparation region ON," and when an ON signal is being received by both of the pair of fixing devices 70, 80 by "both ON." The "origin return" column indicates when origin return is being performed for both of the pair of fixing devices 70, 80 by "both executed," when origin return is being performed for the fixing device in the machining region R1 by "machining region executed," and when origin return of the return target is canceled by "cancelled." The external device K is, for example, a sequencer, a PLC (programming logic controller), a switch, etc.
図4の如く、CPU51は入力部18が出力した入力信号に基づき一対の固定装置70、80の中から選択した固定装置である復帰対象に対して原点復帰することを指令する原点復帰指令を取得する(S1)。CPU51は原点復帰指令の復帰対象が一対の固定装置70、80であるかを判断する(S2)。具体例1~8の復帰対象は一対の固定装置70、80であり(S2:YES)、CPU51は扉検出器61~63の検出結果に基づき、外扉56、側面扉57、内扉64が全て閉状態であるかを判断する(S3)。具体例1~5では外扉56、側面扉57、内扉64が全て閉状態であり(S3:YES)、CPU51は復帰対象について外部装置KからOFF信号を取得中かを判断する(S8)。CPU51は主処理とは別途実行する処理で、外部装置Kから取得した信号を記憶装置54に記憶する。CPU51は記憶装置54を参照してS8を行う。具体例1、2では復帰対象である一対の固定装置70、80の両方について外部装置KからOFF信号を取得中であり(S8:YES)、CPU51はS1で原点復帰指令を取得したことに応じて、一対の固定装置70、80の内、復帰対象である一対の固定装置70、80の固定装置モータ72、82を駆動して、一対の固定装置70、80の原点復帰を実行する(S9)。具体的にはCPU51は復帰対象の固定装置モータ72、82を駆動して、復帰対象である一対の固定装置70、80の回転台71、81の原点復帰を行う。 As shown in FIG. 4, the CPU 51 receives an origin return command based on an input signal output by the input unit 18, instructing the return target, a fixed device selected from the pair of fixed devices 70 and 80, to return to the origin (S1). The CPU 51 determines whether the return target of the origin return command is the pair of fixed devices 70 and 80 (S2). In specific examples 1 to 8, the return target is the pair of fixed devices 70 and 80 (S2: YES). The CPU 51 determines whether the outer door 56, side door 57, and inner door 64 are all closed based on the detection results of the door detectors 61 to 63 (S3). In specific examples 1 to 5, the outer door 56, side door 57, and inner door 64 are all closed (S3: YES). The CPU 51 determines whether an OFF signal is being received from the external device K for the return target (S8). The CPU 51 stores the signal received from the external device K in the storage device 54 as a process executed separately from the main process. The CPU 51 performs S8 by referring to the storage device 54. In specific examples 1 and 2, an OFF signal is being received from external device K for both of the pair of holding devices 70, 80 that are the return targets (S8: YES), and in response to receiving the origin return command in S1, the CPU 51 drives the holding device motors 72, 82 of the pair of holding devices 70, 80 that are the return targets, and executes the return to origin of the pair of holding devices 70, 80 (S9). Specifically, the CPU 51 drives the holding device motors 72, 82 that are the return targets, and returns the turntables 71, 81 of the pair of holding devices 70, 80 that are the return targets to their origins.
具体例6~8は外扉56、側面扉57、内扉64の少なくとも何れかが開状態であり(S3:NO)、CPU51は扉検出器61~63の出力した外扉56、側面扉57、内扉64の開閉状態に応じて、復帰対象である一対の固定装置70、80の原点復帰の実行を中止する(S11)。CPU51は表示部19に原点復帰不可の警告を表示する。CPU51はS11で表示部19に原点復帰不可の理由を表示してもよい。具体例3~5はS1で原点復帰指令を取得した時に、復帰対象の少なくとも何れかがON信号を取得しており(S8:NO)、CPU51は復帰対象である一対の固定装置70、80の原点復帰の実行を中止する(S11)。 In specific examples 6 to 8, at least one of the outer door 56, side door 57, and inner door 64 is open (S3: NO), and the CPU 51 suspends the execution of the return to origin of the pair of fixing devices 70, 80 to be returned, depending on the open/closed state of the outer door 56, side door 57, and inner door 64 output by the door detectors 61 to 63 (S11). The CPU 51 displays a warning on the display unit 19 that return to origin is not possible. The CPU 51 may also display the reason why return to origin is not possible on the display unit 19 in S11. In specific examples 3 to 5, when the return to origin command is received in S1, at least one of the fixing devices to be returned has received an ON signal (S8: NO), and the CPU 51 suspends the execution of the return to origin of the pair of fixing devices 70, 80 to be returned (S11).
具体例9~17は復帰対象が一対の固定装置70、80ではないので(S2:NO)、CPU51は扉検出器62、63の検出結果に基づき、側面扉57、内扉64が全て閉状態であるかを判断する(S4)。具体例15、16は側面扉57、内扉64の少なくとも何れかが開状態であり(S4:NO)、CPU51は扉検出器61~63の出力した扉の開閉状態に応じて、復帰対象である加工領域R1に在る固定装置70の原点復帰の実行を中止する(S11)。具体例9~14、17は側面扉57、内扉64が全て閉状態であり(S4:YES)、CPU51は扉検出器61、台検出器93の検出結果に基づき、外扉56が閉状態且つ台検出器93から作業台位置が未取得であるかを判断する(S5)。台検出器93は作業台9が第一位置又は第二位置に在る時、作業台位置を出力し、第一位置から第二位置に移動途中又は第二位置から第一位置に移動途中である時は作業台位置を出力しない。 In specific examples 9 to 17, the target for return is not a pair of fixed devices 70, 80 (S2: NO), so the CPU 51 determines whether the side door 57 and inner door 64 are all closed based on the detection results of the door detectors 62, 63 (S4). In specific examples 15 and 16, at least one of the side door 57 and inner door 64 is open (S4: NO), and the CPU 51 halts the execution of the return to origin of the fixed device 70 located in the processing area R1, which is the target for return, based on the door open/close states output by the door detectors 61 to 63 (S11). In specific examples 9 to 14 and 17, the side door 57 and inner door 64 are all closed (S4: YES), so the CPU 51 determines whether the outer door 56 is closed and the work table position has not yet been acquired from the table detector 93 based on the detection results of the door detector 61 and table detector 93 (S5). The platform detector 93 outputs the platform position when the platform 9 is in the first position or the second position, and does not output the platform position when the platform 9 is in the process of moving from the first position to the second position or from the second position to the first position.
具体例10は外扉56が閉状態且つ台検出器93から作業台位置が未取得であり(S5:YES)、CPU51は復帰対象について外部装置KからOFF信号を取得中かを判断する(S8)。具体例10は復帰対象について外部装置KからOFF信号を取得中であり(S8:YES)、CPU51はS1で原点復帰指令を取得したことに応じて、一対の固定装置70、80の固定装置モータ72、82を駆動して、一対の固定装置70、80の原点復帰を実行する(S9)。以上によりCPU51は復帰対象が図2に示す加工領域R1に在る固定装置70である時、扉検出器61~63の出力した外扉56、側面扉57、内扉64が全て閉状態であり、且つ、S1が原点復帰指令を取得した時に台検出器93の検出結果が未取得である条件を満たす場合(S2:NO、S4:YES、S5:YES)、一対の固定装置70、80の原点復帰の実行する(S9)。 In specific example 10, the outer door 56 is closed and the work table position has not yet been obtained from the table detector 93 (S5: YES), and the CPU 51 determines whether an OFF signal is being received from the external device K for the return target (S8). In specific example 10, an OFF signal is being received from the external device K for the return target (S8: YES), and in response to receiving the origin return command in S1, the CPU 51 drives the fixing device motors 72, 82 of the pair of fixing devices 70, 80 to return the pair of fixing devices 70, 80 to their origins (S9). As a result of the above, when the target to be returned is the fixed device 70 located in the processing area R1 shown in Figure 2, if the outer door 56, side door 57, and inner door 64 output by the door detectors 61-63 are all closed, and the detection result of the platform detector 93 has not yet been obtained when S1 obtains the return to origin command (S2: NO, S4: YES, S5: YES), the CPU 51 executes the return to origin of the pair of fixed devices 70, 80 (S9).
具体例9、11~14、17は外扉56が閉状態且つ台検出器93から作業台位置が未取得の条件を満たさないので(S5:NO)、CPU51は作業台位置が取得済かを判断する(S6)。具体例17は原点復帰指令を取得した時に台検出器93の検出結果が未取得であるので(S6:NO)、CPU51は復帰対象の原点復帰の実行を中止する(S11)。 Specific examples 9, 11-14, and 17 do not satisfy the conditions that the outer door 56 is closed and the work table position has not yet been acquired from the platform detector 93 (S5: NO), so the CPU 51 determines whether the work table position has been acquired (S6). Specific example 17 does not obtain the detection result of the platform detector 93 when the origin return command is received (S6: NO), so the CPU 51 cancels the execution of origin return for the return target (S11).
具体例9、11~14は作業台位置が取得済であり(S6:YES)、CPU51は復帰対象について外部装置KからOFF信号を取得中かを判断する(S7)。具体例9、12、14は復帰対象である加工領域R1に在る固定装置70について外部装置KからOFF信号を取得中であり(S7:YES)、CPU51はS1で原点復帰指令を取得した時、一対の固定装置70、80の内、復帰対象である加工領域R1に在る固定装置70の固定装置モータ72を駆動して、復帰対象の原点復帰を実行する(S10)。具体例11、13はS1で原点復帰指令を取得した時に、復帰対象である加工領域R1に在る固定装置70がON信号を取得しているので(S7:NO)、CPU51は復帰対象の原点復帰の実行を中止する(S11)。S9~S11の何れかの次に、CPU51は以上で主処理を終了する。 In Examples 9, 11, and 14, the workbench position has already been acquired (S6: YES), and the CPU 51 determines whether an OFF signal is being received from the external device K for the object to be returned (S7). In Examples 9, 12, and 14, an OFF signal is being received from the external device K for the fixed device 70 located in the machining area R1 that is the object to be returned (S7: YES). When the CPU 51 receives a return-to-origin command in S1, it drives the fixed device motor 72 of the fixed device 70 located in the machining area R1 that is the object to be returned to the origin (S10). In Examples 11 and 13, when the return-to-origin command is received in S1, the fixed device 70 located in the machining area R1 that is the object to be returned has acquired an ON signal (S7: NO), so the CPU 51 cancels the execution of the return-to-origin for the object to be returned (S11). After any of S9 to S11, the CPU 51 then ends the main processing.
上記実施形態において、制御装置50、工作機械1、カバー3、機械本体8、作業台9、仕切壁60、移動装置90、台検出器93は、夫々、本発明の制御装置、工作機械、カバー、機械本体、作業台、仕切壁、移動装置、台検出部の一例である。固定装置70、80は本発明の一対の固定装置の一例である。回転台71、81は本発明の回転台の一例である。固定装置モータ72、82は本発明のモータの一例である。加工領域R1、準備領域R2は、夫々、本発明の加工領域、準備領域の一例である。外扉56、側面扉57、内扉64は、夫々、本発明の外扉、側面扉、内扉の一例である。扉検出器61~63は本発明の扉検出器の一例である。入出力インタフェース55は本発明の信号取得部の一例である。S1を行うCPU51は本発明の指令取得部の一例である。S9、S10を実行するCPU51は本発明の原点復帰実行部の一例である。 In the above embodiment, the control device 50, machine tool 1, cover 3, machine body 8, workbench 9, partition wall 60, moving device 90, and platform detector 93 are examples of the control device, machine tool, cover, machine body, workbench, partition wall, moving device, and platform detector of the present invention, respectively. Fixing devices 70 and 80 are an example of a pair of fixing devices of the present invention. Rotating tables 71 and 81 are an example of a rotating table of the present invention. Fixing device motors 72 and 82 are an example of a motor of the present invention. The machining area R1 and preparation area R2 are examples of the machining area and preparation area of the present invention, respectively. The outer door 56, side door 57, and inner door 64 are examples of the outer door, side door, and inner door of the present invention, respectively. Door detectors 61-63 are examples of door detectors of the present invention. The input/output interface 55 is an example of a signal acquisition unit of the present invention. The CPU 51 that performs S1 is an example of a command acquisition unit of the present invention. The CPU 51 that executes S9 and S10 is an example of a return-to-origin execution unit of the present invention.
上記実施形態の制御装置50は、カバー3、仕切壁60、作業台9、一対の固定装置70、80、移動装置90、台検出器93、及び機械本体8を備える工作機械1を制御する。カバー3は機械本体8の周囲を囲む箱状である。仕切壁60はカバー3の内部を加工領域R1と準備領域R2に仕切る。一対の固定装置70、80は仕切壁60の下方に設けた作業台9と、作業台9上に設け、作業台9に対する配置を変更可能に被削材を固定する。移動装置90は一方の固定装置が加工領域R1に在る時、他方の固定装置が準備領域R2に在る第一位置と一方の固定装置が準備領域R2に在る時、他方の固定装置が加工領域R1に在る第二位置に作業台9の位置を変更する。台検出器93は作業台9の位置の検出結果を出力する。機械本体8は加工領域R1に設け、加工領域R1に在る固定装置が固定する被削材を加工する。一対の固定装置70、80は各々、固定装置モータ72、82を有し、固定装置モータ72、82の駆動で作業台9に対する配置を変更可能に被削材を固定する。制御装置50のCPU51は一対の固定装置70、80の中から選択した固定装置である復帰対象に対して原点復帰することを指令する原点復帰指令を取得する(S1)。S1で原点復帰指令を取得した時、CPU51は一対の固定装置70、80の内、復帰対象の固定装置モータ72、82を駆動して、復帰対象の原点復帰を実行する(S9、S10)。制御装置50は復帰対象が加工領域R1に在る固定装置である場合に(S2:NO)、一対の固定装置70、80の内、加工領域R1に在る固定装置のみに原点復帰を実行できる(S10)。制御装置50は作業者が意図せずに準備領域R2に在る固定装置も原点復帰することを回避し、準備領域R2に在る固定装置の被削材の配置の再調整の手間を軽減できる。 The control device 50 of the above embodiment controls a machine tool 1 including a cover 3, a partition wall 60, a work table 9, a pair of fixing devices 70, 80, a moving device 90, a table detector 93, and a machine body 8. The cover 3 is box-shaped and surrounds the machine body 8. The partition wall 60 divides the interior of the cover 3 into a machining region R1 and a preparation region R2. The pair of fixing devices 70, 80 are provided on the work table 9, which is provided below the partition wall 60, and fix a workpiece so that its position relative to the work table 9 can be changed. The moving device 90 changes the position of the work table 9 between a first position where one fixing device is in the machining region R1 and the preparation region R2 when the other fixing device is in the preparation region R2, and a second position where the other fixing device is in the machining region R1 when the other fixing device is in the preparation region R2. The table detector 93 outputs the detection result of the position of the work table 9. The machine main body 8 is provided in the machining region R1 and machines a workpiece fixed by a fixing device located in the machining region R1. Each of the pair of fixing devices 70, 80 has a fixing device motor 72, 82, which are driven to fix the workpiece so that its position relative to the worktable 9 can be changed. The CPU 51 of the control device 50 acquires an origin return command that commands a fixing device selected from the pair of fixing devices 70, 80 to return to its origin (S1). When the origin return command is acquired in S1, the CPU 51 drives the fixing device motor 72, 82 of the fixing device selected from the pair of fixing devices 70, 80 to return the fixing device to its origin (S9, S10). If the fixing device selected from the pair of fixing devices 70, 80 is located in the machining region R1 (S2: NO), the control device 50 can execute origin return only for the fixing device located in the machining region R1 (S10). The control device 50 prevents the fixing device in the preparation area R2 from being unintentionally returned to its origin by the operator, thereby reducing the effort required to readjust the position of the workpiece in the fixing device in the preparation area R2.
制御装置50は、カバー3の側面と仕切壁60の少なくとも何れかに設けた外扉56、側面扉57、内扉64と、外扉56、側面扉57、内扉64の開閉状態を出力する扉検出器61~63とを更に備える工作機械1を制御する。CPU51は、扉検出器61~63の出力した外扉56、側面扉57、内扉64の開閉状態に応じて(S3:NO、S4:NO)、復帰対象の原点復帰の実行を中止する(S11)。制御装置50は扉の開閉状態に基づき、復帰対象の原点復帰を実行することが不適切である状況で、復帰対象の原点復帰を実行することを確実に回避できる。 The control device 50 controls the machine tool 1, which further includes an outer door 56, a side door 57, and an inner door 64 provided on at least one of the side surfaces of the cover 3 and the partition wall 60, and door detectors 61-63 that output the open/closed status of the outer door 56, side door 57, and inner door 64. The CPU 51 halts the execution of the return to origin of the return target (S11) depending on the open/closed status of the outer door 56, side door 57, and inner door 64 output by the door detectors 61-63 (S3: NO, S4: NO). Based on the open/closed status of the doors, the control device 50 can reliably avoid executing the return to origin of the return target in situations where it is inappropriate to do so.
制御装置50が制御する工作機械1の台検出器93は作業台9が第一位置又は第二位置に在る時に検出結果を出力する。CPU51は、S1で原点復帰指令を取得した時に台検出器93の検出結果が未取得である時(S6:NO)、復帰対象の原点復帰の実行を中止する(S11)。制御装置50は台検出器93の検出結果が未取得であり、作業台9が第一位置と第二位置の間に在る移動途中である時に、復帰対象の原点復帰を実行することを防ぐことができる。 The platform detector 93 of the machine tool 1 controlled by the control device 50 outputs a detection result when the work platform 9 is in the first position or the second position. If the detection result of the platform detector 93 has not been obtained when the CPU 51 receives the origin return command in S1 (S6: NO), it cancels the execution of origin return for the return target (S11). The control device 50 can prevent the execution of origin return for the return target when the detection result of the platform detector 93 has not been obtained and the work platform 9 is in the middle of movement between the first position and the second position.
制御装置50が制御する工作機械1は、カバー3の内の仕切壁60に対し準備領域R2側に設けた外扉56、仕切壁60に設けた内扉64、及びカバー3の内の仕切壁60と交差する方向に延びる側面扉57を有する。工作機械1の扉検出器61~63は、外扉56、内扉64、及び側面扉57の開閉状態を個別に検出する。CPU51は、復帰対象が加工領域R1に在る固定装置である時(S2:NO)、扉検出器61~63の出力した内扉64、側面扉57、及び外扉56が全て閉状態であり、且つ、S1で原点復帰指令を取得した時に台検出器93の検出結果が未取得である条件を満たす場合(S4:YES又はS5:YES)、一対の固定装置70、80の原点復帰を実行する(S9)。制御装置50は復帰対象が加工領域R1に在る固定装置であっても、扉検出器61~63の出力した内扉64、側面扉57、及び外扉56が全て閉状態であり、且つ、S1で原点復帰指令取得時に台検出器93の検出結果が未取得である条件を満たす場合(S4:YES又はS5:YES)、加工領域R1と準備領域R2を一つの連続する領域と見做し、一対の固定装置70、80の原点復帰を行うことができる。 The machine tool 1 controlled by the control device 50 has an outer door 56 located on the preparation area R2 side of the partition wall 60 inside the cover 3, an inner door 64 located on the partition wall 60, and a side door 57 extending in a direction intersecting the partition wall 60 inside the cover 3. The door detectors 61-63 of the machine tool 1 individually detect the open/closed states of the outer door 56, inner door 64, and side door 57. When the target for return is a fixed device located in the machining area R1 (S2: NO), the CPU 51 executes return to origin of the pair of fixed devices 70, 80 (S9) if the conditions are met: the inner door 64, side door 57, and outer door 56 output by the door detectors 61-63 are all closed, and the detection result of the platform detector 93 has not yet been obtained when the return to origin command was received in S1 (S4: YES or S5: YES). Even if the target for return is a fixed device located in the processing area R1, if the inner door 64, side door 57, and outer door 56 output by the door detectors 61-63 are all closed, and the detection result of the platform detector 93 has not yet been obtained when the return to origin command is obtained in S1 (S4: YES or S5: YES), the control device 50 can regard the processing area R1 and preparation area R2 as a single continuous area and perform the return to origin of the pair of fixed devices 70, 80.
制御装置50は、一対の固定装置70、80の各々について、固定装置モータ72、82の駆動を許可するOFF信号と、固定装置モータ72、82の駆動を禁止するON信号を外部装置Kから取得する入出力インタフェース55を備える。CPU51は、S1で原点復帰指令を取得した時に、復帰対象の少なくとも何れかがON信号を取得している時(S8:NO又はS7:NO)、復帰対象の原点復帰の実行を中止する(S11)。制御装置50は外部装置Kから復帰対象の少なくとも何れかにON信号を取得している時に、復帰対象に原点復帰を実行することを確実に回避できる。 The control device 50 has an input/output interface 55 that receives from the external device K an OFF signal that allows the driving of the holding device motors 72, 82 for each of the pair of holding devices 70, 80, and an ON signal that prohibits the driving of the holding device motors 72, 82. When the CPU 51 receives the origin return command in S1, if at least one of the return targets has received an ON signal (S8: NO or S7: NO), it halts the execution of origin return for the return targets (S11). The control device 50 can reliably avoid executing origin return for the return targets when it receives an ON signal for at least one of the return targets from the external device K.
制御装置50が制御する工作機械1の一対の固定装置70、80は各々、固定装置モータ72、82の駆動により被削材の削材面を変更する回転台71、81を備える。CPU51は、S1で原点復帰指令を取得した時、復帰対象の固定装置モータ72、82を駆動して、復帰対象の回転台71、81の原点復帰を行う。制御装置50は原点復帰指令の取得に応じて、復帰対象の固定装置モータ72、82の駆動により、復帰対象の回転台71、81に原点復帰を実行できる。 The pair of holding devices 70, 80 of the machine tool 1 controlled by the control device 50 each include a turntable 71, 81 that changes the cutting surface of the workpiece by driving the holding device motors 72, 82. When the CPU 51 acquires a return-to-origin command in S1, it drives the holding device motors 72, 82 to return the turntables 71, 81 to their origins. In response to acquiring the return-to-origin command, the control device 50 can drive the holding device motors 72, 82 to return the turntables 71, 81 to their origins.
本発明の制御装置及び制御方法は上記実施形態の他に種々変更できる。本発明は、工作機械1の制御プログラム、及び制御プログラムを記憶した記憶媒体等の制御装置とは別のカテゴリに適用してもよい。制御装置50は工作機械1と同じ装置でもよいし、別の装置でもよい。制御装置50は外部装置Kと同じ装置でもよいし、別の装置でもよい。工作機械1の構成は適宜変更してよい。工作機械1は一種類の工具のみを装着可能でもよい。工作機械1が有する外扉56、側面扉57、内扉64の少なくとも何れかを備えなくてもよいし、外扉56、側面扉57、内扉64とは別の扉を有してもよい。工作機械1は扉検出器61~63の少なくとも何れかを備えなくてもよいし、外扉56、側面扉57、内扉64と別の扉の開閉状態を検出する扉検出器を備えてもよい。各扉の開閉方式は適宜変更してよい。移動装置90は作業台9を第一位置と第二位置とに平行移動してもよい。台検出器93は作業台9が第一位置と第二位置の間に在る時の位置を検出できてもよい。台検出器93は機械的に作業台9の位置を機械的に検出してもよいし、光学的に検出してもよい。制御装置50は台検出器93の検出結果に替えて、作業台モータ92への出力値に基づき記憶装置54に記憶した作業台9の位置を示す座標値を作業台9の位置として取得してもよい。固定装置70、80は互いに同じ構成を有してもよいし、互いに異なる構成を有してもよい。固定装置70、80は、モータを有し、モータの駆動で作業台9に対する配置を変更可能に被削材を固定できればよく、固定装置70、80は、固定装置モータ72、82の駆動で被削材の位置を作業台9に平行に移動可能でもよいし、作業台9に交差する軸を中心に被削材を回動可能でもよい。工作機械1は少なくとも一対の固定装置70、80を備えればよく、作業台9に配置する三以上の固定装置を備えてもよい。 The control device and control method of the present invention can be modified in various ways in addition to the above-described embodiment. The present invention may be applied to categories other than control devices such as the control program for the machine tool 1 and storage media storing the control program. The control device 50 may be the same device as the machine tool 1, or a different device. The control device 50 may be the same device as the external device K, or a different device. The configuration of the machine tool 1 may be modified as appropriate. The machine tool 1 may be capable of mounting only one type of tool. The machine tool 1 may not have at least one of the outer door 56, side door 57, and inner door 64, or may have a door other than the outer door 56, side door 57, and inner door 64. The machine tool 1 may not have at least one of the door detectors 61-63, or may have a door detector that detects the open/closed state of a door other than the outer door 56, side door 57, and inner door 64. The opening and closing method of each door may be modified as appropriate. The moving device 90 may move the workbench 9 parallel to the first position and the second position. The platform detector 93 may be capable of detecting the position of the worktable 9 when it is between the first and second positions. The platform detector 93 may detect the position of the worktable 9 mechanically or optically. Instead of the detection result from the platform detector 93, the control device 50 may acquire, as the position of the worktable 9, coordinate values indicating the position of the worktable 9 stored in the memory device 54 based on the output value to the worktable motor 92. The fixing devices 70, 80 may have the same configuration as each other or different configurations. The fixing devices 70, 80 each have a motor and can fix the workpiece so that its position relative to the worktable 9 can be changed by driving the motor. The fixing devices 70, 80 may be capable of moving the position of the workpiece parallel to the worktable 9 by driving the fixing device motors 72, 82, or may be capable of rotating the workpiece around an axis intersecting the worktable 9. The machine tool 1 may be provided with at least one pair of fixing devices 70, 80, and may be provided with three or more fixing devices arranged on the worktable 9.
制御装置50が制御処理を行う為のプログラムはCPU51が該プログラムを行う迄に、制御装置50の記憶装置54に記憶されればよい。従って、プログラムの取得方法、取得経路及びプログラムを記憶する機器の夫々は適宜変更してもよい。CPU51が行うプログラムはケーブル又は無線通信を介して、他の装置から受信し、フラッシュメモリ等の記憶装置に記憶してもよい。他の装置は例えば、PC、及びネットワーク網を介して接続されるサーバを含む。 The program for the control device 50 to perform control processing may be stored in the storage device 54 of the control device 50 before the CPU 51 executes the program. Therefore, the program acquisition method, acquisition route, and device storing the program may each be changed as appropriate. The program executed by the CPU 51 may be received from another device via cable or wireless communication and stored in a storage device such as flash memory. The other device may include, for example, a PC or a server connected via a network.
制御装置50が行う処理の一部又は全部はCPU51とは別の電子機器(例えば、ASIC)が行ってもよい。制御装置50が行う処理は複数の電子機器(例えば、複数のCPU)が分散処理してもよい。制御装置50が行う処理の各ステップは必要に応じて順序の変更、ステップの省略、及び追加ができる。本発明の範囲は制御装置50上で稼動しているオペレーティングシステム(OS)等が、CPU51の指令で各処理の一部又は全部を行う態様も含む。例えば、上記実施形態に以下の変更を適宜加えてもよい。 Some or all of the processing performed by the control device 50 may be performed by an electronic device (e.g., an ASIC) separate from the CPU 51. The processing performed by the control device 50 may be distributed among multiple electronic devices (e.g., multiple CPUs). The order of each step in the processing performed by the control device 50 may be changed, steps may be omitted, or steps may be added as necessary. The scope of the present invention also includes embodiments in which an operating system (OS) running on the control device 50 performs some or all of the processing at the command of the CPU 51. For example, the following modifications may be made to the above embodiment as appropriate.
制御装置50は原点復帰指令の取得に応じた原点復帰を中止しなくてもよい。制御装置50は外扉56、側面扉57、内扉64の開閉状態に応じて原点復帰を中止せず、実行してもよい。制御装置50は原点復帰指令を取得した時に台検出器93の検出結果が未取得である時に原点復帰を中止せず、実行してもよい。制御装置50は復帰対象が加工領域R1に在る固定装置である時、S1で原点復帰指令を取得した時に台検出器93の検出結果が未取得である場合に原点復帰を中止してもよい。制御装置50の入出力インタフェース55は外部装置KからON信号/OFF信号を受信しなくてもよい。該時制御装置50は外部装置Kからの信号に応じて復帰対象の原点復帰の実行を中止するかを判断しなくてもよい。制御装置50は、復帰対象が一対の固定装置70、80であり、作業台9の位置が未取得である時に、復帰対象の原点復帰を中止してもよい。制御装置50は台検出器93の検出結果に替えて、作業台9の位置を示す座標値に基づき、作業台9が第一位置又は第二位置に在るかを判断してS5の処理を行ってもよい。制御装置50は復帰対象として準備領域R2に在る固定装置を選択可能であってもよい。 The control device 50 does not need to abort the origin return in response to the acquisition of an origin return command. The control device 50 may execute the origin return without aborting it depending on the open/closed state of the outer door 56, side door 57, and inner door 64. The control device 50 may execute the origin return without aborting it if the detection result of the platform detector 93 has not yet been acquired when the origin return command is acquired. When the return target is a fixed device located in the processing area R1, the control device 50 may abort the origin return if the detection result of the platform detector 93 has not yet been acquired when the return target is acquired in S1. The input/output interface 55 of the control device 50 does not need to receive an ON/OFF signal from the external device K. In this case, the control device 50 does not need to determine whether to abort the execution of the origin return of the return target in response to a signal from the external device K. The control device 50 may abort the return of the return target to the origin when the return target is a pair of fixed devices 70, 80 and the position of the work table 9 has not yet been acquired. The control device 50 may perform the process in S5 by determining whether the work table 9 is in the first position or the second position based on coordinate values indicating the position of the work table 9, instead of the detection results of the table detector 93. The control device 50 may also be able to select a fixed device in the preparation area R2 as the return target.
1 :工作機械
3 :カバー
8 :機械本体
9 :作業台
50 :制御装置
51 :CPU
55 :入出力インタフェース
56 :外扉
57 :側面扉
60 :仕切壁
61~63 :扉検出器
64 :内扉
70、80 :固定装置
71、81 :回転台
72、82 :固定装置モータ
90 :移動装置
93 :台検出器
K :外部装置
R1 :加工領域
R2 :準備領域
1: Machine tool 3: Cover 8: Machine body 9: Work table 50: Control device 51: CPU
55: Input/output interface 56: outer door 57: side door 60: partition walls 61 to 63: door detector 64: inner door 70, 80: fixing devices 71, 81: rotating tables 72, 82: fixing device motor 90: moving device 93: table detector K: external device R1: processing area R2: preparation area
Claims (7)
前記カバーの内部を加工領域と準備領域に仕切る仕切壁と、
前記仕切壁の下方に設けた作業台と、
前記作業台上に設け、前記作業台に対する配置を変更可能に被削材を固定する一対の固定装置と、
一方の前記固定装置が前記加工領域に在る時、他方の前記固定装置が前記準備領域に在る第一位置と前記一方の前記固定装置が前記準備領域に在る時、前記他方の前記固定装置が前記加工領域に在る第二位置に前記作業台の位置を変更する移動装置と、
前記作業台の位置の検出結果を出力する台検出部と、
前記加工領域に設け、前記加工領域に在る前記固定装置が固定する前記被削材を加工する前記機械本体と
を備える工作機械を制御する制御装置であって、
前記一対の固定装置は各々、モータを有し、前記モータの駆動で前記作業台に対する配置を変更可能に前記被削材を固定し、
前記一対の固定装置の中から選択した固定装置である復帰対象に対して原点復帰することを指令する原点復帰指令を取得する指令取得部と、
前記指令取得部が前記原点復帰指令を取得した時、前記一対の固定装置の内、前記復帰対象の前記モータを駆動して、前記復帰対象の原点復帰を実行する原点復帰実行部と
を備え、
前記台検出部は前記作業台が前記第一位置又は前記第二位置に在る時に前記検出結果を出力し、
前記原点復帰実行部は、前記指令取得部が前記一対の固定装置又は前記加工領域に在る前記固定装置を前記復帰対象とする前記原点復帰指令を取得した時に前記台検出部の前記検出結果が未取得である時、前記復帰対象の原点復帰の実行を中止することを特徴とする制御装置。 A cover that surrounds the machine body;
a partition wall that divides the interior of the cover into a processing area and a preparation area;
a workbench provided below the partition wall;
a pair of fixing devices provided on the work table for fixing a workpiece so that its position relative to the work table can be changed;
a moving device that changes the position of the work table between a first position where one of the fixing devices is in the processing area and the other of the fixing devices is in the preparation area and a second position where the other of the fixing devices is in the processing area when the one of the fixing devices is in the preparation area;
a platform detector that outputs a detection result of the position of the work platform;
a control device for controlling a machine tool provided in the machining area and including: a machine body that machines the workpiece fixed by the fixing device in the machining area,
each of the pair of fixing devices has a motor, and fixes the workpiece so that its position relative to the work table can be changed by driving the motor;
a command acquisition unit that acquires a return-to-origin command that commands a return target, which is a fixed device selected from the pair of fixed devices, to return to the origin;
a return-to-origin execution unit that, when the command acquisition unit acquires the return-to-origin command, drives the motor of the return target of the pair of fixing devices to execute return of the return target to the origin,
the platform detection unit outputs the detection result when the work platform is at the first position or the second position;
The control device is characterized in that the origin return execution unit cancels the execution of the origin return of the return target when the detection result of the platform detection unit has not been acquired when the command acquisition unit acquires the origin return command specifying the pair of fixing devices or the fixing device located in the processing area as the return target.
前記カバーの側面と前記仕切壁の少なくとも何れかに設けた扉と、
前記扉の開閉状態を出力する扉検出器とを更に備え、
前記原点復帰実行部は、前記指令取得部が前記一対の固定装置又は前記加工領域に在る前記固定装置を前記復帰対象とする前記原点復帰指令を取得した時、前記扉検出器の出力した前記扉の開閉状態に応じて、前記復帰対象の原点復帰の実行を中止することを特徴とする請求項1に記載の制御装置。 The machine tool controlled by the control device includes:
a door provided on at least one of a side surface of the cover and the partition wall;
a door detector that outputs an open/closed state of the door;
The control device according to claim 1, characterized in that when the command acquisition unit acquires the origin return command specifying the pair of fixing devices or the fixing device located in the processing area as the return target, the origin return execution unit suspends the execution of the origin return of the return target in accordance with the open/closed state of the door output by the door detector.
前記カバーの内部を加工領域と準備領域に仕切る仕切壁と、
前記仕切壁の下方に設けた作業台と、
前記作業台上に設け、前記作業台に対する配置を変更可能に被削材を固定する一対の固定装置と、
一方の前記固定装置が前記加工領域に在る時、他方の前記固定装置が前記準備領域に在る第一位置と前記一方の前記固定装置が前記準備領域に在る時、前記他方の前記固定装置が前記加工領域に在る第二位置に前記作業台の位置を変更する移動装置と、
前記作業台の位置の検出結果を出力する台検出部と、
前記加工領域に設け、前記加工領域に在る前記固定装置が固定する前記被削材を加工する前記機械本体と
を備える工作機械を制御する制御装置であって、
前記一対の固定装置は各々、モータを有し、前記モータの駆動で前記作業台に対する配置を変更可能に前記被削材を固定し、
前記一対の固定装置の中から選択した固定装置である復帰対象に対して原点復帰することを指令する原点復帰指令を取得する指令取得部と、
前記指令取得部が前記原点復帰指令を取得した時、前記一対の固定装置の内、前記復帰対象の前記モータを駆動して、前記復帰対象の原点復帰を実行する原点復帰実行部と
を備え、
前記制御装置が制御する前記工作機械は、
前記カバーの側面と前記仕切壁の少なくとも何れかに設けた扉と、
前記扉の開閉状態を出力する扉検出器とを更に備え、
前記扉は、前記カバーの内の前記仕切壁に対し前記準備領域側に設けた外扉、前記仕切壁に設けた内扉、及び前記カバーの内の前記仕切壁と交差する方向に延びる側面扉を有し、
前記扉検出器は、前記外扉、前記内扉、及び前記側面扉の開閉状態を個別に検出し、
前記原点復帰実行部は、前記復帰対象が前記加工領域に在る前記固定装置である時、前記扉検出器の出力した前記内扉、前記側面扉、及び前記外扉が全て閉状態であり、且つ、前記指令取得部が前記原点復帰指令を取得した時に前記台検出部の前記検出結果が未取得である条件を満たす場合、前記一対の固定装置の原点復帰を実行することを特徴とする制御装置。 A cover that surrounds the machine body;
a partition wall that divides the interior of the cover into a processing area and a preparation area;
a workbench provided below the partition wall;
a pair of fixing devices provided on the work table for fixing a workpiece so that its position relative to the work table can be changed;
a moving device that changes the position of the work table between a first position where one of the fixing devices is in the processing area and the other of the fixing devices is in the preparation area and a second position where the other of the fixing devices is in the processing area when the one of the fixing devices is in the preparation area;
a platform detector that outputs a detection result of the position of the work platform;
the machine body that is provided in the processing area and processes the workpiece fixed by the fixing device in the processing area;
A control device for controlling a machine tool comprising:
each of the pair of fixing devices has a motor, and fixes the workpiece so that its position relative to the work table can be changed by driving the motor;
a command acquisition unit that acquires a return-to-origin command that commands a return target, which is a fixed device selected from the pair of fixed devices, to return to the origin;
a return-to-origin execution unit that, when the command acquisition unit acquires the return-to-origin command, drives the motor of the return target of the pair of fixing devices to execute return of the return target to the origin;
Equipped with
The machine tool controlled by the control device includes:
a door provided on at least one of a side surface of the cover and the partition wall;
a door detector that outputs an open/closed state of the door;
the door includes an outer door provided on the preparation area side of the partition wall inside the cover, an inner door provided on the partition wall, and a side door extending in a direction intersecting the partition wall inside the cover,
the door detector detects the open/closed states of the outer door, the inner door, and the side door individually;
The control device is characterized in that, when the return target is the fixed device located in the processing area, the origin return execution unit executes the origin return of the pair of fixed devices when the conditions that the inner door, the side door, and the outer door output by the door detector are all closed and the detection result of the platform detection unit has not been acquired when the command acquisition unit acquires the origin return command are satisfied.
前記原点復帰実行部は、前記指令取得部が前記一対の固定装置又は前記加工領域に在る前記固定装置を前記復帰対象とする前記原点復帰指令を取得した時に、前記復帰対象の少なくとも何れかが前記ON信号を取得している時、前記復帰対象の原点復帰の実行を中止することを特徴とする請求項1から3の何れかに記載の制御装置。 a signal acquisition unit configured to acquire, from an external device, an OFF signal that permits driving of the motor and an ON signal that prohibits driving of the motor, for each of the pair of fixing devices;
The control device according to any one of claims 1 to 3, characterized in that when the command acquisition unit acquires the origin return command specifying the pair of fixing devices or the fixing device located in the processing area as the return target, if at least one of the return targets acquires the ON signal, the origin return execution unit cancels the execution of the return of the return target.
前記原点復帰実行部は、前記指令取得部が前記原点復帰指令を取得した時、前記復帰対象の前記モータを駆動して、前記復帰対象の前記回転台の原点復帰を行うことを特徴とする請求項1から4の何れかに記載の制御装置。 each of the pair of fixing devices includes a rotating table that changes the cutting surface of the workpiece by driving the motor;
The control device according to any one of claims 1 to 4, characterized in that when the command acquisition unit acquires the origin return command, the origin return execution unit drives the motor of the object to be returned to the origin of the rotating table of the object to be returned.
前記カバーの内部を加工領域と準備領域に仕切る仕切壁と、
前記仕切壁の下方に設けた作業台と、
前記作業台上に設け、前記作業台に対する配置を変更可能に被削材を固定する一対の固定装置と、
一方の前記固定装置が前記加工領域に在る時、他方の前記固定装置が前記準備領域に在る第一位置と前記一方の前記固定装置が前記準備領域に在る時、前記他方の前記固定装置が前記加工領域に在る第二位置に前記作業台の位置を変更する移動装置と、
前記作業台の位置の検出結果を出力する台検出部と、
前記加工領域に設け、前記加工領域に在る前記固定装置が固定する前記被削材を加工する前記機械本体と
を備え、
前記一対の固定装置は各々、モータを有し、前記モータの駆動で前記作業台に対する配置を変更可能に前記被削材を固定する工作機械を制御する制御装置が行う制御方法であって、
前記一対の固定装置の中から選択した固定装置である復帰対象に対して原点復帰することを指令する原点復帰指令を取得する指令取得工程と、
前記指令取得工程で前記原点復帰指令を取得した時、前記一対の固定装置の内、前記復帰対象の前記モータを駆動して、前記復帰対象の原点復帰を実行する原点復帰実行工程と
を備え、
前記台検出部は前記作業台が前記第一位置又は前記第二位置に在る時に前記検出結果を出力し、
前記原点復帰実行工程では、前記指令取得工程で前記一対の固定装置又は前記加工領域に在る前記固定装置を前記復帰対象とする前記原点復帰指令を取得した時に前記台検出部の前記検出結果が未取得である時、前記復帰対象の原点復帰の実行を中止することを特徴とする制御方法。 A cover that surrounds the machine body;
a partition wall that divides the interior of the cover into a processing area and a preparation area;
a workbench provided below the partition wall;
a pair of fixing devices provided on the work table for fixing a workpiece so that its position relative to the work table can be changed;
a moving device that changes the position of the work table between a first position where one of the fixing devices is in the processing area and the other of the fixing devices is in the preparation area and a second position where the other of the fixing devices is in the processing area when the one of the fixing devices is in the preparation area;
a platform detector that outputs a detection result of the position of the work platform;
a machine body that is provided in the processing area and processes the workpiece fixed by the fixing device in the processing area,
a control method performed by a control device that controls a machine tool in which the pair of fixing devices each have a motor and fixes the workpiece so that its position relative to the work table can be changed by driving the motor,
a command acquisition step of acquiring a return-to-origin command for instructing a return target, which is a fixing device selected from the pair of fixing devices, to return to the origin;
and an origin return execution step of, when the origin return command is acquired in the command acquisition step, driving the motor of the object to be returned out of the pair of fixing devices to execute origin return of the object to be returned,
the platform detection unit outputs the detection result when the work platform is at the first position or the second position;
In the origin return execution process, when the origin return command for the pair of fixing devices or the fixing device located in the processing area as the return target is acquired in the command acquisition process, if the detection result of the platform detection unit has not been acquired, the execution of the origin return of the return target is stopped.
前記カバーの内部を加工領域と準備領域に仕切る仕切壁と、a partition wall that divides the interior of the cover into a processing area and a preparation area;
前記仕切壁の下方に設けた作業台と、a workbench provided below the partition wall;
前記作業台上に設け、前記作業台に対する配置を変更可能に被削材を固定する一対の固定装置と、a pair of fixing devices provided on the work table for fixing a workpiece so that its position relative to the work table can be changed;
一方の前記固定装置が前記加工領域に在る時、他方の前記固定装置が前記準備領域に在る第一位置と前記一方の前記固定装置が前記準備領域に在る時、前記他方の前記固定装置が前記加工領域に在る第二位置に前記作業台の位置を変更する移動装置と、a moving device that changes the position of the work table between a first position where one of the fixing devices is in the processing area and the other of the fixing devices is in the preparation area and a second position where the other of the fixing devices is in the processing area when the one of the fixing devices is in the preparation area;
前記作業台の位置の検出結果を出力する台検出部と、a platform detector that outputs a detection result of the position of the work platform;
前記加工領域に設け、前記加工領域に在る前記固定装置が固定する前記被削材を加工する前記機械本体とthe machine body that is provided in the processing area and processes the workpiece fixed by the fixing device in the processing area;
を備え、Equipped with
前記一対の固定装置は各々、モータを有し、前記モータの駆動で前記作業台に対する配置を変更可能に前記被削材を固定する工作機械を制御する制御装置が行う制御方法であって、a control method performed by a control device that controls a machine tool in which the pair of fixing devices each have a motor and fixes the workpiece so that its position relative to the work table can be changed by driving the motor,
前記一対の固定装置の中から選択した固定装置である復帰対象に対して原点復帰することを指令する原点復帰指令を取得する指令取得工程と、a command acquisition step of acquiring a return-to-origin command for instructing a return target, which is a fixing device selected from the pair of fixing devices, to return to the origin;
前記指令取得工程で前記原点復帰指令を取得した時、前記一対の固定装置の内、前記復帰対象の前記モータを駆動して、前記復帰対象の原点復帰を実行する原点復帰実行工程とan origin return execution step of driving the motor of the object to be returned out of the pair of fixing devices when the origin return command is acquired in the command acquisition step, and executing the origin return of the object to be returned;
を備え、Equipped with
前記制御装置が制御する前記工作機械は、The machine tool controlled by the control device includes:
前記カバーの側面と前記仕切壁の少なくとも何れかに設けた扉と、a door provided on at least one of a side surface of the cover and the partition wall;
前記扉の開閉状態を出力する扉検出器とを更に備え、a door detector that outputs an open/closed state of the door;
前記扉は、前記カバーの内の前記仕切壁に対し前記準備領域側に設けた外扉、前記仕切壁に設けた内扉、及び前記カバーの内の前記仕切壁と交差する方向に延びる側面扉を有し、the door includes an outer door provided on the preparation area side of the partition wall inside the cover, an inner door provided on the partition wall, and a side door extending in a direction intersecting the partition wall inside the cover,
前記扉検出器は、前記外扉、前記内扉、及び前記側面扉の開閉状態を個別に検出し、the door detector detects the open/closed states of the outer door, the inner door, and the side door individually;
前記原点復帰実行工程では、前記復帰対象が前記加工領域に在る前記固定装置である時、前記扉検出器の出力した前記内扉、前記側面扉、及び前記外扉が全て閉状態であり、且つ、前記指令取得工程で前記原点復帰指令を取得した時に前記台検出部の前記検出結果が未取得である条件を満たす場合、前記一対の固定装置の原点復帰を実行することを特徴とする制御方法。In the origin return execution step, when the return target is the fixed device located in the processing area, if the inner door, the side door, and the outer door output by the door detector are all in a closed state, and the detection result of the platform detection unit has not been acquired when the origin return command is acquired in the command acquisition step, the origin return of the pair of fixed devices is executed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021193858A JP7727269B2 (en) | 2021-11-30 | 2021-11-30 | Control device and control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021193858A JP7727269B2 (en) | 2021-11-30 | 2021-11-30 | Control device and control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023080486A JP2023080486A (en) | 2023-06-09 |
| JP7727269B2 true JP7727269B2 (en) | 2025-08-21 |
Family
ID=86656674
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021193858A Active JP7727269B2 (en) | 2021-11-30 | 2021-11-30 | Control device and control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7727269B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2021007570A (en) * | 2019-06-29 | 2021-01-28 | 株式会社三洋物産 | Game machine |
| JP7702556B1 (en) * | 2024-10-11 | 2025-07-03 | ヤマザキマザック株式会社 | Setup station and machine tool |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003136364A (en) | 2001-11-06 | 2003-05-14 | Enshu Ltd | Machine tool sealing device |
| JP2005246740A (en) | 2004-03-03 | 2005-09-15 | Toyo Glass Co Ltd | Coring machine |
| JP2010194617A (en) | 2009-02-23 | 2010-09-09 | Brother Ind Ltd | Machine tool |
| JP5497972B1 (en) | 2012-08-10 | 2014-05-21 | ヤマザキマザック株式会社 | Vertical machining center |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0487756A (en) * | 1990-07-27 | 1992-03-19 | Nippei Toyama Mechatronics:Kk | Control device for workpiece index head |
-
2021
- 2021-11-30 JP JP2021193858A patent/JP7727269B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003136364A (en) | 2001-11-06 | 2003-05-14 | Enshu Ltd | Machine tool sealing device |
| JP2005246740A (en) | 2004-03-03 | 2005-09-15 | Toyo Glass Co Ltd | Coring machine |
| JP2010194617A (en) | 2009-02-23 | 2010-09-09 | Brother Ind Ltd | Machine tool |
| JP5497972B1 (en) | 2012-08-10 | 2014-05-21 | ヤマザキマザック株式会社 | Vertical machining center |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023080486A (en) | 2023-06-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8180477B2 (en) | Machining status monitoring method and machining status monitoring apparatus | |
| JP7727269B2 (en) | Control device and control method | |
| CN106814691B (en) | Numerical control device and control method | |
| JP5958188B2 (en) | Numerical controller | |
| JPH103308A (en) | Interference avoiding method for industrial robot | |
| JP2002224936A (en) | Tool presetter and tool compensation amount calculation method | |
| JP2015225617A (en) | Numerical value control device and control method | |
| JP2016085650A (en) | Numerical control device and control method | |
| JPH1058279A (en) | Turret tool selection instruction method | |
| JPH0415481B2 (en) | ||
| JPH08267350A (en) | Deburring method | |
| JP6970844B1 (en) | Machine Tools | |
| JP4491686B2 (en) | Machining control method of workpiece in machine tool | |
| JP6754870B1 (en) | Machine tools and control methods | |
| JP7735900B2 (en) | Control device, machine tool, control method, and computer program | |
| JPH0760505A (en) | Cutting tool setting method | |
| JP7690908B2 (en) | Control device, machine tool, control method, and computer program | |
| EP3506036A1 (en) | Cutting machine | |
| JPS6264674A (en) | Positioning method and jig for automobile body panel | |
| JP2021056827A (en) | Numeric control device and method for controlling numeric control device | |
| JP2024121610A (en) | Machine tool, brake abnormality determination method, and computer program | |
| JP2004314236A (en) | Machine tool and tool change method of machine tool | |
| JP2007249671A (en) | Method for preventing collision in machine tool | |
| JP2010238045A (en) | Numerical control device for machine tools | |
| JPH0569272A (en) | Machining center control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240315 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250121 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250122 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250227 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250415 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250604 |
|
| 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: 20250709 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250722 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7727269 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |