JP2002123308A - Numerically controlled lathe, and device and method of controlling the same - Google Patents

Numerically controlled lathe, and device and method of controlling the same

Info

Publication number
JP2002123308A
JP2002123308A JP2000314096A JP2000314096A JP2002123308A JP 2002123308 A JP2002123308 A JP 2002123308A JP 2000314096 A JP2000314096 A JP 2000314096A JP 2000314096 A JP2000314096 A JP 2000314096A JP 2002123308 A JP2002123308 A JP 2002123308A
Authority
JP
Japan
Prior art keywords
program
description
program description
axis
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000314096A
Other languages
Japanese (ja)
Inventor
Tadashi Fujinawa
正 藤縄
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.)
Citizen Watch Co Ltd
Original Assignee
Citizen Watch Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Citizen Watch Co Ltd filed Critical Citizen Watch Co Ltd
Priority to JP2000314096A priority Critical patent/JP2002123308A/en
Publication of JP2002123308A publication Critical patent/JP2002123308A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable an NC device for a multi-system NC lathe to execute the processing program of a desired system without inputting any command to systems whose operations are not controlled. SOLUTION: In the RAM of the NC device, multiple program description areas individually corresponding to multiple systems of the NC lathe are set. A CPU retrieves the description contents of an inputted processing program (S3 to S8), specifies the system corresponding to a program description area judged to include the description of the command as a system whose operation is controlled by the processing program, and specifies the number of systems like it (S9 to S11). Then, the CPU enables operation control over the specified system (S13). For the purpose, when the CPU processes the processing program, an operation start signal is outputted to a servo control part first only for the system specified at S9 to S11.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数の系統におけ
る制御下で動作可能な少なくとも1つの主軸及び少なく
とも1つの刃物台を有する多機能型の数値制御旋盤、並
びにこの数値制御旋盤に組み込まれる制御装置に関す
る。さらに本発明は、そのような数値制御旋盤の制御方
法に関する。
The present invention relates to a multifunctional numerically controlled lathe having at least one spindle and at least one tool post operable under control in a plurality of systems, and a control incorporated in the numerically controlled lathe. Related to the device. Further, the present invention relates to a control method of such a numerically controlled lathe.

【0002】[0002]

【従来の技術】近年、数値制御旋盤(以下、NC旋盤と
称する)に代表される自動旋盤(すなわち自動加工可能
な旋盤)の分野では、棒状の被加工素材(以下、棒材と
称する)から一層複雑な形状の工作物を加工できるよう
にするために、回転工具を含む多種類の工具を刃物台に
装備して、旋削加工に加え、フライス加工等の多様な自
動加工を実施可能とする複合機械化が進められている。
さらに、加工時間の短縮を図るべく、1つの旋盤機台
に、複数の系統における制御下で動作可能な少なくとも
1つの主軸及び少なくとも1つの刃物台を集約的に搭載
し、同一棒材に対する異種(例えば外径削りと中ぐり)
同時加工や、異なる棒材に対する同時加工を実施できる
ようにした多機能型のNC旋盤が、種々提案されてい
る。なお、「系統」という用語は、1つの加工プログラ
ムで制御する制御軸群の組合せ(制御軸が1つしか無い
場合も含む)を意味するものであり、1台のNC工作機
械上でそのような制御軸群の組合せを複数種類設定でき
る場合、このNC工作機械における制御方式を一般に
「多系統制御 (multi-path control) 」と称する。
2. Description of the Related Art In recent years, in the field of automatic lathes (ie, lathes capable of automatic machining) represented by numerically controlled lathes (hereinafter referred to as NC lathes), bar-shaped workpieces (hereinafter, referred to as bar materials) are used. Equipped with various types of tools, including rotating tools, on the turret to enable machining of workpieces with more complex shapes, enabling various automatic machining operations such as milling in addition to turning. Combined mechanization is in progress.
Further, in order to shorten the processing time, at least one spindle and at least one tool post operable under control of a plurality of systems are collectively mounted on one lathe machine base, and different types of the same bar material are used. (For example, outer diameter cutting and boring)
Various multifunctional NC lathes capable of performing simultaneous processing and simultaneous processing on different bars have been proposed. Note that the term “system” means a combination of control axis groups controlled by one machining program (including a case where there is only one control axis), and such a combination is performed on one NC machine tool. If a plurality of combinations of control axis groups can be set, this control method in the NC machine tool is generally referred to as "multi-path control".

【0003】この種の多機能型NC旋盤では、各主軸及
び各刃物台の動作は通常、それらが所属可能な系統毎に
類別して制御装置(以下、NC装置と称する)に入力さ
れる加工プログラムに従って制御される。この加工プロ
グラムの作成に際し、NC旋盤に付設された操作盤を介
して各種データをNC装置に手動入力する場合、操作盤
の表示画面には一般に、系統毎の加工プログラムがそれ
ぞれにまとまったブロック列として記述され、それらブ
ロック列が、系統毎に類別して画面上に直列又は並列に
用意された複数のプログラム記述領域にそれぞれ表示さ
れる。
In this type of multi-function NC lathe, the operation of each spindle and each tool post is usually classified into systems to which they belong and input to a control device (hereinafter referred to as an NC device). Controlled according to the program. When various data are manually input to the NC device via the operation panel attached to the NC lathe when creating this processing program, the display screen of the operation panel generally includes a block sequence in which the processing program for each system is put together. These block strings are displayed on a screen in a plurality of program description areas prepared in series or in parallel on a screen.

【0004】ところで従来、多機能型NC旋盤のメーカ
は一般に、操作盤の表示画面に用意される上記した複数
のプログラム記述領域には、それぞれに対応して予め定
められた系統の加工プログラムしか記述できないよう
に、NC装置のソフトウエアを作成していた。また、従
来の多機能型NC旋盤のNC装置は、一般に、対応の系
統における実際の動作制御の有無に関わらず、全てのプ
ログラム記述領域に何らかの指令を記述しなければ、旋
盤が作動しないように構成されていた。図7は、そのよ
うな従来のNC装置における加工プログラム記述例を示
す。
Conventionally, a maker of a multi-function NC lathe generally describes only a machining system of a predetermined system corresponding to each of the plurality of program description areas prepared on a display screen of an operation panel. In order to prevent this, the software for the NC unit was created. In general, the NC device of the conventional multi-function NC lathe generally prevents the lathe from operating unless any command is described in all program description areas regardless of whether or not actual operation control is performed in the corresponding system. Was composed. FIG. 7 shows a description example of a machining program in such a conventional NC device.

【0005】図7は、旋盤機台上に複数(例えば2つ)
の主軸と複数(例えば2つ)の刃物台とを動作制御可能
に搭載した3系統の従来のNC旋盤において、NC装置
の操作盤の表示画面に並列に表示される3つのプログラ
ム記述領域$1、$2及び$3を示す。これらプログラ
ム記述領域$1、$2及び$3は、それぞれが第1の系
統(すなわち系統1)、第2の系統(すなわち系統2)
及び第3の系統(すなわち系統3)に対応して用意され
たものであり、操作盤で入力される各系統1、2、3の
加工プログラムが対応の各プログラム記述領域$1、$
2、$3に個別に記述されるようになっている。
FIG. 7 shows a plurality of (for example, two) on a lathe machine base.
In three conventional NC lathes equipped with a main spindle and a plurality of (for example, two) tool rests so as to be controllable, three program description areas # 1 displayed in parallel on a display screen of an operation panel of the NC device # 1 , # 2 and # 3. These program description areas # 1, # 2 and # 3 are respectively composed of a first system (namely, system 1) and a second system (namely, system 2).
And the third system (that is, system 3), and the machining programs of the systems 1, 2, and 3, which are input from the operation panel, correspond to the corresponding program description areas {1, #}.
2, $ 3 are described separately.

【0006】図示のプログラム記述例は、対象部品の加
工に必要とされる種々の工具に関連する加工動作を1つ
の系統(系統1)のみで制御可能な場合のものであっ
て、実質的な加工プログラムは系統1に対応するプログ
ラム記述領域$1だけに記述されている。そして他のプ
ログラム記述領域$2、$3には、それぞれに対応する
系統2、3で動作制御を行わないので、工具指定等の実
質的加工プログラムを含まない形式的な制御ブロック列
が記述されている。これらの形式的制御ブロック列は、
系統2及び3では動作制御を実施しないことを明らかに
するための指令(例えばコードG710、G730)を
含み、それにより、系統1での加工プログラムの実行を
可能にするものである。すなわち、このような指令を含
む制御ブロック列がプログラム記述領域$2、$3に記
述されていない場合には、従来のNC装置のソフトウエ
アでは、系統2、3における所要の指令を待ち続けるた
めに系統1が待機状態になり、結果として系統1での加
工プログラムが実行できないことになる。
[0006] The illustrated program description example shows a case in which machining operations related to various tools required for machining a target part can be controlled by only one system (system 1). The machining program is described only in the program description area # 1 corresponding to the system 1. In the other program description areas # 2 and # 3, since no operation control is performed in the corresponding systems 2 and 3, a formal control block sequence that does not include a substantial machining program such as a tool specification is described. ing. These formal control block sequences are:
The systems 2 and 3 include a command (for example, codes G710 and G730) for clarifying that the operation control is not performed, thereby enabling the execution of the machining program in the system 1. That is, when the control block sequence including such a command is not described in the program description areas # 2 and # 3, the software of the conventional NC device continues to wait for a required command in the systems 2 and 3. Then, the system 1 enters the standby state, and as a result, the machining program in the system 1 cannot be executed.

【0007】[0007]

【発明が解決しようとする課題】上記したように、従来
のNC装置では、複数の系統を有するNC旋盤におい
て、対象部品の加工工程中に、例えば要求される加工内
容及び工具種類に応じて、加工に関連する動作制御を全
く実施しない系統が存在している場合、その系統に対応
するプログラム記述領域にも何らかの(例えば動作制御
を実施しないことを明らかにする)指令を入力しない限
り、動作制御を実施しようとする系統での加工プログラ
ムを実行できないようになっていた。したがって、オペ
レータによる入力作業が煩雑になり、入力時間が徒に長
くなるとともに、記述漏れ等の入力ミス及びそれによる
機械の誤作動が生じ易くなる傾向があった。またこの場
合、NC装置は、動作制御を実施しない系統に対して
も、入力された形式的な指令に従った処理を実行するの
で、全体として加工プログラムの実行時間が長くなる懸
念があった。
As described above, in the conventional NC apparatus, in an NC lathe having a plurality of systems, during the machining process of a target part, for example, according to the required machining content and tool type, If there is a system that does not perform any operation control related to machining, operation control is performed unless a command (for example, clarifying that operation control is not performed) is also input to the program description area corresponding to the system. It was impossible to execute the machining program in the system where the system was to be executed. Therefore, the input operation by the operator is complicated, the input time is unnecessarily long, and an input error such as omission of description and a malfunction of the machine due to the input error tend to occur. Also, in this case, the NC device executes the processing in accordance with the input formal command even for a system in which the operation control is not performed, so that there is a concern that the execution time of the machining program becomes longer as a whole.

【0008】さらに、上記した従来のNC装置の構成で
は、特定の系統数に対応するソフトウエアを有するNC
装置で作成した加工プログラムを、そのままの記述内容
で、系統数が異なる種々のNC旋盤に対し、汎用的に用
いることはできなかった。例えば、2系統のNC旋盤に
装備されるNC装置で作成した2系統の加工プログラム
を、そのままの記述内容で、3系統のNC旋盤に装備さ
れるNC装置に入力した場合には、いかなる指令も記述
しないプログラム記述領域が生じるので、前述したよう
に、動作制御を実施しようとする系統が待機状態となっ
て加工プログラムを実行できないことになっていた。
Further, in the configuration of the above-described conventional NC device, the NC device having software corresponding to a specific number of systems is provided.
The machining program created by the apparatus could not be used for various NC lathes having different numbers of systems for general purposes with the same description contents. For example, if a two-system machining program created by an NC device equipped on a two-system NC lathe is input to an NC device equipped on a three-system NC lathe with the same description, no command is issued. Since there is a program description area that is not described, as described above, the system for which operation control is to be performed is in a standby state and cannot execute the machining program.

【0009】したがって本発明の目的は、複数の系統を
有する多機能型のNC旋盤に組み込まれるNC装置にお
いて、NC旋盤で動作制御を実施しない系統がある場合
にも、その系統に関するいかなる指令も入力することな
く、所望の系統での加工プログラムを実行でき、以っ
て、オペレータによる入力作業が容易で入力時間及びプ
ログラム実行時間を短縮できるNC装置を提供すること
にある。
Therefore, an object of the present invention is to provide an NC device incorporated in a multi-function NC lathe having a plurality of systems, even if there is a system in which operation control is not performed by the NC lathe, to input any command relating to the system. It is therefore an object of the present invention to provide an NC apparatus which can execute a machining program in a desired system without performing the operation, thereby facilitating an input operation by an operator and reducing an input time and a program execution time.

【0010】本発明の他の目的は、そのようなNC装置
を組み込んで備える多系統のNC旋盤であって、複数の
系統から任意に選択した系統のみに関して記述された指
令に従って加工作業を実施でき、以って加工プログラム
の汎用的使用及びプログラム作成作業の簡略化を実現で
きるNC旋盤を提供することにある。本発明のさらに他
の目的は、そのようなNC旋盤の制御方法を提供するこ
とにある。
[0010] Another object of the present invention is a multi-system NC lathe provided with such an NC device incorporated therein, and capable of performing a machining operation in accordance with a command described only for a system arbitrarily selected from a plurality of systems. Accordingly, it is an object of the present invention to provide an NC lathe capable of realizing general-purpose use of a machining program and simplifying a program creation operation. Still another object of the present invention is to provide a method for controlling such an NC lathe.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明は、旋盤機台と、旋盤機台上
に設置される少なくとも1つの主軸と、旋盤機台上に設
置される少なくとも1つの刃物台と、旋盤機台上での少
なくとも1つの主軸及び少なくとも1つの刃物台の動作
を、複数の系統において制御する制御装置とを具備し、
制御装置が、複数の系統のそれぞれに個別に対応する複
数のプログラム記述領域を有する記憶部と、記憶部の複
数のプログラム記述領域に記述された指令を読み取って
処理する処理部とを備えて構成される数値制御旋盤にお
いて、制御装置の処理部は、記憶部の複数のプログラム
記述領域の各々における指令の記述の有無を判断して、
複数の系統のうち、指令の記述が有るプログラム記述領
域に対応する系統だけを、指令に従い動作制御できる状
態にすること、を特徴とする数値制御旋盤を提供する。
According to one aspect of the present invention, there is provided a lathe machine, at least one main shaft installed on the lathe machine, and a lathe machine. At least one tool post to be installed, and a control device for controlling the operation of at least one spindle and at least one tool post on a lathe machine base in a plurality of systems,
The control device includes: a storage unit having a plurality of program description areas individually corresponding to a plurality of systems; and a processing unit configured to read and process commands described in the plurality of program description areas of the storage unit. In the numerical control lathe to be performed, the processing unit of the control device determines the presence or absence of the description of the command in each of the plurality of program description areas of the storage unit,
A numerical control lathe characterized in that only a system corresponding to a program description area having a description of a command among a plurality of systems is placed in a state where operation can be controlled in accordance with the command.

【0012】請求項2に記載の発明は、請求項1に記載
の数値制御旋盤において、制御装置の処理部は、指令の
記述が有るプログラム記述領域に対応する系統の動作起
動信号を出力する数値制御旋盤を提供する。請求項3に
記載の発明は、請求項1又は2に記載の数値制御旋盤に
おいて、制御装置の処理部は、複数の系統のうち、指令
の記述が無いプログラム記述領域に対応する系統を動作
制御できない状態にする数値制御旋盤を提供する。請求
項4に記載の発明は、請求項3に記載の数値制御旋盤に
おいて、制御装置の処理部は、指令の記述が無いプログ
ラム記述領域に対応する系統の動作起動信号を出力しな
い数値制御旋盤を提供する。
According to a second aspect of the present invention, in the numerical control lathe according to the first aspect, the processing unit of the control device outputs an operation start signal of a system corresponding to a program description area having a command description. Provide a control lathe. According to a third aspect of the present invention, in the numerical control lathe according to the first or second aspect, the processing unit of the control device performs operation control of a system corresponding to a program description area having no instruction description among a plurality of systems. Provide a numerically controlled lathe that cannot be used. According to a fourth aspect of the present invention, in the numerical control lathe according to the third aspect, the processing unit of the control device includes a numerical control lathe that does not output an operation start signal of a system corresponding to a program description area having no instruction. provide.

【0013】請求項5に記載の発明は、請求項1〜4の
いずれか1項に記載の数値制御旋盤において、制御装置
の処理部は、指令の記述が有るプログラム記述領域が複
数個存在すると判断したときに、複数個のプログラム記
述領域に記述された指令同士の整合性をさらに判断する
数値制御旋盤を提供する。請求項6に記載の発明は、請
求項5に記載の数値制御旋盤において、制御装置の処理
部は、複数個のプログラム記述領域に記述されたそれぞ
れの指令の間で互いに関連するコードを検索することに
より整合性を判断する数値制御旋盤を提供する。
According to a fifth aspect of the present invention, in the numerical control lathe according to any one of the first to fourth aspects, the processing unit of the control device includes a plurality of program description areas in which instruction descriptions are present. Provided is a numerically controlled lathe that, when determined, further determines the consistency between commands described in a plurality of program description areas. According to a sixth aspect of the present invention, in the numerical control lathe according to the fifth aspect, the processing unit of the control device searches for a code related to each other among the instructions described in the plurality of program description areas. To provide a numerically controlled lathe that determines consistency.

【0014】請求項7に記載の発明は、複数の系統を有
する数値制御旋盤の、複数の系統のそれぞれに個別に対
応可能な複数のプログラム記述領域を有する記憶部と、
記憶部の複数のプログラム記述領域に記述された指令を
読み取って処理する処理部とを具備する制御装置におい
て、処理部は、記憶部の複数のプログラム記述領域の各
々における指令の記述の有無を判断して、数値制御旋盤
の複数の系統のうち、指令の記述が有るプログラム記述
領域に対応可能な系統だけを、指令に従い動作制御でき
る状態にすること、を特徴とする制御装置を提供する。
[0014] According to a seventh aspect of the present invention, there is provided a numerical control lathe having a plurality of systems, a storage unit having a plurality of program description areas individually corresponding to the plurality of systems,
A processing unit that reads and processes the instructions described in the plurality of program description areas of the storage unit, wherein the processing unit determines whether or not the instructions are described in each of the plurality of program description areas of the storage unit The present invention provides a control device characterized in that, out of a plurality of systems of a numerically controlled lathe, only a system that can correspond to a program description area having a description of a command is placed in a state where operation can be controlled in accordance with the command.

【0015】請求項8に記載の発明は、請求項7に記載
の制御装置において、処理部は、指令の記述が有るプロ
グラム記述領域に対応可能な系統の動作起動信号を出力
する制御装置を提供する。請求項9に記載の発明は、請
求項7又は8に記載の制御装置において、処理部は、数
値制御旋盤の複数の系統のうち、指令の記述が無いプロ
グラム記述領域に対応可能な系統を動作制御できない状
態にする制御装置を提供する。請求項10に記載の発明
は、請求項9に記載の制御装置において、処理部は、指
令の記述が無いプログラム記述領域に対応可能な系統の
動作起動信号を出力しない制御装置を提供する。
According to an eighth aspect of the present invention, there is provided the control device according to the seventh aspect, wherein the processing unit outputs an operation start signal of a system that can correspond to a program description area having a description of a command. I do. According to a ninth aspect of the present invention, in the control device according to the seventh or eighth aspect, the processing unit operates a system that can correspond to a program description area having no instruction description among a plurality of systems of the numerical control lathe. Provided is a control device for making the control impossible. According to a tenth aspect of the present invention, there is provided the control device according to the ninth aspect, wherein the processing unit does not output an operation start signal of a system that can correspond to a program description area having no instruction description.

【0016】請求項11に記載の発明は、請求項7〜1
0のいずれか1項に記載の制御装置において、処理部
は、指令の記述が有るプログラム記述領域が複数個存在
すると判断したときに、複数個のプログラム記述領域に
記述された指令同士の整合性をさらに判断する制御装置
を提供する。請求項12に記載の発明は、請求項11に
記載の制御装置において、処理部は、複数個のプログラ
ム記述領域に記述されたそれぞれの指令の間で互いに関
連するコードを検索することにより整合性を判断する制
御装置を提供する。
The invention according to claim 11 is the invention according to claims 7-1.
0, when the processing unit determines that there are a plurality of program description areas in which the description of the command exists, the processing unit matches the command described in the plurality of program description areas. Is provided. According to a twelfth aspect of the present invention, in the control device according to the eleventh aspect, the processing unit searches for a code related to each other among the instructions described in the plurality of program description areas, thereby ensuring consistency. Is provided.

【0017】請求項13に記載の発明は、複数の系統に
おける制御下で動作可能な少なくとも1つの主軸及び少
なくとも1つの刃物台を有する数値制御旋盤の制御方法
であって、複数の系統のそれぞれに個別に対応する複数
のプログラム記述領域を有する記憶部を備える制御装置
を用意し、制御装置の記憶部の複数のプログラム記述領
域の各々における指令の記述の有無を判断し、複数の系
統のうち、指令の記述が有ると判断されたプログラム記
述領域に対応する系統だけを、指令に従い動作制御でき
る状態にすること、を特徴とする制御方法を提供する。
According to a thirteenth aspect of the present invention, there is provided a method of controlling a numerically controlled lathe having at least one spindle and at least one tool post operable under control in a plurality of systems, wherein each of the plurality of systems includes Prepare a control device including a storage unit having a plurality of individually corresponding program description areas, determine the presence or absence of the description of the command in each of the plurality of program description areas of the storage unit of the control device, among a plurality of systems, There is provided a control method characterized in that only a system corresponding to a program description area determined to have a description of a command is placed in a state where operation can be controlled according to the command.

【0018】請求項14に記載の発明は、請求項13に
記載の制御方法において、指令の記述が有ると判断され
たプログラム記述領域に対応する系統だけを動作制御で
きる状態にする段階が、この系統の動作起動信号を出力
することを含む制御方法を提供する。請求項15に記載
の発明は、請求項13又は14に記載の制御方法におい
て、指令の記述が有ると判断されたプログラム記述領域
に対応する系統だけを動作制御できる状態にする段階
が、複数の系統のうち、指令の記述が無いと判断された
プログラム記述領域に対応する系統を動作制御できない
状態にすることを含む制御方法を提供する。
According to a fourteenth aspect of the present invention, in the control method of the thirteenth aspect, the step of bringing only the system corresponding to the program description area determined to have the instruction description into a state where the operation can be controlled is performed. A control method including outputting an operation start signal of a system is provided. According to a fifteenth aspect of the present invention, in the control method according to the thirteenth or fourteenth aspect, the step of setting only a system corresponding to a program description area determined to have a command description to be in a state in which operation control can be performed includes a plurality of steps. There is provided a control method including putting a system corresponding to a program description area determined to have no instruction description out of systems in a state where operation control cannot be performed.

【0019】請求項16に記載の発明は、請求項15に
記載の制御方法において、指令の記述が無いと判断され
たプログラム記述領域に対応する系統を動作制御できな
い状態にする段階が、この系統の動作起動信号を出力し
ないことを含む制御方法を提供する。請求項17に記載
の発明は、請求項13〜16のいずれか1項に記載の制
御方法において、複数のプログラム記述領域の各々にお
ける指令の記述の有無を判断する段階で、指令の記述が
有るプログラム記述領域が複数個存在すると判断したと
きに、複数個のプログラム記述領域に記述された指令同
士の整合性を判断する段階をさらに具備する制御方法を
提供する。
According to a sixteenth aspect of the present invention, in the control method according to the fifteenth aspect, the step of setting the system corresponding to the program description area determined to have no instruction description to be in an uncontrollable state includes the step of: And a control method including not outputting the operation start signal. According to a seventeenth aspect of the present invention, in the control method according to any one of the thirteenth to sixteenth aspects, there is a description of the instruction at the step of determining whether or not the instruction is described in each of the plurality of program description areas. Provided is a control method, further comprising the step of, when it is determined that a plurality of program description areas exist, determining a consistency between instructions described in the plurality of program description areas.

【0020】請求項18に記載の発明は、請求項17に
記載の制御方法において、複数個のプログラム記述領域
に記述された指令同士の整合性を判断する段階は、複数
個のプログラム記述領域に記述されたそれぞれの指令の
間で互いに関連するコードを検索することを含む制御方
法を提供する。
According to an eighteenth aspect of the present invention, in the control method according to the seventeenth aspect, the step of judging the consistency between the instructions described in the plurality of program description areas includes: A control method is provided that includes searching for codes that are related to each other between written instructions.

【0021】[0021]

【発明の実施の形態】以下、添付図面を参照して、本発
明の実施の形態を詳細に説明する。図面において、同一
又は類似の構成要素には共通の参照符号を付す。図面を
参照すると、図1は、本発明の一実施形態による数値制
御(NC)旋盤10の全体構成を示す。NC旋盤10
は、1つの旋盤機台12に2個の主軸14、16及び2
個の刃物台18、20を集約的に搭載し、バイト、ドリ
ル等の旋削工具やフライス等の回転工具を含む種々の工
具22により、同一棒材に対する異種(例えば外径削り
と中ぐり)同時加工や、異なる棒材に対する同時加工を
実施できるようにした3系統多機能構造を有するもので
ある。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In the drawings, the same or similar components are denoted by common reference numerals. Referring to the drawings, FIG. 1 shows an overall configuration of a numerically controlled (NC) lathe 10 according to an embodiment of the present invention. NC lathe 10
Has two spindles 14, 16 and 2 on one lathe machine 12
The turrets 18 and 20 are collectively mounted, and various tools 22 including turning tools such as cutting tools and drills and rotating tools such as milling tools are used to simultaneously perform different types (for example, external cutting and boring) on the same bar. It has a three-system multifunctional structure that enables processing and simultaneous processing of different bars.

【0022】すなわちNC旋盤10は、旋盤機台12
と、旋盤機台12上に設置され、回転軸線14aを有す
るとともに第1の系統(すなわち系統1)における制御
下で動作可能な第1主軸14と、旋盤機台12上に設置
され、第1主軸14と共通の系統1における制御下で動
作可能な第1刃物台18と、旋盤機台12上に設置さ
れ、第2の系統(すなわち系統2)における制御下で動
作可能な第2刃物台20と、旋盤機台12上に設置さ
れ、第1主軸14の回転軸線14aに平行な回転軸線1
6aを有するとともに、第3の系統(すなわち系統3)
における制御下で動作可能な第2主軸16とを備える。
That is, the NC lathe 10 is a lathe machine 12
A first spindle 14 installed on the lathe machine 12 and having a rotation axis 14a and operable under control in the first system (that is, system 1); A first turret 18 operable under control of a common system 1 with the spindle 14 and a second turret installed on the lathe machine 12 and operable under control of a second system (namely, system 2) And a rotation axis 1 which is installed on the lathe machine base 12 and is parallel to the rotation axis 14a of the first spindle 14.
6a and a third system (ie, system 3)
And a second spindle 16 operable under the control of.

【0023】旋盤機台12は、機台前面に傾斜案内面1
2aを有するいわゆるスラントベッド構造を有し、第1
主軸14、第2主軸16、第1刃物台18及び第2刃物
台20をそれぞれに独立して、傾斜案内面12aを基準
とする3つの直交座標系において摺動可能に担持する。
旋盤機台12にはさらに、後述する制御(NC)装置2
4を操作するための操作盤26や、図示しないカバー等
が搭載される。
The lathe machine 12 has an inclined guide surface 1 on the front of the machine.
2a having a so-called slant bed structure,
The main shaft 14, the second main shaft 16, the first tool rest 18, and the second tool rest 20 are independently slidably supported in three orthogonal coordinate systems based on the inclined guide surface 12a.
The lathe machine 12 further includes a control (NC) device 2 described later.
An operation panel 26 for operating the device 4, a cover (not shown), and the like are mounted.

【0024】第1主軸14は、旋盤外部から供給された
棒材を把持して回転する主要な(又は正面側の)主軸で
あり、図示しない軸受装置を介して第1主軸台28に回
転自在に内蔵される。第1主軸14は、中空筒状の構造
を有し、その前端領域に、後端側から送給された棒材を
強固に把持可能なチャック(図示せず)が設置される。
The first main spindle 14 is a main (or front side) main spindle which grips and rotates a bar supplied from outside the lathe, and is rotatable on the first headstock 28 via a bearing device (not shown). Built in. The first main shaft 14 has a hollow cylindrical structure, and a chuck (not shown) capable of firmly gripping a bar fed from the rear end side is provided in a front end region thereof.

【0025】第1主軸台28は、旋盤機台12の長手方
向一端領域に設定された第1主軸搭載部30に摺動自在
に搭載される。第1主軸搭載部30には、第1主軸台2
8を、旋盤機台12の傾斜案内面12aを基準とする直
交3軸座標系において、傾斜案内面12a及び第1主軸
14の回転軸線14aに平行な第1送り制御軸(Z1軸
と称する)に沿って直線移動させる第1主軸駆動機構3
2(図2)が設置される。第1主軸駆動機構32は、旋
盤機台12に組付けられるZ1軸駆動源(例えばACサ
ーボモータ)34と、傾斜案内面12aに組付けられる
Z1軸案内部材(例えばスライドガイド)36と、図示
しない送りねじ装置(例えばボールねじ)とから構成さ
れる。したがって第1主軸14は、第1主軸駆動機構3
2の作動により、それ自体の回転軸線14aに平行な第
1送り制御軸(Z1軸)に沿って、第1主軸台28と共
に直線往復動作できる。
The first headstock 28 is slidably mounted on a first spindle mounting portion 30 set at one longitudinal end area of the lathe machine 12. The first headstock 2 is provided with the first headstock 2.
8 is a first feed control axis (referred to as a Z1 axis) parallel to the inclined guide surface 12a and the rotation axis 14a of the first main shaft 14 in an orthogonal three-axis coordinate system based on the inclined guide surface 12a of the lathe machine base 12. First spindle drive mechanism 3 that moves linearly along the axis
2 (FIG. 2) is installed. The first spindle drive mechanism 32 includes a Z1-axis drive source (for example, an AC servomotor) 34 mounted on the lathe machine base 12, a Z1-axis guide member (for example, a slide guide) 36 mounted on the inclined guide surface 12a, And a non-feed screw device (for example, a ball screw). Therefore, the first spindle 14 is connected to the first spindle drive mechanism 3.
By the operation of 2, it is possible to perform a linear reciprocating operation together with the first headstock 28 along the first feed control axis (Z1 axis) parallel to its own rotation axis 14a.

【0026】第1主軸台28にはさらに、第1主軸14
を回転駆動する回転駆動源38(図2)として、例えば
ビルトイン型ACサーボモータが内蔵される。また第1
主軸14は、回転角度制御軸(C1軸と称する)を有す
ることができ、回転駆動源38を制御して得られるC1
軸の位置決め割出動作により、チャックに把持した棒材
の端面や外周面の所望位置に、所望の刃物台18、20
に装備した回転工具を用いて多様な加工を施すことが可
能になる。
The first headstock 28 further includes a first spindle 14
For example, a built-in type AC servomotor is built in as a rotary drive source 38 (FIG. 2) for rotating the drive. Also the first
The main shaft 14 may have a rotation angle control axis (referred to as a C1 axis), and a C1 axis obtained by controlling the rotation drive source 38.
The desired tool rests 18 and 20 are positioned at desired positions on the end surface and the outer peripheral surface of the bar material held by the chuck by the indexing operation of the shaft.
It is possible to perform various processing using the rotating tool provided in the vehicle.

【0027】旋盤機台12の長手方向略中央には、第1
主軸搭載部30に隣接してコラム40が立設される。コ
ラム40には、第1主軸台28から軸線方向前方に離隔
した所定位置に、第1主軸14に把持された棒材を、そ
の先端の被加工部位の近傍で支持する補助支持装置とし
てのガイドブッシュ42が設置される。ガイドブッシュ
42は、第1主軸14に対し同軸状に配置され、旋削加
工中に棒材をその被加工部位に振れが生じないように心
出し支持する。
At the approximate center of the lathe machine base 12 in the longitudinal direction, the first
A column 40 is erected adjacent to the spindle mount 30. The column 40 has a guide as an auxiliary support device that supports the bar gripped by the first spindle 14 at a predetermined position axially separated from the first headstock 28 in the vicinity of the processed portion at the tip thereof. A bush 42 is installed. The guide bush 42 is coaxially arranged with respect to the first main shaft 14, and centers and supports the bar material during turning so that the processed portion does not run out.

【0028】第1刃物台18は、旋盤機台12上で第1
刃物台搭載部として機能するコラム40の前面に移動自
在に搭載され、第1主軸14の軸線方向前方に位置する
ガイドブッシュ42の側方に退避して配置される。コラ
ム40には、第1刃物台18を、旋盤機台12の傾斜案
内面12aを基準とする直交3軸座標系において、傾斜
案内面12a及び第1主軸14の回転軸線14a(すな
わち第1送り制御軸(Z1軸))に直交する第2送り制
御軸(X1軸と称する)に沿って直線移動させる第1刃
物台駆動機構44(図2)が設置される。
The first tool post 18 is placed on the lathe
It is movably mounted on the front surface of a column 40 functioning as a tool post mounting portion, and is retracted and disposed on the side of a guide bush 42 located in front of the first main shaft 14 in the axial direction. In the column 40, the first tool rest 18 is provided with the inclined guide surface 12a and the rotation axis 14a of the first main shaft 14 (that is, the first feed axis) in an orthogonal three-axis coordinate system based on the inclined guide surface 12a of the lathe machine base 12. A first tool post drive mechanism 44 (FIG. 2) for linearly moving along a second feed control axis (referred to as X1 axis) orthogonal to the control axis (Z1 axis) is provided.

【0029】第1刃物台駆動機構44は、旋盤機台12
の傾斜案内面12aに直交するコラム40の前面に、第
1送り制御軸(Z1軸)に直交する現実水平送り制御軸
(Y軸と称する)方向へ摺動自在に搭載されるY軸移動
台46と、Y軸移動台46をコラム40上でY軸方向へ
移動させるY軸移動台駆動機構と、コラム40の前面に
平行なY軸移動台46の前面に、第1送り制御軸(Z1
軸)及び現実水平送り制御軸(Y軸)の双方に直交する
現実垂直送り制御軸(X軸と称する)方向へ摺動自在に
搭載されるX軸移動台48と、X軸移動台48をY軸移
動台46上でX軸方向へ移動させるX軸移動台駆動機構
とを備える。Y軸移動台駆動機構は、コラム40に組付
けられるY軸駆動源(例えばACサーボモータ)50
と、コラム前面に組付けられるY軸案内部材(例えばス
ライドガイド)52と、図示しない送りねじ装置(例え
ばボールねじ)とから構成される。同様にX軸移動台駆
動機構は、Y軸移動台46に組付けられるX軸駆動源
(例えばACサーボモータ)54と、Y軸移動台前面に
組付けられるX軸案内部材(例えばスライドガイド)5
6と、図示しない送りねじ装置(例えばボールねじ)か
ら構成される。したがって第1刃物台18は、第1刃物
台駆動機構44の作動下で、Y軸移動台46のY軸移動
とX軸移動台48のX軸移動とが直線補間動作すること
により、第1送り制御軸(Z1軸)に直交する第2送り
制御軸(X1軸)に沿って直線往復動作できる。
The first tool post drive mechanism 44 is used to drive the lathe
Y-axis moving table slidably mounted on the front surface of the column 40 orthogonal to the inclined guide surface 12a in the direction of the actual horizontal feed control axis (referred to as Y axis) orthogonal to the first feed control axis (Z1 axis). 46, a Y-axis moving table driving mechanism for moving the Y-axis moving table 46 in the Y-axis direction on the column 40, and a first feed control axis (Z1) on the front surface of the Y-axis moving table 46 parallel to the front surface of the column 40.
An X-axis moving base 48 and a X-axis moving base 48 slidably mounted in a direction of a real vertical feed control axis (referred to as an X-axis) orthogonal to both the axis and the actual horizontal feed control axis (Y-axis). An X-axis moving table drive mechanism for moving the Y-axis moving table 46 in the X-axis direction is provided. The Y-axis moving base drive mechanism includes a Y-axis drive source (for example, an AC servomotor) 50 mounted on the column 40.
, A Y-axis guide member (for example, a slide guide) 52 attached to the front surface of the column, and a feed screw device (for example, a ball screw) not shown. Similarly, the X-axis moving table driving mechanism includes an X-axis driving source (for example, an AC servomotor) 54 mounted on the Y-axis moving table 46 and an X-axis guide member (for example, a slide guide) mounted on the front surface of the Y-axis moving table. 5
6 and a feed screw device (not shown) (for example, a ball screw). Accordingly, the first tool rest 18 performs a linear interpolation operation between the Y-axis movement of the Y-axis moving stand 46 and the X-axis movement of the X-axis moving stand 48 under the operation of the first tool rest driving mechanism 44, thereby performing the first tool rest. A linear reciprocating operation can be performed along a second feed control axis (X1 axis) orthogonal to the feed control axis (Z1 axis).

【0030】第1刃物台駆動機構44は、第1刃物台1
8をさらに、旋盤機台12の傾斜案内面12aを基準と
する直交3軸座標系において、第1及び第2送り制御軸
(Z1軸及びX1軸)の両者に直交する送り制御軸(Y
1軸と称する)に沿って直線移動させる。この送り制御
軸(Y1軸)は、第2送り制御軸(X1軸)と同様に、
第1刃物台駆動機構44の作動下でY軸移動台46のY
軸移動とX軸移動台48のX軸移動とが直線補間動作す
ることによって実現されるものであり、それにより第1
刃物台18は、Y1軸に沿って直線往復動作できる。
The first turret driving mechanism 44 includes a first turret 1
Further, the feed control axis (Y) orthogonal to both the first and second feed control axes (Z1 axis and X1 axis) in an orthogonal three-axis coordinate system based on the inclined guide surface 12a of the lathe machine base 12
(Referred to as one axis). This feed control axis (Y1 axis) is similar to the second feed control axis (X1 axis).
Under the operation of the first tool post drive mechanism 44, the Y
The axis movement and the X-axis movement of the X-axis moving table 48 are realized by performing a linear interpolation operation.
The tool rest 18 can reciprocate linearly along the Y1 axis.

【0031】第1刃物台18は、複数の工具22を並列
配置で保持するいわゆるくし歯刃物台であり、バイト、
ドリル等の旋削工具やフライス等の回転工具を、コラム
40の前面に平行な仮想平面に沿って、かつ第1主軸1
4の回転軸線14aに対し放射状に位置決め可能な配置
で装備できる。図示実施形態では、第1刃物台18は、
複数の工具22を第2送り制御軸(X1軸)に直交する
方向すなわちY1軸方向に並列配置して保持できる第1
保持部58と、第1保持部58の近傍で、複数の工具2
2を第2送り制御軸(X1軸)方向に並列配置して保持
できる第2保持部60とを有して構成される。
The first tool rest 18 is a so-called comb tool rest for holding a plurality of tools 22 in a parallel arrangement.
A turning tool such as a drill or a rotating tool such as a milling tool is moved along an imaginary plane parallel to the front surface of the column 40 and the first spindle 1
4 can be installed in an arrangement that can be radially positioned with respect to the rotation axis 14a. In the illustrated embodiment, the first tool post 18 is
A first tool 22 capable of holding a plurality of tools 22 arranged in parallel in a direction orthogonal to the second feed control axis (X1 axis), that is, in the Y1 axis direction.
A plurality of tools 2 near the holding part 58 and the first holding part 58
2 in the second feed control axis (X1 axis) direction.

【0032】したがって、第1刃物台18は、そのY1
軸移動によって第1保持部58から割出選択された所望
の工具22の刃先を、NC装置24に入力された系統1
の加工プログラムに従う第1刃物台18自体のX1軸移
動と前述した第1主軸14のZ1軸移動との協働によ
り、補間動作させることができる。同様に第1刃物台1
8は、そのX1軸移動によって第2保持部60から割出
選択された所望の工具22の刃先を、NC装置24に入
力された系統1の加工プログラムに従う第1刃物台18
自体のY1軸移動と第1主軸14のZ1軸移動との協働
により、補間動作させることができる。さらに第1刃物
台18は、第2保持部60に装備した回転工具22Rの
刃先を、NC装置24に入力された系統1の加工プログ
ラムに従う第1刃物台18自体のX1軸移動とY1軸移
動との協働により、補間動作させることができる。この
ようにして、系統1の制御下で、第1主軸14に把持さ
れた棒材W(図3)を、第1刃物台18上の所望の工具
22により所望形状に加工することができる。
Therefore, the first tool post 18 is moved to its Y1
The cutting edge of the desired tool 22 selected and indexed from the first holding unit 58 by the axial movement is transmitted to the system 1 input to the NC device 24.
The interpolation operation can be performed by cooperation between the X1-axis movement of the first tool rest 18 itself and the Z1-axis movement of the first spindle 14 according to the machining program described above. Similarly, the first turret 1
A first tool rest 18 according to the machining program of the system 1 input to the NC device 24, the cutting edge of the desired tool 22 indexed and selected from the second holding unit 60 by the X1-axis movement.
The interpolation operation can be performed by the cooperation of the movement of the Y1 axis itself and the movement of the first spindle 14 in the Z1 axis. Further, the first tool rest 18 moves the cutting edge of the rotary tool 22R mounted on the second holding part 60 by the X1-axis movement and the Y1-axis movement of the first tool rest 18 itself according to the machining program of the system 1 inputted to the NC device 24. Can perform an interpolation operation. Thus, under the control of the system 1, the bar W (FIG. 3) gripped by the first spindle 14 can be processed into a desired shape by a desired tool 22 on the first tool rest 18.

【0033】第2刃物台20は、旋盤機台12上でコラ
ム40を挟んで第1主軸搭載部30の反対側に設定され
た第2刃物台搭載部62に移動自在に搭載される。第2
刃物台搭載部62には、第2刃物台20を、旋盤機台1
2の傾斜案内面12aを基準とする直交2軸座標系にお
いて、傾斜案内面12aに平行でかつ第1主軸14の回
転軸線14a(すなわち第1送り制御軸(Z1軸))に
直交する第3送り制御軸(X2軸と称する)と、第1送
り制御軸(Z1軸)に平行な第4送り制御軸(Z2軸と
称する)とのそれぞれに沿って直線移動させる第2刃物
台駆動機構64(図2)が設置される。
The second tool rest 20 is movably mounted on a second tool rest mounting part 62 set on the lathe machine base 12 opposite to the first spindle mounting part 30 with the column 40 interposed therebetween. Second
The second turret 20 is mounted on the turret mounting section 62 with the lathe machine 1
In the orthogonal two-axis coordinate system based on the second inclined guide surface 12a, a third axis parallel to the inclined guide surface 12a and orthogonal to the rotation axis 14a of the first main shaft 14 (that is, the first feed control axis (Z1 axis)). A second tool post drive mechanism 64 that moves linearly along a feed control axis (referred to as X2 axis) and a fourth feed control axis (referred to as Z2 axis) parallel to the first feed control axis (Z1 axis). (FIG. 2) is installed.

【0034】第2刃物台駆動機構64は、旋盤機台12
の傾斜案内面12aに、第4送り制御軸(Z2軸)方向
へ摺動自在に搭載されるZ2軸移動台66と、Z2軸移
動台66を旋盤機台12でZ2軸方向へ移動させるZ2
軸移動台駆動機構と、傾斜案内面12aに平行なZ2軸
移動台66の前面に、第3送り制御軸(X2軸)方向へ
摺動自在に搭載されるX2軸移動台68と、X2軸移動
台68をZ2軸移動台66上でX2軸方向へ移動させる
X2軸移動台駆動機構とを備える。Z2軸移動台駆動機
構は、旋盤機台12に組付けられるZ2軸駆動源(例え
ばACサーボモータ)70と、傾斜案内面12aに組付
けられるZ2軸案内部材(例えばスライドガイド)72
と、図示しない送りねじ装置(例えばボールねじ)とか
ら構成される。同様にX2軸移動台駆動機構は、Z2軸
移動台66に組付けられるX2軸駆動源(例えばACサ
ーボモータ)74と、Z2軸移動台前面に組付けられる
図示しないX2軸案内部材(例えばスライドガイド)
と、図示しない送りねじ装置(例えばボールねじ)から
構成される。したがって第2刃物台20は、第2刃物台
駆動機構64の作動により、第3送り制御軸(X2軸)
と第4送り制御軸(Z2軸)とのそれぞれに沿って直線
往復動作できる。
The second tool rest driving mechanism 64 is used to drive the lathe
The Z2 axis moving base 66 is slidably mounted on the inclined guide surface 12a in the direction of the fourth feed control axis (Z2 axis), and the Z2 axis moving table 66 is moved in the Z2 axis direction by the lathe machine base 12.
A shaft moving table driving mechanism, an X2 axis moving table 68 slidably mounted in the third feed control axis (X2 axis) direction on the front surface of a Z2 axis moving table 66 parallel to the inclined guide surface 12a, and an X2 axis An X2-axis moving table drive mechanism for moving the moving table 68 in the X2-axis direction on the Z2-axis moving table 66 is provided. The Z2-axis moving table drive mechanism includes a Z2-axis drive source (for example, an AC servomotor) 70 mounted on the lathe machine 12 and a Z2-axis guide member (for example, a slide guide) 72 mounted on the inclined guide surface 12a.
And a feed screw device (for example, a ball screw) not shown. Similarly, the X2-axis moving table drive mechanism includes an X2-axis driving source (for example, an AC servomotor) 74 mounted on the Z2-axis moving table 66 and an X2-axis guide member (for example, slide) (not shown) mounted on the front surface of the Z2-axis moving table. guide)
And a feed screw device (for example, a ball screw) not shown. Therefore, the second tool post 20 is moved by the operation of the second tool post drive mechanism 64 to the third feed control axis (X2 axis).
And a fourth reciprocating control axis (Z2 axis).

【0035】第2刃物台20は、複数の工具22を、互
いに異なる刃先方向性を示す第1列及び第2列にくし歯
状に保持できるものであり、バイト、ドリル等の旋削工
具やフライス等の回転工具を、旋盤機台12の傾斜案内
面12aに平行な仮想平面に沿って、かつ第1主軸14
の回転軸線14aに対し平行又は同軸状に位置決め可能
な配置で装備できる。図示実施形態では、第2刃物台2
0は、複数の工具22を、第1刃物台16を搭載するコ
ラム40に対向するように方向付けして、かつ第3送り
制御軸(X2軸)方向に並列配置して、第1列に保持で
きる第1保持部76(図3)と、第1保持部76の反対
側で、複数の工具22を、第1保持部76に装着した複
数の工具22と同じ位置にそれぞれ逆向きかつ同軸状に
方向付けして、第2列に保持できる第2保持部78(図
3)とを有して構成される。図3に略示するように、第
2刃物台20の第1保持部76に装着される第1列の工
具22は、第1主軸14に把持した棒材Wを加工するた
めの刃先方向性を有する。また、第2刃物台20の第2
保持部78に装着される第2列の工具22は、第2主軸
16に把持した棒材W´を加工するための刃先方向性を
有する。
The second tool rest 20 is capable of holding a plurality of tools 22 in a first row and a second row having different cutting edge directions in a comb-like manner. Is rotated along an imaginary plane parallel to the inclined guide surface 12a of the lathe machine 12 and the first spindle 14
Can be provided in an arrangement that can be positioned parallel or coaxially with respect to the rotation axis 14a. In the illustrated embodiment, the second tool post 2
0 indicates that the plurality of tools 22 are oriented so as to face the column 40 on which the first tool post 16 is mounted, and are arranged in parallel in the direction of the third feed control axis (X2 axis). The first holding portion 76 (FIG. 3) which can be held, and the plurality of tools 22 on the opposite side of the first holding portion 76 are coaxially oriented in opposite directions to the plurality of tools 22 mounted on the first holding portion 76, respectively. And a second holding portion 78 (FIG. 3) that can be oriented in a shape and held in the second row. As schematically shown in FIG. 3, the first row of tools 22 mounted on the first holding portion 76 of the second tool rest 20 has a cutting edge direction for processing the bar W gripped on the first main shaft 14. Having. In addition, the second tool post 20
The second row of tools 22 mounted on the holding portion 78 has a cutting edge direction for processing the bar W ′ gripped by the second main shaft 16.

【0036】したがって、第2刃物台20は、それ自体
のX2軸移動によって第1保持部76から割出選択され
た所望の工具22の刃先を、NC装置24に入力された
系統2の加工プログラムに従う第2刃物台20自体のX
2軸移動とZ2軸移動との協働により、補間動作させる
ことができ、また、NC装置24に入力された系統2の
加工プログラムに従い、第2刃物台20自体のZ2軸移
動を第1主軸14のZ1軸移動に重畳させて動作させる
ことができる。このようにして、第1主軸14に把持さ
れた棒材Wを、第2刃物台20上の第1列から選択され
た所望の工具22により所望形状に加工することができ
る。
Accordingly, the second tool rest 20 uses the cutting tool of the desired tool 22 selected and indexed from the first holding part 76 by the X2 axis movement of the second tool rest 20 and the machining program of the system 2 inputted to the NC device 24. X of the second tool post 20 itself according to
An interpolation operation can be performed by cooperation between the two-axis movement and the Z2-axis movement, and the Z2-axis movement of the second tool rest 20 itself is controlled by the first spindle according to the machining program of the system 2 input to the NC device 24. The operation can be performed in such a manner as to be superimposed on the movement of the Z1-axis 14. In this manner, the bar W gripped by the first spindle 14 can be processed into a desired shape by the desired tool 22 selected from the first row on the second tool rest 20.

【0037】第2主軸16は、旋盤機台12上でコラム
40を挟んで第1主軸搭載部30の反対側に、第2刃物
台搭載部62に隣接して設定された第2主軸搭載部80
に移動自在に搭載され、第1主軸14の回転軸線14a
に平行な回転軸線16aを有して、第1主軸14すなわ
ちガイドブッシュ42の軸線方向前方に同軸状に対向可
能に配置される。第2主軸16は、第1主軸14から受
け渡された一部加工済みの棒材W´(図3)を把持して
回転する補助的な(又は背面側の)主軸であり、図示し
ない軸受装置を介して第2主軸台82に回転自在に内蔵
される。第2主軸16は、中空筒状の構造を有し、その
前端領域に、対向するガイドブッシュ42から送出され
た棒材を強固に把持可能なチャック(図示せず)が設置
される。
The second spindle 16 is provided on the lathe machine 12 on the opposite side of the first spindle mount 30 with the column 40 interposed therebetween, and the second spindle mount is set adjacent to the second tool rest mount 62. 80
Movably mounted on the rotating shaft 14a of the first spindle 14.
The first main shaft 14, that is, the guide bush 42, is disposed coaxially and opposingly in front of the guide bush 42 in the axial direction. The second main spindle 16 is an auxiliary (or rear-side) main spindle that grips and rotates a partially processed bar W ′ (FIG. 3) delivered from the first main spindle 14, and is a bearing (not shown). It is rotatably built in the second headstock 82 via the device. The second main shaft 16 has a hollow cylindrical structure, and a chuck (not shown) capable of firmly gripping a bar sent out from the opposing guide bush 42 is provided in a front end region thereof.

【0038】第2主軸搭載部80には、第2主軸16
を、旋盤機台12の傾斜案内面12aを基準とする直交
2軸座標系において、第2刃物台20の第3送り制御軸
(X2軸)に平行な第5送り制御軸(X3軸と称する)
と、第1主軸14の第1送り制御軸(Z1軸)に平行な
第6送り制御軸(Z3軸と称する)とのそれぞれに沿っ
て直線移動させる第2主軸駆動機構84(図2)が設置
される。
The second spindle mounting portion 80 includes the second spindle 16
Is a fifth feed control axis (referred to as X3 axis) parallel to the third feed control axis (X2 axis) of the second tool post 20 in the orthogonal two-axis coordinate system based on the inclined guide surface 12a of the lathe machine base 12. )
And a second spindle drive mechanism 84 (FIG. 2) that linearly moves along a sixth feed control axis (referred to as Z3 axis) of the first spindle 14 parallel to the first feed control axis (Z1 axis). Will be installed.

【0039】第2主軸駆動機構84は、旋盤機台12の
傾斜案内面12aに、第6送り制御軸(Z3軸)方向へ
摺動自在に搭載されるZ3軸移動台86と、Z3軸移動
台86を旋盤機台12でZ3軸方向へ移動させるZ3軸
移動台駆動機構と、傾斜案内面12aに平行なZ3軸移
動台86の前面に、第5送り制御軸(X3軸)方向へ摺
動自在に搭載されるX3軸移動台88と、X3軸移動台
88をZ3軸移動台86上でX3軸方向へ移動させるX
3軸移動台駆動機構とを備える。Z3軸移動台駆動機構
は、旋盤機台12に組付けられるZ3軸駆動源(例えば
ACサーボモータ)90と、傾斜案内面12aに組付け
られるZ3軸案内部材(例えばスライドガイド)92
と、図示しない送りねじ装置(例えばボールねじ)とか
ら構成される。同様にX3軸移動台駆動機構は、Z3軸
移動台86に組付けられるX3軸駆動源(例えばACサ
ーボモータ)94と、Z3軸移動台前面に組付けられる
X3軸案内部材(例えばスライドガイド)96と、図示
しない送りねじ装置(例えばボールねじ)から構成され
る。
The second spindle drive mechanism 84 includes a Z3-axis moving table 86 slidably mounted on the inclined guide surface 12a of the lathe machine 12 in the direction of the sixth feed control axis (Z3-axis). A Z3 axis moving table drive mechanism for moving the table 86 in the Z3 axis direction by the lathe machine table 12; and a fifth feed control axis (X3 axis) direction on the front surface of the Z3 axis moving table 86 parallel to the inclined guide surface 12a. An X3-axis movable table 88 movably mounted, and X that moves the X3-axis movable table 88 on the Z3-axis movable table 86 in the X3-axis direction.
A three-axis moving base drive mechanism. The Z3-axis moving table drive mechanism includes a Z3-axis drive source (eg, an AC servomotor) 90 mounted on the lathe machine base 12 and a Z3-axis guide member (eg, a slide guide) 92 mounted on the inclined guide surface 12a.
And a feed screw device (for example, a ball screw) not shown. Similarly, the X3 axis moving base drive mechanism includes an X3 axis driving source (for example, an AC servomotor) 94 mounted on the Z3 axis moving table 86 and an X3 axis guide member (for example, a slide guide) mounted on the front surface of the Z3 axis moving table. 96 and a feed screw device (not shown) (for example, a ball screw).

【0040】第2主軸台82は、第2主軸16の回転軸
線16aを第6送り制御軸(Z3軸)に平行に配置した
状態で、X3軸移動台88の前面に固定される。したが
って第2主軸16は、第2主軸駆動機構84の作動によ
り、第5送り制御軸(X3軸)と第6送り制御軸(Z3
軸)とのそれぞれに沿って直線往復動作できる。
The second headstock 82 is fixed to the front surface of the X3-axis moving table 88 with the rotation axis 16a of the second spindle 16 arranged parallel to the sixth feed control axis (Z3-axis). Therefore, the second spindle 16 is operated by the second spindle drive mechanism 84 to move the fifth feed control axis (X3 axis) and the sixth feed control axis (Z3
) Can be reciprocated linearly along each of

【0041】第2主軸台82にはさらに、第2主軸16
を回転駆動する回転駆動源98(図2)として、例えば
ビルトイン型ACサーボモータが内蔵される。また第2
主軸16は、回転角度制御軸(C2軸と称する)を有す
ることができ、回転駆動源98を制御して得られるC2
軸の位置決め割出動作により、チャックに把持した棒材
の端面や外周面の所望位置に、第2刃物台20に装備し
た回転工具を用いて多様な加工を施すことが可能にな
る。
The second headstock 82 is further provided with a second spindle 16.
For example, a built-in type AC servomotor is built in as a rotation drive source 98 (FIG. 2) for rotationally driving. Also the second
The main shaft 16 may have a rotation angle control axis (referred to as a C2 axis), and a C2 axis obtained by controlling the rotation drive source 98.
By the axis positioning and indexing operation, it is possible to perform various processing on a desired position on the end surface or the outer peripheral surface of the bar material held by the chuck using the rotating tool provided on the second tool rest 20.

【0042】このように第2主軸16は、第2刃物台2
0の第3送り制御軸(X2軸)に平行な第5送り制御軸
(X3軸)に沿って直線移動できる。したがって、第2
刃物台20は、それ自体のX2軸移動と第2主軸16の
X3軸移動との少なくとも一方によって、第2保持部7
8に装備した第2列の工具22から所望の工具22を割
出選択できる。そして第2刃物台20は、選択された所
望の工具22の刃先を、NC装置24に入力された系統
3の加工プログラムに従う第2主軸16のX3軸移動と
Z3軸移動との協働により、相対的に補間動作させるこ
とができ、また、NC装置24に入力された系統3の加
工プログラムに従い、第2主軸16のZ3軸移動を第2
刃物台20自体のZ2軸移動に重畳させて動作させるこ
とができるとともに、第2主軸16のX3軸移動を第2
刃物台20自体のX2軸移動に重畳させて動作させるこ
とができる。このようにして、第2主軸16に把持され
た棒材W´(図3)を、第2刃物台20上の第2列から
選択された所望の工具22により所望形状に加工するこ
とができる。
As described above, the second spindle 16 is connected to the second tool rest 2.
It can move linearly along a fifth feed control axis (X3 axis) parallel to the third feed control axis (X2 axis). Therefore, the second
The tool rest 20 moves the second holding unit 7 by at least one of the X2 axis movement of itself and the X3 axis movement of the second main shaft 16.
A desired tool 22 can be indexed and selected from the tools 22 in the second row provided in 8. Then, the second tool rest 20 sets the cutting edge of the selected desired tool 22 by the cooperation of the X3 axis movement and the Z3 axis movement of the second main shaft 16 according to the machining program of the system 3 input to the NC device 24. The interpolation operation can be relatively performed, and the Z3 axis movement of the second main shaft 16 can be moved in the second direction according to the machining program of the system 3 input to the NC device 24.
The tool post 20 itself can be operated while being superimposed on the Z2-axis movement, and the X3-axis movement of the second spindle 16
The tool post 20 can be operated by being superimposed on the X2-axis movement of the tool post 20 itself. In this way, the bar W ′ (FIG. 3) gripped by the second spindle 16 can be processed into a desired shape by the desired tool 22 selected from the second row on the second tool rest 20. .

【0043】NC旋盤10は、NC装置24の3系統制
御下で、上記構成を有する2台の刃物台18、20上で
選択した最多で3個の工具22を同時使用して、正面側
及び背面側の両主軸14、16に把持した棒材をそれぞ
れに自動加工でき、特に、それら3個の工具22の各々
に指令される固有の補間動作を同時に遂行できるように
構成される。
Under the three-system control of the NC device 24, the NC lathe 10 simultaneously uses a maximum of three tools 22 selected on the two tool rests 18 and 20 having the above-described configuration, and uses the front and rear surfaces. The bars gripped by the main spindles 14 and 16 on the rear side can be automatically machined respectively, and in particular, it is configured to simultaneously perform a unique interpolation operation commanded to each of the three tools 22.

【0044】図2は、そのような多様な自動加工を遂行
するためのNC装置24の構成を示す。NC装置24
は、入力部100、表示部102、演算制御部104及
びサーボ制御部106を備える。入力部100は、操作
盤26に設置される数値キー付きのキーボード108
(図1)を有し、第1及び第2主軸14、16並びに第
1及び第2刃物台18、20のそれぞれの動作を制御す
るために必要なデータ(工具の選択、物品の形状寸法、
主軸回転数、工具の送り速度等)を含む、各工具22に
関する加工プログラム(すなわちブロック列)が、入力
部100から入力される。表示部102は、操作盤26
に設置されるCRT(ブラウン管)やLCD(液晶ディ
スプレイ)等の表示画面110(図1)を有し、入力部
100で入力された加工プログラムを表示画面110に
表示したり、対話方式として表示画面110上でシミュ
レーションしながらの自動プログラミングを可能にした
りする。
FIG. 2 shows the configuration of the NC unit 24 for performing such various automatic machining. NC device 24
Includes an input unit 100, a display unit 102, an arithmetic control unit 104, and a servo control unit 106. The input unit 100 is provided with a keyboard 108 with numerical keys installed on the operation panel 26.
1 (FIG. 1), and data (tool selection, article shape, dimensions, and the like) necessary to control the operations of the first and second spindles 14 and 16 and the first and second tool rests 18 and 20.
A machining program (that is, a block sequence) relating to each tool 22 including a spindle speed, a tool feed speed, and the like is input from the input unit 100. The display unit 102 operates the operation panel 26.
Has a display screen 110 (FIG. 1) such as a CRT (cathode ray tube) or an LCD (liquid crystal display) installed in the display unit. The processing program input by the input unit 100 is displayed on the display screen 110, and the display screen is displayed in an interactive manner. For example, automatic programming while simulating on the 110 is enabled.

【0045】演算制御部104は、記憶部を構成するR
AM(ランダムアクセスメモリ)112及びROM(リ
ードオンリーメモリ)114と、処理部を構成するCP
U(中央処理装置)116とを有する。入力部100で
入力された各種データを含む複数の工具22に関する複
数の加工プログラムは、CPU116の指示によりRA
M112又はROM114に格納される。また、ROM
114には、第1及び第2主軸14、16並びに第1及
び第2刃物台18、20を駆動するための制御プログラ
ムが予め格納されている。CPU116は、RAM11
2又はROM114に記憶した加工プログラム及びRO
M114に格納された制御プログラムに基づいて、サー
ボ制御部106に制御指令を出力する。
The arithmetic and control unit 104 stores the R
AM (random access memory) 112 and ROM (read only memory) 114, and CP constituting a processing unit
U (central processing unit) 116. A plurality of machining programs related to a plurality of tools 22 including various data input by the input unit 100 are stored in a RA
It is stored in M112 or ROM114. Also, ROM
A control program for driving the first and second spindles 14 and 16 and the first and second tool rests 18 and 20 is stored in the 114 in advance. The CPU 116 controls the RAM 11
2 or machining program and RO stored in ROM 114
A control command is output to the servo control unit 106 based on the control program stored in M114.

【0046】サーボ制御部106は、第1主軸移動制御
部118、第1主軸回転制御部120、第1刃物台移動
制御部122、第2刃物台移動制御部124、第2主軸
移動制御部126及び第2主軸回転制御部128を備え
る。第1主軸移動制御部118は、CPU116の指令
に基づき、第1主軸駆動機構32のZ1軸駆動源34
(図1)を作動して、第1主軸台28と共に第1主軸1
4をZ1軸移動させる。第1主軸回転制御部120は、
CPU116の指令に基づき、回転駆動源38を作動し
て、第1主軸14を第1主軸台28内でC1軸回転させ
る。なお、旋削加工に際しての第1主軸14の高速回転
は、回転数等のデータに基づき、図示しない別の制御回
路を介して制御される。
The servo control unit 106 includes a first spindle movement control unit 118, a first spindle rotation control unit 120, a first tool rest movement control unit 122, a second tool rest movement control unit 124, and a second spindle movement control unit 126. And a second spindle rotation control unit 128. The first spindle movement control unit 118 controls the Z1-axis drive source 34 of the first spindle drive mechanism 32 based on a command from the CPU 116.
(FIG. 1) to operate the first spindle 1 together with the first headstock 28.
4 is moved in the Z1 axis. The first spindle rotation control unit 120 includes:
Based on a command from the CPU 116, the rotation drive source 38 is operated to rotate the first spindle 14 in the first headstock 28 along the C1 axis. The high-speed rotation of the first spindle 14 at the time of turning is controlled via another control circuit (not shown) based on data such as the number of rotations.

【0047】第1刃物台移動制御部122は、CPU1
16の指令に基づき、第1刃物台駆動機構44のY軸駆
動源50(図1)及びX軸駆動源54(図1)を同期し
て作動して、第1刃物台18をX1軸移動又はY1軸移
動させる。第2刃物台移動制御部124は、CPU11
6の指令に基づき、第2刃物台駆動機構64のZ2軸駆
動源70(図1)及びX2軸駆動源74(図1)を選択
的に作動して、第2刃物台20をZ2軸移動とX2軸移
動とで補間動作させる。
The first tool post movement control unit 122 includes a CPU 1
16, the Y-axis drive source 50 (FIG. 1) and the X-axis drive source 54 (FIG. 1) of the first tool post drive mechanism 44 are operated synchronously to move the first tool post 18 in the X1-axis direction. Alternatively, it is moved in the Y1 axis. The second tool post movement control unit 124
6, the Z2 axis drive source 70 (FIG. 1) and the X2 axis drive source 74 (FIG. 1) of the second tool post drive mechanism 64 are selectively operated to move the second tool post 20 in the Z2 axis direction. And the X2 axis movement.

【0048】第2主軸移動制御部126は、CPU11
6の指令に基づき、第2主軸駆動機構84のZ3軸駆動
源90(図1)及びX3軸駆動源94(図1)を選択的
に作動して、第2主軸16をZ3軸移動とX3軸移動と
で補間動作させる。第2主軸回転制御部128は、CP
U116の指令に基づき、回転駆動源98を作動して、
第2主軸16を第2主軸台82内でC2軸回転させる。
なお、旋削加工に際しての第2主軸16の高速回転は、
回転数等のデータに基づき、図示しない別の制御回路を
介して制御される。
The second spindle movement control unit 126
6, the Z3 axis drive source 90 (FIG. 1) and the X3 axis drive source 94 (FIG. 1) of the second spindle drive mechanism 84 are selectively operated to move the second spindle 16 in the Z3 axis movement and X3 direction. Perform interpolation operation with axis movement. The second main spindle rotation control unit 128
Based on the command of U116, the rotation drive source 98 is operated,
The second spindle 16 is rotated in the second headstock 82 by the C2 axis.
The high-speed rotation of the second spindle 16 during turning is
It is controlled via another control circuit (not shown) based on data such as the number of revolutions.

【0049】上記した制御系において、NC装置24
は、第1主軸駆動機構32、第1刃物台駆動機構44、
第2刃物台駆動機構64及び第2主軸駆動機構84を、
互いに関連付けて制御することにより、第1刃物台18
で選択される所望の工具22による第1主軸14に関連
する(すなわち第1主軸14に把持した棒材に対する)
加工工程と、第2刃物台20で第1列から選択される所
望の工具22による第1主軸14に関連する加工工程
と、第2刃物台20で第2列から選択される所望の工具
22による第2主軸16に関連する(すなわち第2主軸
16に把持した棒材に対する)加工工程とを、同時に実
施できるように機能する。さらにNC装置24は、第1
刃物台18で選択される工具22の、前述した系統1に
おける補間動作と、第2刃物台20で第1列から選択さ
れる工具22の、前述した系統2における補間動作と、
第2刃物台20で第2列から選択される工具22の、前
述した系統3における補間動作とを同時に遂行できるよ
うに、第1主軸駆動機構32、第1刃物台駆動機構4
4、第2刃物台駆動機構64及び第2主軸駆動機構84
を適宜に重畳制御することができる。
In the above control system, the NC unit 24
Are the first spindle drive mechanism 32, the first tool post drive mechanism 44,
The second tool post drive mechanism 64 and the second spindle drive mechanism 84
By controlling in association with each other, the first tool post 18
Associated with the first spindle 14 by the desired tool 22 selected at (i.e., relative to the bar gripped by the first spindle 14).
A machining step, a machining step related to the first spindle 14 by a desired tool 22 selected from the first row at the second tool rest 20, and a desired tool 22 selected from the second row at the second tool rest 20 (I.e., for the bar held by the second main shaft 16) with the second main shaft 16. Further, the NC device 24 includes the first
Interpolation operation of the tool 22 selected by the tool rest 18 in the system 1 described above, and interpolation operation of the tool 22 selected from the first row by the second tool rest 20 in the system 2 described above,
The first spindle drive mechanism 32 and the first tool post drive mechanism 4 so that the tool 22 selected from the second row on the second tool post 20 can simultaneously perform the interpolation operation in the system 3 described above.
4. Second tool post drive mechanism 64 and second spindle drive mechanism 84
Can be controlled appropriately.

【0050】上記構成を有するNC装置24では、基本
的には、第1主軸14に把持した棒材を第1刃物台18
に装備した工具22で加工するためのデータは、第1主
軸14及び第1刃物台18の動作を制御する制御軸群
(Z1軸、X1軸、Y1軸)を適宜組合せた系統1の加
工プログラムとして入力部100で入力され、第1主軸
14に把持した棒材を第2刃物台20の第1保持部76
に装備した工具22で加工するためのデータは、第1主
軸14及び第2刃物台20の動作を制御する制御軸群
(Z1軸、X2軸、Z2軸、合成Z軸)を適宜組合せた
系統2の加工プログラムとして入力部100で入力さ
れ、第2主軸16に把持した棒材を第2刃物台20の第
2保持部78に装備した工具22で加工するためのデー
タは、第2刃物台20及び第2主軸16の動作を制御す
る制御軸群(Z2軸、X2軸、Z3軸、X3軸、合成Z
軸、合成X軸)を適宜組合せた系統3の加工プログラム
として入力部100で入力される。これらの加工プログ
ラムは、操作盤26に設置したキーボード108を介し
て、NC装置24に手動入力(マニュアルデータインプ
ット)され、その内容が、操作盤26に設置した表示部
102の表示画面110に表示される。
In the NC device 24 having the above-described structure, basically, the bar held by the first main shaft 14 is moved to the first tool post 18.
The data for machining with the tool 22 provided in the system 1 is a machining program of the system 1 in which control axes (Z1, X1, Y1 axes) for controlling the operations of the first spindle 14 and the first tool rest 18 are appropriately combined. Is input by the input unit 100 and the bar material gripped by the first spindle 14 is attached to the first holding unit 76 of the second tool rest 20.
The data for machining with the tool 22 provided in the system includes a system in which control axis groups (Z1-axis, X2-axis, Z2-axis, composite Z-axis) for controlling the operations of the first spindle 14 and the second tool post 20 are appropriately combined. The data for processing the bar held by the second spindle 16 with the tool 22 mounted on the second holding portion 78 of the second tool rest 20 is input by the input section 100 as a machining program of the second tool post. Control axis group (Z2 axis, X2 axis, Z3 axis, X3 axis, composite Z
The input program is input by the input unit 100 as a machining program of the system 3 in which the axis and the combined X axis are appropriately combined. These machining programs are manually input (manual data input) to the NC device 24 via the keyboard 108 installed on the operation panel 26, and the contents are displayed on the display screen 110 of the display unit 102 installed on the operation panel 26. Is done.

【0051】NC装置24のRAM112には、系統1
〜3のそれぞれに個別に対応する3つのプログラム記述
領域が設けられる。図4に示すように、それらプログラ
ム記述領域は、それぞれ$1、$2、$3の標記の下
に、表示部102の表示画面110に並列に区画して表
示される。そして、第1及び第2刃物台18、20上の
複数の工具22に関する複数の加工プログラムは、それ
ぞれにまとまったブロック列の形式で、それら工具22
が属する(すなわちそれら工具22に関連する加工動作
を制御可能な)系統1、2、3に対応するプログラム記
述領域$1、$2、$3に記述される。
The RAM 112 of the NC unit 24 has a system 1
3 are respectively provided with three program description areas. As shown in FIG. 4, these program description areas are displayed in parallel on the display screen 110 of the display unit 102 under the titles of $ 1, $ 2, and $ 3, respectively. A plurality of machining programs relating to the plurality of tools 22 on the first and second tool rests 18 and 20 are stored in the form of a block block respectively.
Are described in the program description areas # 1, # 2, and # 3 corresponding to the systems 1, 2, and 3 to which (i.e., the processing operations related to the tools 22 can be controlled).

【0052】ここで、複数の系統を有するNC旋盤に組
み込まれた従来のNC装置では、対象部品の加工工程中
に、例えば要求される加工内容及び工具種類に応じて、
加工に関連する動作制御を全く実施しない系統が存在し
ている場合、複数のプログラム記述領域の全てに何らか
の指令を入力しない限り、動作制御を実施しようとする
系統での加工プログラムを実行できないようになってい
た。これに対し、本発明に係るNC旋盤10のNC装置
24は、動作制御を実施しない系統がある場合にも、そ
の系統に対していかなる指令も入力することなく、所望
の系統での加工プログラムを実行できるようにするため
の、下記の特徴的構成を有している。
Here, in a conventional NC device incorporated in an NC lathe having a plurality of systems, during the machining process of a target part, for example, according to the required machining content and tool type,
If there is a system that does not perform operation control related to machining at all, unless a command is input to all of the multiple program description areas, the machining program in the system where operation control is to be performed cannot be executed. Had become. On the other hand, the NC device 24 of the NC lathe 10 according to the present invention can execute a machining program in a desired system without inputting any command to the system even when there is a system that does not perform operation control. It has the following characteristic configuration to enable execution.

【0053】すなわちNC装置24、及びNC装置24
を備えたNC旋盤10の制御方法は、CPU116が、
RAM112の複数のプログラム記述領域$1、$2、
$3に記憶された加工プログラムを演算処理する前に、
それらプログラム記述領域$1、$2、$3の各々にお
ける指令すなわち制御ブロックの記述の有無を判断し
て、NC旋盤10における3つの系統1〜3のうち、指
令の記述が有るプログラム記述領域に対応する系統だけ
を、その指令に従い動作制御できる状態にするように構
成されている。ここで、NC装置24におけるこのよう
な特徴的処理手順を、図5に示すフローチャートを参照
して説明する。
That is, the NC device 24 and the NC device 24
The control method of the NC lathe 10 provided with
A plurality of program description areas # 1, # 2,
Before calculating the machining program stored in # 3,
In each of the program description areas # 1, # 2, and # 3, it is determined whether or not there is a description of a command, that is, a control block, and among the three systems 1 to 3 in the NC lathe 10, a program description area having a description of a command is determined. Only the corresponding system is configured to be in a state where operation can be controlled in accordance with the command. Here, such a characteristic processing procedure in the NC device 24 will be described with reference to a flowchart shown in FIG.

【0054】まず、オペレータは、加工対象部品の完成
形状から特定される加工内容及び工具種類に応じて、N
C旋盤10の3つの系統1〜3のうち、実際に動作制御
を行う系統での加工に関連する指令のみを、その系統に
対応するプログラム記述領域$1、$2、$3に記述し
て、加工プログラムを作成、編集する(ステップS
1)。例えば、図4のプログラム記述例では、3つのプ
ログラム記述領域$1〜$3の全てに何らかの指令が記
述されているが、これらの指令は系統1〜3の各々にお
いて動作制御を実行するためのものである。また、図6
のプログラム記述例では、プログラム記述領域$1のみ
に指令が記述されており、他のプログラム記述領域$
2、$3にはいかなる指令も記述されていない。したが
ってこの加工プログラムでは、系統1のみで動作制御が
行なわれる。
First, the operator selects N based on the processing content and tool type specified from the completed shape of the part to be processed.
Of the three systems 1 to 3 of the C lathe 10, only commands related to machining in the system that actually performs operation control are described in the program description areas # 1, # 2, and # 3 corresponding to that system. , Create and edit machining programs (step S
1). For example, in the program description example of FIG. 4, some commands are described in all of the three program description areas # 1 to # 3. These commands are used to execute operation control in each of the systems 1 to 3. Things. FIG.
In the example of the program description, the command is described only in the program description area # 1, and the command is described in the other program description area # 1.
No directives are described in 2,3. Therefore, in this machining program, the operation control is performed only by the system 1.

【0055】NC装置24では、このような複数種類の
加工プログラムを、予めRAM112又はROM114
(図2)に格納しておくことができる。そこでオペレー
タは、操作盤26(図1)を介して、RAM112又は
ROM114に格納された種々の加工プログラムから所
望の加工プログラムを選択し、その加工プログラムの実
行をCPU116(図2)に対して宣言する(ステップ
S2)。
In the NC unit 24, such plural kinds of machining programs are stored in the RAM 112 or the ROM 114 in advance.
(FIG. 2). Then, the operator selects a desired machining program from various machining programs stored in the RAM 112 or the ROM 114 via the operation panel 26 (FIG. 1), and declares the execution of the machining program to the CPU 116 (FIG. 2). (Step S2).

【0056】加工プログラムの実行宣言を受けた後、C
PU116は、実行準備処理(図示破線内の処理)とし
て、選択した加工プログラムの記述内容を検索して、各
プログラム記述領域$1、$2、$3における指令の記
述の有無を判断し(ステップS3〜S8)、指令の記述
が有ると判断したプログラム記述領域に対応する系統
を、当該加工プログラムで動作制御を行なう系統として
特定するとともに、そのような系統の個数を特定する
(ステップS9〜S11)。いずれのプログラム記述領
域$1、$2、$3にも記述が無いと判断した場合に
は、アラームを起動し(ステップS12)、それに従
い、オペレータは必要に応じて加工プログラムを修正す
る(ステップS1)。なお、図のフローチャートでは、
系統1、系統2、系統3の順で、それぞれのプログラム
記述領域$1、$2、$3における指令の記述の有無を
判断しているが、他のいかなる順序で判断を行ってもよ
いことは理解されよう。
After receiving the execution declaration of the machining program, C
As execution preparation processing (processing within the broken line in the figure), the PU 116 searches the description contents of the selected machining program and determines whether or not there is a description of a command in each of the program description areas # 1, # 2, and # 3 (step S3 to S8), the system corresponding to the program description area determined to include the description of the command is specified as the system for performing operation control by the machining program, and the number of such systems is specified (steps S9 to S11). ). If it is determined that there is no description in any of the program description areas # 1, # 2, and # 3, an alarm is activated (step S12), and the operator modifies the machining program as necessary (step S12). S1). In addition, in the flowchart of a figure,
Although the presence / absence of a command description in each of the program description areas # 1, # 2, and # 3 is determined in the order of the system 1, the system 2, and the system 3, the determination may be performed in any other order. Will be understood.

【0057】ここで、NC旋盤10の機械構成に鑑みれ
ば、通常は、系統1で制御される加工工程(すなわち第
1主軸14に把持した棒材に対する第1刃物台18上の
工具22による加工工程(外径削り、中ぐり、突切り
等))が主工程であり、系統2で制御される加工工程
(すなわち第1主軸14に把持した棒材に対する第2刃
物台20上の工具22による加工工程(端面加工等))
及び系統3で制御される加工工程(すなわち第2主軸1
6に把持した棒材に対する第2刃物台20上の工具22
による加工工程(背面加工等))は、この順で実行頻度
が減少する補助的な工程となる。つまり、系統1での動
作制御を行なわずに他の系統2、3で動作制御を行なっ
たり、系統2での動作制御を行なわずに系統3で動作制
御を行なったりすることは、NC旋盤10における通常
の加工プログラムでは想定する必要性が少ないといえ
る。そこで、ステップS3で系統1に関する指令が無い
と判断したときには、ステップS6及びS8の判断を省
略して、直ちにステップS12でアラームを起動させ、
またステップS4で系統2に関する指令が無いと判断し
たときには、ステップS7の判断を省略して、直ちにス
テップS11で制御実施系統1及び系統数1を特定する
ように、制御フローを簡略化することもできる。
Here, in view of the mechanical configuration of the NC lathe 10, machining steps controlled by the system 1 (that is, machining of the bar held on the first spindle 14 by the tool 22 on the first tool post 18) is usually performed. The process (outer diameter cutting, boring, parting-off, etc.) is the main process, and the machining process controlled by the system 2 (that is, by the tool 22 on the second tool rest 20 for the bar held on the first main shaft 14). Processing process (end face processing, etc.)
And the machining process controlled by the system 3 (that is, the second spindle 1
6. The tool 22 on the second tool rest 20 for the bar material gripped by 6.
(The back surface processing etc.) are auxiliary steps whose execution frequency decreases in this order. That is, the operation control in the other systems 2 and 3 without performing the operation control in the system 1 and the operation control in the system 3 without performing the operation control in the system 2 are performed by the NC lathe 10. It can be said that there is little necessity to assume in the ordinary machining program in. Therefore, when it is determined in step S3 that there is no command relating to the system 1, the determinations in steps S6 and S8 are omitted, and an alarm is immediately activated in step S12.
When it is determined in step S4 that there is no command related to the system 2, the control flow may be simplified such that the determination in step S7 is omitted and the control execution system 1 and the number of systems 1 are immediately specified in step S11. it can.

【0058】ステップS9〜S11で物品加工工程に必
要な系統及び系統数を特定した後、CPU116は、特
定した系統の動作制御を実行可能な状態にする(ステッ
プS13)。これは例えば、CPU116が加工プログ
ラムを演算処理する際に、ステップS9〜S11で特定
した系統だけに対して、最初にサーボ制御部106(図
2)へ動作起動信号を出力するように構成することで実
現できる。或いはまた、ステップS13では、ステップ
S3〜S8で指令の記述が無いと判断したプログラム記
述領域に対応する系統を動作制御できない状態にするよ
うにしてもよい。これは例えば、CPU116が加工プ
ログラムを演算処理する際に、指令の記述が無い系統に
対しては、サーボ制御部106へ動作起動信号を出力し
ないように構成することで実現できる。
After specifying the systems and the number of systems required for the article processing step in steps S9 to S11, the CPU 116 sets the specified system in a state in which operation control can be executed (step S13). For example, the CPU 116 may be configured to first output an operation start signal to the servo control unit 106 (FIG. 2) only for the system specified in steps S <b> 9 to S <b> 11 when the CPU 116 performs the arithmetic processing on the machining program. Can be realized. Alternatively, in step S13, the system corresponding to the program description area determined to have no command description in steps S3 to S8 may be set to a state where operation control cannot be performed. This can be realized, for example, by configuring the CPU 116 so as not to output an operation start signal to the servo control unit 106 for a system having no description of a command when the CPU 116 performs an arithmetic process on a machining program.

【0059】このようにして加工プログラムの実行準備
処理が完了した後、オペレータは、例えば操作盤26上
のキーボード108(図1)から、加工プログラムの実
行開始をNC装置24に指令する(ステップS14)。
それによりNC旋盤10で、加工プログラムに従って棒
材が所望形状に加工される。
After the execution preparation processing of the machining program is thus completed, the operator instructs the NC device 24 to start the execution of the machining program from, for example, the keyboard 108 (FIG. 1) on the operation panel 26 (step S14). ).
Thus, the bar is processed into a desired shape by the NC lathe 10 according to the processing program.

【0060】図5のフローチャートにおいて、一点鎖線
で示すように、ステップS3〜S8で指令の記述が有る
と判断したプログラム記述領域が複数個存在する場合、
すなわちステップS9又はS10で系統数3又は2を特
定したときに、CPU116がそれら複数個のプログラ
ム記述領域に記述された指令同士の整合性を判断する
(ステップS15)ように構成することもできる。これ
は例えば、それらプログラム記述領域に記述されたそれ
ぞれの指令の間で互いに関連するコードの存在を検索す
るように構成することで実現できる。
In the flowchart of FIG. 5, when there are a plurality of program description areas for which it is determined in steps S3 to S8 that there is a description of a command, as indicated by a dashed line,
That is, when the number of systems 3 or 2 is specified in step S9 or S10, the CPU 116 may determine the consistency between the instructions described in the plurality of program description areas (step S15). This can be realized, for example, by a configuration in which the presence of codes related to each other is searched between the instructions described in the program description areas.

【0061】具体的には、例えば図4のプログラム記述
例において、プログラム記述領域$1に記述された第1
2行目のブロック[!2!3L1]と、プログラム記述
領域$2に記述された第5行目のブロック[!1!3L
1]と、プログラム記述領域$3に記述された第4行目
のブロック[!1!2L1]とは、互いに関連する(す
なわち相手方を指定する)待ち合わせコードであり、C
PU116はステップS15で、これらの待ち合わせコ
ードの存在を3つのプログラム記述領域$1、$2、$
3において検索する。そして、検索した各待ち合わせコ
ードが上記のように正しく記述されている場合に、CP
U116はステップS15で系統1〜3の指令に整合性
が有ると判断し、ステップS13に進む。これに対し、
このような相手方を指定する相関的な待ち合わせコード
のブロックが、指定に反していずれかのプログラム記述
領域に記述されていなかったり、或いはいずれかの待ち
合わせコードが不正確に記述されていたりした場合に
は、CPU116はステップS15で、系統1〜3の指
令には整合性が無いと判断する。そして、整合性が無い
と判断したときには、アラームを起動し(ステップS1
6)、それに従い、オペレータは必要に応じて加工プロ
グラムを修正する(ステップS1)。
More specifically, for example, in the example of the program description shown in FIG. 4, the first program described in the program description area # 1
The block [! 2.3! L1] and the block [!] On the fifth line described in the program description area # 2. 1.3L
1] and the block [!] On the fourth line described in the program description area # 3. 1! 2L1] are queuing codes related to each other (that is, to specify the other party), and
In step S15, the PU 116 determines the existence of these queuing codes in the three program description areas # 1, # 2,
Search in 3. Then, if each of the searched queuing codes is correctly described as described above, the CP
U116 determines in step S15 that the commands of the systems 1 to 3 have consistency, and proceeds to step S13. In contrast,
If the block of the correlated wait code specifying such a counterpart is not described in any program description area contrary to the specification, or if any of the wait codes is incorrectly described, In step S15, the CPU 116 determines that the commands of the systems 1 to 3 have no consistency. When it is determined that there is no consistency, an alarm is activated (step S1).
6) Then, the operator modifies the machining program as necessary (step S1).

【0062】上記したように、NC装置24によれば、
3系統のNC旋盤10において、対象部品の加工プログ
ラム中に、例えば要求される加工内容及び工具種類に応
じて、加工に関連する動作制御を全く実施しない系統が
存在している場合にも、その系統に対応するプログラム
記述領域にいかなる(形式的な)指令も入力することな
く、動作制御を実施しようとする所望の系統での加工プ
ログラムを実行することができる。したがって、オペレ
ータによる入力作業が容易になり、入力時間が短縮され
るとともに、記述漏れ等の入力ミス及びそれによる機械
の誤作動を未然に防止できる。また、動作制御を実施し
ない系統に対しては、NC装置24は何らの処理も実行
しないので、全体として加工プログラムの実行時間を短
縮できる利点がある。
As described above, according to the NC device 24,
In the NC lathe 10 of the three systems, even if there is a system that does not perform any operation control related to the processing in the processing program of the target part, for example, according to the required processing content and tool type, It is possible to execute a machining program in a desired system for which operation control is to be performed without inputting any (formal) command to a program description area corresponding to the system. Therefore, the input operation by the operator is facilitated, the input time is shortened, and the input error such as omission of description and the malfunction of the machine due to the input error can be prevented. Further, since the NC device 24 does not execute any processing for a system in which operation control is not performed, there is an advantage that the execution time of the machining program can be shortened as a whole.

【0063】さらに、他の1系統又は2系統のNC旋盤
に装備されるNC装置で作成した1系統又は2系統の加
工プログラムを、そのままの記述内容で、3系統のNC
旋盤10に装備されるNC装置24に入力することがで
きる。この場合、NC装置24における3つのプログラ
ム記述領域$1、$2、$3のうちには、いかなる指令
も記述されないプログラム記述領域が生じることになる
が、前述した処理により、入力された1系統又は2系統
の加工プログラムを滞りなく実行することができる。ま
た、本発明に係るNC装置24で所望のプログラム記述
領域$1、$2、$3に記述して作成した1系統又は2
系統の加工プログラムにより、他の1系統又は2系統の
NC旋盤を動作制御することもできる。このように、N
C装置24を搭載したNC旋盤10では、3つの系統1
〜3から任意に選択した系統のみに関して入力された指
令に従って加工作業を実施でき、その結果、加工プログ
ラムの汎用的使用及びプログラム作成作業の簡略化を実
現することができる。
Further, a one-system or two-system machining program created by an NC device mounted on another one-system or two-system NC lathe is described as it is in the three-system NC lathe.
The data can be input to the NC device 24 provided on the lathe 10. In this case, in the three program description areas # 1, # 2, and # 3 in the NC device 24, there occurs a program description area in which no command is described. Alternatively, two processing programs can be executed without delay. Further, one system or 2 system described and described in the desired program description areas # 1, # 2, and # 3 by the NC device 24 according to the present invention.
The operation of the other one or two NC lathes can also be controlled by the system machining program. Thus, N
In the NC lathe 10 equipped with the C device 24, three systems 1
Machining work can be performed in accordance with a command input only for a system arbitrarily selected from (3) to (3). As a result, general-purpose use of a machining program and simplification of program creation work can be realized.

【0064】以上、本発明の好適な実施形態を説明した
が、本発明は上記実施形態に限定されず、特許請求の範
囲の開示内で様々な変更及び修正を為し得るものであ
る。例えば、本発明に係るNC旋盤、NC装置及び制御
方法は、上記した3系統の制御構成に限らず、2系統や
4系統等、他の様々な多系統制御構成に適用できるもの
である。
Although the preferred embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various changes and modifications can be made within the scope of the claims. For example, the NC lathe, the NC device, and the control method according to the present invention are not limited to the above-described three-system control configuration, and can be applied to various other multi-system control configurations such as two-system and four-system.

【0065】[0065]

【発明の効果】以上の説明から明らかなように、本発明
によれば、複数の系統を有する多機能型のNC旋盤に組
み込まれるNC装置及びそのような多機能型NC旋盤の
制御方法において、NC旋盤で動作制御を実施しない系
統がある場合にも、その系統に関するいかなる指令も入
力することなく、所望の系統での加工プログラムを実行
できるようになる。したがって、オペレータによる入力
作業を容易にするとともに、入力時間及びプログラム実
行時間を短縮することが可能になる。さらに、そのよう
なNC装置を組み込んで備える多系統のNC旋盤は、複
数の系統から任意に選択した系統のみに関して記述され
た指令に従って加工作業を実施できるものとなる。その
結果、加工プログラムの汎用的使用及びプログラム作成
作業の簡略化が実現される。
As is apparent from the above description, according to the present invention, in an NC device incorporated in a multifunctional NC lathe having a plurality of systems and a control method of such a multifunctional NC lathe, Even when there is a system in which operation control is not performed in the NC lathe, a machining program in a desired system can be executed without inputting any command related to the system. Therefore, the input operation by the operator can be facilitated, and the input time and the program execution time can be reduced. Further, a multi-system NC lathe provided with such an NC device incorporated therein can perform a machining operation in accordance with a command described only for a system arbitrarily selected from a plurality of systems. As a result, general-purpose use of the machining program and simplification of the program creation operation are realized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態によるNC旋盤の全体構成
を示す斜視図である。
FIG. 1 is a perspective view showing an entire configuration of an NC lathe according to an embodiment of the present invention.

【図2】図1のNC旋盤に組み込まれたNC装置の構成
を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an NC device incorporated in the NC lathe in FIG. 1;

【図3】図1のNC旋盤における第1及び第2刃物台に
よる同時加工の一例を示す概略図である。
FIG. 3 is a schematic view showing an example of simultaneous machining by first and second turrets in the NC lathe of FIG. 1;

【図4】図2のNC装置に入力された加工プログラム例
を表示する3つのプログラム記述領域を示す図である。
FIG. 4 is a diagram showing three program description areas displaying an example of a machining program input to the NC apparatus of FIG. 2;

【図5】図2のNC装置における実行系統判断手順を示
すフローチャートである。
FIG. 5 is a flowchart showing an execution system determination procedure in the NC device of FIG. 2;

【図6】図2のNC装置に入力された他の加工プログラ
ム例を表示する3つのプログラム記述領域を示す図であ
る。
FIG. 6 is a diagram showing three program description areas for displaying another example of a machining program input to the NC apparatus of FIG. 2;

【図7】従来のNC装置に入力された加工プログラム例
を表示する3つのプログラム記述領域を示す図である。
FIG. 7 is a diagram showing three program description areas for displaying an example of a machining program input to a conventional NC device.

【符号の説明】[Explanation of symbols]

10…NC旋盤 14…第1主軸 16…第2主軸 18…第1刃物台 20…第2刃物台 22…工具 24…NC装置 26…操作盤 100…入力部 102…表示部 112…RAM 114…ROM 116…CPU $1、$2、$3…プログラム記述領域 Reference Signs List 10 NC lathe 14 First spindle 16 Second spindle 18 First turret 20 Second turret 22 Tool 24 NC unit 26 Operation panel 100 Input unit 102 Display unit 112 RAM 114 ROM 116: CPU $ 1, $ 2, $ 3: Program description area

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 旋盤機台と、該旋盤機台上に設置される
少なくとも1つの主軸と、該旋盤機台上に設置される少
なくとも1つの刃物台と、該旋盤機台上での該少なくと
も1つの主軸及び該少なくとも1つの刃物台の動作を、
複数の系統において制御する制御装置とを具備し、該制
御装置が、該複数の系統のそれぞれに個別に対応する複
数のプログラム記述領域を有する記憶部と、該記憶部の
該複数のプログラム記述領域に記述された指令を読み取
って処理する処理部とを備えて構成される数値制御旋盤
において、 前記制御装置の前記処理部は、前記記憶部の前記複数の
プログラム記述領域の各々における指令の記述の有無を
判断して、前記複数の系統のうち、指令の記述が有るプ
ログラム記述領域に対応する系統だけを、該指令に従い
動作制御できる状態にすること、を特徴とする数値制御
旋盤。
1. A lathe machine base, at least one main spindle installed on the lathe machine base, at least one tool rest installed on the lathe machine base, and at least one of the at least one on the lathe machine base. The operation of one spindle and the at least one tool post;
A control unit for controlling in a plurality of systems, the control device having a storage unit having a plurality of program description areas individually corresponding to each of the plurality of systems, and the plurality of program description areas of the storage unit A processing unit that reads and processes the instructions described in (1), wherein the processing unit of the control device is configured to execute the instruction description in each of the plurality of program description areas of the storage unit. A numerically controlled lathe, characterized in that the presence or absence is determined and only a system corresponding to a program description area having a description of a command among the plurality of systems is set to a state where operation can be controlled according to the command.
【請求項2】 前記制御装置の前記処理部は、指令の記
述が有る前記プログラム記述領域に対応する前記系統の
動作起動信号を出力する、請求項1に記載の数値制御旋
盤。
2. The numerical control lathe according to claim 1, wherein the processing unit of the control device outputs an operation start signal of the system corresponding to the program description area having a description of a command.
【請求項3】 前記制御装置の前記処理部は、前記複数
の系統のうち、指令の記述が無いプログラム記述領域に
対応する系統を動作制御できない状態にする、請求項1
又は2に記載の数値制御旋盤。
3. The processing unit of the control device, wherein, among the plurality of systems, a system corresponding to a program description area having no description of a command is set to a state where operation cannot be controlled.
Or the numerical control lathe according to 2.
【請求項4】 前記制御装置の前記処理部は、指令の記
述が無い前記プログラム記述領域に対応する前記系統の
動作起動信号を出力しない、請求項3に記載の数値制御
旋盤。
4. The numerical control lathe according to claim 3, wherein the processing unit of the control device does not output an operation start signal of the system corresponding to the program description area having no description of a command.
【請求項5】 前記制御装置の前記処理部は、指令の記
述が有る前記プログラム記述領域が複数個存在すると判
断したときに、該複数個のプログラム記述領域に記述さ
れた指令同士の整合性をさらに判断する、請求項1〜4
のいずれか1項に記載の数値制御旋盤。
5. The processing unit of the control device, when judging that there are a plurality of the program description areas in which instructions are described, checks the consistency between the instructions described in the plurality of program description areas. Claims 1 to 4 for further judgment
Numerically controlled lathe according to any one of the preceding claims.
【請求項6】 前記制御装置の前記処理部は、前記複数
個のプログラム記述領域に記述されたそれぞれの指令の
間で互いに関連するコードを検索することにより、前記
整合性を判断する、請求項5に記載の数値制御旋盤。
6. The processing unit of the control device determines the consistency by searching for mutually related codes among commands described in the plurality of program description areas. 5. The numerically controlled lathe according to item 5.
【請求項7】 複数の系統を有する数値制御旋盤の、該
複数の系統のそれぞれに個別に対応可能な複数のプログ
ラム記述領域を有する記憶部と、該記憶部の該複数のプ
ログラム記述領域に記述された指令を読み取って処理す
る処理部とを具備する制御装置において、 前記処理部は、前記記憶部の前記複数のプログラム記述
領域の各々における指令の記述の有無を判断して、前記
数値制御旋盤の前記複数の系統のうち、指令の記述が有
るプログラム記述領域に対応可能な系統だけを、該指令
に従い動作制御できる状態にすること、を特徴とする制
御装置。
7. A storage section of a numerically controlled lathe having a plurality of systems, the storage section having a plurality of program description areas respectively corresponding to each of the plurality of systems, and a description in the plurality of program description areas of the storage section. A processing unit that reads and processes the received command, wherein the processing unit determines whether or not the command is described in each of the plurality of program description areas of the storage unit, and the numerical control lathe Out of the plurality of systems, a system capable of responding to a program description area having a description of a command is placed in a state where operation can be controlled in accordance with the command.
【請求項8】 前記処理部は、指令の記述が有る前記プ
ログラム記述領域に対応可能な前記系統の動作起動信号
を出力する、請求項7に記載の制御装置。
8. The control device according to claim 7, wherein the processing unit outputs an operation start signal of the system that can correspond to the program description area having a description of a command.
【請求項9】 前記処理部は、前記数値制御旋盤の前記
複数の系統のうち、指令の記述が無いプログラム記述領
域に対応可能な系統を動作制御できない状態にする、請
求項7又は8に記載の制御装置。
9. The processing unit according to claim 7, wherein, among the plurality of systems of the numerically controlled lathe, a system that can correspond to a program description area in which no instruction is described cannot be operated. Control device.
【請求項10】 前記処理部は、指令の記述が無い前記
プログラム記述領域に対応可能な前記系統の動作起動信
号を出力しない、請求項9に記載の制御装置。
10. The control device according to claim 9, wherein the processing unit does not output an operation start signal of the system that can correspond to the program description area having no instruction description.
【請求項11】 前記処理部は、指令の記述が有る前記
プログラム記述領域が複数個存在すると判断したとき
に、該複数個のプログラム記述領域に記述された指令同
士の整合性をさらに判断する、請求項7〜10のいずれ
か1項に記載の制御装置。
11. When the processing unit determines that there are a plurality of program description areas in which a description of a command exists, the processing unit further determines consistency between the instructions described in the plurality of program description areas. The control device according to claim 7.
【請求項12】 前記処理部は、前記複数個のプログラ
ム記述領域に記述されたそれぞれの指令の間で互いに関
連するコードを検索することにより、前記整合性を判断
する、請求項11に記載の制御装置。
12. The processing unit according to claim 11, wherein the processing unit determines the consistency by searching for mutually related codes among the instructions described in the plurality of program description areas. Control device.
【請求項13】 複数の系統における制御下で動作可能
な少なくとも1つの主軸及び少なくとも1つの刃物台を
有する数値制御旋盤の制御方法であって、 前記複数の系統のそれぞれに個別に対応する複数のプロ
グラム記述領域を有する記憶部を備える制御装置を用意
し、 前記制御装置の前記記憶部の前記複数のプログラム記述
領域の各々における指令の記述の有無を判断し、 前記複数の系統のうち、指令の記述が有ると判断された
プログラム記述領域に対応する系統だけを、該指令に従
い動作制御できる状態にすること、を特徴とする制御方
法。
13. A method of controlling a numerically controlled lathe having at least one spindle and at least one tool post operable under control in a plurality of systems, wherein the plurality of systems individually correspond to the plurality of systems, respectively. A control device including a storage unit having a program description area is prepared, and it is determined whether or not a command is described in each of the plurality of program description areas in the storage unit of the control device. A control method, wherein only a system corresponding to a program description area determined to have a description can be controlled to operate according to the command.
【請求項14】 指令の記述が有ると判断されたプログ
ラム記述領域に対応する系統だけを動作制御できる状態
にする前記段階は、該系統の動作起動信号を出力するこ
とを含む、請求項13に記載の制御方法。
14. The method according to claim 13, wherein the step of bringing only the system corresponding to the program description area determined to have the instruction description into a state in which the operation can be controlled includes outputting an operation start signal of the system. The control method described.
【請求項15】 指令の記述が有ると判断されたプログ
ラム記述領域に対応する系統だけを動作制御できる状態
にする前記段階は、前記複数の系統のうち、指令の記述
が無いと判断されたプログラム記述領域に対応する系統
を動作制御できない状態にすることを含む、請求項13
又は14に記載の制御方法。
15. The step of bringing only a system corresponding to a program description area determined to include a command description into a state in which operation control can be performed, the program including a program determined to have no command description among the plurality of systems. 14. The method according to claim 13, further comprising setting a system corresponding to the description area to a state in which operation control cannot be performed.
Or the control method according to 14.
【請求項16】 指令の記述が無いと判断されたプログ
ラム記述領域に対応する系統を動作制御できない状態に
する前記段階は、該系統の動作起動信号を出力しないこ
とを含む、請求項15に記載の制御方法。
16. The method according to claim 15, wherein said step of bringing a system corresponding to a program description area determined to have no instruction description into a state in which operation cannot be controlled includes not outputting an operation start signal of said system. Control method.
【請求項17】 複数のプログラム記述領域の各々にお
ける指令の記述の有無を判断する前記段階で、指令の記
述が有るプログラム記述領域が複数個存在すると判断し
たときに、該複数個のプログラム記述領域に記述された
指令同士の整合性を判断する段階をさらに具備する、請
求項13〜16のいずれか1項に記載の制御方法。
17. The method according to claim 17, wherein in said step of determining whether or not there is a command description in each of the plurality of program description areas, when it is determined that there are a plurality of program description areas having the description of the command, said plurality of program description areas The control method according to any one of claims 13 to 16, further comprising a step of judging consistency between the instructions described in (1).
【請求項18】 複数個のプログラム記述領域に記述さ
れた指令同士の整合性を判断する前記段階は、該複数個
のプログラム記述領域に記述されたそれぞれの指令の間
で互いに関連するコードを検索することを含む、請求項
17に記載の制御方法。
18. The step of judging the consistency between instructions described in a plurality of program description areas includes searching for mutually related codes among the instructions described in the plurality of program description areas. 18. The control method according to claim 17, comprising:
JP2000314096A 2000-10-13 2000-10-13 Numerically controlled lathe, and device and method of controlling the same Pending JP2002123308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000314096A JP2002123308A (en) 2000-10-13 2000-10-13 Numerically controlled lathe, and device and method of controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000314096A JP2002123308A (en) 2000-10-13 2000-10-13 Numerically controlled lathe, and device and method of controlling the same

Publications (1)

Publication Number Publication Date
JP2002123308A true JP2002123308A (en) 2002-04-26

Family

ID=18793409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000314096A Pending JP2002123308A (en) 2000-10-13 2000-10-13 Numerically controlled lathe, and device and method of controlling the same

Country Status (1)

Country Link
JP (1) JP2002123308A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016162205A (en) * 2015-03-02 2016-09-05 ファナック株式会社 Control device capable of centralized management of control by grouping multiple systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016162205A (en) * 2015-03-02 2016-09-05 ファナック株式会社 Control device capable of centralized management of control by grouping multiple systems

Similar Documents

Publication Publication Date Title
JP4619620B2 (en) Automatic lathe
JP4580142B2 (en) Numerical control lathe, control device used in numerical control lathe, control method of numerical control lathe, and machining program description method of control device in numerical control lathe
US6815917B2 (en) Automatic lathe, method for controlling the same, and device for controlling the same
KR100809108B1 (en) Automatic lathe, and method for controlling the same and device for controlling the same
KR940007130B1 (en) Nc instruction method
JP4259653B2 (en) Automatic lathe
JP2002123308A (en) Numerically controlled lathe, and device and method of controlling the same
JP2002132318A (en) Method and device for automatic programming
JPH08263114A (en) Control method of nc machine tool
JPS63311408A (en) Numerical controller
JPH08112701A (en) Machining method executed on nc-lathe and nc-lathe capable of back up machining
JPH04129645A (en) Simultaneous processing method for numerical control lathe
US20070073438A1 (en) Numerical controller
JP2004074357A (en) Automatic adjusting method and control device for drive source of movable structure
JPH08118203A (en) Control method of nc lathe and device thereof
TW478990B (en) Numerically controlled lathe and method for controlling the same
JP2002120127A (en) Tool position correction method on numerical control lathe and control device
JP2893536B2 (en) Numerical control method
JP2004058226A (en) Manual feed control device for numerically controlled machine tool, and manual feed control method
JPS63114847A (en) Teaching method for lathe turning
JPH0553635A (en) Method and device for confirming program operation of nc machine tool
JPH0785861B2 (en) Numerically controlled lathe and its operating method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070605

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090609

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090611

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091020