JP6125123B1 - Numerical controller - Google Patents

Numerical controller Download PDF

Info

Publication number
JP6125123B1
JP6125123B1 JP2016570062A JP2016570062A JP6125123B1 JP 6125123 B1 JP6125123 B1 JP 6125123B1 JP 2016570062 A JP2016570062 A JP 2016570062A JP 2016570062 A JP2016570062 A JP 2016570062A JP 6125123 B1 JP6125123 B1 JP 6125123B1
Authority
JP
Japan
Prior art keywords
machining
machining program
machine operation
module
program
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
JP2016570062A
Other languages
Japanese (ja)
Other versions
JPWO2017195259A1 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP6125123B1 publication Critical patent/JP6125123B1/en
Publication of JPWO2017195259A1 publication Critical patent/JPWO2017195259A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4155Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by programme execution, i.e. part programme or machine function execution, e.g. selection of a programme

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

数値制御装置(1)は、加工プログラム(PG)に基づいて、複数の加工モジュール(5)を制御する。数値制御装置(1)は、操作盤(4)で機械操作の対象として選択された加工プログラム(PG)を実行する加工モジュール(5)に対して、操作盤(4)が受け付けた機械操作を有効とする設定手段(20)を備える。設定手段(20)は、系統処理選択部(21)と、機械操作対象系統選択部(22)とを備える。系統処理選択部(21)は、選択された加工プログラム(PG)を特定する加工プログラム選択信号(301)と、全ての加工プログラム(PG)の内容とに基づいて、選択された加工プログラム(PG)を実行する加工モジュール(5)を抽出する。機械操作対象系統選択部(22)は、系統処理選択部(21)が抽出した加工モジュール(5)に対応する系統処理部(11)に機械操作を実行する機械操作信号(300)を出力する。The numerical controller (1) controls the plurality of machining modules (5) based on the machining program (PG). The numerical controller (1) performs the machine operation received by the operation panel (4) on the machining module (5) that executes the machining program (PG) selected as the machine operation target on the operation panel (4). The setting means (20) to validate is provided. The setting means (20) includes a system processing selection unit (21) and a machine operation target system selection unit (22). The system processing selection unit (21) selects the selected machining program (PG) based on the machining program selection signal (301) for specifying the selected machining program (PG) and the contents of all machining programs (PG). ) To extract the processing module (5). The machine operation target system selection unit (22) outputs a machine operation signal (300) for executing the machine operation to the system processing unit (11) corresponding to the machining module (5) extracted by the system process selection unit (21). .

Description

本発明は、工作機械を数値制御する数値制御装置に関する。   The present invention relates to a numerical control device that numerically controls a machine tool.

主軸を有する加工モジュールからなる系統を一つ有する従来の工作機械を制御する数値制御装置である単系統数値制御装置は、複数の駆動軸を制御可能とし、加工プログラム、及び操作盤から入力される機械操作信号に基づいて、駆動軸を制御する。単系統数値制御装置は、複数の駆動軸を制御することで、加工プログラムに記載されたワークの加工を可能としている。   A single-system numerical control device, which is a numerical control device for controlling a conventional machine tool having a system composed of a processing module having a main shaft, can control a plurality of drive shafts and is input from a processing program and an operation panel. The drive shaft is controlled based on the machine operation signal. The single-system numerical control device enables machining of a workpiece described in a machining program by controlling a plurality of drive shafts.

単系統数値制御装置では、表示部を有する操作盤をオペレータが操作することにより、自動運転モードと、手動運転モードとうちいずれかの運転モードが選択される。自動運転モードは、メモリ運転モード、又はMDI(Manual Data Input)運転モードである、手動運転モードは、ジョグ送りモード、ハンドル送りモード、インクレメンタル送りモード、手動任意送りモード、又はレファレンス点復帰モードである。単系統数値制御装置は、各運転モードで運転するための所定の機械操作信号が入力することで、各運転モードで動作を行うことができる。機械操作信号は、自動運転モードの場合、送り速度オーバライド信号を含み、ジョグ送りモードの場合、軸選択信号及び手動送り速度指定信号を含む。   In the single-system numerical control device, an operation mode selected from an automatic operation mode and a manual operation mode is selected by an operator operating an operation panel having a display unit. Automatic operation mode is memory operation mode or MDI (Manual Data Input) operation mode. Manual operation mode is jog feed mode, handle feed mode, incremental feed mode, manual manual feed mode, or reference point return mode. is there. The single-system numerical control device can operate in each operation mode by inputting a predetermined machine operation signal for operation in each operation mode. The machine operation signal includes a feed speed override signal in the automatic operation mode, and includes an axis selection signal and a manual feed speed designation signal in the jog feed mode.

単系統数値制御装置に対して、複数の系統を有する工作機械を制御する多系統数値制御装置が存在する。多系統数値制御装置は、複数の系統を有する工作機械を制御する。各系統は、少なくとも一つ以上の軸を制御可能とする。多系統数値制御装置は、複数の系統を互いに独立して制御することで、複数のワークを同時に加工することを可能としている。また、多系統数値制御装置は、複数の系統を同期させて制御することで、一つのワークに対して、複数の工具を用いて加工することを可能としている。   In contrast to a single-system numerical control device, there is a multi-system numerical control device that controls a machine tool having a plurality of systems. The multi-system numerical control device controls a machine tool having a plurality of systems. Each system can control at least one or more axes. The multi-system numerical control device can process a plurality of workpieces simultaneously by controlling a plurality of systems independently of each other. In addition, the multi-system numerical control device can process a single workpiece using a plurality of tools by controlling a plurality of systems in synchronization.

また、従来の多系統数値制御装置は、一つの系統から他の系統へのワークの受け渡しを可能とする機械構成とすることで、一つの系統を用いて加工を行った後に、他の系統を用いて後の工程の加工を行うなど、複数の系統にまたがった加工を可能としている。なお、従来の多系統数値制御装置は、系統毎に運転モードの選択及び所定の機械操作信号を入力することが可能である。このために、従来の多系統数値制御装置は、系統毎に異なる運転モード及び機械操作信号に基づいて動作を行うことができる。   In addition, the conventional multi-system numerical control device has a machine configuration that enables delivery of workpieces from one system to another system, so that after processing using one system, This enables processing across multiple systems, such as processing in later processes. In addition, the conventional multi-system numerical control device can select an operation mode and input a predetermined machine operation signal for each system. For this reason, the conventional multi-system numerical control device can operate based on different operation modes and machine operation signals for each system.

このように、従来の多系統数値制御装置を搭載した工作機械は、単系統数値制御装置に比べて、複雑で多様な加工を行うことができる反面、制御する軸、及び同時に制御可能な系統が多く、複雑な機械構成であるため、機械操作が難しくなる問題があった。機械操作が難しくなる問題を解決するために、機械操作を単純に行うことを可能とする多系統数値制御装置が提案されている(特許文献1参照)。特許文献1に示された多系統数値制御装置は、機械の構成に応じて、事前に系統のグループ分けを設定し、各グループの系統をグループ情報として記憶しておく。特許文献1に示された多系統数値制御装置は、いずれかの系統に障害が発生したときに、グループ情報に基づいて障害を発生した系統と同じグループの系統を特定し、障害を発生した系統と同じグループの系統の全ての運転を停止させる。   Thus, a machine tool equipped with a conventional multi-system numerical control device can perform complex and diverse machining compared to a single-system numerical control device, but has a controlled axis and a system that can be controlled simultaneously. In many cases, the machine configuration is complicated, which makes it difficult to operate the machine. In order to solve the problem that machine operation becomes difficult, a multi-system numerical control device that enables simple machine operation has been proposed (see Patent Document 1). The multi-system numerical control device disclosed in Patent Document 1 sets system grouping in advance according to the configuration of the machine, and stores the system of each group as group information. The multi-system numerical control device disclosed in Patent Document 1 specifies a system in the same group as the system that has failed based on group information when a failure has occurred in any system, and the system that has failed Stop all operations in the same group of systems.

特開2004−318762号公報JP 2004-318762 A

しかし、特許文献1に示された多系統数値制御装置は、事前に系統のグループ分けを行うために、同時に操作を行うべき系統間の関係が刻々と変化する場合に対応できないという問題があった。なお、同時に操作を行うべき系統間の関係が刻々と変化する場合は、複数の工具で同時にワークを加工する場合、又はワークを受け渡しながら複数のワークを同時に加工する場合である。   However, the multi-system numerical control device disclosed in Patent Document 1 has a problem in that it cannot cope with the case where the relationship between the systems to be operated at the same time changes every moment because the systems are grouped in advance. . In addition, when the relationship between the systems which should operate simultaneously changes every moment, it is a case where a workpiece | work is processed simultaneously with a some tool, or a some workpiece | work is processed simultaneously, delivering a workpiece | work.

さらに、従来の多系統数値制御装置は、加工中に送り速度オーバライドを変更する場合、まず、オペレータがワークの加工に関連する系統を判断し、操作盤を使って機械操作の対象となる系統を指定し、指定した系統に対して送り速度オーバライドを示す機械操作信号を入力する必要がある。このために、従来の多系統数値制御装置は、機械操作信号を入力する際に、系統の判断及び指令を行う必要があるために、機械操作信号を入力したいワークの加工に関連する系統をタイミング良く指定することは困難であった。   Furthermore, in the conventional multi-system numerical control device, when changing the feed speed override during machining, the operator first determines the system related to workpiece machining, and uses the operation panel to select the system that is the target of machine operation. It is necessary to input a machine operation signal indicating the feed speed override for the specified system. For this reason, since the conventional multi-system numerical control apparatus needs to judge and command the system when inputting the machine operation signal, the system related to machining of the workpiece to which the machine operation signal is input is timed. It was difficult to specify well.

また、従来の多系統数値制御装置は、ワークの加工工程が複数の系統で行われる場合、タイミング良くワークを加工する系統を選択できたとしても、ワークの加工を行っている系統が切り替わるタイミングに合わせて機械操作の対象とする系統を切り替える必要がある。この場合、従来の多系統数値制御装置は、タイミングを合わせて操作することが困難であった。   In addition, the conventional multi-system numerical control device, when the workpiece machining process is performed in a plurality of systems, even if the system that processes the workpiece in a timely manner can be selected, the timing at which the system that processes the workpiece is switched In addition, it is necessary to switch the system that is the target of machine operation. In this case, it has been difficult for the conventional multi-system numerical control device to be operated at the same timing.

さらに、多系統数値制御装置は、一つの系統で加工していたワークを他の系統に渡して加工する場合、一つの系統がワークを渡した後に何も加工を行わなくなるために、一つの系統が別のワークの加工を行うことができる。多系統数値制御装置は、一つの系統が別のワークの加工を行う場合、一つの系統への機械操作が新たなワークにも適用されるため、一つの系統が加工するワークを切り替える毎に、機械操作を行う必要が生じ、煩雑な操作が必要となるといった問題があった。   Furthermore, when a multi-system numerical control device passes a workpiece that has been machined in one system to another system, it does not perform any machining after one system has passed the workpiece. Can process other workpieces. Multi-system numerical control device, when one system performs machining of another workpiece, machine operation to one system is also applied to a new workpiece, so each time the workpiece to be processed by one system is switched, There is a problem that it is necessary to perform a machine operation and a complicated operation is required.

このように、従来の多系統数値制御装置は、機械操作に関する問題があったため、所定のワークに対する機械操作を行いたい場合でも、全ての系統に対して操作を行うことで機械操作を可能としている。このため、従来の多系統数値制御装置は、柔軟な機械操作を実現することができないという問題があった。この結果、従来の多系統数値制御装置は、操作したい系統以外の系統の加工を止めることとなり、工作機械自体の加工能率を低下させるという問題があった。   As described above, since the conventional multi-system numerical control device has a problem related to machine operation, even if it is desired to perform machine operation on a predetermined workpiece, it is possible to perform machine operation by performing operation on all systems. . For this reason, the conventional multi-system numerical control device has a problem in that it cannot realize flexible machine operation. As a result, the conventional multi-system numerical control device stops processing of systems other than the system to be operated, and has a problem of reducing the processing efficiency of the machine tool itself.

本発明は、上記に鑑みてなされたものであって、工作機械の加工能率の低下を抑制することができる多系統数値制御装置を得ることを目的とする。   This invention is made in view of the above, Comprising: It aims at obtaining the multi-system numerical control apparatus which can suppress the fall of the working efficiency of a machine tool.

上述した課題を解決し、目的を達成するために、本発明の数値制御装置は、加工プログラムに基づいて、複数の系統を制御する多系統数値制御装置である。数値制御装置は、操作盤で機械操作の対象として選択された加工プログラムを実行する系統に対して、操作盤が受け付けた機械操作を有効とする設定手段を備える。   In order to solve the above-described problems and achieve the object, the numerical control device of the present invention is a multi-system numerical control device that controls a plurality of systems based on a machining program. The numerical control apparatus includes setting means for validating the machine operation received by the operation panel for a system that executes a machining program selected as a machine operation target on the operation panel.

本発明に係る数値制御装置は、工作機械の加工能率の低下を抑制することができる、という効果を奏する。   The numerical control device according to the present invention has an effect that it is possible to suppress a decrease in machining efficiency of a machine tool.

実施の形態1に係る数値制御装置を備える加工設備の構成を示すブロック図The block diagram which shows the structure of the processing equipment provided with the numerical control apparatus which concerns on Embodiment 1. FIG. 図1に示された加工設備の工作機械の第1の加工モジュールの構成を示す図The figure which shows the structure of the 1st processing module of the machine tool of the processing equipment shown by FIG. 図1に示された加工設備の工作機械の第2の加工モジュールの構成を示す図The figure which shows the structure of the 2nd processing module of the machine tool of the processing equipment shown by FIG. 図1に示された加工設備の工作機械の第3の加工モジュール及び第4の加工モジュールの構成を示す図The figure which shows the structure of the 3rd processing module of the machine tool of the processing equipment shown by FIG. 1, and a 4th processing module. 図4に示された第3の加工モジュールがワークを第4の加工モジュールに受け渡す状態を示す図The figure which shows the state which the 3rd processing module shown by FIG. 4 delivers a workpiece | work to a 4th processing module. 図5に示された第3の加工モジュールから第4の加工モジュールがワークを受け渡された状態を示す図The figure which shows the state from which the 4th processing module delivered the workpiece | work from the 3rd processing module shown by FIG. 実施の形態1にかかる数値制御装置の構成の一例を示すブロック図1 is a block diagram showing an example of the configuration of a numerical control apparatus according to a first embodiment. 図7に示された数値制御装置のメモリに記憶される第1の加工プログラムの構成を示す図The figure which shows the structure of the 1st process program memorize | stored in the memory of the numerical control apparatus shown by FIG. 図7に示された数値制御装置のメモリに記憶される第2の加工プログラムの構成を示す図The figure which shows the structure of the 2nd process program memorize | stored in the memory of the numerical control apparatus shown by FIG. 図7に示された数値制御装置が制御する工作機械の各加工モジュールの動作を示すタイムチャートThe time chart which shows operation | movement of each process module of the machine tool which the numerical control apparatus shown by FIG. 7 controls 実施の形態2にかかる数値制御装置の構成の一例を示すブロック図FIG. 3 is a block diagram showing an example of the configuration of a numerical control apparatus according to a second embodiment. 図11に示された数値制御装置のメモリに記憶される第3の加工プログラムの構成を示す図The figure which shows the structure of the 3rd machining program memorize | stored in the memory of the numerical control apparatus shown by FIG. 図11に示された数値制御装置のメモリに記憶される第4の加工プログラムの構成を示す図The figure which shows the structure of the 4th process program memorize | stored in the memory of the numerical control apparatus shown by FIG. 図11に示す数値制御装置が制御する工作機械の各加工モジュールの動作を示すタイムチャートThe time chart which shows operation | movement of each process module of the machine tool which the numerical control apparatus shown in FIG. 11 controls 図14に示すタイムチャートにおいて第3の加工プログラムと第4の加工プログラムが選択された際のタイムチャートThe time chart when the third machining program and the fourth machining program are selected in the time chart shown in FIG. 実施の形態3にかかる数値制御装置の構成の一例を示すブロック図FIG. 6 is a block diagram showing an example of the configuration of a numerical control device according to a third embodiment. 図16に示す数値制御装置の機械操作対象系統選択部が記憶する機械操作データテーブルの一例を示す図The figure which shows an example of the machine operation data table which the machine operation object system | strain selection part of the numerical control apparatus shown in FIG. 16 memorize | stores. 図16に示す数値制御装置の機械操作対象系統選択部の処理を示すフローチャートThe flowchart which shows the process of the machine operation target system | strain selection part of the numerical control apparatus shown in FIG. 図16に示す数値制御装置が制御する工作機械の各加工モジュールの動作を示すタイムチャートThe time chart which shows operation | movement of each process module of the machine tool which the numerical control apparatus shown in FIG. 16 controls 図19の時刻t1において更新される機械操作データテーブルを示す図The figure which shows the machine operation data table updated in the time t1 of FIG. 図19の時刻t1aにおいて図20に示す機械操作データテーブルが更新された後を示す図The figure which shows after the machine operation data table shown in FIG. 20 was updated in the time t1a of FIG. 図19の時刻t2において図21に示す機械操作データテーブルが更新された後を示す図The figure which shows after the machine operation data table shown in FIG. 21 was updated in the time t2 of FIG. 図19の時刻t3において図22に示す機械操作データテーブルが更新された後を示す図The figure which shows after the machine operation data table shown in FIG. 22 was updated in the time t3 of FIG. 実施の形態4に係る数値制御装置を備える加工設備の構成を示すブロック図The block diagram which shows the structure of the processing equipment provided with the numerical control apparatus which concerns on Embodiment 4. FIG. 各実施の形態に係る数値制御装置のハードウエア構成を示す図The figure which shows the hardware constitutions of the numerical control apparatus which concerns on each embodiment 各実施の形態に係る数値制御装置に接続した操作盤のハードウエア構成の一例を示す図The figure which shows an example of the hardware constitutions of the operation panel connected to the numerical control apparatus which concerns on each embodiment 各実施の形態に係る数値制御装置に接続した操作盤のハードウエア構成の他の例を示す図The figure which shows the other example of the hardware constitutions of the operation panel connected to the numerical control apparatus which concerns on each embodiment

以下に、実施の形態に係る数値制御装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Hereinafter, a numerical controller according to an embodiment will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
図1は、実施の形態1に係る数値制御装置を備える加工設備の構成を示すブロック図である。図2は、図1に示された加工設備の工作機械の第1の加工モジュールの構成を示す図である。図3は、図1に示された加工設備の工作機械の第2の加工モジュールの構成を示す図である。図4は、図1に示された加工設備の工作機械の第3の加工モジュール及び第4の加工モジュールの構成を示す図である。図5は、図4に示された第3の加工モジュールがワークを第4の加工モジュールに受け渡す状態を示す図である。図6は、図5に示された第3の加工モジュールから第4の加工モジュールがワークを受け渡された状態を示す図である。
Embodiment 1 FIG.
FIG. 1 is a block diagram illustrating a configuration of a processing facility including the numerical control device according to the first embodiment. FIG. 2 is a diagram showing a configuration of a first processing module of the machine tool of the processing equipment shown in FIG. FIG. 3 is a diagram showing a configuration of a second machining module of the machine tool of the machining equipment shown in FIG. FIG. 4 is a diagram showing the configuration of the third processing module and the fourth processing module of the machine tool of the processing equipment shown in FIG. FIG. 5 is a diagram showing a state in which the third machining module shown in FIG. 4 delivers the workpiece to the fourth machining module. FIG. 6 is a diagram illustrating a state in which the fourth machining module has transferred the workpiece from the third machining module illustrated in FIG. 5.

実施の形態1に係る数値制御装置1は、図1に示す加工設備2を構成する。加工設備2は、金属、木材、石材、又は樹脂のより構成される図2に示すワークWに機械加工を施す工作機械3と、工作機械3を制御する数値制御装置1と、オペレータが機械操作を入力するための操作盤4とを備える。実施の形態1において、工作機械3は、数値制御(Numerical Control)によって機械加工が自動化された数値制御工作機械である。数値制御装置1は、操作盤4がオペレータにより操作されることによって、運転モードに応じて、工作機械3に位置指令信号100を出力し、工作機械3を制御する。位置指令信号100は、工作機械3の駆動軸により位置が変更される各部位の位置を指令する信号である。また、数値制御装置1は、工作機械3を制御するためのGコードにより記載された加工プログラムPGを記憶している。   A numerical control apparatus 1 according to Embodiment 1 constitutes a processing facility 2 shown in FIG. The processing equipment 2 includes a machine tool 3 that performs machining on the workpiece W shown in FIG. 2 made of metal, wood, stone, or resin, a numerical control device 1 that controls the machine tool 3, and a machine operation by an operator. And an operation panel 4 for inputting. In the first embodiment, the machine tool 3 is a numerically controlled machine tool in which machining is automated by numerical control. The numerical controller 1 controls the machine tool 3 by outputting a position command signal 100 to the machine tool 3 according to the operation mode when the operation panel 4 is operated by the operator. The position command signal 100 is a signal that commands the position of each part whose position is changed by the drive shaft of the machine tool 3. Further, the numerical control device 1 stores a machining program PG described by G code for controlling the machine tool 3.

操作盤4は、工作機械3の運転モードを手動運転モードと、MDI運転モードと、自動運転モードとに切り換えることができる。手動運転モードは、操作盤4が受け付ける操作通りに工作機械3の各部位を運転するモードである。MDI運転モードは、加工プログラムPGを1行ずつ実行して、工作機械3を運転するモードである。自動運転モードは、加工プログラムPG通りに工作機械3を運転するモードである。また、実施の形態1において、機械操作は、自動運転モードの場合の送り速度オーバライドであるが、送り速度オーバライドに限定されない。送り速度オーバライドは、工作機械3の駆動軸の送り動作を修正する機械操作である。数値制御装置1は、自動運転モードにおいて、加工プログラムPGと操作盤4に設定される機械操作とに基づいて工作機械3を制御する。   The operation panel 4 can switch the operation mode of the machine tool 3 to a manual operation mode, an MDI operation mode, and an automatic operation mode. The manual operation mode is a mode in which each part of the machine tool 3 is operated according to an operation received by the operation panel 4. The MDI operation mode is a mode for operating the machine tool 3 by executing the machining program PG line by line. The automatic operation mode is a mode in which the machine tool 3 is operated according to the machining program PG. In the first embodiment, the machine operation is the feed speed override in the automatic operation mode, but is not limited to the feed speed override. The feed speed override is a machine operation that corrects the feed operation of the drive shaft of the machine tool 3. The numerical control device 1 controls the machine tool 3 based on the machining program PG and the machine operation set on the operation panel 4 in the automatic operation mode.

工作機械3は、系統で制御を行う加工モジュール5を複数備える。加工モジュール5は、回転する主軸を有するものをいう。複数の加工モジュール5は、加工プログラムPGを実行する数値制御装置1により互いに独立して制御可能である。実施の形態1において、工作機械3は、加工モジュール5を四つ備える。以下、本明細書は、加工モジュール5同士を区別する際には、第1の加工モジュール5A、第2の加工モジュール5B、第3の加工モジュール5C及び第4の加工モジュール5Dと示し、加工モジュール5同士を区別しない際には、単に加工モジュール5と示す。   The machine tool 3 includes a plurality of processing modules 5 that control the system. The processing module 5 has a rotating main shaft. The plurality of machining modules 5 can be controlled independently of each other by the numerical controller 1 that executes the machining program PG. In the first embodiment, the machine tool 3 includes four processing modules 5. Hereinafter, when this processing module 5 distinguishes between the processing modules 5, it shows as the 1st processing module 5A, the 2nd processing module 5B, the 3rd processing module 5C, and the 4th processing module 5D. When the 5 is not distinguished from each other, the processing module 5 is simply indicated.

工作機械3は、数値制御装置1から入力される位置指令信号100を加工モジュール5A,5B,5C,5Dに出力する。また、工作機械3は、ワークWの投入、及びワークWの排出が図示しないワーク搬入装置、及びワーク排出装置などの装置により行われる。また、工作機械3は、ワークWの投入、及びワークWの排出がオペレータにより行われても良い。   The machine tool 3 outputs the position command signal 100 input from the numerical controller 1 to the processing modules 5A, 5B, 5C, and 5D. In the machine tool 3, the workpiece W is input and the workpiece W is discharged by a device such as a workpiece loading device and a workpiece discharging device (not shown). In addition, the machine tool 3 may be loaded by the operator and discharged by the operator.

第1の加工モジュール5Aは、図2に示すように、工具5A1を回転させる工具主軸5A2と、ワークWを取り付けるテーブル5A3とを備える。第1の加工モジュール5Aは、工具主軸5A2とテーブル5A3とを、互いに垂直な三つの移動軸であるX軸、Y軸、及びZ軸に沿って相対移動させるX軸移動部5A4、Y軸移動部5A5及びZ軸移動部5A6とを備える。X軸移動部5A4、Y軸移動部5A5及びZ軸移動部5A6は、駆動源である電動機と、電動機により軸心回りに回転されるリードスクリュートと、リードスクリューにねじ込まれかつ工具主軸5A2とテーブル5A3とのうち一方に取り付けられたナットと、工具主軸5A2とテーブル5A3との相対的な移動方向を案内するリニアガイドとを備える。第1の加工モジュール5Aは、数値制御装置1からの位置指令信号100にしたがい、工具主軸5A2とテーブル5A3とがX軸、Y軸及びZ軸に相対的に移動する。   As shown in FIG. 2, the first machining module 5A includes a tool spindle 5A2 that rotates the tool 5A1 and a table 5A3 to which the workpiece W is attached. The first machining module 5A includes an X-axis moving unit 5A4 and a Y-axis movement for relatively moving the tool spindle 5A2 and the table 5A3 along three movement axes perpendicular to each other, the X axis, the Y axis, and the Z axis. Part 5A5 and Z-axis moving part 5A6. The X-axis moving unit 5A4, the Y-axis moving unit 5A5, and the Z-axis moving unit 5A6 include an electric motor that is a drive source, a lead screw that is rotated around the axis by the electric motor, a tool spindle 5A2 that is screwed into the lead screw. A nut attached to one of the tables 5A3 and a linear guide for guiding the relative movement direction of the tool spindle 5A2 and the table 5A3 are provided. In the first machining module 5A, the tool spindle 5A2 and the table 5A3 move relative to the X axis, the Y axis, and the Z axis in accordance with the position command signal 100 from the numerical controller 1.

第2の加工モジュール5Bは、図3に示すように、ワークWを取り付ける旋削主軸5B1と、ワークWを加工するための工具5B2とを備える。第2の加工モジュール5Bは、旋削主軸5B1と工具5B2とを互いに垂直な3つの移動軸であるX軸、Y軸、及びZ軸に沿って相対移動させるX軸移動部5B4、Y軸移動部5B5及びZ軸移動部5B6とを備える。X軸移動部5B4、Y軸移動部5B5及びZ軸移動部5B6は、駆動源である電動機と、電動機により軸心回りに回転されるリードスクリュートと、リードスクリューにねじ込まれかつ旋削主軸5B1と工具5B2とのうち一方に取り付けられたナットと、旋削主軸5B1と工具5B2との相対的な移動方向を案内するリニアガイドとを備える。第2の加工モジュール5Bは、数値制御装置1からの位置指令信号100にしたがい、旋削主軸5B1と工具5A1とがX軸、Y軸及びZ軸に相対的に移動する。   As shown in FIG. 3, the second machining module 5 </ b> B includes a turning spindle 5 </ b> B <b> 1 for attaching the workpiece W and a tool 5 </ b> B <b> 2 for machining the workpiece W. The second machining module 5B includes an X-axis moving unit 5B4 and a Y-axis moving unit that move the turning spindle 5B1 and the tool 5B2 relative to each other along three movement axes that are perpendicular to each other, the X axis, the Y axis, and the Z axis. 5B5 and Z-axis moving unit 5B6. The X-axis moving unit 5B4, the Y-axis moving unit 5B5, and the Z-axis moving unit 5B6 include an electric motor that is a drive source, a lead screw that is rotated around the axis by the electric motor, and a turning spindle 5B1 that is screwed into the lead screw. A nut attached to one of the tools 5B2 and a linear guide for guiding the relative movement direction of the turning spindle 5B1 and the tool 5B2. In the second machining module 5B, the turning spindle 5B1 and the tool 5A1 move relative to the X, Y, and Z axes in accordance with the position command signal 100 from the numerical controller 1.

第3の加工モジュール5C及び第4の加工モジュール5Dは、図4に示すように、第2の加工モジュール5Bと構成が等しいので、第2の加工モジュール5Bと同一部分に同一符号を付して説明を省略する。実施の形態1において、第3の加工モジュール5Cと第4の加工モジュール5Dは、旋削主軸5B1が対向するように配置され、動作が同期されて、ワークWの受け渡しを行う。実施の形態1において、第3の加工モジュール5C及び第4の加工モジュール5Dは、図4に示すように、第3の加工モジュール5CがワークWの加工を行った後、図5に示すように、第4の加工モジュール5Dを第3の加工モジュール5Cに接近させることでワークWを第4の加工モジュール5Dに掴み替える。第3の加工モジュール5C及び第4の加工モジュール5Dは、図6に示すように、第4の加工モジュール5Dを退避させることで、第3の加工モジュール5Cから第4の加工モジュール5DにワークWを受け渡す。なお、ワークWの受け渡し方法については、図4から図6に示されたものに限定されるものではなく、加工モジュール5C,5Dの間に搬送装置又は多関節ロボットを配置して、ワークWを受け渡しても良い。なお、搬送装置は、ガントリーローダにより構成される。また、実施の形態1において、第3の加工モジュール5Cと第4の加工モジュール5DとがワークWを受け渡す構成としているが、工作機械3は、加工モジュール5A,5B,5C,5D間の少なくとも一つにおいて、ワークWの受け渡しが可能となるような構成にしても良い。   As shown in FIG. 4, the third machining module 5C and the fourth machining module 5D have the same configuration as the second machining module 5B. Therefore, the same reference numerals are given to the same parts as the second machining module 5B. Description is omitted. In the first embodiment, the third machining module 5C and the fourth machining module 5D are arranged so that the turning spindle 5B1 faces each other, the operations are synchronized, and the workpiece W is transferred. In the first embodiment, the third processing module 5C and the fourth processing module 5D, as shown in FIG. 4, after the third processing module 5C processes the workpiece W, as shown in FIG. The workpiece W is gripped by the fourth machining module 5D by bringing the fourth machining module 5D closer to the third machining module 5C. As shown in FIG. 6, the third machining module 5C and the fourth machining module 5D retract the fourth machining module 5D, thereby moving the workpiece W from the third machining module 5C to the fourth machining module 5D. Hand over. Note that the method for delivering the workpiece W is not limited to that shown in FIGS. 4 to 6, and the workpiece W is placed by placing a transfer device or an articulated robot between the processing modules 5 </ b> C and 5 </ b> D. You may hand it over. Note that the transport device is configured by a gantry loader. In the first embodiment, the third machining module 5C and the fourth machining module 5D are configured to deliver the workpiece W. However, the machine tool 3 includes at least the machining modules 5A, 5B, 5C, and 5D. In one configuration, the workpiece W may be delivered.

次に、数値制御装置1の詳細を説明する。図7は、実施の形態1にかかる数値制御装置の構成の一例を示すブロック図である。図8は、図7に示された数値制御装置のメモリに記憶される第1の加工プログラムの構成を示す図である。図9は、図7に示された数値制御装置のメモリに記憶される第2の加工プログラムの構成を示す図である。   Next, details of the numerical controller 1 will be described. FIG. 7 is a block diagram of an example of the configuration of the numerical control device according to the first embodiment. FIG. 8 is a diagram showing the configuration of the first machining program stored in the memory of the numerical controller shown in FIG. FIG. 9 is a diagram showing the configuration of the second machining program stored in the memory of the numerical controller shown in FIG.

数値制御装置1は、加工プログラムPGに基づいて、複数の加工モジュール5を制御する多系統数値制御装置である。数値制御装置1は、図7に示すように、加工プログラムPGを格納するメモリ10と、各加工モジュール5に対応して設けられた系統処理部11とを備える。数値制御装置1は、各系統処理部11に加工プログラムPGを出力するプログラム入力制御部12と、操作盤4が受け付けた機械操作の対象として選択された加工プログラムPGを実行する加工モジュール5に対して、操作盤4が受け付けた機械操作を有効とする設定手段20とを備えている。数値制御装置1は、各加工モジュール5を独立して制御する。   The numerical controller 1 is a multi-system numerical controller that controls a plurality of machining modules 5 based on the machining program PG. As shown in FIG. 7, the numerical control apparatus 1 includes a memory 10 that stores a machining program PG and a system processing unit 11 that is provided corresponding to each machining module 5. The numerical control device 1 has a program input control unit 12 that outputs a machining program PG to each system processing unit 11 and a machining module 5 that executes a machining program PG selected as a machine operation target received by the operation panel 4. And setting means 20 that validates the machine operation received by the operation panel 4. The numerical control device 1 controls each processing module 5 independently.

実施の形態1において、メモリ10は、加工プログラムPGを二つ格納しているが、メモリ10が格納する加工プログラムPGの数は、二つに限定されない。本明細書は、二つの加工プログラムPG同士を区別する際には、第1の加工プログラムPG1及び第2の加工プログラムPG2と示し、区別しない際には、加工プログラムPGと示す。   In the first embodiment, the memory 10 stores two machining programs PG, but the number of machining programs PG stored in the memory 10 is not limited to two. In this specification, when the two machining programs PG are distinguished from each other, they are referred to as a first machining program PG1 and a second machining program PG2, and when they are not distinguished from each other, they are designated as a machining program PG.

加工プログラムPGは、各加工モジュール5が機械加工を行うためのプログラムである。加工プログラムPGは、加工モジュール5がワークWを加工するための工具5A1,5B2の動かし方について一連のフォーマットに従って記述されたものである。実施の形態1において、加工プログラムPGは、一連のフォーマットとしてGコードと呼ばれる指令コードを用いて記述されている。   The machining program PG is a program for each machining module 5 to perform machining. The machining program PG describes how to move the tools 5A1 and 5B2 for machining the workpiece W by the machining module 5 according to a series of formats. In the first embodiment, the machining program PG is described using command codes called G codes as a series of formats.

実施の形態1において、第1の加工プログラムPG1は、図8に示すように、第1の加工モジュール5Aの工具の動かし方を記述した第1のサブプログラムA1と、第2の加工モジュール5Bの工具の動かし方を記述した第2のサブプログラムA2とを備える。第2の加工プログラムPG2は、図9に示すように、第3の加工モジュール5Cの工具の動かし方を記述した第3のサブプログラムB3と、第4の加工モジュール5Dの工具の動かし方を記述した第4のサブプログラムB4とを備える。各サブプログラムA1,A2,B3,B4は、指令コードが記述されたブロックを少なくとも一つ備える。実施の形態1において、ブロックは、1行の指令コードにより構成される。   In the first embodiment, as shown in FIG. 8, the first machining program PG1 includes a first subprogram A1 describing how to move the tool of the first machining module 5A, and a second machining module 5B. And a second subprogram A2 describing how to move the tool. As shown in FIG. 9, the second machining program PG2 describes a third subprogram B3 describing how to move the tool of the third machining module 5C, and how to move the tool of the fourth machining module 5D. And the fourth subprogram B4. Each subprogram A1, A2, B3, B4 includes at least one block in which a command code is described. In the first embodiment, the block is composed of one line of command code.

実施の形態1において、各サブプログラムA1,A2,B3,B4は、一つのワークWを加工するための工具5A1,5B2の一連の動作を記述しているが、各サブプログラムA1,A2,B3,B4は、必ずしも一つのワークWの加工に関する工具5A1,5B2の動作を記述していなくも良い。即ち、加工プログラムPGは、複数のワークWの加工に関する工具5A1,5B2の動作を記述しても良い。なお、複数のワークWの加工を一つの加工プログラムPGに記述した場合、加工プログラムPGをワークW単位の加工動作になるように分割すればよい。   In the first embodiment, each of the subprograms A1, A2, B3, B4 describes a series of operations of the tools 5A1, 5B2 for machining one workpiece W, but each of the subprograms A1, A2, B3 is described. , B4 do not necessarily describe the operation of the tools 5A1, 5B2 related to the machining of one workpiece W. That is, the machining program PG may describe the operations of the tools 5A1 and 5B2 related to machining of a plurality of workpieces W. When machining of a plurality of workpieces W is described in one machining program PG, the machining program PG may be divided so that the machining operation is performed in units of workpieces W.

本発明の数値制御装置1は、ワークWを加工する際、一つのワークWを加工するために必要な工程が一つの加工モジュール5のみで行っても良く、複数の加工モジュール5を同時に使用しながら加工を行っても良い。また、本発明の実施の形態1に係る数値制御装置1は、一つの加工モジュール5で加工を行った後に、別の加工モジュール5にワークWを受け渡し、別の加工モジュール5で加工を行っても良い。加工プログラムPGは、ワークWを加工する工程にしたがって、予め作成されて、メモリ10に格納される。   In the numerical control apparatus 1 of the present invention, when machining a workpiece W, a process necessary for machining one workpiece W may be performed by only one machining module 5, and a plurality of machining modules 5 are used simultaneously. Processing may be performed. In addition, the numerical controller 1 according to Embodiment 1 of the present invention performs processing with one processing module 5, then delivers the workpiece W to another processing module 5, and performs processing with another processing module 5. Also good. The machining program PG is created in advance and stored in the memory 10 according to the process of machining the workpiece W.

また、本発明の加工プログラムPGは、加工モジュール5単位に別ファイルとしてメモリ10内に格納されても良く、1つのファイル内に全ての加工モジュール5の動作内容を記述し、加工モジュール5同士の動作を区別できるように記載しても良い。   In addition, the machining program PG of the present invention may be stored in the memory 10 as a separate file for each machining module 5, and the operation contents of all the machining modules 5 are described in one file. You may describe so that operation | movement can be distinguished.

プログラム入力制御部12は、予め決められたワークWの加工順序に従って、各系統処理部11で実行する加工プログラムPGを選択し、各系統処理部11が加工プログラムPGの受け付け可能かどうかを判断するものである。プログラム入力制御部12は、各系統処理部11へ加工プログラムPGを出力する処理を行うものであり、系統処理部11が加工プログラムPGを受け付け可能であると判断し、加工プログラムPGの送信、待機を切り替える処理を行う。プログラム入力制御部12は、系統処理部11が加工プログラムPGを受け付け可能であると判断すると、系統処理部11に加工プログラムPGを送信し、系統処理部11が加工プログラムPGを受け付け可能ではないと判断すると、加工プログラムPGの送信を待機する。   The program input control unit 12 selects a machining program PG to be executed by each system processing unit 11 according to a predetermined machining order of the workpiece W, and determines whether each system processing unit 11 can accept the machining program PG. Is. The program input control unit 12 performs processing for outputting the machining program PG to each system processing unit 11, determines that the system processing unit 11 can accept the machining program PG, and transmits and waits for the machining program PG. Process to switch. When the program input control unit 12 determines that the system processing unit 11 can accept the machining program PG, the program input control unit 12 transmits the machining program PG to the system processing unit 11, and the system processing unit 11 cannot accept the machining program PG. If it judges, it will wait for transmission of processing program PG.

実施の形態1において、プログラム入力制御部12は、加工プログラムPGの各サブプログラムA1,A2,B3,B4に記述された内容を参照し、各加工モジュール5が受け付け可能であると判断した際に、各加工モジュール5に対応するサブプログラムA1,A2,B3,B4を送信する。プログラム入力制御部12は、第1の加工モジュール5Aが受け付け可能であると判断した際に、第1の加工モジュール5Aに接続した系統処理部11に第1のサブプログラムA1を送信し、第2の加工モジュール5Bが受け付け可能であると判断した際に、第2の加工モジュール5Bに接続した系統処理部11に第2のサブプログラムA2を送信する。プログラム入力制御部12は、第3の加工モジュール5Cが受け付け可能であると判断した際に、第3の加工モジュール5Cに接続した系統処理部11に第3のサブプログラムB3を送信し、第4の加工モジュール5Dが受け付け可能であると判断した際に、第4の加工モジュール5Dに接続した系統処理部11に第4のサブプログラムB4を送信する。   In the first embodiment, the program input control unit 12 refers to the contents described in the subprograms A1, A2, B3, and B4 of the machining program PG, and determines that each machining module 5 can accept the machining program PG. Subprograms A1, A2, B3, and B4 corresponding to the machining modules 5 are transmitted. When the program input control unit 12 determines that the first machining module 5A is acceptable, the program input control unit 12 transmits the first subprogram A1 to the system processing unit 11 connected to the first machining module 5A, and the second When it is determined that the machining module 5B can accept the second machining module 5B, the second subprogram A2 is transmitted to the system processing unit 11 connected to the second machining module 5B. When the program input control unit 12 determines that the third machining module 5C is acceptable, the program input control unit 12 transmits the third subprogram B3 to the system processing unit 11 connected to the third machining module 5C. When it is determined that the machining module 5D can be accepted, the fourth subprogram B4 is transmitted to the system processing unit 11 connected to the fourth machining module 5D.

なお、本発明のプログラム入力制御部12は、メモリ10内に格納された加工プログラムPGが、加工モジュール5単位に分割された状態で格納されている場合、それぞれの加工プログラムPGを該当する系統処理部11に送信する処理を行う。また、本発明の実施の形態1に係るプログラム入力制御部12は、全ての加工モジュール5の動作を一つのファイル即ち加工プログラムPGに記述し、メモリ10内に格納されている場合、加工プログラムPGを各加工モジュール5毎のプログラムに分割した後、各系統処理部11に送信する。また、本発明のプログラム入力制御部12は、全ての加工モジュール5の動作を一つのファイル即ち加工プログラムPGに記述し、メモリ10内に格納されている場合、加工プログラムPGを加工モジュール5毎の動作に分割せずに、全ての系統処理部11に加工プログラムPGを送信し、各系統処理部11が加工プログラムPGの該当する箇所のみ実行しても良い。   When the machining program PG stored in the memory 10 is stored in a state of being divided into machining modules 5 units, the program input control unit 12 of the present invention processes each machining program PG in the corresponding system process. The process which transmits to the part 11 is performed. The program input control unit 12 according to the first embodiment of the present invention describes the operations of all the machining modules 5 in one file, that is, the machining program PG, and stores the machining program PG when stored in the memory 10. Is divided into programs for each machining module 5 and then transmitted to each system processing unit 11. The program input control unit 12 of the present invention describes the operations of all the machining modules 5 in one file, that is, the machining program PG, and stores the machining program PG for each machining module 5 when stored in the memory 10. Instead of dividing into operations, the machining program PG may be transmitted to all the system processors 11, and each system processor 11 may execute only the corresponding part of the machining program PG.

系統処理部11は、プログラム入力制御部12から入力した加工プログラムPGに基づいて対応する加工モジュール5の制御を行う。実施の形態1において、系統処理部11は、加工モジュール5と一対一で対応している。このために、数値制御装置1は、加工モジュール5それぞれに系統処理部11を割り当てることで、加工モジュール5同士を独立して制御可能である。   The system processing unit 11 controls the corresponding machining module 5 based on the machining program PG input from the program input control unit 12. In the first embodiment, the system processing unit 11 is in one-to-one correspondence with the processing module 5. For this reason, the numerical control apparatus 1 can control the machining modules 5 independently by assigning the system processing unit 11 to each machining module 5.

系統処理部11は、プログラム入力制御部12から入力された加工プログラムPGの記述内容に基づいて、加工モジュール5の各モータに対する位置指令信号100を生成する処理を行うものである。なお、系統処理部11は、主に加工プログラムPGを読み込み、各モータに対する位置指令信号100を生成するために加工プログラムPGを解析するプログラム解析処理部と、補間加減速処理部とを備える。補間加減速処理部は、プログラム解析処理部の解析結果に基づいて、加工プログラムPGに記載された動作指令に対して、指定された送り速度になるように補間加減速処理を行い、位置指令信号100を加工モジュール5に出力する。系統処理部11のプログラム解析処理部、及び補間加減速処理部は、周知技術のものを用いる。   The system processing unit 11 performs processing for generating a position command signal 100 for each motor of the machining module 5 based on the description content of the machining program PG input from the program input control unit 12. The system processing unit 11 includes a program analysis processing unit that mainly reads the machining program PG and analyzes the machining program PG in order to generate a position command signal 100 for each motor, and an interpolation acceleration / deceleration processing unit. Based on the analysis result of the program analysis processing unit, the interpolation acceleration / deceleration processing unit performs interpolation acceleration / deceleration processing so that the specified feed speed is obtained with respect to the operation command described in the machining program PG. 100 is output to the processing module 5. As the program analysis processing unit and the interpolation acceleration / deceleration processing unit of the system processing unit 11, those known in the art are used.

また、系統処理部11は、操作盤4から入力される機械操作を実行する信号である機械操作信号300に基づいて処理を行う。具体的には、系統処理部11は、操作盤4から機械操作としてサイクルスタート信号が入力された場合、各加工モジュール5の動作を同時に実行開始する位置指令信号100を各加工モジュール5に出力する。また、系統処理部11は、加工プログラムPGに記載された動作指令を実行する自動運転モード中に、機械操作としての送り速度オーバライド信号が入力した場合、送り速度オーバライド信号を加味した送り速度の位置指令信号100を各加工モジュール5に出力する。   In addition, the system processing unit 11 performs processing based on a machine operation signal 300 that is a signal for executing a machine operation input from the operation panel 4. Specifically, when a cycle start signal is input as a machine operation from the operation panel 4, the system processing unit 11 outputs a position command signal 100 for simultaneously starting the operation of each processing module 5 to each processing module 5. . Further, when the feed speed override signal as a machine operation is input during the automatic operation mode in which the operation command described in the machining program PG is executed, the system processing unit 11 determines the position of the feed speed in consideration of the feed speed override signal. The command signal 100 is output to each machining module 5.

また、系統処理部11は、加工モジュール5毎に加工プログラムPGの実行を完了したかどうかを逐次判断する、系統処理部11は、加工プログラムPGの実行が完了した場合は、加工プログラムPGの受け付け可能状態とする処理を行う。系統処理部11は、加工プログラムPGの実行中、または、未実行状態の場合、加工プログラムPGの受け付け不可状態とし、新たな加工プログラムPGの受け付けを行わない処理を行う。   Further, the system processing unit 11 sequentially determines whether or not the execution of the machining program PG is completed for each machining module 5. The system processing unit 11 accepts the machining program PG when the execution of the machining program PG is completed. Perform processing to enable. When the machining program PG is being executed or not yet executed, the system processing unit 11 performs a process in which the machining program PG is not accepted and a new machining program PG is not accepted.

また、操作盤4は、操作盤4で機械操作の対象として選択された加工プログラムPGを特定する加工プログラム選択信号301を出力する。加工プログラム選択信号301は、操作盤4の操作を行うことで操作盤4から出力される機械操作信号300の一つである。加工プログラム選択信号301は、数値制御装置1のメモリ10に格納された加工プログラムPGのいずれかを特定する信号である。加工プログラム選択信号301は、操作盤4で選択された加工プログラムPGを特定する信号である。加工プログラム選択信号301は、加工プログラムPGに付与された、加工プログラムPGの名称、加工プログラムPGの番号、又は統数値制御装置1により独自に割り当てられた加工プログラムPGの固有の番号を特定する信号である。   Further, the operation panel 4 outputs a machining program selection signal 301 that identifies the machining program PG selected as a machine operation target on the operation panel 4. The machining program selection signal 301 is one of the machine operation signals 300 output from the operation panel 4 when the operation panel 4 is operated. The machining program selection signal 301 is a signal that specifies one of the machining programs PG stored in the memory 10 of the numerical controller 1. The machining program selection signal 301 is a signal for specifying the machining program PG selected on the operation panel 4. The machining program selection signal 301 is a signal that specifies the name of the machining program PG, the number of the machining program PG, or a unique number of the machining program PG uniquely assigned by the numerical control device 1, which is given to the machining program PG. It is.

なお、加工プログラム選択信号301は、数値制御装置1のメモリ10内に加工プログラムPGが一つ格納されている場合、メモリ10に格納された加工プログラムPGを特定する信号である。加工プログラム選択信号301は、メモリ10内に加工プログラムPGが格納されていない場合、又は操作盤4で加工プログラムPGを選択しない操作を行った場合、操作の対象となる加工プログラムPGが存在しないことを示す即ち選択した加工プログラムPGがないことを特定する信号である。操作盤4は、数値制御装置1のメモリ10に加工プログラムPGが複数格納されている場合、数値制御装置1のメモリ10に格納された加工プログラムPGのいずれか一つを特定する加工プログラム選択信号301を出力する。   The machining program selection signal 301 is a signal for specifying the machining program PG stored in the memory 10 when one machining program PG is stored in the memory 10 of the numerical controller 1. The machining program selection signal 301 indicates that there is no machining program PG to be operated when the machining program PG is not stored in the memory 10 or when an operation without selecting the machining program PG is performed on the operation panel 4. Is a signal that indicates that there is no selected machining program PG. When a plurality of machining programs PG are stored in the memory 10 of the numerical controller 1, the operation panel 4 is a machining program selection signal that identifies one of the machining programs PG stored in the memory 10 of the numerical controller 1. 301 is output.

また、加工プログラム選択信号301は、複数の加工プログラムPGを特定する信号でも良い。この場合、操作盤4は、加工プログラムPGを特定可能な複数の加工プログラム選択信号301を出力する。また、操作盤4は、加工モジュール5に実行させたい機械操作を特定する機械操作信号300を出力する。   Further, the machining program selection signal 301 may be a signal that specifies a plurality of machining programs PG. In this case, the operation panel 4 outputs a plurality of machining program selection signals 301 that can specify the machining program PG. Further, the operation panel 4 outputs a machine operation signal 300 that specifies a machine operation to be executed by the machining module 5.

設定手段20は、操作盤4が受け付けた機械操作の対象として選択された加工プログラムPGを実行する加工モジュール5に対して、操作盤4が受け付けた機械操作を有効であることを設定するものである。設定手段20は、操作盤4から入力した加工プログラム選択信号301が特定する加工プログラムPGを実行する加工モジュール5に、操作盤4から入力した機械操作信号300が特定する機械操作を実行させる。   The setting means 20 sets that the machine operation received by the operation panel 4 is valid for the machining module 5 that executes the machining program PG selected as the machine operation target received by the operation panel 4. is there. The setting means 20 causes the machining module 5 that executes the machining program PG specified by the machining program selection signal 301 input from the operation panel 4 to execute the machine operation specified by the machine operation signal 300 input from the operation panel 4.

設定手段20は、系統処理選択部21と、機械操作対象系統選択部22とを備える。系統処理選択部21は、操作盤4が受け付けた機械操作の対象として選択された加工プログラムPGと、メモリ10に格納された全ての加工プログラムPGに内容とに基づいて、操作盤4が受け付けた機械操作の対象として選択された加工プログラムPGを実行する加工モジュール5を抽出する。   The setting means 20 includes a system processing selection unit 21 and a machine operation target system selection unit 22. The system processing selection unit 21 receives the operation panel 4 based on the machining program PG selected as the machine operation target received by the operation panel 4 and the contents of all the machining programs PG stored in the memory 10. The machining module 5 that executes the machining program PG selected as the machine operation target is extracted.

系統処理選択部21は、メモリ10に格納された加工プログラムPGの内容、及び操作盤4から入力された加工プログラム選択信号301に基づいて、操作盤4が受け付けた機械操作の対象として選択された加工プログラムPGを実行する加工モジュール5を抽出する。系統処理選択部21は、操作盤4が受け付けた機械操作の対象として選択された加工プログラムPGを実行する加工モジュール5を特定する使用系統番号信号130を出力する。系統処理選択部21は、使用系統番号信号130を機械操作対象系統選択部22に出力する。   Based on the content of the machining program PG stored in the memory 10 and the machining program selection signal 301 input from the operation panel 4, the system processing selection unit 21 is selected as a machine operation target accepted by the operation panel 4. The machining module 5 that executes the machining program PG is extracted. The system processing selection unit 21 outputs a use system number signal 130 that identifies the machining module 5 that executes the machining program PG selected as the machine operation target received by the operation panel 4. The system processing selection unit 21 outputs the used system number signal 130 to the machine operation target system selection unit 22.

実施の形態1において、系統処理選択部21は、操作盤4から受け取った加工プログラム選択信号301が第1の加工プログラムPG1を特定すると、メモリ10に格納された加工プログラムPGの内容を参照して、第1の加工プログラムPG1を実行する第1の加工モジュール5A及び第2の加工モジュール5Bを抽出する。系統処理選択部21は、第1の加工モジュール5A及び第2の加工モジュール5Bを特定する使用系統番号信号130を機械操作対象系統選択部22へ出力する処理を行う。   In the first embodiment, when the machining program selection signal 301 received from the operation panel 4 identifies the first machining program PG1, the system process selection unit 21 refers to the contents of the machining program PG stored in the memory 10. Then, the first machining module 5A and the second machining module 5B that execute the first machining program PG1 are extracted. The system processing selection unit 21 performs a process of outputting a use system number signal 130 that identifies the first processing module 5A and the second processing module 5B to the machine operation target system selection unit 22.

また、実施の形態1において、系統処理選択部21が操作盤4から入力した加工プログラム選択信号301が第2の加工プログラムPG2を特定すると、メモリ10に格納された加工プログラムPGの内容を参照して、第2の加工プログラムPG2を実行する第3の加工モジュール5C及び第4の加工モジュール5Dを抽出する。系統処理選択部21は、第3の加工モジュール5C及び第4の加工モジュール5Dを特定する使用系統番号信号130を機械操作対象系統選択部22へ出力する処理を行う。   In the first embodiment, when the machining program selection signal 301 input from the operation panel 4 by the system processing selection unit 21 specifies the second machining program PG2, the contents of the machining program PG stored in the memory 10 are referred to. Thus, the third machining module 5C and the fourth machining module 5D that execute the second machining program PG2 are extracted. The system processing selection unit 21 performs a process of outputting a use system number signal 130 for specifying the third processing module 5C and the fourth processing module 5D to the machine operation target system selection unit 22.

また、本発明の実施の形態1において、系統処理選択部21は、加工プログラム選択信号301が特定する加工プログラムPGが全ての加工モジュール5A,5B,5C,5Dで実行される場合、全ての加工モジュール5A,5B,5C,5Dを特定する使用系統番号信号130を出力する。また、系統処理選択部21は、加工プログラム選択信号301が特定する加工プログラムPGが第1の加工モジュール5A及び第2の加工モジュール5Bで実行される場合、第1の加工モジュール5A及び第2の加工モジュール5Bを特定する使用系統番号信号130を出力する。   Further, in the first embodiment of the present invention, the system processing selection unit 21 performs all machining when the machining program PG specified by the machining program selection signal 301 is executed by all the machining modules 5A, 5B, 5C, and 5D. A use system number signal 130 that identifies the modules 5A, 5B, 5C, and 5D is output. In addition, when the machining program PG specified by the machining program selection signal 301 is executed by the first machining module 5A and the second machining module 5B, the system processing selection unit 21 executes the first machining module 5A and the second machining module 5A. A use system number signal 130 for specifying the processing module 5B is output.

なお、系統処理選択部21は、加工プログラムPGを抽出するためのプログラム解析処理部を内蔵し、プログラム解析処理部の解析結果から加工プログラムPGを実行する使用系統番号を抽出しても良く、加工プログラム選択信号301で指定した加工プログラムPGに加工モジュール5の記述があるか否かで判断しても良い。   The system processing selection unit 21 may include a program analysis processing unit for extracting the machining program PG, and may extract a system number used to execute the processing program PG from the analysis result of the program analysis processing unit. The determination may be made based on whether or not the machining module 5 is described in the machining program PG designated by the program selection signal 301.

機械操作対象系統選択部22は、系統処理選択部21が抽出した加工モジュール5に対応する系統処理部11に操作盤4が受け付けた機械操作を出力するものである。機械操作対象系統選択部22は、系統処理選択部21が出力した使用系統番号信号130と、操作盤4が出力した機械操作信号300とが入力される。機械操作対象系統選択部22は、使用系統番号信号130が特定する加工モジュール5に接続した系統処理部11に機械操作信号300を出力する。   The machine operation target system selection unit 22 outputs the machine operation received by the operation panel 4 to the system processing unit 11 corresponding to the processing module 5 extracted by the system process selection unit 21. The machine operation target system selection unit 22 receives the use system number signal 130 output from the system processing selection unit 21 and the machine operation signal 300 output from the operation panel 4. The machine operation target system selection unit 22 outputs a machine operation signal 300 to the system processing unit 11 connected to the processing module 5 specified by the use system number signal 130.

機械操作対象系統選択部22は、系統処理選択部21から入力される使用系統番号信号130と、操作盤4から入力される機械操作信号300を用いて、使用系統番号信号130が特定する加工モジュール5に機械操作信号300を出力する処理を行う。実施の形態1において、操作盤4から出力される機械操作信号300は、加工プログラムPGが特定する送り速度に対する百分率を特定する。実施の形態1において、機械操作信号300は、送り速度オーバライドの値を特定する信号である。実施の形態1において、機械操作対象系統選択部22は、系統処理選択部21から入力された使用系統番号信号130が第1の加工モジュール5A及び第2の加工モジュール5Bを特定する場合、第1の加工モジュール5A及び第2の加工モジュール5Bに対して送り速度を変更する処理を行う。なお、機械操作対象系統選択部22は、使用系統番号信号130により特定されていない加工モジュール5に対して送り速度を変更する処理を行わない。   The machine operation target system selection unit 22 uses the processing system number signal 130 input from the system processing selection unit 21 and the machine operation signal 300 input from the operation panel 4 to specify the machining module specified by the system usage signal 130. 5 performs processing for outputting the machine operation signal 300. In the first embodiment, the machine operation signal 300 output from the operation panel 4 specifies a percentage with respect to the feed rate specified by the machining program PG. In the first embodiment, the machine operation signal 300 is a signal that specifies the value of the feed speed override. In the first embodiment, the machine operation target system selection unit 22 selects the first processing module 5A and the second processing module 5B when the used system number signal 130 input from the system processing selection unit 21 identifies the first processing module 5A and the second processing module 5B. The processing module 5A and the second processing module 5B are subjected to processing for changing the feed rate. Note that the machine operation target system selection unit 22 does not perform a process of changing the feed rate on the processing module 5 that is not specified by the use system number signal 130.

また、操作盤4において、複数の加工プログラムPGが選択された場合には、系統処理選択部21は、選択された複数の加工プログラムPGそれぞれに対し加工モジュール5を抽出し、使用系統番号信号130を出力する。機械操作対象系統選択部22は、使用系統番号信号130が特定する全ての加工モジュール5に対して機械操作信号300を出力する処理を行う。この場合、数値制御装置1は、複数の加工プログラムPGが選択される前では、加工モジュール5毎に異なる送り速度オーバライドの値であっても、複数の加工プログラムPGが選択された後は、選択された加工プログラムPGを実行する加工モジュール5の送り速度オーバライドの値を同じ値に変更する。機械操作対象系統選択部22は、機械操作信号300が特定する機械操作が送り動作を停止させるためのフィードホールドである場合、選択された加工プログラムPGを実行する加工モジュール5の送り動作を停止させる。   When a plurality of machining programs PG are selected on the operation panel 4, the system processing selection unit 21 extracts the machining module 5 for each of the selected plurality of machining programs PG, and uses the system number signal 130. Is output. The machine operation target system selection unit 22 performs a process of outputting the machine operation signal 300 to all the processing modules 5 specified by the use system number signal 130. In this case, before the plurality of machining programs PG are selected, the numerical control device 1 selects the plurality of machining programs PG after the plurality of machining programs PG are selected, even if the feed rate override value differs for each machining module 5. The feed speed override value of the machining module 5 that executes the machined machining program PG is changed to the same value. When the machine operation specified by the machine operation signal 300 is a feed hold for stopping the feed operation, the machine operation target system selection unit 22 stops the feed operation of the machining module 5 that executes the selected machining program PG. .

次に、実施の形態1に係る数値制御装置1が工作機械3の各加工モジュール5を制御する方法を説明する。図10は、図7に示された数値制御装置が制御する工作機械の各加工モジュールの動作を示すタイムチャートである。図10の横軸は、各加工モジュール5が動作を同時に実行開始してからの経過時間を示し、図10の縦軸は、各加工モジュール5を示している。また、図10は、各加工モジュール5が実行する加工プログラムPGのサブプログラムA1,A2,B3,B4を示している。   Next, a method for controlling each processing module 5 of the machine tool 3 by the numerical control device 1 according to the first embodiment will be described. FIG. 10 is a time chart showing the operation of each machining module of the machine tool controlled by the numerical control device shown in FIG. The horizontal axis in FIG. 10 indicates the elapsed time since the processing modules 5 started to execute operations simultaneously, and the vertical axis in FIG. 10 indicates each processing module 5. FIG. 10 shows subprograms A1, A2, B3, and B4 of the machining program PG executed by each machining module 5.

図10は、第1の加工モジュール5A及び第2の加工モジュール5Bを用いた加工を行う第1の加工プログラムPG1と、第3の加工モジュール5C及び第4の加工モジュール5Dを用いた加工を行う第2の加工プログラムPG2とを同時に動作させた場合を示しており、それぞれの加工プログラムPG1,PG2を複数回連続して実行する場合を示している。図10は、第1のサブプログラムA1をN(Nは自然数)回実行したN回目の加工をA1−N、第2のサブプログラムA2をN回実行したN回目の加工をA2−N、第3のサブプログラムB3をN回実行したN回目の加工をB3−N、及び第4のサブプログラムB4をN回実行したN回目の加工をB4−Nとしている。   FIG. 10 shows the first machining program PG1 for machining using the first machining module 5A and the second machining module 5B, and the machining using the third machining module 5C and the fourth machining module 5D. The case where the second machining program PG2 is operated simultaneously is shown, and the case where the respective machining programs PG1, PG2 are continuously executed a plurality of times is shown. FIG. 10 shows that the N-th machining in which the first subprogram A1 is executed N (N is a natural number) times is A1-N, the N-th machining in which the second subprogram A2 is executed N times is A2-N, The N-th machining that executes the third subprogram B3 N times is B3-N, and the N-th machining that executes the fourth subprogram B4 N times is B4-N.

数値制御装置1は、工作機械3が図10に示す加工を行う場合、どのタイミングにおいても第1の加工プログラムPG1が選択されると、第1の加工モジュール5A及び第2の加工モジュール5Bに対する機械操作信号300の入力を有効とする。また、数値制御装置1は、第2の加工プログラムPG2が選択されると、第3の加工モジュール5C、及び第4の加工モジュール5Dに対する機械操作信号300の入力を有効とする。その結果、数値制御装置1は、操作盤4から選択された加工プログラムPGを実行する加工モジュール5の機械操作を可能とすることができる。   When the machine tool 3 performs the machining shown in FIG. 10, the numerical control device 1 selects the machine for the first machining module 5 </ b> A and the second machining module 5 </ b> B when the first machining program PG <b> 1 is selected at any timing. The input of the operation signal 300 is validated. Further, when the second machining program PG2 is selected, the numerical control device 1 validates the input of the machine operation signal 300 to the third machining module 5C and the fourth machining module 5D. As a result, the numerical controller 1 can enable the machine operation of the machining module 5 that executes the machining program PG selected from the operation panel 4.

なお、数値制御装置1は、加工プログラムPGを複数回実行する場合、ワークWを加工する毎に機械操作信号300を初期状態に戻しても良く、前回の加工に用いた機械操作信号300を継承しても良い。また、数値制御装置1は、ワークWを加工する毎に機械操作信号300を初期状態に戻すことと、前回の加工に用いた機械操作信号300を継承することとを切り替えるようにしてもよい。   When the machining program PG is executed a plurality of times, the numerical controller 1 may return the machine operation signal 300 to the initial state every time the workpiece W is machined, and inherits the machine operation signal 300 used for the previous machining. You may do it. The numerical controller 1 may switch between returning the machine operation signal 300 to the initial state every time the workpiece W is machined and inheriting the machine operation signal 300 used for the previous machining.

実施の形態1の数値制御装置1によれば、操作盤4が受け付けた、選択された加工プログラムPGを実行する加工モジュール5に対して機械操作を有効とする設定手段20を備える。このために、数値制御装置1は、加工プログラムPGが選択されることで、各加工モジュール5が加工しているワークWの種類を意識することなく、容易に加工モジュール5の機械操作を行うことができる。その結果、数値制御装置1は、工作機械3の加工能率を低下させることなく機械操作を行うことができる。   According to the numerical control device 1 of the first embodiment, the setting unit 20 that enables the machine operation to the machining module 5 that executes the selected machining program PG received by the operation panel 4 is provided. For this reason, the numerical control device 1 can easily perform the machine operation of the machining module 5 without being aware of the type of the workpiece W that each machining module 5 is machining by selecting the machining program PG. Can do. As a result, the numerical controller 1 can perform the machine operation without reducing the machining efficiency of the machine tool 3.

また、数値制御装置1は、設定手段20が系統処理選択部21と機械操作対象系統選択部22とを備えるので、選択された加工プログラムPGを実行する加工モジュール5を特定することができる。その結果、数値制御装置1は、工作機械3の加工能率を低下させることなく機械操作を行うことができる。   Moreover, since the setting means 20 is provided with the system | strain process selection part 21 and the machine operation object system | strain selection part 22, the numerical control apparatus 1 can specify the process module 5 which performs the selected process program PG. As a result, the numerical controller 1 can perform the machine operation without reducing the machining efficiency of the machine tool 3.

また、数値制御装置1は、加工プログラムPGを解析し、加工プログラムPGと加工モジュール5との関係に基づいて機械操作が対象とする加工モジュール5を選択する。その結果、数値制御装置1は、加工モジュール5で行われているワークWの種類を意識することなく、安全な操作ができるという効果を得ることができる。また、数値制御装置1は、特定の加工モジュール5に機械操作を行うことができるため、生産性の低下を引き起こすことなく生産を継続することが可能となる効果を奏する。   Further, the numerical control device 1 analyzes the machining program PG and selects the machining module 5 targeted for machine operation based on the relationship between the machining program PG and the machining module 5. As a result, the numerical controller 1 can obtain an effect that a safe operation can be performed without being aware of the type of the workpiece W performed in the machining module 5. Moreover, since the numerical control apparatus 1 can perform a machine operation on the specific processing module 5, there is an effect that the production can be continued without causing a decrease in productivity.

実施の形態2.
次に、実施の形態2に係る数値制御装置1−2を図面に基づいて説明する。図11は、実施の形態2にかかる数値制御装置の構成の一例を示すブロック図である。図12は、図11に示された数値制御装置のメモリに記憶される第3の加工プログラムの構成を示す図である。図13は、図11に示された数値制御装置のメモリに記憶される第4の加工プログラムの構成を示す図である。図14は、図11に示す数値制御装置が制御する工作機械の各加工モジュールの動作を示すタイムチャートである。図15は、図14に示すタイムチャートにおいて第3の加工プログラムと第4の加工プログラムが選択された際のタイムチャートである。なお、図11から図15において、実施の形態1と同一部分には、同一符号を付して説明を省略する。
Embodiment 2. FIG.
Next, a numerical controller 1-2 according to Embodiment 2 will be described with reference to the drawings. FIG. 11 is a block diagram of an example of the configuration of the numerical control device according to the second embodiment. FIG. 12 is a diagram showing the configuration of the third machining program stored in the memory of the numerical controller shown in FIG. FIG. 13 is a diagram showing the configuration of the fourth machining program stored in the memory of the numerical controller shown in FIG. FIG. 14 is a time chart showing the operation of each machining module of the machine tool controlled by the numerical controller shown in FIG. FIG. 15 is a time chart when the third machining program and the fourth machining program are selected in the time chart shown in FIG. 11 to 15, the same parts as those in the first embodiment are denoted by the same reference numerals and the description thereof is omitted.

実施の形態1に係る数値制御装置1は、加工プログラム選択信号301が特定した加工プログラムPGを用いて加工モジュール5を抽出し、抽出した加工モジュール5に対して機械操作を有効とした。実施の形態2に係る数値制御装置1−2は、実施の形態1と同様に加工モジュール5を抽出するが、ワークWの加工に使用する加工モジュール5が時々刻々と変化する場合に好適である。   The numerical controller 1 according to the first embodiment extracts the machining module 5 using the machining program PG specified by the machining program selection signal 301, and makes the machine operation effective for the extracted machining module 5. The numerical controller 1-2 according to the second embodiment extracts the machining module 5 as in the first embodiment, but is suitable when the machining module 5 used for machining the workpiece W changes from moment to moment. .

実施の形態2に係る数値制御装置1−2は、系統処理部11−2及び設定手段20−2の系統処理選択部21−2の処理が一部異なる以外、実施の形態1の同じ構成である。以下、実施の形態1と異なる部分を中心に実施の形態2に係る数値制御装置1−2を説明する。また、実施の形態2は、系統処理部11−2同士を区別する際には、第1の加工モジュール5Aに接続した系統処理部11−2を符号「11A−2」で示し、第2の加工モジュール5Bに接続した系統処理部11−2を符号「11B−2」で示し、第3の加工モジュール5Cに接続した系統処理部11−2を符号「11C−2」で示し、第4の加工モジュール5Dに接続した系統処理部11−2を符号「11D−2」で示す。   The numerical controller 1-2 according to the second embodiment has the same configuration as that of the first embodiment except that the processing of the system processing selection unit 21-2 of the system processing unit 11-2 and the setting unit 20-2 is partially different. is there. Hereinafter, the numerical controller 1-2 according to the second embodiment will be described with a focus on differences from the first embodiment. In the second embodiment, when the system processing units 11-2 are distinguished from each other, the system processing unit 11-2 connected to the first processing module 5A is denoted by reference numeral "11A-2" The system processing unit 11-2 connected to the processing module 5B is indicated by reference numeral “11B-2”, the system processing unit 11-2 connected to the third processing module 5C is indicated by reference numeral “11C-2”, and the fourth The system processing unit 11-2 connected to the processing module 5D is denoted by reference numeral “11D-2”.

実施の形態2係る数値制御装置1−2のメモリ10は、図11に示すように、第1の加工プログラムPG1及び第2の加工プログラムPG2に加えて、第3の加工プログラムPG3及び第4の加工プログラムPG4を格納している。第3の加工プログラムPG3は、図12に示すように、第1の加工モジュール5Aの工具の動かし方を記述した第5のサブプログラムC1と、第2の加工モジュール5Bの工具の動かし方を記述した第6のサブプログラムC2と、第3の加工モジュール5Cの工具の動かし方を記述した第7のサブプログラムC3と、第4の加工モジュール5Dの工具の動かし方を記述した第8のサブプログラムC4とを備える。第4の加工プログラムPG4は、図13に示すように、第1の加工モジュール5Aの工具の動かし方を記述した第9のサブプログラムD1と、第2の加工モジュール5Bの工具の動かし方を記述した第10のサブプログラムD2と、第3の加工モジュール5Cの工具の動かし方を記述した第11のサブプログラムD3とを備える。各サブプログラムC1,C2,C3,C4,D1,D2,D3は、指令コードが記述されたブロックを少なくとも一つ備える。実施の形態2において、ブロックは、1行の指令コードにより構成される。   As shown in FIG. 11, the memory 10 of the numerical control device 1-2 according to the second embodiment has a third machining program PG3 and a fourth machining program in addition to the first machining program PG1 and the second machining program PG2. The machining program PG4 is stored. As shown in FIG. 12, the third machining program PG3 describes a fifth subprogram C1 that describes how to move the tool of the first machining module 5A, and how to move the tool of the second machining module 5B. The sixth subprogram C2, the seventh subprogram C3 describing how to move the tool of the third machining module 5C, and the eighth subprogram describing how to move the tool of the fourth machining module 5D C4. As shown in FIG. 13, the fourth machining program PG4 describes the ninth subprogram D1 describing how to move the tool of the first machining module 5A and how to move the tool of the second machining module 5B. The tenth subprogram D2 and the eleventh subprogram D3 describing how to move the tool of the third machining module 5C are provided. Each of the subprograms C1, C2, C3, C4, D1, D2, and D3 includes at least one block in which a command code is described. In the second embodiment, the block is composed of one line of instruction code.

実施の形態2に係る数値制御装置1−2の系統処理部11−2は、実施の形態1に記載の処理に加えて、実行中の加工プログラムPGを特定する信号である実行プログラム番号信号120を設定手段20の系統処理選択部21−2に出力する。実施の形態2に係る数値制御装置1−2の系統処理部11−2は、実施の形態1に記載の処理に加えて、加工プログラムPGの実行中に、実行中の加工プログラムPGを特定する。実施の形態2に係る数値制御装置1−2の系統処理部11−2は、実行中の加工プログラムPGを特定する実行プログラム番号信号120を系統処理選択部21−2に出力する処理を行う。   In addition to the processing described in the first embodiment, the system processing unit 11-2 of the numerical control device 1-2 according to the second embodiment executes an execution program number signal 120 that is a signal that identifies the machining program PG being executed. Is output to the system processing selection unit 21-2 of the setting means 20. In addition to the process described in the first embodiment, the system processing unit 11-2 of the numerical control device 1-2 according to the second embodiment specifies the machining program PG being executed during the execution of the machining program PG. . The system processing unit 11-2 of the numerical control device 1-2 according to the second embodiment performs a process of outputting the execution program number signal 120 that identifies the machining program PG being executed to the system processing selecting unit 21-2.

なお、系統処理部11−2が、最初に実行した加工プログラムPGからサブプログラムA1,A2,B3,B4,C1,C2,C3,C4,D1,D2,D3を呼び出してサブプログラムA1,A2,B3,B4,C1,C2,C3,C4,D1,D2,D3に記述された処理を実行する場合、実行プログラム番号信号120は、実行状態にあるサブプログラムA1,A2,B3,B4,C1,C2,C3,C4,D1,D2,D3を特定する情報ではなく、加工プログラムPGを特定するための情報である加工プログラムPGの名称、加工プログラムPGの番号、又は数値制御装置1−2が独自に加工プログラムPGに付与するインデックスを示す。系統処理部11−2は、サブプログラムA1,A2,B3,B4,C1,C2,C3,C4,D1,D2,D3を呼び出す際に呼び出し元である加工プログラムPGの番号をメモリ10に保存することで、複数回サブプログラムA1,A2,B3,B4,C1,C2,C3,C4,D1,D2,D3を呼び出す場合でも加工プログラムPGを特定することができる。   Note that the system processing unit 11-2 calls the subprograms A1, A2, B3, B4, C1, C2, C3, C4, D1, D2, and D3 from the machining program PG executed first, When executing the processing described in B3, B4, C1, C2, C3, C4, D1, D2, and D3, the execution program number signal 120 is sent to the subprograms A1, A2, B3, B4, C1, and the execution program. Not the information for specifying C2, C3, C4, D1, D2, D3, but the name of the machining program PG that is information for specifying the machining program PG, the number of the machining program PG, or the numerical control device 1-2 is unique. Shows an index to be given to the machining program PG. The system processing unit 11-2 stores the number of the machining program PG that is the caller in the memory 10 when calling the subprograms A1, A2, B3, B4, C1, C2, C3, C4, D1, D2, and D3. Thus, the machining program PG can be specified even when the subprograms A1, A2, B3, B4, C1, C2, C3, C4, D1, D2, and D3 are called a plurality of times.

なお、実行プログラム番号信号120は、実施の形態1に示された加工プログラム選択信号301と同様の情報であり、加工プログラムPGを実行中でない場合に未実行状態であることを特定する。   The execution program number signal 120 is the same information as the machining program selection signal 301 shown in the first embodiment, and specifies that the machining program PG is not executed when the machining program PG is not being executed.

実施の形態2に係る数値制御装置1−2の設定手段20−2は、操作盤4が受け付けた機械操作の対象として選択された加工プログラムPGを実行中の加工モジュール5に対して、操作盤4が受け付けた機械操作を有効であると設定とする。実施の形態2に係る数値制御装置1の設定手段20−2は、操作盤4が受け付けた機械操作の対象として選択された加工プログラムPGを実行中では無い加工モジュール5に対して、操作盤4が受け付けた機械操作を無効であると設定する。   The setting means 20-2 of the numerical control device 1-2 according to the second embodiment has an operation panel for the machining module 5 that is executing the machining program PG selected as the machine operation target received by the operation panel 4. The machine operation accepted by 4 is set as valid. The setting means 20-2 of the numerical control device 1 according to the second embodiment operates the operation panel 4 with respect to the machining module 5 that is not executing the machining program PG selected as the machine operation target received by the operation panel 4. Sets the machine operation accepted by the to be invalid.

実施の形態2に係る数値制御装置1−2の設定手段20−2の系統処理選択部21−2は、選択された加工プログラムPGを特定する信号である加工プログラム選択信号301と、複数の系統処理部11−2それぞれが出力した実行プログラム番号信号120とに基づいて、加工プログラム選択信号301が特定する加工プログラムPGを実行中の加工モジュール5を抽出する。系統処理選択部21−2は、加工プログラム選択信号301が特定する加工プログラムPGを実行中の加工モジュール5を特定する使用系統番号信号130を機械操作対象系統選択部22に出力する。   The system processing selection unit 21-2 of the setting unit 20-2 of the numerical controller 1-2 according to the second embodiment includes a machining program selection signal 301 that is a signal for specifying the selected machining program PG, and a plurality of systems. Based on the execution program number signal 120 output by each of the processing units 11-2, the machining module 5 that is executing the machining program PG specified by the machining program selection signal 301 is extracted. The system process selection unit 21-2 outputs to the machine operation target system selection unit 22 a use system number signal 130 that specifies the machining module 5 that is executing the machining program PG specified by the machining program selection signal 301.

実施の形態2に係る数値制御装置1の設定手段20−2の系統処理選択部21−2は、実施の形態1と異なり、操作盤4から入力される加工プログラム選択信号301と、系統処理部11−2から入力される実行プログラム番号信号120を監視することで、加工プログラム選択信号301が特定する加工プログラムPGを実行中の加工モジュール5を抽出する処理を行う。具体的には、系統処理選択部21−2は、加工プログラム選択信号301が特定する加工プログラムPGと、実行プログラム番号信号120が特定する加工プログラムPGとを比較する。系統処理選択部21−2は、加工プログラム選択信号301が特定する加工プログラムPGに一致する加工プログラムPGを特定する実行プログラム番号信号120を出力した系統処理部11−2を抽出する。系統処理選択部21−2は、抽出した系統処理部11−2に特定する使用系統番号信号130を機械操作対象系統選択部22に出力する。なお、系統処理選択部21−2は、一致する加工プログラムPGが無い場合、加工プログラムPGを実行中の加工モジュール5が無いことを特定する使用系統番号信号130を出力し、機械操作対象系統選択部22は操作盤4が受け付けた機械操作を行わない。   The system processing selection unit 21-2 of the setting unit 20-2 of the numerical controller 1 according to the second embodiment is different from the first embodiment in that the machining program selection signal 301 input from the operation panel 4 and the system processing unit By monitoring the execution program number signal 120 input from 11-2, the processing module 5 that is executing the machining program PG specified by the machining program selection signal 301 is extracted. Specifically, the system processing selection unit 21-2 compares the machining program PG specified by the machining program selection signal 301 with the machining program PG specified by the execution program number signal 120. The system processing selection unit 21-2 extracts the system processing unit 11-2 that has output the execution program number signal 120 that specifies the machining program PG that matches the machining program PG specified by the machining program selection signal 301. The system processing selection unit 21-2 outputs the used system number signal 130 specified to the extracted system processing unit 11-2 to the machine operation target system selection unit 22. When there is no matching machining program PG, the system processing selection unit 21-2 outputs a used system number signal 130 that specifies that there is no machining module 5 that is executing the machining program PG, and selects a machine operation target system. The unit 22 does not perform the machine operation accepted by the operation panel 4.

次に、実施の形態2に係る数値制御装置1−2が工作機械3の各加工モジュール5を制御する方法を説明する。図14の横軸は、各加工モジュール5が動作を同時に実行開始してからの経過時間を示し、図14の縦軸は、各加工モジュール5を示している。また、図14は、各加工モジュール5が実行する加工プログラムPGのサブプログラムA1,A2,B3,B4,C1,C2,C3,C4,D1,D2,D3を示している。   Next, a method in which the numerical control device 1-2 according to the second embodiment controls each processing module 5 of the machine tool 3 will be described. The horizontal axis of FIG. 14 shows the elapsed time since the processing modules 5 started to execute the operations simultaneously, and the vertical axis of FIG. 14 shows each processing module 5. FIG. 14 shows subprograms A1, A2, B3, B4, C1, C2, C3, C4, D1, D2, and D3 of the machining program PG executed by each machining module 5.

図14及び図15は、加工を行っていない加工モジュール5に次の加工プログラムPGを割り当てて動作を行うことで複数のワークWを同時並行に加工する状態を示している。図14は、第2の加工プログラムPG2の実行開始と同時に、第1の加工モジュール5Aが第3の加工プログラムPG3を実行開始する状態を示している。また、図14及び図15は、第3の加工プログラムPG3の第1の加工モジュール5Aの加工が完了した後に、第1の加工モジュール5Aが第4の加工プログラムPG4を実行開始し、予め定められたワークWの加工順序に従って、ワークWへの加工が行われることを示している。さらに、図14及び図15は、それぞれの加工プログラムPG1,PG2,PG3,PG4を複数回連続して実行する場合を示している。図14及び図15は、第5のサブプログラムC1をN回実行したN回目の加工をC1−N、第6のサブプログラムC2をN回実行したN回目の加工をC2−N、第7のサブプログラムC3をN回実行したN回目の加工をC3−N、第8のサブプログラムC4をN回実行したN回目の加工をC4−N、第9のサブプログラムD1をN回実行したN回目の加工をD1−N、第10のサブプログラムD2をN回実行したN回目の加工をD2−N、及び第11のサブプログラムD3をN回実行したN回目の加工をD3−Nとしている。   FIGS. 14 and 15 show a state in which a plurality of workpieces W are machined in parallel by assigning the next machining program PG to the machining module 5 that is not machining and performing an operation. FIG. 14 shows a state in which the first machining module 5A starts executing the third machining program PG3 simultaneously with the start of execution of the second machining program PG2. 14 and 15 show that the first machining module 5A starts executing the fourth machining program PG4 after the machining of the first machining module 5A of the third machining program PG3 is completed. It shows that the workpiece W is processed in accordance with the processing sequence of the workpiece W. Further, FIG. 14 and FIG. 15 show a case where each machining program PG1, PG2, PG3, PG4 is continuously executed a plurality of times. FIGS. 14 and 15 show that the N-th machining in which the fifth subprogram C1 is executed N times is C1-N, the N-th machining in which the sixth subprogram C2 is executed N times is C2-N, and the seventh The N-th machining in which the subprogram C3 is executed N times is C3-N, the N-th machining in which the eighth subprogram C4 is executed N times is C4-N, and the ninth subprogram D1 is executed N times. This processing is D1-N, the N-th processing in which the tenth subprogram D2 is executed N times is D2-N, and the N-th processing in which the eleventh subprogram D3 is executed N times is D3-N.

数値制御装置1−2は、工作機械3が図14及び図15に示す加工を行う場合、時刻taのタイミングにおいて操作盤4が第3の加工プログラムPG3が選択されたことを受け付け、機械操作を受け付けると、系統処理部11A−2が第1の加工モジュール5Aが第3の加工プログラムPG3を実行中であることを特定する実行プログラム番号信号120を系統処理選択部21−2に出力する。系統処理部11C−2は、第3の加工モジュール5Cが第2の加工プログラムPG2を実行中であることを特定する実行プログラム番号信号120を系統処理選択部21−2に出力する。また、系統処理部11B−2及び系統処理部11D−2は、第2の加工モジュール5B及び第4の加工モジュール5Dが加工プログラムPGを実行中ではないため、系統処理選択部21−2に加工プログラムPGを実行していないことを特定する実行プログラム番号信号120を出力する。この結果、系統処理選択部21−2は、第3の加工プログラムPG3を実行中の第1の加工モジュール5Aを特定する使用系統番号信号130を機械操作対象系統選択部22に出力する。機械操作対象系統選択部22は、第1の加工モジュール5Aに操作盤4が受け付けた機械操作信号300を出力する。このように、設定手段20−2は、第1の加工モジュール5Aに対する機械操作信号300の入力を有効とする。その結果、数値制御装置1−2は、操作盤4から選択された加工プログラムPGを実行中の加工モジュール5の機械操作を可能とすることができる。   When the machine tool 3 performs the machining shown in FIGS. 14 and 15, the numerical control device 1-2 accepts that the operation panel 4 has selected the third machining program PG3 at the timing of time ta, and performs the machine operation. When accepted, the system processing unit 11A-2 outputs an execution program number signal 120 that specifies that the first processing module 5A is executing the third processing program PG3 to the system processing selecting unit 21-2. The system processing unit 11C-2 outputs an execution program number signal 120 that specifies that the third processing module 5C is executing the second processing program PG2 to the system processing selection unit 21-2. Further, the system processing unit 11B-2 and the system processing unit 11D-2 process the system processing selection unit 21-2 because the second processing module 5B and the fourth processing module 5D are not executing the processing program PG. An execution program number signal 120 for specifying that the program PG is not executed is output. As a result, the system processing selection unit 21-2 outputs a use system number signal 130 that identifies the first processing module 5A that is executing the third processing program PG3 to the machine operation target system selection unit 22. The machine operation target system selection unit 22 outputs the machine operation signal 300 received by the operation panel 4 to the first machining module 5A. Thus, the setting means 20-2 validates the input of the machine operation signal 300 to the first machining module 5A. As a result, the numerical controller 1-2 can enable the machine operation of the machining module 5 that is executing the machining program PG selected from the operation panel 4.

また、数値制御装置1−2は、時刻tbのタイミングにおいて操作盤4が第3の加工プログラムPG3が選択されたことを受け付け、機械操作を受け付けると、時刻taでの処理と同様の処理を行い、第3の加工プログラムPG3を実行中の第2の加工モジュール5Bに対する機械操作信号300の入力を有効とする。   In addition, when the numerical control device 1-2 accepts that the operation panel 4 selects the third machining program PG3 at the timing of the time tb and accepts the machine operation, the numerical control device 1-2 performs the same processing as the processing at the time ta. The input of the machine operation signal 300 to the second machining module 5B that is executing the third machining program PG3 is validated.

また、数値制御装置1−2は、時刻tcのタイミングにおいて操作盤4が第3の加工プログラムPG3が選択されたことを受け付け、機械操作を受け付けると、時刻ta,tbでの処理と同様の処理を行い、第3の加工プログラムPG3を実行中の第3の加工モジュール5C及び第4の加工モジュール5Dに対する機械操作信号300の入力を有効とする。   Further, when the numerical control device 1-2 accepts that the operation panel 4 selects the third machining program PG3 at the timing of time tc and accepts a machine operation, the same processing as the processing at times ta and tb. To validate the input of the machine operation signal 300 to the third machining module 5C and the fourth machining module 5D that are executing the third machining program PG3.

実施の形態2に係る数値制御装置1−2によれば、操作盤4が受け付けた選択された加工プログラムPGを実行中の加工モジュール5に対して機械操作を有効とする設定手段20−2を備える。実施の形態2の数値制御装置1−2の系統処理選択部21−2は、系統処理部11−2に接続された加工モジュール5の実行する加工プログラムPGに応じて、機械操作を有効とする加工モジュール5を切り替えることができる。その結果、数値制御装置1は、各加工モジュール5が加工しているワークWの種類を意識することなく、容易に加工モジュール5の機械操作を行うことができる。   According to the numerical control device 1-2 according to the second embodiment, the setting unit 20-2 that makes the machine operation valid for the machining module 5 that is executing the selected machining program PG received by the operation panel 4 is provided. Prepare. The system processing selection unit 21-2 of the numerical control device 1-2 according to the second embodiment validates the machine operation according to the processing program PG executed by the processing module 5 connected to the system processing unit 11-2. The processing module 5 can be switched. As a result, the numerical controller 1 can easily perform the machine operation of the machining module 5 without being aware of the type of the workpiece W that each machining module 5 is machining.

なお、実施の形態2において、時刻ta,tb,tcの全てのタイミングにおいて、第3の加工プログラムPG3が選択された例を説明しているが、数値制御装置1−2は、時刻tcのタイミングにおいて、別の加工プログラムPGが選択されても良い。数値制御装置1は、時刻tcのタイミングにおいて、第4の加工プログラムPG4が選択された場合、時刻tcのタイミングにおいて、第3の加工プログラムPG3を特定する加工プログラム選択信号301から第4の加工プログラムPG4を特定する加工プログラム選択信号301に切り替わる。その後、系統処理選択部21−2は、第4の加工プログラムPG4を実行中の第2の加工モジュール5Bを特定する使用系統番号信号130を出力する。機械操作対象系統選択部22は、第2の加工モジュール5Bに操作盤4が受け付けた機械操作信号300を出力する。また、数値制御装置1−2は、時刻tcまでの機械操作対象である第3の加工プログラムPG3を実行中の第3の加工モジュール5C及び第4の加工モジュール5Dに対する機械操作を予め定められた状態に戻す操作を行う。なお、数値制御装置1は、加工プログラムPGが選択されることによる機械操作を行っていない場合、各加工モジュール5の機械操作を予め定められた初期状態に維持する。   In the second embodiment, an example in which the third machining program PG3 is selected at all timings at times ta, tb, and tc has been described. However, the numerical control device 1-2 performs the timing at time tc. In this case, another machining program PG may be selected. When the fourth machining program PG4 is selected at the timing of time tc, the numerical control apparatus 1 receives the fourth machining program from the machining program selection signal 301 that specifies the third machining program PG3 at the timing of time tc. The machining program selection signal 301 for specifying PG4 is switched. Thereafter, the system process selection unit 21-2 outputs a use system number signal 130 that identifies the second processing module 5B that is executing the fourth processing program PG4. The machine operation target system selection unit 22 outputs the machine operation signal 300 received by the operation panel 4 to the second machining module 5B. In addition, the numerical control device 1-2 has predetermined machine operations for the third machining module 5C and the fourth machining module 5D that are executing the third machining program PG3 that is the machine operation target up to the time tc. Perform the operation to return to the state. The numerical control device 1 maintains the machine operation of each machining module 5 in a predetermined initial state when the machine operation due to the selection of the machining program PG is not performed.

以上説明したように、実施の形態2に係るに係る数値制御装置1−2によれば、各系統処理選択部21−2が系統処理部11−2から実行中の加工プログラムPGを特定する実行プログラム番号信号130が入力することで、各加工モジュール5が実行する加工プログラムPGが時々刻々変化す場合でも、選択した加工プログラムPGを実行中の加工モジュール5に対してのみ機械操作を行うことができるという効果を得ることができる。その結果、数値制御装置1−2は、実施の形態1と同様に、工作機械3の加工能率を低下させることなく機械操作を行うことができる。   As described above, according to the numerical control device 1-2 according to the second embodiment, each system processing selection unit 21-2 executes the processing program PG that is being executed from the system processing unit 11-2. By inputting the program number signal 130, even when the machining program PG executed by each machining module 5 changes from moment to moment, only the machining module 5 that is executing the selected machining program PG can be operated. The effect that it is possible can be obtained. As a result, the numerical controller 1-2 can perform the machine operation without reducing the machining efficiency of the machine tool 3, as in the first embodiment.

実施の形態3.
次に、実施の形態3に係る数値制御装置1−3を図面に基づいて説明する。図16は、実施の形態3にかかる数値制御装置の構成の一例を示すブロック図である。図17は、図16に示す数値制御装置の機械操作対象系統選択部が記憶する機械操作データテーブルの一例を示す図である。図18は、図16に示す数値制御装置の機械操作対象系統選択部の処理を示すフローチャートである。図19は、図16に示す数値制御装置が制御する工作機械の各加工モジュールの動作を示すタイムチャートである。図20は、図19の時刻t1において更新される機械操作データテーブルを示す図である。図21は、図19の時刻t1aにおいて図20に示す機械操作データテーブルが更新された後を示す図である。図22は、図19の時刻t2において図21に示す機械操作データテーブルが更新された後を示す図である。図23は、図19の時刻t3において図22に示す機械操作データテーブルが更新された後を示す図である。なお、図16から図23において、実施の形態2と同一部分には、同一符号を付して説明を省略する。
Embodiment 3 FIG.
Next, a numerical controller 1-3 according to Embodiment 3 will be described with reference to the drawings. FIG. 16 is a block diagram of an example of the configuration of the numerical controller according to the third embodiment. FIG. 17 is a diagram illustrating an example of a machine operation data table stored in the machine operation target system selection unit of the numerical controller illustrated in FIG. 16. FIG. 18 is a flowchart showing the processing of the machine operation target system selection unit of the numerical controller shown in FIG. FIG. 19 is a time chart showing the operation of each machining module of the machine tool controlled by the numerical controller shown in FIG. FIG. 20 is a diagram showing a machine operation data table updated at time t1 in FIG. FIG. 21 is a diagram showing the state after the machine operation data table shown in FIG. 20 is updated at time t1a in FIG. FIG. 22 is a diagram showing the state after the machine operation data table shown in FIG. 21 is updated at time t2 in FIG. FIG. 23 is a diagram showing a state after the machine operation data table shown in FIG. 22 is updated at time t3 in FIG. 16 to 23, the same parts as those of the second embodiment are denoted by the same reference numerals, and the description thereof is omitted.

実施の形態2に係る数値制御装置1−2は、各加工モジュール5が実行中の加工プログラムPGを特定する実行プログラム番号信号120に基づいて、機械操作を有効とする加工モジュール5を設定した。実施の形態3に係る数値制御装置1−3は、機械操作の内容を記憶することで、加工プログラムPGの選択が未受け付けの状態において、過去にワークWに対して行った機械操作をワークWの加工が完了するまで継続して適用する。   The numerical control device 1-2 according to the second embodiment sets the machining module 5 that validates the machine operation based on the execution program number signal 120 that identifies the machining program PG that each machining module 5 is executing. The numerical control device 1-3 according to the third embodiment stores the contents of the machine operation so that the machine operation performed on the workpiece W in the past in the state where the selection of the machining program PG has not been accepted. Continue to apply until processing is complete.

実施の形態3に係る図16に示す数値制御装置1−3は、設定手段20−3の機械操作対象系統選択部22−3の処理が一部異なること以外、実施の形態2と同じ構成である。機械操作対象系統選択部22−3は、図16に示すように、機械操作データテーブル50を備えている。機械操作データテーブル50は、図17に示すように、各加工モジュール5毎に、選択された加工プログラムPGと実行された機械操作の内容とを関連付けて記憶するものである。機械操作データテーブル50は、各加工モジュール5毎に最新の選択された加工プログラムPGと実行された機械操作の内容とを関連付けるものである。機械操作対象系統選択部22−3は、各加工モジュール5毎に最新の選択された加工プログラムPGと実行された機械操作の内容とを関連付けた情報を保持することができる。   The numerical control device 1-3 shown in FIG. 16 according to the third embodiment has the same configuration as that of the second embodiment except that the processing of the machine operation target system selection unit 22-3 of the setting unit 20-3 is partially different. is there. The machine operation target system selection unit 22-3 includes a machine operation data table 50 as shown in FIG. As shown in FIG. 17, the machine operation data table 50 stores the selected machining program PG and the contents of the executed machine operation in association with each machining module 5. The machine operation data table 50 associates the latest selected machining program PG for each machining module 5 with the contents of the machine operation executed. The machine operation target system selection unit 22-3 can hold information that associates the latest selected machining program PG for each machining module 5 with the contents of the machine operation executed.

実施の形態3に係る数値制御装置1−3の機械操作対象系統選択部22−3は、実施の形態2と同様に、操作盤4が受け付けた加工プログラムPGを実行中の加工モジュール5に操作盤4が受け付けた機械操作信号300を出力する。実施の形態3に係る数値制御装置1の機械操作対象系統選択部22−3は、操作盤4が加工プログラムPGの選択を未受け付けの状態で、実施の形態1、及び実施の形態2と異なり、使用系統番号信号130、及び機械操作信号300に加え、各系統処理部11A−2,11B−2,11C−2,11D−2からに出力される実行プログラム番号信号120が入力される。機械操作対象系統選択部22−3は、操作盤4が加工プログラムPGの選択を未受け付けの状態で、使用系統番号信号130、機械操作信号300、実行プログラム番号信号120及び機械操作データテーブル50に基づいて、各加工モジュール5の機械操作を行う。   Similarly to the second embodiment, the machine operation target system selection unit 22-3 of the numerical controller 1-3 according to the third embodiment operates the machining module 5 that is executing the machining program PG received by the operation panel 4. The machine operation signal 300 received by the board 4 is output. The machine operation target system selection unit 22-3 of the numerical control device 1 according to the third embodiment is different from the first and second embodiments in a state where the operation panel 4 has not accepted the selection of the machining program PG. In addition to the use system number signal 130 and the machine operation signal 300, an execution program number signal 120 output from each system processing unit 11A-2, 11B-2, 11C-2, 11D-2 is input. The machine operation target system selection unit 22-3 stores the use system number signal 130, the machine operation signal 300, the execution program number signal 120, and the machine operation data table 50 in a state where the operation panel 4 has not received the selection of the machining program PG. Based on this, the machine operation of each processing module 5 is performed.

機械操作データテーブル50は、図17に示すように、選択された加工プログラムPGを特定する情報と、加工プログラムPGが選択された時に行った機械操作の内容を特定する情報と、機械操作信号300を出力した加工モジュール5とを関連づける表形式のデータであり、加工プログラムPG毎に実行した最新の操作履歴を残すものである。なお、機械操作データテーブル50の初期状態は、各加工モジュール5における機械操作の内容を予め定めた状態とするものであり、数値制御装置1−3の電源投入時に初期化されるものである。   As shown in FIG. 17, the machine operation data table 50 includes information for specifying the selected machining program PG, information for specifying the contents of the machine operation performed when the machining program PG is selected, and a machine operation signal 300. Is the data in the table format for associating with the machining module 5 that has output, and the latest operation history executed for each machining program PG is left. The initial state of the machine operation data table 50 is a state in which the contents of the machine operation in each processing module 5 are set in advance, and is initialized when the numerical controller 1-3 is turned on.

次に、機械操作対象系統選択部22−3の処理を図18に示されたフローチャートを用いて説明する。   Next, the processing of the machine operation target system selection unit 22-3 will be described using the flowchart shown in FIG.

まず、機械操作対象系統選択部22−3は、操作盤4が加工プログラムPGの選択を未受け付けの状態で、各系統処理部11A−2,11B−2,11C−2,11D−2から実行プログラム番号信号120が入力される(ステップST1)。機械操作対象系統選択部22−3は、取得した実行プログラム番号信号120に基づき、いずれかの加工プログラムPGを実行中である加工モジュール5に対して、機械操作データテーブル50を用いた機械操作信号300の引き継ぎ処理を行う(ステップST2)。   First, the machine operation target system selection unit 22-3 is executed from each system processing unit 11A-2, 11B-2, 11C-2, 11D-2 in a state where the operation panel 4 has not received selection of the machining program PG. A program number signal 120 is input (step ST1). Based on the acquired execution program number signal 120, the machine operation target system selection unit 22-3 uses the machine operation data table 50 for the machining module 5 that is executing any machining program PG. A takeover process of 300 is performed (step ST2).

具体的には、機械操作対象系統選択部22−3は、ステップST2において、各系統処理部11A−2,11B−2,11C−2,11D−2から入力された実行プログラム番号信号120が特定する加工プログラムPGが、機械操作データテーブル50に格納された加工プログラムPGと一致するかどうかの判断を行う。機械操作対象系統選択部22−3は、機械操作データテーブル50に実行プログラム番号信号120が特定する加工プログラムPGと一致する加工プログラムPGが格納されている場合がある。この場合、機械操作対象系統選択部22−3は、一致した加工プログラムPGに関連付けられた機械操作を、前述した一致した加工プログラムPGを実行中の加工モジュール5と関連付けて機械操作データテーブル50に記憶する。   Specifically, the machine operation target system selection unit 22-3 identifies the execution program number signal 120 input from each system processing unit 11A-2, 11B-2, 11C-2, 11D-2 in step ST2. It is determined whether the machining program PG to be matched with the machining program PG stored in the machine operation data table 50. The machine operation target system selection unit 22-3 may store a machining program PG that matches the machining program PG specified by the execution program number signal 120 in the machine operation data table 50. In this case, the machine operation target system selection unit 22-3 associates the machine operation associated with the matched machining program PG with the machining module 5 executing the above-described matched machining program PG in the machine operation data table 50. Remember.

機械操作対象系統選択部22−3は、機械操作データテーブル50に、第1の加工モジュール5Aに第3の加工プログラムPG3が関連付けられて記憶されており、系統処理部11A−2,11B−2から入力された実行プログラム番号信号120が第3の加工プログラムPG3を第1の加工モジュール5A及び第2の加工モジュール5Bが実行中であることを特定する場合がある。この場合、機械操作対象系統選択部22−3は、機械操作データテーブル50において第3の加工プログラムPG3に機械操作が関連付けられているため、機械操作データテーブル50に記憶された第1の加工モジュール5Aに関連付けられた機械操作を、第3の加工プログラムPG3及び第2の加工モジュール5Bに関連付けて機械操作データテーブル50に記憶する。   The machine operation target system selection unit 22-3 stores the third processing program PG3 associated with the first processing module 5A in the machine operation data table 50, and the system processing units 11A-2 and 11B-2. The execution program number signal 120 input from may specify that the third machining program PG3 is being executed by the first machining module 5A and the second machining module 5B. In this case, since the machine operation is associated with the third machining program PG3 in the machine operation data table 50, the machine operation target system selection unit 22-3 stores the first machining module stored in the machine operation data table 50. The machine operation associated with 5A is stored in the machine operation data table 50 in association with the third machining program PG3 and the second machining module 5B.

なお、機械操作対象系統選択部22−3は、ステップST2において、全ての系統処理部11A−2,11B−2,11C−2,11D−2から取得した実行プログラム番号信号120によって特定される加工プログラムPGが、機械操作データテーブル50に格納された加工プログラムPGと一致しない場合、全ての加工モジュール5を予め規定された操作状態に戻す処理を行う。   In addition, in step ST2, the machine operation target system selection unit 22-3 is identified by the execution program number signal 120 acquired from all the system processing units 11A-2, 11B-2, 11C-2, and 11D-2. When the program PG does not match the machining program PG stored in the machine operation data table 50, a process for returning all machining modules 5 to a predetermined operation state is performed.

機械操作対象系統選択部22−3は、各系統処理部11A−2,11B−2,11C−2,11D−2から取得した実行プログラム番号信号120によって特定される加工プログラムPGが、機械操作データテーブル50に格納された加工プログラムPGと一致していない加工モジュール5に対して予め規定された操作状態に戻す初期化処理を行う(ステップST3)。   The machine operation target system selection unit 22-3 is configured such that the machining program PG specified by the execution program number signal 120 acquired from each system processing unit 11A-2, 11B-2, 11C-2, 11D-2 is machine operation data. An initialization process for returning to a predetermined operation state is performed on the machining module 5 that does not match the machining program PG stored in the table 50 (step ST3).

次に、機械操作対象系統選択部22−3は、操作盤4が加工プログラムPGの選択を受け付けているかどうかを判断する(ステップST4)。機械操作対象系統選択部22−3は、ステップST4において、操作盤4が加工プログラムPGの選択を受け付けている場合、選択を受け付けている加工プログラムPGと、選択を受け付けている加工プログラムPGを実行中の加工モジュール5と、操作盤4が受け付けた機械操作とを関連付けて、機械操作データテーブル50に記憶する処理を行う。こうして、機械操作対象系統選択部22−3は、ステップST4において、機械操作データテーブル50を更新する。機械操作対象系統選択部22−3は、操作盤4が加工プログラムPGの選択を未受け付けの場合、機械操作データテーブル50の更新を行わず、記憶済みの機械操作データテーブル50を維持する。   Next, the machine operation target system selection unit 22-3 determines whether the operation panel 4 has received selection of the machining program PG (step ST4). In step ST4, when the operation panel 4 accepts the selection of the machining program PG, the machine operation target system selection unit 22-3 executes the machining program PG accepting the selection and the machining program PG accepting the selection. The process module 5 and the machine operation received by the operation panel 4 are associated with each other and stored in the machine operation data table 50. In this way, the machine operation target system selection unit 22-3 updates the machine operation data table 50 in step ST4. When the operation panel 4 has not received the selection of the machining program PG, the machine operation target system selection unit 22-3 maintains the stored machine operation data table 50 without updating the machine operation data table 50.

また、機械操作対象系統選択部22−3は、ステップST2において一致したと判断した加工プログラムPGに関連付けられた機械操作を、前述した一致した加工プログラムPGを実行中の加工モジュール5に接続した系統処理部11−2に出力する(ステップST5)。機械操作対象系統選択部22−3は、機械操作データテーブル50に記憶されていない機械操作信号300については、予め設定されている機械操作信号300を出力する。こうして、機械操作対象系統選択部22−3は、操作盤4が加工プログラムPGの選択を未受け付けの状態で、機械操作データテーブル50から複数の系統処理部11−2それぞれが出力した実行中の加工プログラムPGに一致する加工プログラムPGを抽出し、機械操作データテーブル50に一致する加工プログラムPGに関連付けられた機械操作を、一致する加工プログラムPGを実行中の加工モジュール5に出力する。   Further, the machine operation target system selection unit 22-3 connects the machine operation associated with the machining program PG determined to be matched in step ST2 to the machining module 5 that is executing the above-described matched machining program PG. The data is output to the processing unit 11-2 (step ST5). The machine operation target system selection unit 22-3 outputs a preset machine operation signal 300 for the machine operation signals 300 that are not stored in the machine operation data table 50. In this way, the machine operation target system selection unit 22-3 is executing the output from the machine operation data table 50 by each of the plurality of system processing units 11-2 in a state where the operation panel 4 has not received the selection of the machining program PG. The machining program PG that matches the machining program PG is extracted, and the machine operation associated with the machining program PG that matches the machine operation data table 50 is output to the machining module 5 that is executing the matching machining program PG.

以上の動作により、数値制御装置1−3は、実施の形態2と同様に、操作盤4が受け付けた加工プログラムPGを実行中の加工モジュール5に対して、操作盤4が受け付けた機械操作を有効とする。その結果、数値制御装置1は、各加工モジュール5が実行する加工プログラムPGが時々刻々変化する場合でも、選択した加工プログラムPGを実行中の加工モジュール5に対してのみ機械操作を行うことができるという効果を得ることができる。   By the above operation, the numerical control device 1-3 performs the machine operation received by the operation panel 4 on the machining module 5 that is executing the machining program PG received by the operation panel 4, as in the second embodiment. Valid. As a result, even when the machining program PG executed by each machining module 5 changes from moment to moment, the numerical control apparatus 1 can perform the machine operation only on the machining module 5 that is executing the selected machining program PG. The effect that can be obtained.

次に、実施の形態3に係る数値制御装置1−3が工作機械3の各加工モジュール5を制御する方法を説明する。実施の形態3に係る数値制御装置1−3は、図19に示すように、実施の形態2と同様に、各加工モジュール5に加工プログラムPGを実行させる。なお、図19は、時刻t1,t2,t3のタイミングで機械操作を行った場合を示している。数値制御装置1−3は、図19に示す時刻t1のタイミングにおいて操作盤4が第3の加工プログラムPG3が選択されたことを受け付け、機械操作を受け付けると、実施の形態2と同様に、第3の加工プログラムPG3を実行中の第1の加工モジュール5Aに機械操作を行う。また、数値制御装置1−3は、図19に示す時刻t2のタイミングにおいて操作盤4が第4の加工プログラムPG4が選択されたことを受け付け、機械操作を受け付けると、第4の加工プログラムPG4を実行中の第1の加工モジュール5Aに機械操作を行う。また、数値制御装置1−3は、図19に示す時刻t3のタイミングにおいて操作盤4が第3の加工プログラムPG3が選択されたことを受け付け、機械操作を受け付けると、第3の加工プログラムPG3を実行中の第3の加工モジュール5C及び第4の加工モジュール5Dに機械操作を行う。   Next, a method in which the numerical control device 1-3 according to the third embodiment controls each machining module 5 of the machine tool 3 will be described. As shown in FIG. 19, the numerical control device 1-3 according to the third embodiment causes each machining module 5 to execute the machining program PG, as in the second embodiment. FIG. 19 shows a case where the machine operation is performed at timings t1, t2, and t3. When the operation panel 4 accepts that the third machining program PG3 is selected at the timing of time t1 shown in FIG. 19 and accepts the machine operation, the numerical controller 1-3 receives the first operation as in the second embodiment. The machine operation is performed on the first machining module 5A that is executing the machining program PG3. Further, the numerical control device 1-3 accepts that the operation panel 4 has selected the fourth machining program PG4 at the timing of time t2 shown in FIG. Machine operation is performed on the first processing module 5A being executed. Further, the numerical controller 1-3 accepts that the operation panel 4 has selected the third machining program PG3 at the timing of time t3 shown in FIG. 19, and receives the machine operation, the third machining program PG3 is received. Machine operations are performed on the third processing module 5C and the fourth processing module 5D being executed.

数値制御装置1−3は、時刻t1のタイミングの機械操作により、第3の加工プログラムPG3を実行中の第1の加工モジュール5Aに対して機械操作を有効であると設定するとともに、図20に示すように、第1の加工モジュール5Aと、第3の加工プログラムPG3と、機械操作の内容を示す情報とを関連付けて、機械操作データテーブル50に記憶する。実施の形態3において、数値制御装置1−3は、第3の加工プログラムPG3を選択した際に、送り速度オーバライドを80%にする機械操作を受け付ける。実施の形態3において、数値制御装置1−3は、図20に示す機械操作データテーブル50の第1の加工モジュール5Aに第3の加工プログラムPG3を特定する「PG3」と、機械操作である送り速度オーバライドを特定する情報である「80%」とを関連付けて格納する。なお、数値制御装置1−3は、操作盤4が加工プログラムPGの選択を未受け付けの状態で受け付けた機械操作を機械操作データテーブル50に記憶しない。また、数値制御装置1−3は、機械操作データテーブル50において、加工プログラムPGの未実行の加工モジュール5には、機械操作の内容を示す情報を更新しない。   The numerical controller 1-3 sets the machine operation to be effective for the first machining module 5A that is executing the third machining program PG3 by the machine operation at the timing of the time t1, and FIG. As illustrated, the first machining module 5A, the third machining program PG3, and information indicating the contents of the machine operation are associated with each other and stored in the machine operation data table 50. In the third embodiment, the numerical controller 1-3 accepts a machine operation for setting the feed speed override to 80% when the third machining program PG3 is selected. In the third embodiment, the numerical controller 1-3 sends “PG3” that specifies the third machining program PG3 to the first machining module 5A of the machine operation data table 50 shown in FIG. “80%”, which is information specifying the speed override, is stored in association with each other. The numerical controller 1-3 does not store in the machine operation data table 50 the machine operation received by the operation panel 4 in a state where the selection of the machining program PG has not been received. Further, the numerical control device 1-3 does not update the information indicating the contents of the machine operation in the machining module 5 in which the machining program PG is not executed in the machine operation data table 50.

数値制御装置1−3は、時刻t1aのタイミングでは、第3の加工プログラムPG3を実行中である加工モジュール5が第1の加工モジュール5A及び第2の加工モジュール5Bとなる。このとき、数値制御装置1−3は、操作盤4が加工プログラムPGの選択を未受け付けの状態となると、第1の加工モジュール5A及び第2の加工モジュール5Bが第3の加工プログラムPG3を実行中であるので、機械操作データテーブル50の第1の加工モジュール5Aに関連付けられた機械操作を第2の加工モジュール5Bに関連付けて、図21に示すように、機械操作データテーブル50に記憶し、第1の加工モジュール5A及び第2の加工モジュール5Bに、機械操作データテーブル50において第1の加工モジュール5Aに関連付けられた機械操作を出力する。   In the numerical controller 1-3, at the timing of time t1a, the machining module 5 that is executing the third machining program PG3 becomes the first machining module 5A and the second machining module 5B. At this time, in the numerical controller 1-3, when the operation panel 4 is in a state of not accepting the selection of the machining program PG, the first machining module 5A and the second machining module 5B execute the third machining program PG3. Therefore, the machine operation associated with the first machining module 5A in the machine operation data table 50 is associated with the second machining module 5B and stored in the machine operation data table 50 as shown in FIG. The machine operation associated with the first machining module 5A in the machine operation data table 50 is output to the first machining module 5A and the second machining module 5B.

次に、数値制御装置1−3は、時刻t1bのタイミングでは、操作盤4が加工プログラムPGの選択を未受け付けの状態で、第3の加工プログラムPG3を実行中であるのが第2の加工モジュール5Bのみであり、第1の加工モジュール5Aが加工プログラムPGを未実行状態となる。数値制御装置1−3は、機械操作データテーブル50の第1の加工モジュール5Aに関連付けた第3の加工プログラムPG3を特定した情報を予め規定された操作状態に戻す処理を行う。   Next, the numerical controller 1-3 is executing the third machining program PG3 while the operation panel 4 has not accepted the selection of the machining program PG at the timing of the time t1b. Only the module 5B is present, and the first machining module 5A enters the machining program PG in an unexecuted state. The numerical controller 1-3 performs a process of returning the information specifying the third machining program PG3 associated with the first machining module 5A in the machine operation data table 50 to a predetermined operation state.

さらに、数値制御装置1−3は、時刻t2のタイミングにおいて、操作盤4が第4の加工プログラムPG4が選択されたことを受け付け、機械操作を受け付けると、第4の加工プログラムPG4を実行中の第1の加工モジュール5Aに機械操作を行う。数値制御装置1−3は、時刻t2のタイミングにおいて、図22に示すように、第1の加工モジュール5Aと、第4の加工プログラムPG4と、機械操作の内容を示す情報とを関連付けて、機械操作データテーブル50に記憶する。実施の形態3において、数値制御装置1−3は、第4の加工プログラムPG4を選択した際に、送り速度オーバライドを60%にする機械操作を受け付ける。実施の形態3において、数値制御装置1−3は、図22に示す機械操作データテーブル50の第1の加工モジュール5Aに第4の加工プログラムPG4を特定する「PG4」と、機械操作である送り速度オーバライドを特定する情報である「60%」とを関連付けて格納する。また、数値制御装置1−3は、時刻t2のタイミングにおいて、第4の加工モジュール5Dに第2の加工プログラムPG2を関連付けて、機械操作データテーブル50に記憶する。   Further, the numerical control device 1-3 accepts that the fourth machining program PG4 is selected by the operation panel 4 at the timing of time t2, and when the machine operation is accepted, the numerical control device 1-3 is executing the fourth machining program PG4. Machine operation is performed on the first processing module 5A. As shown in FIG. 22, the numerical controller 1-3 associates the first machining module 5A, the fourth machining program PG4, and information indicating the contents of the machine operation with the machine at the timing of time t2. Store in the operation data table 50. In the third embodiment, the numerical controller 1-3 accepts a machine operation for setting the feed speed override to 60% when the fourth machining program PG4 is selected. In the third embodiment, the numerical controller 1-3 sends “PG4” that specifies the fourth machining program PG4 to the first machining module 5A of the machine operation data table 50 shown in FIG. “60%”, which is information specifying the speed override, is stored in association with each other. Further, the numerical control device 1-3 stores the second machining program PG2 in the machine operation data table 50 in association with the fourth machining module 5D at the timing of time t2.

最後に、数値制御装置1−3は、時刻t3のタイミングにおいて、操作盤4が第3の加工プログラムPG3が選択されたことを受け付け、機械操作を受け付けると、第3の加工プログラムPG3を実行中の第3の加工モジュール5C及び第4の加工モジュール5Dに機械操作を行う。数値制御装置1−3は、時刻t3のタイミングにおいて、図23に示すように、第3の加工モジュール5C及び第4の加工モジュール5Dと、第3の加工プログラムPG3と、機械操作の内容を示す情報とを関連付けて、機械操作データテーブル50に記憶する。実施の形態3において、数値制御装置1−3は、第3の加工プログラムPG3を選択した際に、送り速度オーバライドを100%にする機械操作を受け付ける。実施の形態3において、数値制御装置1−3は、図23に示す機械操作データテーブル50の第3の加工モジュール5C及び第4の加工モジュール5Dに第3の加工プログラムPG3を特定する「PG3」と、機械操作である送り速度オーバライドを特定する情報である「100%」とを関連付けて格納する。   Finally, at the timing of time t3, the numerical control device 1-3 accepts that the operation panel 4 has selected the third machining program PG3, and when the machine operation is accepted, the third machining program PG3 is being executed. Machine operation is performed on the third processing module 5C and the fourth processing module 5D. As shown in FIG. 23, the numerical controller 1-3 shows the third machining module 5C, the fourth machining module 5D, the third machining program PG3, and the contents of the machine operation at the time t3. The information is stored in the machine operation data table 50 in association with the information. In the third embodiment, the numerical controller 1-3 accepts a machine operation for setting the feed speed override to 100% when the third machining program PG3 is selected. In the third embodiment, the numerical controller 1-3 specifies “PG3” as the third machining program PG3 in the third machining module 5C and the fourth machining module 5D of the machine operation data table 50 shown in FIG. And “100%”, which is information specifying the feed speed override, which is a machine operation, is stored in association with each other.

以上説明したように、実施の形態3に係る数値制御装置1−3によれば、各系統処理部11−2から実行中である加工プログラムPGを特定する実行プログラム番号信号120を受け付け、加工プログラムPGが選択された際に実行した機械操作を記憶することで、並行して処理が実行されるワークWそれぞれに対して、加工プログラムPGを指定することで、別々の機械操作を行うことが可能となる。このため、数値制御装置1−3は、指定した機械操作を選択された加工プログラムPGを実行中の加工モジュール5に行うことができ、各加工モジュール5で加工されているワークWの種類を意識することなく、安全な操作ができるという効果を得ることができる。   As described above, according to the numerical controller 1-3 according to the third embodiment, the execution program number signal 120 that identifies the machining program PG being executed is received from each system processing unit 11-2, and the machining program is received. By storing the machine operation executed when PG is selected, it is possible to perform different machine operations by specifying the machining program PG for each workpiece W to be processed in parallel. It becomes. For this reason, the numerical controller 1-3 can perform the designated machine operation on the machining module 5 that is executing the selected machining program PG, and is conscious of the type of the workpiece W that is machined by each machining module 5. The effect that a safe operation can be performed can be obtained.

また、数値制御装置1−3は、機械操作データテーブル50を記憶することにより、各加工プログラムPGを選択して実行した機械操作を加工プログラムPGが加工を終了するまで継続的に適用することが可能となり、加工条件を一定に保つことによる面品位を一定に保つことが可能となる効果を奏する。   Further, the numerical control device 1-3 stores the machine operation data table 50 so that the machine operation selected and executed by each machining program PG can be continuously applied until the machining program PG finishes machining. This makes it possible to maintain the surface quality by keeping the machining conditions constant.

また、操作盤4が加工プログラムPGの選択を未受け付けの状態で、機械操作対象系統選択部22−3は、加工モジュール5が実行中の加工プログラムPGに関連付けられて機械操作データテーブル50に記憶された機械操作を、この機械操作に関連付けられた加工プログラムPGを実行中の全ての加工モジュール5に出力する。その結果、数値制御装置1−3は、操作盤4が加工プログラムPGの選択を未受け付けの状態で、機械操作データテーブル50に記憶された加工プログラムPGを実行中の全ての加工モジュール5に同じ加工を行わせることができる。   Further, in a state where the operation panel 4 has not accepted the selection of the machining program PG, the machine operation target system selection unit 22-3 stores the machine operation data table 50 in association with the machining program PG being executed by the machining module 5. The machine operation performed is output to all machining modules 5 that are executing the machining program PG associated with the machine operation. As a result, the numerical controller 1-3 is the same for all the machining modules 5 that are executing the machining program PG stored in the machine operation data table 50 in a state where the operation panel 4 has not accepted the selection of the machining program PG. Processing can be performed.

実施の形態4.
次に、実施の形態4に係る数値制御装置1−4を図面に基づいて説明する。図24は、実施の形態4に係る数値制御装置を備える加工設備の構成を示すブロック図である。なお、図24において、実施の形態1と同一部分には、同一符号を付して説明を省略する。
Embodiment 4 FIG.
Next, a numerical controller 1-4 according to Embodiment 4 will be described with reference to the drawings. FIG. 24 is a block diagram illustrating a configuration of a processing facility including the numerical control device according to the fourth embodiment. In FIG. 24, the same parts as those in the first embodiment are denoted by the same reference numerals, and description thereof is omitted.

実施の形態4に係る数値制御装置1−4を備える加工設備2−4は、図24に示すように、互いに独立した系統である工作機械3−4を複数備えること以外、実施の形態1に係る加工設備2−4と同一の構成である。実施の形態4に係る加工設備2−4は、系統である工作機械3−4を四つ備える。また、実施の形態4に係る加工設備2−4が備える数値制御装置1−4は、実施の形態1から実施の形態3に係る数値制御装置1,1−2,1−3のいずれかである。実施の形態4に係る数値制御装置1−4は、実施の形態1から実施の形態3と同様に、選択された加工プログラムPGを実行する工作機械3−4に対して機械操作を有効とするので、加工能率が低下することを抑制することができる。   As shown in FIG. 24, the machining equipment 2-4 including the numerical control device 1-4 according to the fourth embodiment has the same configuration as that of the first embodiment except that a plurality of machine tools 3-4 that are independent of each other are provided. It is the structure same as the processing equipment 2-4 which concerns. The processing equipment 2-4 according to the fourth embodiment includes four machine tools 3-4 that are systems. Further, the numerical control device 1-4 included in the processing equipment 2-4 according to the fourth embodiment is any one of the numerical control devices 1, 1-2, and 1-3 according to the first to third embodiments. is there. The numerical control device 1-4 according to the fourth embodiment validates the machine operation for the machine tool 3-4 that executes the selected machining program PG, as in the first to third embodiments. Therefore, it can suppress that processing efficiency falls.

次に、図25を用いて実施の形態1から実施の形態4に係る数値制御装置1,1−2,1−3,1−4を説明する。図25は、各実施の形態に係る数値制御装置のハードウエア構成を示す図である。各実施の形態に係る数値制御装置1,1−2,1−3,1−4は、OS(Operating System)60上でコンピュータプログラムを実行するコンピュータであって、図25に示すように、表示装置62と、記憶装置63と、CPU(Central Processing Unit)64と、RAM(Random Access Memory)65と、ROM(Read Only Memory)66と、通信インタフェース67と、を備える。CPU64、RAM65、ROM66、記憶装置63、表示装置62及び通信インタフェース67は、バスBを介して接続されている。   Next, numerical control devices 1, 1-2, 1-3, and 1-4 according to the first to fourth embodiments will be described with reference to FIG. FIG. 25 is a diagram illustrating a hardware configuration of the numerical control device according to each embodiment. The numerical control devices 1, 1-2, 1-3, and 1-4 according to the embodiments are computers that execute a computer program on an OS (Operating System) 60, and as shown in FIG. A device 62, a storage device 63, a CPU (Central Processing Unit) 64, a RAM (Random Access Memory) 65, a ROM (Read Only Memory) 66, and a communication interface 67 are provided. The CPU 64, RAM 65, ROM 66, storage device 63, display device 62, and communication interface 67 are connected via the bus B.

プログラム入力制御部12、系統処理部11,11−2、系統処理選択部21,21−2、及び機械操作対象系統選択部22,22−3の機能は、CPU64がRAM65を作業領域として使用しながら、ROM66及び記憶装置63に記憶されているプログラムを実行することにより実現される。プログラムは、ソフトウエア、ファームウエア、又はソフトウエアとファームウエアとの組み合わせにより実現される。実施の形態1及び実施の形態2において、記憶装置63は、SSD(Solid State Drive)又はHDD(Hard Disk Drive)であるが、記憶装置63は、SSD又はHDDに限定されない。メモリ10及び実施の形態3に係る数値制御装置1−3の機械操作対象系統選択部22−3の機械操作データテーブル50の機能は、ROM66及び記憶装置63により実現される。   The functions of the program input control unit 12, the system processing units 11 and 11-2, the system processing selection units 21 and 21-2, and the machine operation target system selection units 22 and 22-3 are performed by the CPU 64 using the RAM 65 as a work area. However, it is realized by executing a program stored in the ROM 66 and the storage device 63. The program is realized by software, firmware, or a combination of software and firmware. In the first and second embodiments, the storage device 63 is an SSD (Solid State Drive) or an HDD (Hard Disk Drive), but the storage device 63 is not limited to an SSD or an HDD. The functions of the machine operation data table 50 of the machine operation target system selection unit 22-3 of the memory 10 and the numerical controller 1-3 according to Embodiment 3 are realized by the ROM 66 and the storage device 63.

表示装置62は、文字及び画像を表示する。各実施の形態において、表示装置62は、液晶表示装置が例示される。通信インタフェース67は、操作盤4、加工モジュール5及び工作機械3と通信を行う。   The display device 62 displays characters and images. In each embodiment, the display device 62 is exemplified by a liquid crystal display device. The communication interface 67 communicates with the operation panel 4, the processing module 5, and the machine tool 3.

次に、図26及び図27を用いて実施の形態1から実施の形態4に係る数値制御装置1,1−2,1−3,1−4に接続した操作盤4を説明する。図26は、各実施の形態に係る数値制御装置に接続した操作盤のハードウエア構成の一例を示す図である。図27は、各実施の形態に係る数値制御装置に接続した操作盤のハードウエア構成の他の例を示す図である。   Next, the operation panel 4 connected to the numerical control devices 1, 1-2, 1-3, and 1-4 according to the first to fourth embodiments will be described with reference to FIGS. FIG. 26 is a diagram illustrating an example of a hardware configuration of an operation panel connected to the numerical control device according to each embodiment. FIG. 27 is a diagram illustrating another example of the hardware configuration of the operation panel connected to the numerical control device according to each embodiment.

図26に示された操作盤4は、入力装置41と、処理回路42と、通信インタフェース43とを備える。入力装置41は、ユーザからの操作入力を受け付ける。実施の形態1から実施の形態4において、入力装置41は、複数のオンオフスイッチ及びダイヤルスイッチにより構成されるが、入力装置41の構成は、複数のオンオフスイッチ及びダイヤルスイッチに限定されない。   The operation panel 4 shown in FIG. 26 includes an input device 41, a processing circuit 42, and a communication interface 43. The input device 41 receives an operation input from a user. In the first to fourth embodiments, the input device 41 includes a plurality of on / off switches and dial switches. However, the configuration of the input device 41 is not limited to the plurality of on / off switches and dial switches.

処理回路42は、入力装置41の操作入力を加工プログラム選択信号301及び機械操作信号300に変換する専用のハードウエア即ち論理回路により構成される。処理回路 42は、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、又はこれらを組み合わせたものにより構成される。   The processing circuit 42 is configured by dedicated hardware, that is, a logic circuit that converts an operation input of the input device 41 into a machining program selection signal 301 and a machine operation signal 300. The processing circuit 42 is configured by a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a combination thereof. .

通信インタフェース43は、数値制御装置1,1−2,1−3,1−4と通信を行う。通信インタフェース43は、数値制御装置1,1−2,1−3,1−4に加工プログラム選択信号301及び機械操作信号300を出力する。   The communication interface 43 communicates with the numerical control devices 1, 1-2, 1-3, 1-4. The communication interface 43 outputs a machining program selection signal 301 and a machine operation signal 300 to the numerical controllers 1, 1-2, 1-3, 1-4.

図27に示された操作盤4は、図26に示され操作盤4の処理回路42の代わりに、演算装置42aとメモリ42bとを備える。なお、図27は、図26と同一部分に同一符号を付して説明を省略する。演算装置42aは、メモリ42bに記憶されたプログラムを読み出して実行することにより、入力装置42aの操作入力を加工プログラム選択信号301及び機械操作信号300に変換する。メモリ42bに記憶されたプログラムは、ソフトウエア、ファームウエア、又はソフトウエアとファームウエアとの組み合わせにより実現される。ソフトウエア、及びファームウエアは、プログラムとして記述され、メモリ42bに格納される。メモリ42bに記憶されるプログラムは、操作盤4の処理をコンピュータに実行させるものであるともいえる。ここで、演算装置42aは、中央処理装置(CPU)、処理装置、マイクロプロセッサ(Microprocessor)、マイクロコンピュータ(Microcomputer)、プロセッサ(Processor)、又はデジタルシグナルプロセッサ(Digital Signal Processor:DSP)である。メモリ42bは、不揮発性又は揮発性の半導体メモリ、磁気ディスク、光ディスク、又は光磁気ディスクが該当する。半導体メモリは、RAM、ROM、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、又はEEPROM(Electrically Erasable Programmable Read-Only Memory)である。   The operation panel 4 shown in FIG. 27 includes an arithmetic device 42a and a memory 42b instead of the processing circuit 42 of the operation panel 4 shown in FIG. In FIG. 27, the same parts as those in FIG. The arithmetic device 42a converts the operation input of the input device 42a into the machining program selection signal 301 and the machine operation signal 300 by reading and executing the program stored in the memory 42b. The program stored in the memory 42b is realized by software, firmware, or a combination of software and firmware. The software and firmware are described as programs and stored in the memory 42b. It can be said that the program stored in the memory 42b causes the computer to execute the processing of the operation panel 4. Here, the arithmetic unit 42a is a central processing unit (CPU), a processing unit, a microprocessor, a microcomputer, a processor, or a digital signal processor (DSP). The memory 42b corresponds to a nonvolatile or volatile semiconductor memory, a magnetic disk, an optical disk, or a magneto-optical disk. The semiconductor memory is a RAM, ROM, flash memory, EPROM (Erasable Programmable Read Only Memory), or EEPROM (Electrically Erasable Programmable Read Only Memory).

以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。   The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

1,1−2,1−3,1−4 数値制御装置、3−4 工作機械(系統)、4 操作盤、5,5A,5B,5C,5D 加工モジュール(系統)、11,11−2,11A−2,11B−2,11C−2,11D−2 系統処理部、20,20−2,20−3 設定手段、21,21−2 系統処理選択部、22,22−3 機械操作対象系統選択部、120 実行プログラム番号信号(実行中の加工プログラムを特定する信号)、50 機械操作データテーブル、300 機械操作信号(機械操作を実行する信号)、301 加工プログラム選択信号(選択された加工プログラムを特定する信号)、PG,PG1,PG2,PG3,PG4 加工プログラム。   1, 1-2, 1-3, 1-4 Numerical control device, 3-4 Machine tool (system), 4 operation panel, 5, 5A, 5B, 5C, 5D Machining module (system), 11, 11-2 , 11A-2, 11B-2, 11C-2, 11D-2 System processing unit, 20, 20-2, 20-3 setting means, 21, 21-2 System processing selection unit, 22, 22-3 Machine operation target System selection unit, 120 execution program number signal (signal for specifying the machining program being executed), 50 machine operation data table, 300 machine operation signal (signal for executing machine operation), 301 machining program selection signal (selected machining) Program specifying signal), PG, PG1, PG2, PG3, PG4 Machining program.

Claims (5)

加工プログラムに基づいて、複数の系統を制御する多系統数値制御装置であって、
操作盤で機械操作の対象として選択された加工プログラムを実行する系統に対して、前記操作盤が受け付けた機械操作を有効とする設定手段を備える
ことを特徴とする数値制御装置。
A multi-system numerical control device that controls a plurality of systems based on a machining program,
A numerical control apparatus comprising: setting means for validating a machine operation received by the operation panel for a system that executes a machining program selected as a machine operation target on the operation panel.
前記系統に対応して設けられ、前記加工プログラムに基づいて前記対応する系統の制御を行う系統処理部を複数備え、
前記設定手段は、
前記選択された加工プログラムを特定する信号と、全ての加工プログラムの内容とに基づいて、前記選択された加工プログラムを実行する系統を抽出する系統処理選択部と、
前記系統処理選択部が抽出した系統に対応する系統処理部に前記操作盤が受け付けた機械操作を実行する信号を出力する機械操作対象系統選択部と、
を備えることを特徴とする請求項1に記載の数値制御装置。
Provided in correspondence with the system, comprising a plurality of system processing units for controlling the corresponding system based on the machining program,
The setting means includes
A system processing selection unit for extracting a system for executing the selected machining program based on a signal for identifying the selected machining program and the contents of all the machining programs;
A machine operation target system selection unit that outputs a signal for executing the machine operation accepted by the operation panel to a system processing unit corresponding to the system extracted by the system processing selection unit;
The numerical control apparatus according to claim 1, comprising:
加工プログラムに基づいて、複数の系統を制御する多系統数値制御装置であって、
操作盤で機械操作の対象として選択された加工プログラムを実行中の系統に対して、前記操作盤が受け付けた機械操作を有効とする設定手段を備える
ことを特徴とする数値制御装置。
A multi-system numerical control device that controls a plurality of systems based on a machining program,
A numerical control apparatus comprising: setting means for validating a machine operation accepted by the operation panel for a system that is executing a machining program selected as a machine operation target on the operation panel.
前記系統に対応して設けられ、前記加工プログラムに基づいて前記対応する系統の制御を行うとともに前記対応する系統が実行中の加工プログラムを特定する信号を出力する系統処理部を複数備え、
前記設定手段は、
前記選択された加工プログラムを特定する信号と、前記複数の系統処理部それぞれが出力した前記実行中の加工プログラムを特定する信号とに基づいて、前記選択された加工プログラムを実行中の系統を抽出する系統処理選択部と、
前記系統処理選択部が抽出した系統に対応する系統処理部に前記操作盤が受け付けた機械操作を実行する信号を出力する機械操作対象系統選択部と、
を備えることを特徴とする請求項3に記載の数値制御装置。
Provided in correspondence with the system, a plurality of system processing units for controlling the corresponding system based on the machining program and outputting a signal identifying the machining program being executed by the corresponding system,
The setting means includes
Based on a signal for identifying the selected machining program and a signal for identifying the machining program being executed output by each of the plurality of system processing units, a system that is executing the selected machining program is extracted. A system processing selection unit to
A machine operation target system selection unit that outputs a signal for executing the machine operation accepted by the operation panel to a system processing unit corresponding to the system extracted by the system processing selection unit;
The numerical control apparatus according to claim 3, further comprising:
前記機械操作対象系統選択部は、
各系統毎に、前記選択された加工プログラムと、実行された機械操作とを関連付けて記憶する機械操作データテーブルを備え、
前記操作盤が前記加工プログラムの選択を未受け付けの状態で、前記機械操作データテーブルから前記複数の系統処理部それぞれが出力した前記実行中の加工プログラムに一致する加工プログラムを抽出し、前記機械操作データテーブルにおいて前記一致する加工プログラムに関連付けられた前記機械操作を実行する信号を、前記一致する加工プログラムを実行中の系統に出力する
ことを特徴とする請求項4に記載の数値制御装置。
The machine operation target system selection unit,
A machine operation data table that stores the selected machining program and the executed machine operation in association with each other,
In a state where the operation panel has not accepted the selection of the machining program, a machining program that matches the running machining program output by each of the plurality of system processing units is extracted from the machine operation data table, The numerical control device according to claim 4, wherein a signal for executing the machine operation associated with the matching machining program in a data table is output to a system that is executing the matching machining program.
JP2016570062A 2016-05-09 2016-05-09 Numerical controller Active JP6125123B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/063790 WO2017195259A1 (en) 2016-05-09 2016-05-09 Numerical control device

Publications (2)

Publication Number Publication Date
JP6125123B1 true JP6125123B1 (en) 2017-05-10
JPWO2017195259A1 JPWO2017195259A1 (en) 2018-05-31

Family

ID=58704712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016570062A Active JP6125123B1 (en) 2016-05-09 2016-05-09 Numerical controller

Country Status (3)

Country Link
JP (1) JP6125123B1 (en)
CN (1) CN107592920B (en)
WO (1) WO2017195259A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10921783B2 (en) 2017-12-18 2021-02-16 Mitsubishi Electric Corporation Numerical control device
DE112021001152T5 (en) * 2020-02-20 2022-12-22 Fanuc Corporation Numerical control device
JP7033685B1 (en) 2021-05-14 2022-03-10 Dmg森精機株式会社 Machine Tools

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4078195A (en) * 1976-01-13 1978-03-07 Macotech Corporation Adaptive control system for numerically controlled machine tools
JPH04324502A (en) * 1991-04-24 1992-11-13 Okuma Mach Works Ltd Numerical controller for controlling program synchronization between multiple systems
JPH05324046A (en) * 1992-05-18 1993-12-07 Mitsubishi Electric Corp Method and device for numerically controlling multiple system
JP2004318762A (en) * 2003-04-21 2004-11-11 Fanuc Ltd Numerical control device
JP2016162205A (en) * 2015-03-02 2016-09-05 ファナック株式会社 Control device capable of centralized management of control by grouping multiple systems

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101288032B (en) * 2005-12-26 2010-06-02 三菱电机株式会社 Digital control device and digital controlled working machine
WO2008012884A1 (en) * 2006-07-26 2008-01-31 Mitsubishi Electric Corporation Numeric value control device
WO2010109536A1 (en) * 2009-03-27 2010-09-30 三菱電機株式会社 Numerical control device and method of controlling the numerical control device
JP5949537B2 (en) * 2012-12-27 2016-07-06 ブラザー工業株式会社 Numerical controller
US20150346714A1 (en) * 2013-01-30 2015-12-03 Mitsubishi Electric Corporation Numerical control device
CN104503366B (en) * 2014-11-24 2017-04-26 上海拓璞数控科技有限公司 Dynamic mutex control method for six-coordinate system movement

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4078195A (en) * 1976-01-13 1978-03-07 Macotech Corporation Adaptive control system for numerically controlled machine tools
JPH04324502A (en) * 1991-04-24 1992-11-13 Okuma Mach Works Ltd Numerical controller for controlling program synchronization between multiple systems
JPH05324046A (en) * 1992-05-18 1993-12-07 Mitsubishi Electric Corp Method and device for numerically controlling multiple system
JP2004318762A (en) * 2003-04-21 2004-11-11 Fanuc Ltd Numerical control device
JP2016162205A (en) * 2015-03-02 2016-09-05 ファナック株式会社 Control device capable of centralized management of control by grouping multiple systems

Also Published As

Publication number Publication date
CN107592920B (en) 2019-03-08
WO2017195259A1 (en) 2017-11-16
JPWO2017195259A1 (en) 2018-05-31
CN107592920A (en) 2018-01-16

Similar Documents

Publication Publication Date Title
JP6310076B2 (en) Control system for controlling the operation of numerically controlled machine tools, and backend and frontend control devices for use in such a system
JP6125123B1 (en) Numerical controller
US9310799B2 (en) Numerical controller having function of operation based on table format data
JP4097670B2 (en) Monitor device for machine tools
US9904278B2 (en) Numerical controller capable of performing axis control routine of a plurality of axes in distributed manner
JP2013012051A (en) Machine control program formulating device
JP2010086553A (en) Method for preparing, processing and maintaining tool data
JP2019025562A (en) Robot control device and production system
JPS63181005A (en) Parallel processing method for numerical controller
US10866577B2 (en) Numerical controller
JP5295061B2 (en) Programmable controller
JP6638979B2 (en) Numerical control device with machining process management function and machining process management program
US20120109361A1 (en) Program converting module for multi-axis coordinated machines and program-converting method
JP5215446B2 (en) Gear machine control device
WO2017101700A1 (en) Computer aided manufacturing method, device and system in direct communication with numerical control system
JP2010523345A (en) Control of machine tools including tool magazines and intermediate storage stations
JP2004086306A (en) Multiple system numerical controller
CN114365048B (en) Numerical control device
JP2006313559A (en) Operation method of numerical control machine tool equipment
JPS63311408A (en) Numerical controller
JP2009110223A (en) Numerical control device, numerical control program, and storage medium storing numerical control program
JPS58109905A (en) Robot controlling system
WO2023199408A1 (en) Numerical control device, and computer-readable storage medium
CN113009874B (en) Control method and device for twisting experimental equipment, electronic equipment and medium
JP2018129066A (en) Control system for controlling operation of numerical control machine tool, and back-end and front-end controllers for using the control system

Legal Events

Date Code Title Description
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20170228

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: 20170307

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170404

R150 Certificate of patent or registration of utility model

Ref document number: 6125123

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250