JP3134498B2 - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JP3134498B2
JP3134498B2 JP04140070A JP14007092A JP3134498B2 JP 3134498 B2 JP3134498 B2 JP 3134498B2 JP 04140070 A JP04140070 A JP 04140070A JP 14007092 A JP14007092 A JP 14007092A JP 3134498 B2 JP3134498 B2 JP 3134498B2
Authority
JP
Japan
Prior art keywords
work
numerical control
exchange
tool
parallel
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.)
Expired - Fee Related
Application number
JP04140070A
Other languages
Japanese (ja)
Other versions
JPH05313719A (en
Inventor
商基 安田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP04140070A priority Critical patent/JP3134498B2/en
Publication of JPH05313719A publication Critical patent/JPH05313719A/en
Application granted granted Critical
Publication of JP3134498B2 publication Critical patent/JP3134498B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はワーク加工のための数値
制御装置に関するものであり、特に、ワークを加工する
ワーク加工装置と、そのワークを別のものに交換するワ
ーク交換装置とをそれぞれ制御することが可能な形式の
数値制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control apparatus for processing a work, and more particularly to a work control apparatus for processing a work and a work changing apparatus for replacing the work with another one. The present invention relates to a numerical control device of a type capable of performing such operations.

【0002】[0002]

【従来の技術】上記形式の数値制御装置は従来、(a) ワ
ーク加工装置のみならずワーク交換装置をも数値制御す
るのに必要な数値制御情報を記憶する数値制御情報記憶
手段と、(b) 記憶された数値制御情報に基づいてワーク
加工装置とワーク交換装置とをそれぞれ数値制御する数
値制御手段とを含むように構成されていた。
2. Description of the Related Art Conventionally, a numerical control device of the type described above comprises (a) numerical control information storage means for storing numerical control information necessary for numerically controlling not only a work processing device but also a work exchange device; ) It is configured to include numerical control means for numerically controlling the work processing device and the work exchange device based on the stored numerical control information.

【0003】[0003]

【発明が解決しようとする課題】この従来装置に使用さ
れる数値制御情報は、ワーク加工装置を動作させるため
の情報とワーク交換装置を動作させるための情報とが合
体した情報である。そのため、作業者は、ワーク加工に
係る情報とワーク交換に係る情報との関係およびそれら
全体としての数値制御情報における相互の位置関係(す
なわち、各動作の実行順序)を考慮しながら数値制御情
報を作成しなければならず、手間がかかる。
The numerical control information used in the conventional apparatus is information obtained by combining information for operating a work processing apparatus and information for operating a work exchange apparatus. For this reason, the operator can take the numerical control information into consideration while considering the relationship between the information relating to the work processing and the information relating to the work exchange and the mutual positional relationship (that is, the execution order of each operation) in the numerical control information as a whole. It has to be created and takes time.

【0004】また、ワーク交換を行うべき時期は、常に
いつでもよいというわけではなく、加工目標等との関係
において限定されることがある。例えば、一回の加工に
かかる時間をできる限り短縮することを加工目標とする
場合には、ワーク交換がワーク加工装置のある動作と並
列的に実行されることによって加工時間が短縮されるよ
うにすべく、作業者は、ワーク加工装置に実行させるべ
き少なくとも1個の動作から適当なものを選び出し、選
び出された動作がワーク交換と並列的に実行されること
となるように数値制御情報を作成することとなる。
[0004] Further, the time at which the workpiece is to be replaced is not always fixed, and may be limited in relation to a processing target or the like. For example, when the processing goal is to reduce the time required for one processing as much as possible, the processing time is shortened by performing the work exchange in parallel with a certain operation of the work processing apparatus. For this purpose, the operator selects an appropriate one from at least one operation to be performed by the work processing apparatus, and transmits numerical control information so that the selected operation is performed in parallel with the work exchange. Will be created.

【0005】しかし、数値制御情報は常に正しく、すな
わち、作業者の意図通りに作成されれるとは限らず、実
際には、例えば作業者のミス等によって正しく作成され
ない場合がある。この場合、ワーク交換がワーク加工装
置のある適当な動作と並列的に実行されない場合には、
加工時間短縮という目標を達成することができず、ま
た、ワーク交換がワーク加工装置のある動作と並列的に
実行されたが、その動作がワーク交換との並列動作が適
当でない動作であった場合には、ワーク加工に支障を来
してしまう。後者の場合、例えば、ワーク加工装置が現
に工具をワークに係合させている状態でワーク交換が行
われると、本来であれば定位置に保たれるべきワークが
ワーク交換装置によって動かされてしまい、ワークやワ
ーク加工装置が損傷してしまう。
[0005] However, numerical control information is not always created correctly, that is, it is not always created as intended by an operator, and in fact, it may not be created correctly due to, for example, an operator's mistake. In this case, if the workpiece exchange is not performed in parallel with a certain appropriate operation of the workpiece processing device,
When the goal of shortening the processing time cannot be achieved, and the work exchange is performed in parallel with a certain operation of the work processing device, but the operation is not suitable for parallel operation with the work exchange. In this case, work processing is hindered. In the latter case, for example, if a workpiece is exchanged while the workpiece processing device is currently engaging a tool with the workpiece, the workpiece that should otherwise be kept at a fixed position is moved by the workpiece exchange device. Then, the work and the work processing device are damaged.

【0006】以上の説明から明らかなように、従来装置
には、ワーク交換が正しい時期に行われるようにするた
めに数値制御情報の作成に手間がかかり、しかも、その
作成の際に作業者にミスが発生すると、重大な事故につ
ながるおそれもあるという問題があったのである。本発
明は、この問題を解決するためになされたものであり、
ワーク交換に係る情報とワーク加工に係る情報とを互い
に独立に作成可能とし、両情報を作業者の介入なしで自
動的に結合してワーク加工装置およびワーク交換装置を
それぞれ制御することにより、数値制御情報の作成の負
担を軽減し、作業者のミスの発生を防ぐことができる数
値制御装置を提供することを目的としている。
As is apparent from the above description, in the conventional apparatus, it takes time and effort to create the numerical control information so that the workpiece can be exchanged at the correct time. There was a problem that a mistake could lead to a serious accident. The present invention has been made to solve this problem,
The information relating to the work exchange and the information relating to the work machining can be created independently of each other, and the two information are automatically combined without operator intervention to control the work machining apparatus and the work exchange apparatus, respectively, thereby achieving numerical values. It is an object of the present invention to provide a numerical controller capable of reducing the burden of creating control information and preventing an operator from making a mistake.

【0007】[0007]

【課題を解決するための手段】この目的を達成するため
に本発明の要旨は図1に示すように、ワークを加工する
ワーク加工装置と、そのワークを別のものに交換するワ
ーク交換装置とをそれぞれ制御する装置を、(a) ワーク
加工装置を数値制御するのに必要な情報を含み、ワーク
交換装置を数値制御するのに必要な情報を含まない数値
制御情報を記憶する数値制御情報記憶手段1と、(b)記
憶された数値制御情報に基づいて前記ワーク加工装置に
実行させるべき複数の動作のうちで、ワーク交換装置に
よるワーク交換動作と並列的に実行すべき動作である
列動作を記憶する並列動作記憶手段2と、(c)数値制御
情報記憶手段1に記憶された数値制御情報に基づいて前
記ワーク加工装置を数値制御するとともに、並列動作記
憶手段2に並列動作が記憶されていない場合には、ワー
ク加工装置の動作に先立ってワーク交換装置にワーク交
換動作をさせる一方、並列動作記憶手段2に並列動作が
記憶されている場合には、ワーク加工装置に実行させる
べき各回の動作が並列動作記憶手段2に記憶された並
動作と一致する場合に、ワーク加工装置とワーク交換装
置とを並列的に動作させ、一致しない場合に、ワーク加
工装置のみを動作させ数値制御手段3とを含むものと
したことにある。
To achieve this object, the gist of the present invention is to provide a work processing apparatus for processing a work and a work exchange apparatus for replacing the work with another work as shown in FIG. the apparatus for controlling each of which includes information necessary to numerically controlled (a) workpiece machining device, a work
A numerical value that does not include the information required to numerically control the switching equipment
A numerical control information storage means 1 for storing control information, (b) based on the stored numerical control information among a plurality of operation to be performed on the workpiece machining device, in parallel with the workpiece exchange operation by the workpiece exchange device A parallel operation storage means 2 for storing a parallel operation which is an operation to be executed, and (c) numerical control
The work processing apparatus is numerically controlled based on the numerical control information stored in the information storage means 1, and the parallel operation record is performed.
If the parallel operation is not stored in the storage unit 2,
Work exchange to the workpiece exchange device prior to the operation of the
While the parallel operation is stored in the parallel operation storage means 2.
If stored, when the operation of each time to be executed by the workpiece machining apparatus matches the parallel operation stored in parallel operation storing means 2, parallel and workpiece machining apparatus and word over click changer which operate, if they do not match, lies in the as including a numerical control unit 3 for Ru is operated only work machining apparatus.

【0008】[0008]

【作用】そのため、本発明に係る数値制御装置において
は、作業者は、数値制御情報をワーク交換のための情報
を含まないものとして作成し、さらに、ワーク交換を並
列的に実行させるべきワーク加工装置の動作すなわち
列動作を数値制御情報とは別に記憶させ、それら両情報
に基づき、数値制御手段3は、ワーク加工装置に実行さ
せるべき各回の動作が、記憶された並列動作と一致する
場合には、ワーク加工装置とワーク交換装置とを並列的
に動作させ、一致しない場合には、ワーク加工装置のみ
を動作させる。すなわち、本発明に係る数値制御装置に
おいては、作業者は、ワーク加工に係る数値制御情報と
ワーク交換に係る情報(ワーク交換動作をワーク加工装
置のいずれの動作と並列的に実行させるかという情報)
とを互いに独立して記憶させるだけで、数値制御手段3
により、作業者の介入なしで、両情報が正しく結び付け
られてワーク加工およびワーク交換が作業者の意思通り
に行われることとなるのである。また、並列動作記憶手
段2に並列動作が記憶されていない場合には、ワーク加
工装置の動作に先立ってワーク交換装置にワーク交換動
作をさせる。並列動作が記憶されていない場合には最初
にワーク交換がされるのである。
Therefore, in the numerical controller according to the present invention, the operator prepares the numerical control information so as not to include the information for exchanging the work, and further, performs the work machining to execute the work exchange in parallel. operation, that parallel of the device
The column operation is stored separately from the numerical control information, and based on both the information, the numerical control means 3 determines that each operation to be executed by the work processing device matches the stored parallel operation , The device and the work exchange device are operated in parallel, and if they do not match, only the work processing device is operated. That is, in the numerical control device according to the present invention, the operator needs to perform numerical control information on work machining and information on work exchange (information on which operation of the work machining device the work exchange operation is performed in parallel with). )
Are stored independently of each other, the numerical control means 3
Thus, the two pieces of information are correctly linked and the workpiece machining and the workpiece exchange are performed as intended by the operator without the intervention of the operator. Also, the parallel operation memory
If the parallel operation is not stored in the stage 2,
Prior to the operation of the machining equipment, the workpiece
Let them work. If the parallel operation is not stored,
The work is replaced at the same time.

【0009】[0009]

【発明の効果】そのため、本発明によれば、数値制御情
報の作成に際して作業者にかかる負担が軽減されるとと
もに、ワーク交換に係る情報とワーク加工に係る情報と
の結合に際して作業者にミスが発生する余地がなくな
り、ワーク交換が常に正しい時期に実行されるという効
果が得られる。
As a result, according to the present invention, the burden on the operator in creating the numerical control information is reduced, and the operator is not mistaken when combining the information on the work exchange and the information on the work processing. There is no room for occurrence, and the effect is obtained that the work exchange is always performed at the correct time.

【0010】[0010]

【実施例】以下、本発明の一実施例であるNC装置を図
面に基づいて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An NC apparatus according to an embodiment of the present invention will be described below in detail with reference to the drawings.

【0011】本NC装置は、図2に示す工作機械8に接
続されてそれを数値制御するものである。この工作機械
8は、パレットに取り付けられたワークを主軸10に取
り付けられたドリル,タップ等の工具12で加工するも
のであって、XY軸移動装置14,Z軸移動装置16,
主軸回転装置18,工具交換装置20,パレット交換装
置22等から構成されている。
The NC device is connected to a machine tool 8 shown in FIG. 2 and numerically controls the machine tool. The machine tool 8 processes a workpiece mounted on a pallet with a tool 12 such as a drill and a tap mounted on a main shaft 10. The XY axis moving device 14, the Z axis moving device 16,
It comprises a spindle rotating device 18, a tool changing device 20, a pallet changing device 22, and the like.

【0012】XY軸移動装置14は、X軸モータ30と
Y軸モータ32とをそれぞれ駆動源とし、工具12をワ
ークに対して主軸の方向(以下、Z軸方向という。図に
おいて上下方向と一致する)に直角なX軸方向とY軸方
向とにそれぞれ相対的に移動させる。Z軸移動装置16
は、Z軸モータ34を駆動源とし、工具12をワークに
対してZ軸方向に相対的に移動させる。主軸回転装置1
8は、主軸モータ36を駆動源として主軸10を回転さ
せ、これにより工具12を回転させる。工具交換装置2
0は、マガジンモータ40により旋回させられる工具マ
ガジン42を有し、多数の工具12を工具マガジン42
の複数の工具ポットにおいて着脱自在に収納保持し、そ
れら工具12の一つを主軸10に装着するための工具交
換可能な位置への割出しを行う。工具交換装置20はさ
らに、主軸10から工具12を外して工具マガジン42
に戻した後、上記割り出された工具12を主軸10に装
着する。
The XY-axis moving device 14 uses the X-axis motor 30 and the Y-axis motor 32 as drive sources, respectively, and moves the tool 12 in the direction of the main shaft with respect to the workpiece (hereinafter referred to as the Z-axis direction. ) Is relatively moved in the X-axis direction and the Y-axis direction, which are perpendicular to the X-axis direction. Z axis moving device 16
Moves the tool 12 relative to the workpiece in the Z-axis direction using the Z-axis motor 34 as a drive source. Spindle rotating device 1
8 rotates the spindle 10 using the spindle motor 36 as a drive source, thereby rotating the tool 12. Tool changer 2
0 has a tool magazine 42 which is turned by a magazine motor 40, and a large number of tools 12 are
The plurality of tool pots are detachably stored and held, and indexing is performed to a position where one of the tools 12 can be replaced with a tool for mounting the tool 12 on the spindle 10. The tool changer 20 further removes the tool 12 from the spindle 10 and removes the tool magazine 42
After that, the indexed tool 12 is mounted on the spindle 10.

【0013】パレット交換装置22は、パレット交換モ
ータ(以下、単にC軸モータという)46を駆動源とし
て水平なテーブル48をZ軸に平行な軸線の回りに間欠
的に回転させるものであり、テーブル48を180度ず
つ回転させることにより、そのテーブル48の、回転軸
線に関して対称な2部分のうち図において左側の部分で
ある第1パレット50と右側の部分である第2パレット
52とのそれぞれの位置を交互に交換するものである。
現在、第1パレット50は、作業者により開閉可能な扉
56を経て作業者によるワークの着脱が行われる着脱位
置にあり、第2パレット52は、工具12によるワーク
の加工が行われる加工位置にあるが、この状態でテーブ
ル48が180度だけ回転させられることにより、第1
パレット50は加工位置に、第2パレット52は着脱位
置にそれぞれ移動させられることになる。
The pallet changing device 22 intermittently rotates a horizontal table 48 about an axis parallel to the Z axis by using a pallet changing motor (hereinafter, simply referred to as a C-axis motor) 46 as a driving source. By rotating the table 48 by 180 degrees, the respective positions of the first pallet 50 on the left side in the figure and the second pallet 52 on the right side of the two parts of the table 48 symmetrical with respect to the rotation axis. Are exchanged alternately.
At present, the first pallet 50 is located at the attachment / detachment position where the worker attaches / detaches the work via the door 56 which can be opened / closed by the operator, and the second pallet 52 is located at the machining position where the machining of the work by the tool 12 is performed. However, the table 48 is rotated by 180 degrees in this state, so that the first
The pallet 50 is moved to the processing position, and the second pallet 52 is moved to the attaching / detaching position.

【0014】すなわち、本実施例においては、このパレ
ット交換装置22が本発明における「ワーク交換装置」
の一態様を構成し、工作機械8のうちそのパレット交換
装置22を除く部分が本発明における「ワーク加工装
置」の一態様を構成しているのである。
That is, in the present embodiment, the pallet changing device 22 is a "work changing device" in the present invention.
The portion of the machine tool 8 excluding the pallet changing device 22 constitutes one embodiment of the “work processing device” of the present invention.

【0015】本NC装置100は同図に示すように、工
作機械8の後部に取り付けられている。本NC装置10
0はコンピュータを主体として構成され、そのコンピュ
ータは図3に示すように、複数のCPU、すなわち、マ
スタCPU111,スレーブCPU112およびATC
CPU113を備えている。
As shown in FIG. 1, the NC device 100 is mounted on the rear of the machine tool 8. The present NC device 10
0 is mainly composed of a computer, and the computer has a plurality of CPUs, that is, a master CPU 111, a slave CPU 112, and an ATC as shown in FIG.
The CPU 113 is provided.

【0016】マスタCPU111は、本NC装置100
全体を総合的に制御するものであって、NC装置100
全体を総合的に制御する総合制御プログラム,常数等を
予め記憶したマスタROM114と、加工制御実行中の
変数,フラグ等を一時的に記憶する第1マスタRAM1
15と、各種ワークの加工に必要なNCプログラム等を
予め記憶した第2マスタRAM116とに接続されてい
る。なお、第2マスタRAM116は、電源がOFFさ
れた後でもデータをそのまま保存するものとされてい
る。そして、マスタCPU111は、NCプログラムや
他のデータを入力する入力手段(例えば、キー)123
や、それらNCプログラム等を表示する表示手段(例え
ば、液晶画面)124に接続されている。それら入力手
段123および表示手段124は図2に示すように、工
作機械8の前面の操作パネル125に設けられている。
[0016] The master CPU 111
The entire system is controlled comprehensively, and the NC device 100
A master ROM 114 preliminarily storing a general control program, constants, and the like for controlling the whole as a whole, and a first master RAM 1 temporarily storing variables, flags, and the like during execution of machining control.
15 and a second master RAM 116 in which NC programs and the like necessary for processing various works are stored in advance. The second master RAM 116 stores data as it is even after the power is turned off. Then, the master CPU 111 is an input unit (for example, a key) 123 for inputting an NC program and other data.
And display means (for example, a liquid crystal screen) 124 for displaying the NC programs and the like. The input means 123 and the display means 124 are provided on an operation panel 125 on the front of the machine tool 8, as shown in FIG.

【0017】スレーブCPU112は、各種ワークの加
工およびパレット交換を行うものであって、図3に示す
ように、各種ワークの加工およびパレット交換のための
モータ駆動プログラム,常数等を予め記憶したスレーブ
ROM117と、加工制御実行中の変数,フラグ等を一
時的に記憶するスレーブRAM118とに接続されてい
る。そして、スレーブCPU112は、前記X軸モータ
30,Y軸モータ32,Z軸モータ34,主軸モータ3
6およびC軸モータ46に接続されている。
The slave CPU 112 performs machining of various works and pallet replacement. As shown in FIG. 3, a slave ROM 117 previously stores a motor drive program, constants and the like for machining and pallet replacement of various works. And a slave RAM 118 that temporarily stores variables, flags, and the like during execution of machining control. Then, the slave CPU 112 controls the X-axis motor 30, Y-axis motor 32, Z-axis motor 34,
6 and a C-axis motor 46.

【0018】ATCCPU113は、工具交換を制御す
るものであって、工具交換に必要なマガジン旋回プログ
ラム,常数等を予め記憶したATCROM119と、工
具交換制御実行中の変数,フラグ等を一時的に記憶する
ATCRAM120とに接続されている。そして、AT
CCPU113は前記マガジンモータ40に接続されて
いる。
The ATC CPU 113 controls tool change, and temporarily stores an ATC ROM 119 in which a magazine turning program, constants, and the like necessary for tool change are stored in advance, and variables, flags, and the like during execution of the tool change control. It is connected to the ATCRAM 120. And AT
The CCPU 113 is connected to the magazine motor 40.

【0019】マスタCPU111とスレーブCPU11
2との間には、両者間で指令その他の情報を相互に通信
するためにMS間共通RAM121が接続されている。
このMS間共通RAM121においては、マスタCPU
111およびスレーブCPU112の双方から、各種情
報の書き込みおよび読み出しが行われる。そして、マス
タCPU111はそれらMS間共通RAM121および
スレーブCPU112を介してX軸モータ30,Y軸モ
ータ32,Z軸モータ34,主軸モータ36およびC軸
モータ46をそれぞれ制御するのであるが、この際、そ
れらX軸モータ30等については工作機械8の許す限り
多くの並列動作が行われるようになっている。
Master CPU 111 and slave CPU 11
Between them, a common RAM 121 between MSs is connected in order to mutually communicate commands and other information between them.
In this inter-MS common RAM 121, the master CPU
Various information is written and read from both the CPU 111 and the slave CPU 112. Then, the master CPU 111 controls the X-axis motor 30, the Y-axis motor 32, the Z-axis motor 34, the main shaft motor 36, and the C-axis motor 46 via the inter-MS common RAM 121 and the slave CPU 112. The X-axis motor 30 and the like are configured to perform as many parallel operations as the machine tool 8 allows.

【0020】MS間共通RAM121には、図4に概念
的に示すように、各種フラグ(図において末尾に「F」
を付して表す)や各種数値データ(図において末尾に
「V」を付して表す)をそれぞれ記憶するための位置が
予め設定されている。以下、それらフラグおよび数値デ
ータの機能について説明する。
As shown conceptually in FIG. 4, various flags ("F" at the end of the figure)
) And various numerical data (indicated by suffix “V” in the figure) are stored in advance. Hereinafter, the functions of these flags and numerical data will be described.

【0021】A.各種フラグの機能 実行開始指令フラグ(図において「START
F」):「1」である状態で一回の加工制御の実行開始
を指令するフラグ。マスタCPU111が設定してスレ
ーブCPU112が読み出すことにより、スレーブCP
U112がマスタCPU111の発令状態を監視するた
めのフラグ。
A. Function of various flags Execution start command flag (“START
F "): A flag for instructing the start of one execution of machining control in the state of" 1 ". By setting by the master CPU 111 and reading by the slave CPU 112, the slave CP
A flag for the U112 to monitor the issuing status of the master CPU 111.

【0022】 実行終了フラグ(図において「END
F」):「1」である状態で一回の加工制御の実行が
終了したことを知らせるフラグ。先のフラグとは異な
り、スレーブCPU112が設定してマスタCPU11
1が読み出すことにより、マスタCPU111がスレー
ブCPU112の状態すなわち実際の加工状態を監視す
るためのフラグ。
An execution end flag (“END” in the figure)
F "): A flag notifying that one execution of machining control has been completed in the state of" 1 ". Unlike the previous flag, the slave CPU 112 sets the master CPU 11
A flag for the master CPU 111 to monitor the state of the slave CPU 112, that is, the actual processing state, by reading 1.

【0023】 主軸動作状態指令フラグ(図において
「SP CMD F」):「0」である状態で主軸10
を停止させることを指令し、「1」である状態で主軸1
0を右回転させることを指令し、「2」である状態で主
軸10を左回転させることを指令するフラグ。上記実行
開始指令フラグと同様に、スレーブCPU112がマス
タCPU111の発令状態を監視するためのフラグ。
Main shaft operation state command flag (“SP CMD F” in the figure): Main shaft 10 in the state of “0”
Command to stop the main spindle 1 in the state of "1".
A flag instructing to rotate 0 to the right, and instructing the main shaft 10 to rotate to the left in the state of “2”. A flag for the slave CPU 112 to monitor the issuing state of the master CPU 111, similarly to the execution start command flag.

【0024】B.各種数値データの機能 (1) スレーブCPU112が設定してマスタCPU1
11が読み出すことにより、マスタCPU111がスレ
ーブCPU112の状態すなわち実際の加工状態を監視
するための数値データ(スレーブCPU112により逐
次更新される) X軸現在位置データ(図において「X POS
V」):工具12のX軸方向における現在位置を表す数
値データ。 Y軸現在位置データ(図において「Y POS
V」):工具12のY軸方向における現在位置を表す数
値データ。 Z軸現在位置データ(図において「Z POS
V」):工具12のZ軸方向における現在位置を表す数
値データ。 C軸現在位置データ(図において「C POS
V」):テーブル48の現在の角度位置を表す数値デー
タ。具体的には、テーブル48の第1パレット50が作
業者に対面する着脱位置にある状態では「0(0度を表
す)」、第2パレット52が着脱位置にある状態では
「180000(180度を表す)」となる。
B. Functions of Various Numerical Data (1) The master CPU 1 is set by the slave CPU 112
Numerical data for the master CPU 111 to monitor the state of the slave CPU 112, that is, the actual machining state (sequentially updated by the slave CPU 112) by reading by the master CPU 111. X-axis current position data (“X POS in FIG.
V "): Numerical data representing the current position of the tool 12 in the X-axis direction. Y-axis current position data (in the figure, "Y POS
V "): Numerical data representing the current position of the tool 12 in the Y-axis direction. Z-axis current position data (“Z POS in the figure
V "): Numerical data representing the current position of the tool 12 in the Z-axis direction. C-axis current position data (“C POS in the figure
V "): Numerical data representing the current angular position of the table 48. Specifically, when the first pallet 50 of the table 48 is at the attachment / detachment position facing the operator, it is “0 (representing 0 degrees)”, and when the second pallet 52 is at the attachment / detachment position, it is “180000 (180 degrees). Represents).

【0025】(2) マスタCPU111が設定してスレ
ーブCPU112が読み出すことにより、スレーブCP
U112がマスタCPU111の発令状態を監視するた
めの数値データ X軸移動指令値データ(図において「X CMD
V」):工具12のX軸方向移動量、すなわちX軸モー
タ30の駆動量を指令する数値データ。 Y軸移動指令値データ(図において「Y CMD
V」):工具12のY軸方向移動量、すなわちY軸モー
タ32の駆動量を指令する数値データ。 Z軸移動指令値データ(図において「Z CMD
V」):工具12のZ軸方向移動量、すなわちZ軸モー
タ34の駆動量を指令する数値データ。 C軸回転指令値データ(図において「C CMD
V」):テーブル48の回転量、すなわちC軸モータ4
6の駆動量を指令する数値データ。テーブル48を旋回
(ワーク交換)させるときには「180000」とな
る。 主軸回転速度指令値データ(図において「SP C
MD V」):主軸10の回転速度、すなわち主軸モー
タ36の回転速度を指令する数値データ。 送り速度指令値データ(図において「FEED
V」):主軸10の送り速度(Z軸方向における移動速
度)、すなわちZ軸モータ34の回転速度を指令する数
値データ。
(2) The slave CPU 112 sets and reads out the slave CP
Numerical data for U112 to monitor the issuing status of master CPU 111 X-axis movement command value data (in the figure, "X CMD"
V "): Numerical data for instructing the amount of movement of the tool 12 in the X-axis direction, that is, the amount of drive of the X-axis motor 30. Y-axis movement command value data (“Y CMD in the figure”
V "): Numerical data for instructing the amount of movement of the tool 12 in the Y-axis direction, that is, the amount of drive of the Y-axis motor 32. Z-axis movement command value data (“Z CMD in the figure
V "): Numerical data for instructing the amount of movement of the tool 12 in the Z-axis direction, that is, the amount of drive of the Z-axis motor 34. C-axis rotation command value data (“C CMD in the figure”
V "): The amount of rotation of the table 48, that is, the C-axis motor 4
Numerical data for commanding the driving amount of 6. When the table 48 is turned (work exchange), it becomes “180000”. Spindle speed command value data (“SP C
MDV "): Numerical data for instructing the rotation speed of the spindle 10, that is, the rotation speed of the spindle motor 36. Feed speed command value data (“FEED
V "): Numerical data for commanding the feed speed of the spindle 10 (movement speed in the Z-axis direction), that is, the rotation speed of the Z-axis motor 34.

【0026】マスタCPU111とATCCPU113
との間にも、MS間共通RAM121と同様なMA間共
通RAM122が接続されている。このMA間共通RA
M122には、図5に概念的に示すように、工具交換開
始指令フラグ(図において「A START F」),
工具交換終了フラグ(図において「A END F」)
および工具ポット番号データ(図において「A POT
V」)を記憶する位置が設定されている。以下、それ
らフラグ等を説明する。
Master CPU 111 and ATC CPU 113
Between them, an inter-MA common RAM 122 similar to the inter-MS common RAM 121 is connected. This common RA between MAs
As conceptually shown in FIG. 5, M122 includes a tool change start command flag (“A START F” in the figure),
Tool change end flag ("A END F" in the figure)
And tool pot number data (“A POT
V ") is set. Hereinafter, these flags and the like will be described.

【0027】 工具交換開始指令フラグ:「1」であ
る状態で一回の工具交換の実行開始を指令するフラグ。
マスタCPU111が設定してATCCPU113が読
み出すことにより、ATCCPU113がマスタCPU
111の発令状態を監視するためのフラグ。 工具交換終了フラグ:「1」である状態で一回の工
具交換の実行が終了したことを知らせるフラグ。ATC
CPU113が設定してマスタCPU111が読み出す
ことにより、マスタCPU111がATCCPU113
の状態すなわち実際の工具交換状態を監視するためのフ
ラグ。 工具ポット番号データ:工具マガジン42において
今回割り出されるべき工具ポットの番号を表す数値デー
タ。上記工具交換開始指令フラグと同様に、ATCCP
U113がマスタCPU111の発令状態を監視するた
めの数値データ。
Tool change start command flag: A flag for commanding the start of one tool change execution in the state of “1”.
The ATC CPU 113 sets the master CPU 111 and reads the data.
A flag for monitoring the issuing status of 111. Tool change end flag: A flag indicating that the execution of one tool change has been completed in the state of "1". ATC
The setting by the CPU 113 and the reading by the master CPU 111 cause the master CPU 111 to
For monitoring the status of the tool, that is, the actual tool change status. Tool pot number data: Numerical data representing the number of the tool pot to be determined this time in the tool magazine 42. Similar to the tool change start command flag, ATCCP
Numerical data for U113 to monitor the issuing status of master CPU 111.

【0028】前記第2マスタRAM116の構成を図6
に概念的に示す。この第2マスタRAM116には、N
Cプログラムや、パレット交換と並行して実行すべき動
作を表す並列動作命令コードが予め記憶されている。こ
の並列動作命令コードは作業者により前記入力手段12
3を介して、任意のものに設定できる。なお、図には、
NCプログラムの一例であるタップカットプログラム
と、並列動作命令コードの一例である「M06」であっ
て工具交換を表す命令コードとが記載されている。
The structure of the second master RAM 116 is shown in FIG.
Is shown conceptually. This second master RAM 116 has N
A C program and a parallel operation instruction code indicating an operation to be executed in parallel with pallet exchange are stored in advance. This parallel operation instruction code is input to the input means 12 by the operator.
3 can be set as desired. In the figure,
A tap cut program, which is an example of an NC program, and an instruction code “M06”, which is an example of a parallel operation instruction code, that indicates tool exchange are described.

【0029】すなわち、NCプログラムは、各パレット
50,52に装着された少なくとも1個のワークに対し
て実行すべき複数の動作の種類と量とが動作の順に並ん
で構成されているのであり、本実施例においては、これ
が本発明における「数値制御情報」の一態様を構成して
いるのである。
That is, the NC program has a plurality of types and amounts of operations to be executed on at least one work mounted on each of the pallets 50 and 52, arranged in the order of the operations. In the present embodiment, this constitutes one aspect of the “numerical control information” of the present invention.

【0030】前記マスタROM114に記憶されている
総合制御プログラムは図7のフローチャートで表され
る。この総合制御プログラムは、概略的に説明すれば、
第2マスタRAM116からNCプログラム内の動作命
令を1個ずつ順に読み出しつつ、その動作命令が実現さ
れるように各種モータ30等を制御するものである。さ
らに、この総合制御プログラムは、NCプログラムの読
み出しに先立ち、第2マスタRAM116に並列動作命
令コードが記憶されているか否かを判定し、記憶されて
いない場合には、今回の加工に先立ってテーブル48を
180度回転させることによってパレット交換を行い、
一方、並列動作命令コードが記憶されている場合には、
NCプログラムの読み出し後、各回の動作命令が今回の
並列動作命令コードに対応するか否かを逐次判定し、そ
うであれば、今回の動作とパレット交換とを並列的に実
行するが、そうでなければ、今回の動作のみを単独で実
行する。
The general control program stored in the master ROM 114 is represented by a flowchart shown in FIG. This comprehensive control program is roughly described as follows:
While sequentially reading out the operation instructions in the NC program one by one from the second master RAM 116, the motors 30 and the like are controlled so that the operation instructions are realized. Further, this comprehensive control program determines whether or not a parallel operation instruction code is stored in the second master RAM 116 prior to reading out the NC program. Pallet exchange is performed by rotating 48 by 180 degrees,
On the other hand, when the parallel operation instruction code is stored,
After reading the NC program, it is sequentially determined whether or not each operation instruction corresponds to the current parallel operation instruction code. If so, the current operation and the pallet exchange are executed in parallel. If not, only this operation is executed alone.

【0031】なお、各回の動作命令と並列動作命令コー
ドとの比較、およびその結果に応じた加工制御について
は、図7においてはS321,322,323,・・・
で表されているが、その実行内容は二種類に分類され
る。すなわち、NC装置100により制御可能な全動作
内容のうち、パレット交換動作との並列動作が可能なも
のについての実行内容と、不可能なものについての実行
内容(並列動作命令未設定)との二種類に分類されるの
である。前者の一例は工具交換とパレット交換との並列
動作についての実行内容であって、その詳細は図9のフ
ローチャートで表される。
The comparison between the operation command and the parallel operation command code of each time and the machining control according to the result are shown in FIG. 7 in S321, 322, 323,.
The execution contents are classified into two types. That is, of all the operation contents that can be controlled by the NC device 100, there are two execution contents, one that can be operated in parallel with the pallet exchange operation and the other that cannot be executed (parallel operation instruction not set). They are classified into types. One example of the former is the execution contents of the parallel operation of the tool change and the pallet change, and details thereof are shown in the flowchart of FIG.

【0032】以下、総合制御プログラムを図7に基づい
て詳細に説明する。まず、ステップS300(以下、単
にS300で表す。他のステップについても同じ)にお
いて、今回、並列動作命令コードが設定されていないか
否かが判定される。すなわち、第2マスタRAM116
に並列動作命令コードが記憶されていないか否かが判定
されるのである。今回は記憶されていないと仮定すれ
ば、判定がYESとなり、S320において、パレット
交換が実行される。
Hereinafter, the overall control program will be described in detail with reference to FIG. First, in step S300 (hereinafter simply referred to as S300; the same applies to other steps), it is determined whether or not a parallel operation instruction code has been set this time. That is, the second master RAM 116
Is determined whether or not the parallel operation instruction code is stored. If it is not stored this time, the determination is YES, and pallet replacement is performed in S320.

【0033】本ステップの詳細を図8のフローチャート
で表す。すなわち、まず、S401において、MS間共
通RAM121においてC軸回転指令値データが「18
0000」とされ、次に、S402において、MS間共
通RAM121において実行開始指令フラグが「1」と
され、これにより、スレーブCPU112に対してパレ
ット交換の実行開始が指令されることになる。その後、
S403において、MS間共通RAM121において実
行終了フラグが「1」になるのが待たれ、これにより、
スレーブCPU112が今回のパレット交換を終了する
のが待たれる。パレット交換が終了すれば、判定がYE
Sとなり、図7の301に移行する。
The details of this step are shown in the flowchart of FIG. That is, first, in S401, the C-axis rotation command value data is set to “18” in the inter-MS common RAM 121.
0000 ", and then, in S402, the execution start command flag is set to" 1 "in the inter-MS common RAM 121, thereby instructing the slave CPU 112 to start executing pallet exchange. afterwards,
In S403, it is waited for the execution end flag to become “1” in the inter-MS common RAM 121.
It is waited for the slave CPU 112 to end the current pallet exchange. If pallet change is completed, the judgment is YE
It becomes S, and it moves to 301 of FIG.

【0034】本ステップにおいては、第2マスタRAM
116から一つの動作命令が読み出され、以下の諸ステ
ップにおいて、その今回の動作命令の種類が判別され、
その今回の動作内容が実現されるように、MS間共通R
AM121の各種フラグおよび各種指令値データが設定
される。
In this step, the second master RAM
One operation instruction is read from 116, and in the following steps, the type of the current operation instruction is determined,
In order to realize the operation content of this time, the common R
Various flags and various command value data of the AM 121 are set.

【0035】具体的には、まず、S311において、今
回の動作命令が位置決め移動命令(図において「G0
0」で表す)であるか否かが判定される。ここで「位置
決め移動命令」とは、工具12をX,Y軸方向にそれぞ
れ移動させることによって、加工位置にあるワークに対
して工具12を位置決めする命令を意味する。
More specifically, first, in S311, the current operation command is a positioning movement command (“G0
0 ") is determined. Here, the “positioning movement command” means a command to move the tool 12 in the X and Y axis directions to position the tool 12 with respect to the workpiece at the processing position.

【0036】今回の動作命令が位置決め移動命令である
場合には、S311の判定がYESとなり、S321に
おいて、位置決め移動を実現するためのフラグおよび指
令値データの設定が行われる。具体的には、前記X軸移
動指令値データ等が適当な値とされるとともに実行開始
指令フラグが「1」とされ、これにより、スレーブCP
U112を介してX軸モータ30等が制御され、その結
果、今回の動作命令である位置決め移動が実現されるこ
とになるのである。本ステップにおいては、さらに、M
S間共通RAM121において実行終了フラグが「1」
となったか否か、すなわち、位置決め移動が終了したか
否かが判定され、終了すれば、S303に移行する。
If the current operation command is a positioning movement command, the determination in S311 is YES, and in S321, a flag and command value data for realizing positioning movement are set. Specifically, the X-axis movement command value data and the like are set to appropriate values, and the execution start command flag is set to “1”.
The X-axis motor 30 and the like are controlled via the U112, and as a result, the positioning movement, which is the current operation command, is realized. In this step, M
The execution end flag is “1” in the inter-S common RAM 121
Is determined, that is, whether or not the positioning movement has been completed, and if it has been completed, the process proceeds to S303.

【0037】本ステップにおいては、スレーブRAM1
18の図示しないプログラム終了フラグ(「1」である
状態で今回のNCプログラム全部について処理が終了し
たことを示すフラグ)が「1」であるか否かが判定され
る。今回は「1」ではなく「0」であると仮定すれば、
判定がNOとなり、S301に戻って次回の動作命令の
実行が開始されるが、「1」であると仮定すれば、判定
がYESとなり、一回の加工制御(通常、ワーク1個分
の加工)が終了する。
In this step, the slave RAM 1
It is determined whether or not a program end flag (not shown) indicating that processing has been completed for all of the current NC programs in the state of “1” is “1”. This time, assuming that it is "0" instead of "1",
If the determination is NO, the process returns to S301 and the next execution of the operation command is started. However, if it is assumed to be “1”, the determination becomes YES, and one processing control (normally, processing for one workpiece) ) Ends.

【0038】以上、今回の動作命令が位置決め移動命令
であった場合を例にとって説明したが、そうでない場合
には、S311の判定がNOとなり、S312におい
て、今回の動作命令が切削移動命令(図において「G0
1」で表す)であるか否かが判定される。ここで「切削
移動命令」とは、工具12でワークを切削加工するため
に工具12を移動させる命令を意味する。
The case where the current operation command is a positioning movement command has been described above, but if not, the determination in S311 is NO, and in S312, the current operation command is a cutting movement command (see FIG. In "G0
1 ") is determined. Here, the “cutting movement command” means a command to move the tool 12 in order to cut the workpiece with the tool 12.

【0039】今回の動作命令が切削移動命令である場合
には、S312の判定がYESとなり、S322におい
て、前記S321に準じて、切削移動のためのフラグお
よび指令値データの設定が行われ、その後、S303に
移行する。
If the current operation command is a cutting movement command, the determination in S312 is YES, and in S322, a flag for cutting movement and command value data are set in accordance with S321, and thereafter, , S303.

【0040】また、今回の動作命令が位置決め移動命令
でも切削移動命令でもない場合には、S311の判定も
S312の判定もNOとなり、S313において、今回
の動作命令が工具交換命令(図において「M06」で表
す)であるか否かが判定される。
If the current operation command is neither a positioning movement command nor a cutting movement command, both the determinations in S311 and S312 are NO, and in S313, the current operation command is a tool change command ("M06" in the figure). ) Is determined.

【0041】今回の動作命令が工具交換命令である場合
には、S313の判定がYESとなり、S323におい
て、その工具交換命令を実行するためのフラグおよび指
令値データの設定が行われる。その詳細を図9に基づい
て説明する。
If the current operation command is a tool change command, the determination in S313 is YES, and in S323, a flag and command value data for executing the tool change command are set. The details will be described with reference to FIG.

【0042】まず、S501において、MS間共通RA
M121において工具ポットの値が、今回工具マガジン
42から工具12が取り出されるべき工具ポットの番号
に設定される。次に、S502において、今回の並列動
作命令コードが「M06」であるか否か、すなわち、今
回の動作命令がパレット交換との並列動作が可能なもの
であるか否かが判定される。今回は並列動作命令コード
として「M06」が記憶されていると仮定すれば、判定
がYESとなり、S503において、C軸回転指令値デ
ータが「180000」とされ、S504において、実
行開始指令フラグが「1」とされ、工具交換開始指令フ
ラグも「1」とされる。
First, in S501, the common RA between MSs
In M121, the value of the tool pot is set to the number of the tool pot from which the tool 12 should be taken out of the tool magazine 42 this time. Next, in S502, it is determined whether or not the current parallel operation instruction code is “M06”, that is, whether or not the current operation instruction is one that enables parallel operation with pallet exchange. Assuming that "M06" is stored as the parallel operation instruction code this time, the determination is YES, the C-axis rotation instruction value data is set to "180000" in S503, and the execution start instruction flag is set to "180000" in S504. 1 ", and the tool change start command flag is also set to" 1 ".

【0043】本実施例においては、マガジン旋回はスレ
ーブCPU112、工具交換はATCCPU113によ
りそれぞれ互いに独立して実行可能とされているから、
実行開始指令フラグと工具交換開始指令フラグとが互い
に同時に「1」とされれば、結局、スレーブCPU11
2によるC軸モータ46の回転すなわちパレット交換が
実行され、それと同時に、ATCCPU113によるマ
ガジンモータ40の回転すなわち工具交換が実行される
ことになる。ただし、2個のCPUを用いて並列動作を
実行することは本発明を実施する上で不可欠なことでは
なく、1個のCPUで並列動作を実行するようにして本
発明を実施してもよい。
In this embodiment, the magazine rotation can be executed independently of each other by the slave CPU 112 and the tool exchange by the ATC CPU 113.
If the execution start command flag and the tool change start command flag are simultaneously set to “1”, the slave CPU 11
2, rotation of the C-axis motor 46, that is, pallet change, is executed, and at the same time, rotation of the magazine motor 40, that is, tool change, by the ATC CPU 113 is executed. However, executing the parallel operation using two CPUs is not indispensable for implementing the present invention, and the present invention may be implemented such that one CPU performs the parallel operation. .

【0044】なお、一連の加工において工具交換が常に
一回しか行われないとは限らず、複数回行われることも
ある。そのため、S502は、今回の動作内容すなわち
工具交換と並列動作命令とが始めて一致したときに限っ
て、判定がYESとなり、再び一致したときには判定が
NOとなるように設計されている。2回目以後の工具交
換の際にワーク交換が行われると、ワークが加工が終了
しない状態で交換されてしまうからである。
In a series of machining, the tool change is not always performed only once, but may be performed plural times. Therefore, S502 is designed so that the determination is YES only when the current operation content, that is, the tool change and the parallel operation command match for the first time, and the determination becomes NO when they match again. This is because if the work is changed during the second or subsequent tool change, the work is changed without finishing the machining.

【0045】その後、S505において、パレット交換
も工具交換も終了して、実行終了フラグも工具交換終了
フラグも「1」となるのが待たれ、「1」となれば、判
定がYESとなって、図7のS303に戻る。
Thereafter, in S505, both the pallet exchange and the tool exchange are terminated, and it is waited that both the execution end flag and the tool exchange end flag become "1". If they become "1", the judgment becomes YES. The process returns to S303 in FIG.

【0046】これに対して、上記の例とは異なり、並列
動作命令コードが設定されていないか、または「M0
6」でない並列動作命令コードが設定されている場合に
は、S502の判定がNOとなり、S510において、
工具交換開始指令フラグのみが「1」とされ、これによ
り、ATCCPU113による工具交換のみが実行され
る。その後、S511においてその工具交換が終了する
のが待たれる。
On the other hand, unlike the above example, the parallel operation instruction code is not set, or "M0
If a parallel operation instruction code other than “6” is set, the determination in S502 is NO, and in S510,
Only the tool change start command flag is set to "1", whereby only the tool change by the ATC CPU 113 is executed. Thereafter, it is waited in S511 that the tool change is completed.

【0047】今回の動作命令が上記位置決め移動命令等
ではなく、プログラム終了命令(図において「M30」
で表す)である場合には、図7のS315の判定がYE
Sとなり、S325において、前記プログラム終了フラ
グを「1」にするプログラム終了処理が実行される。こ
の場合には、その後、S303において、プログラム終
了フラグが「1」であるか否かが判定されれば、判定が
YESとなるから、総合制御プログラムの一回の実行が
終了することになる。
The current operation command is not the above-mentioned positioning movement command or the like, but a program end command (“M30” in the figure).
), The determination in S315 of FIG.
In S, a program end process for setting the program end flag to "1" is executed in S325. In this case, if it is determined in S303 whether or not the program end flag is “1”, the determination becomes YES, and the single execution of the comprehensive control program ends.

【0048】以上の説明から明らかなように、本実施例
においては、並列動作命令コードが設定されていない場
合には、今回の加工に先立ってワーク交換が単独で行わ
れる。したがって、本実施例においては、作業者が並列
動作命令コードをNC装置100に対して設定し忘れた
としても、今回のNC加工に先立ってワーク交換が確実
に行われるため、ワーク交換が行われず、加工済みのワ
ークに対して今回のNC加工が行われてしまうという事
態が発生せずに済むという効果が得られる。また、ワー
ク交換を意図的に単独で行わせたい場合には、作業者は
並列動作命令コードを設定せずに済み、作業者の負担が
軽減されるという効果が得られる。
As is apparent from the above description, in the present embodiment, when the parallel operation instruction code is not set, the work exchange is performed alone prior to the current machining. Therefore, in the present embodiment, even if the operator forgets to set the parallel operation instruction code in the NC device 100, the work exchange is performed without fail before the current NC machining, so that the work exchange is not performed. In addition, there is obtained an advantage that a situation in which the current NC processing is performed on the processed work does not occur. In addition, when the workpiece exchange is intentionally performed independently, the operator does not need to set the parallel operation instruction code, and the effect of reducing the burden on the operator is obtained.

【0049】これに対して、並列動作命令コードが設定
されている場合には、ワーク交換が工具交換と並列的に
行われることになる。工具交換はワークの存在とは無関
係に実行され得るものであるからワーク交換との並列動
作が可能なのであり、また、工具交換(正確には、初回
の工具交換)は前述のように、一連の加工においてその
当初に、すなわち、ワークに対する加工(位置決め等を
含む)が実質的に行われていない状態で行われるもので
あるから、結局、ワーク交換は一連の加工の当初におい
てワーク交換と並列的に実行されることとなる。
On the other hand, when the parallel operation instruction code is set, the work exchange is performed in parallel with the tool exchange. Since the tool change can be performed irrespective of the existence of the work, a parallel operation with the work change is possible, and the tool change (more precisely, the first tool change) is performed as described above. Since the processing is performed at the beginning of the processing, that is, in a state where the processing (including positioning and the like) on the workpiece is not substantially performed, the workpiece replacement is performed in parallel with the workpiece replacement at the beginning of a series of processing. Will be executed.

【0050】したがって、本実施例においては、作業者
は、ワーク交換動作を工具交換動作と並列的に実行させ
たい場合には、その並列動作要求をNCプログラムに直
接に記述することなく、ワーク交換動作と並列的に実行
すべき動作として工具交換動作をNC装置100に対し
て設定しさえすればよい。そのため、本実施例において
は、作業者は、NCプログラムの作成に際して並列動作
を考慮せずに済み、NCプログラムの作成にかかる負担
が軽減されるとともに、ワーク交換に関するNCプログ
ラムへの記述誤りから回避され、記述誤りに基づく事故
の心配をせずに済むという効果も得られる。
Therefore, in the present embodiment, when the operator wants to execute the work changing operation in parallel with the tool changing operation, the operator does not need to directly describe the parallel operation request in the NC program, and performs the work changing operation. It is only necessary to set a tool change operation in the NC device 100 as an operation to be executed in parallel with the operation. Therefore, in the present embodiment, the operator does not need to consider the parallel operation when creating the NC program, thereby reducing the burden of creating the NC program and avoiding the mistake in the description of the NC program related to the work exchange. In addition, there is an effect that it is not necessary to worry about an accident due to a description error.

【0051】以上の説明から明らかなように、本実施例
においては、第2マスタRAM116のうちNCプログ
ラムを記憶する部分が本発明における「数値制御情報記
憶手段1」の一態様を構成し、その第2マスタRAM1
16のうち並行動作命令コードを記憶する部分が入力手
段123と共同して、「要求並行動作記憶手段2」の一
態様を構成し、NC装置100のコンピュータのうち上
記第2マスタRAM116を除く部分が「数値制御手段
3」の一態様を構成しているのである。
As is apparent from the above description, in this embodiment, the portion of the second master RAM 116 for storing the NC program constitutes one mode of the "numerical control information storage means 1" of the present invention. 2nd master RAM1
16, the part storing the parallel operation instruction code cooperates with the input means 123 to constitute one embodiment of the "requested parallel operation storage means 2", and the part of the computer of the NC apparatus 100 other than the second master RAM 116. Constitute one aspect of the “numerical control means 3”.

【0052】以上、本発明の一実施例を図面に基づいて
詳細に説明したが、この他にも、特許請求の範囲を逸脱
することなく、当業者の知識に基づいて種々の変形,改
良を施した態様で本発明を実施することができる。
Although the embodiment of the present invention has been described in detail with reference to the drawings, various modifications and improvements may be made based on the knowledge of those skilled in the art without departing from the scope of the claims. The present invention can be carried out in the mode in which it is performed.

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

【図1】本発明の構成を概念的に示す図である。FIG. 1 is a diagram conceptually showing a configuration of the present invention.

【図2】本発明の一実施例であるNC装置が使用される
工作機械を概略的に説明するための側面図である。
FIG. 2 is a side view schematically illustrating a machine tool in which the NC device according to one embodiment of the present invention is used.

【図3】そのNC装置の電気系統を工作機械の電気系統
と共に示すシステム図である。
FIG. 3 is a system diagram showing an electric system of the NC device together with an electric system of a machine tool.

【図4】図3におけるMS間共通RAMの構成を概念的
に示す図である。
FIG. 4 is a diagram conceptually showing a configuration of an inter-MS common RAM in FIG. 3;

【図5】図3におけるMA間共通RAMの構成を概念的
に示す図である。
5 is a diagram conceptually showing a configuration of an inter-MA common RAM in FIG. 3;

【図6】図3における第2マスタRAMの構成を概念的
に示す図である。
FIG. 6 is a diagram conceptually showing a configuration of a second master RAM in FIG. 3;

【図7】図3のマスタROMに予め記憶されている総合
制御プログラムを示すフローチャートである。
FIG. 7 is a flowchart showing a comprehensive control program stored in advance in a master ROM of FIG. 3;

【図8】図7におけるS320の詳細を示すフローチャ
ートである。
FIG. 8 is a flowchart showing details of S320 in FIG. 7;

【図9】図7におけるS323の詳細を示すフローチャ
ートである。
FIG. 9 is a flowchart illustrating details of S323 in FIG. 7;

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

8 工作機械 22 パレット交換装置 100 NC装置 8 Machine tool 22 Pallet changing device 100 NC device

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−311408(JP,A) 特開 平2−121003(JP,A) 特開 昭59−202507(JP,A) 特開 平2−234204(JP,A) 特開 昭61−62104(JP,A) 特開 平5−94206(JP,A) 実開 昭62−66306(JP,U) (58)調査した分野(Int.Cl.7,DB名) G05B 19/18 - 19/46 B23Q 15/00 - 15/28 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-63-311408 (JP, A) JP-A-2-121003 (JP, A) JP-A-59-202507 (JP, A) JP-A-2- 234204 (JP, A) JP-A-61-62104 (JP, A) JP-A-5-94206 (JP, A) JP-A-62-66306 (JP, U) (58) Fields investigated (Int. 7 , DB name) G05B 19/18-19/46 B23Q 15/00-15/28

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ワークを加工するワーク加工装置と、そ
のワークを別のものに交換するワーク交換装置とをそれ
ぞれ制御する装置であって、 前記ワーク加工装置を数値制御するのに必要な情報を含
み、前記ワーク交換装置を数値制御するのに必要な情報
を含まない数値制御情報を記憶する数値制御情報記憶手
段と、 記憶された数値制御情報に基づいて前記ワーク加工装置
に実行させるべき複数の動作のうちで、前記ワーク交換
装置によるワーク交換動作と並列的に実行すべき動作で
ある並列動作を記憶する並列動作記憶手段と、前記数値制御情報記憶手段に 記憶された数値制御情報に
基づいて前記ワーク加工装置を数値制御するとともに、
前記並列動作記憶手段に並列動作が記憶されていない場
合には、ワーク加工装置の動作に先立って前記ワーク交
換装置にワーク交換動作をさせる一方、並列動作記憶手
段に並列動作が記憶されている場合には、ワーク加工装
置に実行させるべき各回の動作が並列動作記憶手段に記
憶された並列動作と一致する場合に、ワーク加工装置
ーク交換装置とを並列的に動作させ、一致しない場合
に、ワーク加工装置のみを動作させ数値制御手段とを
含むことを特徴とする数値制御装置。
An apparatus for controlling a work processing apparatus for processing a work and a work exchange apparatus for exchanging the work for another work, wherein information necessary for numerically controlling the work processing apparatus is provided . Including
Information necessary for numerically controlling the workpiece exchange device.
And numerical control information storage means for storing the numerical control information excluding, based on the stored numerical control information among a plurality of operation to be performed on the workpiece machining device, parallel to the workpiece exchange operation by the workpiece exchange device Action that should be performed
A parallel operation storage means for storing a certain parallel operation, and numerically controlling the work processing apparatus based on numerical control information stored in the numerical control information storage means ,
If no parallel operation is stored in the parallel operation storage means,
In this case, the work exchange is performed prior to the operation of the work processing device.
While the exchange device performs the workpiece exchange operation,
When the parallel operation stage is stored, when each round of operations to be executed by the workpiece machining apparatus matches the parallel operation stored in parallel operation storage means, and a work machining apparatus
A word over click changer parallel operated, if they do not match
The numerical control apparatus which comprises a numerical control unit Ru is operated only work machining apparatus.
JP04140070A 1992-05-02 1992-05-02 Numerical control unit Expired - Fee Related JP3134498B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04140070A JP3134498B2 (en) 1992-05-02 1992-05-02 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04140070A JP3134498B2 (en) 1992-05-02 1992-05-02 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH05313719A JPH05313719A (en) 1993-11-26
JP3134498B2 true JP3134498B2 (en) 2001-02-13

Family

ID=15260276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04140070A Expired - Fee Related JP3134498B2 (en) 1992-05-02 1992-05-02 Numerical control unit

Country Status (1)

Country Link
JP (1) JP3134498B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5210070B2 (en) * 2008-07-25 2013-06-12 オークマ株式会社 Numerically controlled machine tool

Also Published As

Publication number Publication date
JPH05313719A (en) 1993-11-26

Similar Documents

Publication Publication Date Title
US5266878A (en) CNC apparatus for controlling a plurality of machines
JPS63273105A (en) Numerical controller
US5973466A (en) Operating information setting and management method and apparatus of numerical control apparatus
JP3134498B2 (en) Numerical control unit
JP2000126991A (en) Control system for nc machine tool
JPH06202723A (en) Numerically controlled machine tool
JP2002166335A (en) Console panel of numerical control device for machine tool with tool changing function
JP3893334B2 (en) Multi-system numerical controller
JP3180805B2 (en) Numerically controlled machine tools
JPH1058279A (en) Turret tool selection instruction method
JPS63311408A (en) Numerical controller
JPH07104813A (en) Numerical controller
JPS6332608A (en) Numerical controller
JP3440149B2 (en) Control method of NC lathe
JP2882534B2 (en) Turning center tool calling device Built-in numerical controller
JPH1083211A (en) Control unit and programming method
JP4341118B2 (en) Tool changing device and tool changing method
JP4255090B2 (en) Numerical control device for machine tools
JP2003022106A (en) Machine tool and its numerical controller
EP0553349A1 (en) Cnc system for controlling a plurality of machines
JPH02151909A (en) Control device for industrial machine
JP2588944B2 (en) How to create NC data
JP3128960B2 (en) Machine Tools
JP4208600B2 (en) NC machine tool
JPH05158515A (en) Offset correcting method for nc cutting machine with tool turning shaft

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071201

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081201

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081201

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101201

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111201

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees