JP2687120B2 - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JP2687120B2
JP2687120B2 JP61183470A JP18347086A JP2687120B2 JP 2687120 B2 JP2687120 B2 JP 2687120B2 JP 61183470 A JP61183470 A JP 61183470A JP 18347086 A JP18347086 A JP 18347086A JP 2687120 B2 JP2687120 B2 JP 2687120B2
Authority
JP
Japan
Prior art keywords
control
program
unit
data
machining
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 - Lifetime
Application number
JP61183470A
Other languages
Japanese (ja)
Other versions
JPS6340907A (en
Inventor
昭彦 冨士本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61183470A priority Critical patent/JP2687120B2/en
Priority to US07/069,336 priority patent/US4862379A/en
Priority to KR1019870007064A priority patent/KR910002317B1/en
Priority to DE19873722084 priority patent/DE3722084A1/en
Publication of JPS6340907A publication Critical patent/JPS6340907A/en
Application granted granted Critical
Publication of JP2687120B2 publication Critical patent/JP2687120B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、数値制御装置にかかるものであり、特に、
複数の被制御軸の制御を行う数値制御装置に関するもの
である。 [従来の技術] 工作物に対する工具の位置を数値情報で指令する数値
制御装置は、生産性の向上、省力化、管理の徹底などの
利点があるため、各種の工作機械に適用され、広く利用
されている。 第2図には、従来の数値制御装置の一例が示されてい
る。この図において、制御部(50)には、中央処理装置
(以下、「CPU」という)(52)が含まれており、ま
た、データ入出力部(54)および信号入出力部(56)が
各々接続されている。 制御部(50)には、更に、演算部(58)、記憶部(6
0)、駆動部(62)が各々接続されており、駆動部(6
2)には、サーボモータ群(64)が接続されている。 これらのうち、データ入出力部(54)は、外部データ
入出力装置(図示せず)との間で加工データ、特に加工
プログラムの入出力を行うためのものであり、信号入出
力部(56)は、起動、停止などの制御データの入出力を
行うためのものである。 次に、記憶部(60)には、データエリア(60A)とプ
ログラムエリア(60B)とが設けられている。データ入
出力部から入力された加工プログラムはその他の加工デ
ータは、データエリア(60A)に格納され、信号入出力
部(56)から入力された制御データは、プログラムエリ
ア(60B)に格納されるようになっている。 次に、演算部(58)は、サーボモータ群(64)の制御
に必要な演算を行うものであり、例えば、駆動命令がベ
クトル速度で与えられたときに、その座標軸方向の分解
速度から所定時間の移動距離を求める補間などの演算処
理が行われる。 次に、駆動部(62)は、サーボモータ群(64)が、サ
ーボモータ(64A)、サーボモータ(64B)、サーボモー
タ(64C)の三個のサーボモータから構成されているこ
とに対応して、三個の駆動回路(62A)、(62B)、(62
C)から構成されている。 なお、サーボモータ群(64)は、実際には、旋盤やボ
ール盤等の工作機械の三軸の駆動部分のサーボモータに
対応するものである。 次に上記装置の動作について説明する。加工制御を行
うために必要なデータは、データ入出力部(54)、信号
入出力部(56)によって外部装置から入力される。これ
らのデータは、制御部(50)によって記憶部(60)のデ
ータエリア(60A)、プログラムエリア(60B)に各々格
納される。 次に、制御部(50)は、プログラムエリア記憶部(60
B)に格納されたプログラムやデータに基き、データエ
リア記憶部(60A)に格納されたプログラムやデータか
ら演算部(58)により上述した補間などの演算を行っ
て、駆動部(62)に必要な駆動指令を行う。これによ
り、サーボモータ群(64)が駆動され、入力データに従
って所要の加工が実行される。 以上のように、サーボモータ群(64)のサーボモータ
(64A)、サーボモータ(64B)、サーボモータ(64C)
は、独立して駆動されるのではなく、全体が一体になっ
て駆動される。 [発明が解決しようとする問題点] ところで、以上のような従来の数値制御装置では、全
体が記憶部(60)のプログラムエリア(60B)に格納さ
れた制御用のプログラムで動作し、駆動部(62)に接続
されたサーボモータ(64A)、サーボモータ(64B)、サ
ーボモータ(64C)を独立に駆動させることができな
い。 例えば、サーボモータ(64A)をボール盤のドリル回
転に使用し、サーボモータ(64B)、サーボモータ(64
C)を旋盤に使用するというようなことができない。 このため、各機械ごとに第2図に示すような数値制御
装置を設ける必要がある。従って、多数の機械の数値制
御を行う場合には、多大の装置設備が必要となり、コス
ト的にも好ましくないという不都合がある。 また、加工の内容は、あらかじめ用意された加工プロ
グラムの内容で決定され、容易にその内容を変更できな
いという不都合がある。 本発明は、かかる点に鑑みてなされたものであり、複
数の機械を効率的に数値制御できるとともに、種々の加
工内容を自由に選択でき、またこれらの加工を各機械で
各々実行可能であり、コスト的にも有利な数値制御装置
を提供することを、その目的とするものである。 [問題点を解決するための手段] 本発明は、信号入出力部から入力された制御データ
と、記憶部に格納された制御プログラム及び加工プログ
ラムとに基づいて、演算部で必要な演算を行い、制御部
により制御対象の駆動部に必要な制御指令を与える数値
制御装置において、加工データ及び加工プログラムを入
出力するデータ入出力部と、各々独立して制御データの
入出力の可能な複数の信号入出力部と、各々独立して制
御対象の駆動の可能な複数の駆動部と、各々独立して実
行可能な互いに異なる複数の制御プログラムと、所定の
ワーク番号により任意に選択され、独立して実行可能な
少なくとも一つの加工プログラムとを、一台の数値制御
装置に設けるとともに、前記複数の信号入出力部と、前
記複数の駆動部と、前記複数の制御プログラムとを任意
に組合せて任意の軸数の系統を形成する系統制御手段
と、選択される前記加工プログラムを任意に組み合わさ
れた任意の軸数の系統で共通に実行できるように指定す
る共通指定手段とを設け、前記制御部が、前記任意の軸
数の系統毎の前記制御プログラムと前記加工プログラム
に基づいて制御を行うことを特徴とするものである。 [作用] 本発明では、一台の数値制御装置に、信号入出力部
と、駆動部と、制御プログラムとが、それぞれ複数設け
られ、これら各部が系統制御手段によって任意の軸数の
系統にグループ分けされる。尚、前記制御プログラム
は、グループ分けされた各系統毎に、互いに異なるプロ
グラムである。 ここで、加工プログラムとは、被加工物を加工するた
めのプログラムをいい、いわゆるNCプログラム言語で記
述されている。また、制御プログラムとは、加工プログ
ラムを解析して実行するためのプログラムをいい、例え
ば、C言語、アセンブラ言語等のコンピュータ言語で記
述されたものまたはこれらをCPU上で実行可能な形式に
したものである。 ここで、制御部は、グループ分けされた各系統毎の制
御プログラムと各系統毎に指定された同一の加工プログ
ラムとに基づいて制御を行い、制御対象を駆動するため
の駆動部に必要な制御指令を与えるが、このとき、制御
部では各系統毎のプログラム(各系統毎の制御プログラ
ムと加工プログラム)を同時に実行することかできる。 このため、制御部では、異なる制御プログラムを異な
る入力条件で実行することとなり、いわゆるタスク制御
が実行される。例えば、系統制御手段によって2軸の第
一の系統と3軸の第2の系統にグループ分けされた場
合、同時に2軸の制御を行う仕様の第一の系統に対する
制御プログラムと、同時に3軸の制御を行う第一の系統
の制御プログラムとは異なる仕様の第二の系統に対する
制御プログラムを、それぞれ異なるタスクとして実行し
制御する。そして、タスクとして実行される各制御プロ
グラムに対して、互いに異なる入力条件の制御データ、
例えば起動用データや停止用データ等を独立して入出力
して実行することができる。このため、同一仕様の複数
の制御プログラムを時分割して異なる条件のデーター入
力して実行することしかできない時分割制御を備えた数
値制御装置に比べ、同時に複数系統の異なる制御プログ
ラムを同時に実行することができる。従って、各グルー
プ毎に構成される任意の軸数の系統毎で、それぞれ異な
る仕様の制御が行われる。 また、複数の信号入出力部は、各々独立して制御デー
タの入出力が可能であるため、一つの駆動部が複数の制
御データを順次必要とする場合でも、駆動部の制御中
に、グループ分けされた各系統毎に独立に順次制御デー
タを入出力することができ、他の系統における駆動部の
制御データが入力されてしまうことはない。このため、
異なる入力条件の制御データ、例えば起動用データや停
止用データを各系統毎に独立して入力することができ、
各系統の駆動部を別個独立に制御することが可能とな
る。 また、所定のワーク番号により任意に選択される加工
プログラムが、共通指定手段によって前記グループ分け
された各系統で共通に実行されるように指定される。例
えば、記憶部に格納されている加工プログラムに対し所
定のワーク番号をあらかじめ選択的に記憶部に格納して
おき、共通指定手段で、必要なワーク番号を指定するこ
とにより任意の加工プログラムを選択するように構成す
ることができる。この場合には、共通指定手段で共通の
ワーク番号を指定することにより、同一の加工プログラ
ムを複数の系統で選択することができる。即ち、独立し
て動作する複数の系統のそれぞれが同じ作業の加工をす
る場合に、記憶部に格納されている複数の加工プログラ
ムと各加工プログラムに対応したワーク番号に対し、共
通制御手段によって複数の系統で仕様されるように任意
のワーク番号を指定することにより、各系統毎に同一の
加工プログラムが選択されて実行される。 尚、演算部は、前記系統制御手段によって系統に組み
合わされた制御対象間で、補間の演算を行う。即ち、演
算部は、任意のグループ内の制御対象間で、補間の演算
を行う。 [実施例] 以下、本発明の実施例を、添付図面を参照しながら詳
細に説明する。 第1図には、本発明にかかる数値制御装置の一実施例
が示されている。この図において、CPU(10)を含む制
御部(12)には、まずデータ入出力部(14)が接続され
ている。このデータ入出力部(14)は、第2図のデータ
入出力部(54)に対応し、加工プログラムその他の加工
データを外部データ入出力装置(図示せず)との間で授
受するものである。 ここで、入力する加工プログラムは、被加工物を加工
するためのプログラムであり、いわゆるNCプログラム言
語で記述されている。 次に、制御部(12)には、信号入出力装置(16)が接
続されている。この信号入出力装置(16)は、各々独立
して制御用のデータに入出力の可能な、信号入出力部
(16A)、(16B)、(16C)によって構成されている。
すなわち、信号入出力部(16A)、(16B)、(16C)
は、各々が第2図の信号入出力部(56)と同様の機能を
有する。 次に、制御部(12)には、演算部(18)が接続されて
いる。この演算部(18)は、上述したような補間その他
の演算を行うものである。 次に、制御部(12)には、記憶部(20)が接続されて
いる。この記憶部(20)は、プログラムエリア(20
A)、(20B)、(20C)を有している。これらのプログ
ラムエリア(20A)、(20B)、(20C)には、互いに異
なり、各々独立して動作可能な制御プログラムが格納さ
れている。すなわち、プログラムエリア(20A)、(20
B)、(20C)に格納されている制御プログラムは、各々
が第2図のプログラムエリア(60B)に格納されている
プログラムと同様の機能を有し、各々独立して実行可能
である。ここで、制御プログラムとは、加工プログラム
を解析して実行するためのプログラムであり、例えば、
C言語、アセンブラ言語等のコンピュータ言語で記述さ
れたもの若しくはこれらをCPU上で実行可能な形式にし
たものである。 次に、記憶部(20)には、データエリア(20D)が設
けられている。このデータエリア(20D)は、第2図の
データエリア(60A)と同様、加工データ及び加工プロ
グラムを格納するものであるが、その他に、系統制御手
段がプログラミングされて格納されている。 次に、記憶部(20)には、プログラムエリア(20E)
が設けられている。このプログラムエリア(20E)は、
入力された加工プログラムを、呼出用の所定のワーク番
号と共に格納するためのものである。加工プログラム
は、少なくとも一つ、必要があれば複数プログラムエリ
ア(20E)に格納される。 更に、記憶部(20)には、プログラムエリア(20F)
が設けられている。このプログラムエリア(20F)に
は、プログラムエリア(20E)に格納された任意の加工
プログラムを選択し、各制御プログラムにおいて共通に
実行されるように、プログラムエリア(20E)に格納さ
れた任意のワーク番号を指定する共通指定手段がプログ
ラミングされている。 次に、制御部(12)には、駆動部(22)、(24)、
(26)が各々接続されている。これらの駆動部(22)、
(24)、(26)は、各々独立して動作可能であり、第2
図の駆動部(62)と同様の機能を各々有する。但し、制
御できるのは、各々一軸である。 次に、駆動部(22)、(24)、(26)には、サーボモ
ータ(28)、(30)、(32)が各々接続されている。サ
ーボモータ(28)、(30)、(32)は、必ずしも同一の
機械のものとは限らず、二台以上の機械のものでもよ
く、独立して動作可能である。 次に、上述したデータエリア(20D)に格納されてい
る共通指定手段について説明する。 第3図に示すように、まず、データ入出力部(14)お
よび信号入出力部(16)から入力されたデータと、プロ
グラムエリア(20A)ないし(20C)に格納されている制
御プログラムを参照して、いずれの制御プログラムを動
作させるかを決定する(ステップSA、SB、SC参照)。 次に、動作させる制御プログラムと、それに使用され
る制御データの入出力が行われる信号入出力部(16A)
ないし(16C)との対応を決定する(ステップSD参
照)。更に、該制御プログラムと、動作対象となる駆動
部(22)ないし(26)との対応を決定する(ステップSE
参照)。 次に、実行すべき加工に対応する加工プログラムを選
択する(ステップSF参照)。そして、該選択された加工
プログラムが共通して実行されるように、共通指定手段
により、プログラムエリア(20E)に格納されたワーク
番号の共通指定が行われる(ステップSG参照)。 このように、系統制御手段は、要求される制御動作の
内容に従って、信号入出力部(16A)ないし(16C)、プ
ログラムエリア(20A)ないし(20C)、駆動部(22)な
いし(26)を系統立てグループ化する機能を有し、共通
指定手段は、選択去れた加工プログラムが各グループで
共通に実行されるように指定する機能を有するものであ
る。 次に、上記実施例の全体的動作について、種々の場合
を例にとって説明する。 まず、第4図を参照しながら、一軸の機械(34)、
(36)、(38)を各々独立して制御する場合について説
明する。なお、信号入出力部(16A)では、機械(34)
の制御データD(34)が入出力され、信号入出力部(16
B)では、機械(36)の制御データD(36)が入出力さ
れ、信号入出力部(16C)では、機械(38)の制御デー
タD(38)が入出力されるものとする。そして、プログ
ラムエリア(20A)ないし(20C)に、機械(34)ないし
(38)の制御プログラムが各々格納されているものと
し、プログラムエリア(20E)に、機械(34)ないし(3
8)で各々実行可能な加工プログラムPAないしPDが格納
されているものとする。 この場合には、上述したデータエリア(20D)の系統
制御手段により、信号入出力部(16A)と、プログラム
エリア(20A)と、駆動部(22)とが系統づけられ、信
号入出力部(16B)と、プログラムエリア(20B)と、駆
動部(24)とが系統づけられ、信号入出力部(16C)
と、プログラムエリア(20C)と、駆動部(26)とが系
統づけられる。 そして、プログラムエリア(20E)から加工プログラ
ムPAないしPDのいずれかが選択され、ワーク番号によっ
て制御部(12)に読み出されると共に、プログラムエリ
ア(20F)の共通指定手段によって各機械(34)、(3
6)、(38)で共通に実行されるように指定が行われ
る。 機械(34)ないし(38)は、信号入出力部(16A)な
いし(16C)から各々入力された制御データと、プログ
ラムエリア(20A)ないし(20C)に各々格納された制御
プログラムと、加工プログラムPAないしPDのうち選択さ
れたものとに基づいて、各々独立して制御される。すな
わち、独立して、起動動作や停止動作などが行われる。
しかし、加工内容は、各機械で同一である。このとき、
制御部(12)では、いわゆるタスク制御が行われる。つ
まり、制御部(12)では、互いに異なる制御プログラム
(20A)、(20B)、(20C)及び加工プログラムPAない
しPDのうちで選択されたものを系統づけられた各軸にお
ける異なる入力条件で、すなわち各軸が起動状態にある
場合や、停止状態にある場合のときに実行されるのであ
る。しかも、実行される制御プログラム及び加工プログ
ラムは、同時に実行され、各軸は独立した状態になって
いる。具体的には、制御プログラム(20A)と加工プロ
グラムに基づくもの、制御プログラム(20B)と加工プ
ログラムに基づくもの、制御プログラム(20C)と加工
プログラムに基づくものが、それぞれ独立して実行され
るのである。従って、各軸は独立した動作を行うことが
できるのである。 以上のように、この例では、装置全体が三系統の独立
した数値制御装置として機能する。 次に、第5図を参照しながら、二つのサーボモータを
有する機械(40)と、一つのサーボモータを有する機械
(42)とを、各々独立して制御し、加工プログラムPEを
各々実行する場合について説明する。 第5図において、信号入出力部(16A)では、機械(4
0)に対する制御データD(40)の入出力が行われ、信
号入出力部(16C)では、機械(42)に対する制御デー
タD(42)の入出力が行われるものとし、プログラムエ
リア(20B)には、機械(40)に動作させる制御プログ
ラムが格納され、プログラムエリア(20C)には、機械
(42)に動作させる制御プログラムが格納されているも
のとする。 また、プログラムエリア(20E)には、加工プログラ
ムPAないしPFが各々格納されているものとする。 この場合には、データエリア(20D)の系統制御手段
により、第5図に示すように、信号入出力部(16A)
と、プログラムエリア(20B)と、駆動部(22)及び(2
4)とが系統づけられ、信号入出力部(16C)と、プログ
ラムエリア(20C)と、駆動部(26)とが系統づけられ
る。 そして、プログラムエリア(20E)に格納された加工
プログラムPAないしPFのうちPEが選択され、共通指定手
段でその旨の指定が行われる。 機械(40)は、プログラムエリア(20B)に格納され
た制御プログラムと選択された加工プログラムPEにより
制御され、機械(42)は、プログラムエリア(20C)に
格納された制御プログラムと選択された加工プログラム
PEにより制御される。尚、機械(40)の制御において
は、二つのサーボモータが対象であるから、演算部(1
8)では補間の演算が行われる。 以上のように、この例では、全体が二系統の独立した
数値制御装置として動作する。 なお、この例において、例えば機械(40)で囲うプロ
グラムPBを実行し機械(42)で加工プログラムPDを実行
するというように、機械(40)及び(42)で異なる加工
プログラムを実行するようにしてもよい。 次に、第6図を参照しながら、本実施例の更に他の動
作について説明する。 同図には、機械(44)が、三つのサーボモータを有す
る場合の例が示されている。この場合には、制御データ
D(44)の入出力が行われる信号入出力部(16B)と、
制御プログラムが格納されているプログラムエリア(20
A)と、駆動部(22)ないし(26)とが系統化される。
この例では、第2図に示した装置と同様の一系統の制御
が行われる。 しかし、実行すべき加工プログラムは、プログラムエ
リア(20E)に格納されているもののいずれかを、任意
に選択して実行できる。 尚、本発明は、何ら上記実施例に限定されるものでは
ない。例えば、上記実施例では、最大三つの独立した系
統を構築することができるが、二系統でもよいし、それ
以上の系統を構築できるようにしてもよい。 [発明の効果] 以上説明したように、本発明によれば、系統制御手段
が、一台の数値制御装置に設けられた複数の信号入出力
部と、複数の駆動部と、互いに異なる複数の制御プログ
ラムとを任意に組合せて任意の軸数の系統を形成し、所
定のワーク番号により任意に選択される加工プログラム
が、共通指定手段によって前記任意に組み合わされた任
意の軸数の系統で共通に実行されるように指定され、制
御部が、前記任意の軸数の系統毎の制御プログラムと加
工プログラムとに基づいてタスク制御を実行するため、
複数の各部を効率的に数値制御できるとともに、コスト
的にも有利になるという効果がある。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a numerical control device,
The present invention relates to a numerical control device that controls a plurality of controlled axes. [Prior art] Numerical control devices that instruct the position of a tool with respect to a workpiece by numerical information have advantages such as improved productivity, labor saving, and thorough management, and are applied to various machine tools and widely used. Have been. FIG. 2 shows an example of a conventional numerical controller. In this figure, the control unit (50) includes a central processing unit (hereinafter referred to as "CPU") (52), and a data input / output unit (54) and a signal input / output unit (56). Each is connected. The control unit (50) further includes an arithmetic unit (58) and a storage unit (6
0) and the drive unit (62) are connected to each other, and the drive unit (6
2), a servo motor group (64) is connected. Of these, the data input / output unit (54) is for inputting / outputting processing data, particularly a processing program, to / from an external data input / output device (not shown), and the signal input / output unit (56). ) Is for inputting and outputting control data such as start and stop. Next, the storage section (60) is provided with a data area (60A) and a program area (60B). Other machining data of the machining program input from the data input / output unit is stored in the data area (60A), and control data input from the signal input / output unit (56) is stored in the program area (60B). It is like this. Next, the calculation unit (58) performs a calculation necessary for controlling the servo motor group (64). For example, when a drive command is given at a vector speed, a predetermined speed is calculated from the decomposition speed in the coordinate axis direction. Calculation processing such as interpolation for obtaining the moving distance of time is performed. Next, the drive unit (62) corresponds to the fact that the servo motor group (64) is composed of three servo motors, a servo motor (64A), a servo motor (64B), and a servo motor (64C). And three drive circuits (62A), (62B), (62
C). Note that the servo motor group (64) actually corresponds to a servo motor of a three-axis driving portion of a machine tool such as a lathe or a drilling machine. Next, the operation of the above device will be described. Data necessary for performing processing control is input from an external device by a data input / output unit (54) and a signal input / output unit (56). These data are stored in the data area (60A) and the program area (60B) of the storage unit (60) by the control unit (50). Next, the control unit (50) sets the program area storage unit (60
Based on the programs and data stored in B), the above-mentioned interpolation and other calculations are performed by the calculation unit (58) from the programs and data stored in the data area storage unit (60A), and required for the drive unit (62). Drive command. As a result, the servo motor group (64) is driven, and required processing is executed according to the input data. As described above, the servo motors (64A), servo motors (64B), and servo motors (64C) of the servo motor group (64)
Are not driven independently, but are driven together as a whole. [Problems to be Solved by the Invention] By the way, in the conventional numerical control device as described above, the whole is operated by the control program stored in the program area (60B) of the storage unit (60), and the driving unit is operated. The servo motor (64A), servo motor (64B), and servo motor (64C) connected to (62) cannot be driven independently. For example, a servo motor (64A) is used to rotate a drill on a drilling machine, and a servo motor (64B)
C) cannot be used for lathes. Therefore, it is necessary to provide a numerical controller as shown in FIG. 2 for each machine. Therefore, when numerical control of many machines is performed, a large amount of equipment is required, which is disadvantageous in terms of cost. Further, the content of the machining is determined by the content of the machining program prepared in advance, and there is an inconvenience that the content cannot be easily changed. The present invention has been made in view of the above points, and is capable of efficiently numerically controlling a plurality of machines, freely selecting various processing contents, and performing each of these processings on each machine. It is an object of the present invention to provide a numerical control device which is advantageous in terms of cost. [Means for Solving Problems] According to the present invention, a calculation unit performs necessary calculations based on control data input from a signal input / output unit and a control program and a machining program stored in a storage unit. In a numerical controller that gives a control command required by a control unit to a drive unit to be controlled, a data input / output unit that inputs / outputs machining data and a machining program, and a plurality of data input / output units that can independently input / output control data. A signal input / output unit, a plurality of driving units capable of independently driving a control target, a plurality of different control programs each independently executable, and a predetermined work number are arbitrarily selected and independently controlled. At least one machining program that can be executed by a single numerical controller is provided, and the plurality of signal input / output units, the plurality of driving units, and the plurality of control programs are provided. System control means for forming a system with an arbitrary number of axes by arbitrarily combining a system and a common designation for specifying that the selected machining program can be commonly executed by a system with an arbitrary number of axes combined arbitrarily. Means is provided, and the control unit performs control based on the control program and the machining program for each system of the arbitrary number of axes. [Operation] In the present invention, a single numerical control device is provided with a plurality of signal input / output units, drive units, and control programs, and these units are grouped into a system having an arbitrary number of axes by the system control means. Be divided. The control programs are different programs for each grouped system. Here, the machining program is a program for machining the workpiece, and is described in the so-called NC programming language. Further, the control program means a program for analyzing and executing the machining program, for example, a program written in a computer language such as C language or assembler language, or a program executable on a CPU. Is. Here, the control unit performs control based on a control program for each system divided into groups and the same machining program specified for each system, and controls required for the drive unit for driving the controlled object. Although a command is given, at this time, the control unit can simultaneously execute programs for each system (control program and machining program for each system). Therefore, the control unit executes different control programs under different input conditions, and so-called task control is executed. For example, when the system control means divides the system into a first system of two axes and a second system of three axes, the control program for the first system of the specification that controls the two axes at the same time and the system of the three systems at the same time. A control program for the second system having a specification different from that of the control program for the first system to be controlled is executed and controlled as different tasks. Then, for each control program executed as a task, control data of different input conditions,
For example, start-up data, stop-data, etc. can be independently input / output and executed. Therefore, as compared with a numerical control device equipped with time-divisional control, which is capable of performing time-division of a plurality of control programs of the same specification and inputting data of different conditions and executing the data, it simultaneously executes different control programs of a plurality of systems. be able to. Therefore, control with different specifications is performed for each system having an arbitrary number of axes configured for each group. In addition, since the plurality of signal input / output units can independently input / output control data, even when one driving unit sequentially requires a plurality of control data, the group of signals can be controlled during the control of the driving unit. The control data can be sequentially input / output independently for each of the divided systems, and the control data of the drive units in the other systems will not be input. For this reason,
Control data with different input conditions, such as start data and stop data, can be input independently for each system,
It is possible to control the drive unit of each system independently. Further, a machining program arbitrarily selected by a predetermined work number is designated by the common designation means to be commonly executed by each system divided into the groups. For example, a predetermined work number is selectively stored in advance in the storage unit with respect to the machining program stored in the storage unit, and the common designating means designates a required work number to select an arbitrary machining program. Can be configured to. In this case, the same machining program can be selected in a plurality of systems by designating a common work number by the common designating means. That is, when each of a plurality of independently operating systems processes the same work, a plurality of machining programs stored in the storage unit and a work number corresponding to each machining program are processed by the common control means. By designating an arbitrary work number so as to be specified by the system, the same machining program is selected and executed for each system. The calculation unit performs an interpolation calculation between the control targets combined with the system by the system control unit. That is, the calculation unit performs interpolation calculation between control targets in an arbitrary group. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 shows an embodiment of a numerical controller according to the present invention. In the figure, a data input / output unit (14) is connected to a control unit (12) including a CPU (10). The data input / output unit (14) corresponds to the data input / output unit (54) in FIG. 2 and exchanges a machining program and other machining data with an external data input / output device (not shown). is there. Here, the machining program to be input is a program for machining a workpiece, and is described in a so-called NC programming language. Next, a signal input / output device (16) is connected to the control unit (12). The signal input / output device (16) is composed of signal input / output units (16A), (16B), and (16C) capable of independently inputting / outputting control data.
That is, the signal input / output section (16A), (16B), (16C)
Have the same function as the signal input / output unit (56) of FIG. Next, an arithmetic unit (18) is connected to the control unit (12). The calculation unit (18) performs the above-described interpolation and other calculations. Next, the storage unit (20) is connected to the control unit (12). This storage section (20) has a program area (20
A), (20B) and (20C). These program areas (20A), (20B), (20C) store control programs that are different from each other and can operate independently. That is, the program area (20A), (20
The control programs stored in B) and (20C) have the same functions as the programs stored in the program area (60B) of FIG. 2 and can be executed independently. Here, the control program is a program for analyzing and executing the machining program, for example,
It is written in a computer language such as C language or assembler language, or is a format executable on a CPU. Next, the storage section (20) is provided with a data area (20D). Similar to the data area (60A) of FIG. 2, this data area (20D) stores machining data and machining programs, but in addition, the system control means is programmed and stored. Next, the storage area (20) has a program area (20E).
Is provided. This program area (20E)
It is for storing the input machining program together with a predetermined work number for calling. At least one machining program is stored in the plural program area (20E) if necessary. Furthermore, the storage area (20) has a program area (20F)
Is provided. In this program area (20F), select any machining program stored in the program area (20E), and execute any work stored in the program area (20E) so that it can be executed in common in each control program. Common designation means for designating a number is programmed. Next, the control unit (12) includes the drive units (22), (24),
(26) are connected to each other. These drives (22),
(24) and (26) can operate independently, and the second
Each has the same function as that of the driving section (62) in the figure. However, only one axis can be controlled. Next, servo motors (28), (30), and (32) are connected to the driving units (22), (24), and (26), respectively. The servomotors (28), (30), and (32) are not necessarily of the same machine, but may be of two or more machines, and can operate independently. Next, the common designating means stored in the above data area (20D) will be described. As shown in FIG. 3, first, refer to the data input from the data input / output unit (14) and the signal input / output unit (16), and the control programs stored in the program areas (20A) to (20C). Then, which control program is to be operated is determined (see steps SA, SB and SC). Next, a control program to be operated and a signal input / output unit (16A) for inputting and outputting control data used for the control program
Or (16C) is determined (see step SD). Further, the correspondence between the control program and the drive units (22) to (26) to be operated is determined (step SE).
reference). Next, a machining program corresponding to the machining to be executed is selected (see step SF). Then, the common designation means commonly designates the work numbers stored in the program area (20E) so that the selected machining programs are commonly executed (see step SG). In this way, the system control means operates the signal input / output sections (16A) to (16C), the program areas (20A) to (20C), and the drive sections (22) to (26) according to the content of the required control operation. The system has a systematic grouping function, and the common designating means has a function of designating that the selected machining programs are commonly executed in each group. Next, the overall operation of the above embodiment will be described by taking various cases as examples. First, referring to FIG. 4, a one-axis machine (34),
A case where (36) and (38) are controlled independently will be described. In the signal input / output section (16A), the machine (34)
Control data D (34) is input / output, and the signal input / output unit (16
In B), the control data D (36) of the machine (36) is input / output, and the control data D (38) of the machine (38) is input / output in the signal input / output unit (16C). Further, it is assumed that the control programs for the machines (34) to (38) are stored in the program areas (20A) to (20C), respectively, and the machine areas (34) to (3) are stored in the program area (20E).
It is assumed that the machining programs PA or PD that can be executed in 8) are stored. In this case, the signal input / output section (16A), the program area (20A), and the drive section (22) are systematized by the above-described system control means for the data area (20D), and the signal input / output section ( 16B), a program area (20B), and a drive section (24) are systematized, and a signal input / output section (16C)
, A program area (20C) and a drive unit (26). Then, one of the machining programs PA to PD is selected from the program area (20E) and read by the control section (12) by the work number, and at the same time each machine (34), (by the common designating means of the program area (20F). 3
6) and (38) are specified to be commonly executed. The machines (34) to (38) are control data input from the signal input / output units (16A) to (16C), control programs stored in the program areas (20A) to (20C), and machining programs. Each is independently controlled based on the selected PA or PD. That is, a start operation, a stop operation, and the like are performed independently.
However, the processing content is the same for each machine. At this time,
The control section (12) performs so-called task control. In other words, in the control unit (12), different control programs (20A), (20B), (20C) and machining programs PA to PD are selected under different input conditions for each organized axis, That is, it is executed when each axis is in the activated state or in the stopped state. Moreover, the control program and the machining program to be executed are simultaneously executed, and each axis is in an independent state. Specifically, the control program (20A) and the one based on the machining program, the control program (20B) and the one based on the machining program, and the control program (20C) and the one based on the machining program are executed independently. is there. Therefore, each axis can perform an independent operation. As described above, in this example, the entire device functions as three independent numerical control devices. Next, referring to FIG. 5, the machine (40) having two servo motors and the machine (42) having one servo motor are independently controlled to execute the machining programs PE. The case will be described. In FIG. 5, the signal input / output unit (16A)
The control data D (40) is input / output to / from 0) and the signal input / output unit (16C) inputs / outputs the control data D (42) to / from the machine (42). It is assumed that the control program for operating the machine (40) is stored in, and the control program for operating the machine (42) is stored in the program area (20C). Further, it is assumed that machining programs PA to PF are stored in the program area (20E). In this case, as shown in FIG. 5, the signal input / output unit (16A) is controlled by the system control means of the data area (20D).
And the program area (20B), the drive units (22) and (2
4), and a signal input / output unit (16C), a program area (20C), and a drive unit (26) are systematized. Then, PE is selected from the machining programs PA to PF stored in the program area (20E), and the common designating means designates that. The machine (40) is controlled by the control program stored in the program area (20B) and the selected machining program PE, and the machine (42) is controlled by the control program stored in the program area (20C) and the selected machining. program
Controlled by PE. In addition, since the two servo motors are the targets in the control of the machine (40), the calculation unit (1
In 8), interpolation calculation is performed. As described above, in this example, the whole operates as two independent numerical control devices. In this example, different machining programs are executed on the machines (40) and (42), such as executing the program PB enclosed by the machine (40) and executing the machining program PD on the machine (42). May be. Next, still another operation of the present embodiment will be described with reference to FIG. The figure shows an example in which the machine (44) has three servomotors. In this case, a signal input / output unit (16B) through which control data D (44) is input / output,
The program area (20
A) and the drive units (22) to (26) are systematized.
In this example, the same one-system control as in the apparatus shown in FIG. 2 is performed. However, the machining program to be executed can be arbitrarily selected and executed from any of the programs stored in the program area (20E). Note that the present invention is not limited to the above embodiment. For example, in the above embodiment, up to three independent systems can be constructed. However, two systems may be constructed, or more systems may be constructed. [Effects of the Invention] As described above, according to the present invention, the system control unit includes a plurality of signal input / output units, a plurality of drive units, and a plurality of drive units that are provided in one numerical controller. A machining program that is arbitrarily combined with a control program to form a system with an arbitrary number of axes, and a machining program that is arbitrarily selected by a predetermined work number is common to the system with an arbitrary number of axes that is arbitrarily combined by the common designation means. In order to execute the task control based on the control program and the machining program for each system of the arbitrary number of axes,
There is an effect that numerical control of each of the plurality of units can be efficiently performed, and cost is also advantageous.

【図面の簡単な説明】 第1図は本発明の一実施例を示す回路ブロック図、第2
図は従来の数値制御装置を示す回路ブロック図、第3図
は系統制御手段の機能を説明する説明図、第4図ないし
第6図は第1図の実施例の動作態様を示す説明図であ
る。 図において、(12)は制御部、(16)は信号入出力装
置、(18)は演算部、(20)は記憶部、(20A),(20
B),(20C),(20E),(20F)はプログラムエリア、
(20D)はデータエリア、(22)、(24)、(26)は駆
動部、(28)、(30)、(32)はサーボモータである。 なお、各図中同一符号は、同一又は相当部分を示すもの
とする。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a circuit block diagram showing one embodiment of the present invention, and FIG.
FIG. 1 is a circuit block diagram showing a conventional numerical control device, FIG. 3 is an explanatory diagram for explaining the function of a system control means, and FIGS. 4 to 6 are explanatory diagrams showing an operation mode of the embodiment of FIG. is there. In the figure, (12) is a control unit, (16) is a signal input / output device, (18) is an arithmetic unit, (20) is a storage unit, (20A), (20
B), (20C), (20E), (20F) are program areas,
(20D) is a data area, (22), (24) and (26) are drive units, and (28), (30) and (32) are servo motors. Note that the same reference numerals in each drawing indicate the same or corresponding parts.

Claims (1)

(57)【特許請求の範囲】 1.信号入出力部から入力された制御データと、記憶部
に格納された制御プログラム及び加工プログラムとに基
づいて、演算部で必要な演算を行い、制御部により制御
対象の駆動部に必要な制御指令を与える数値制御装置に
おいて、 加工データ及び加工プログラムを入出力するデータ入出
力部と、各々独立して制御データの入出力の可能な複数
の信号入出力部と、各々独立して制御対象の駆動の可能
な複数の駆動部と、各々独立して実行可能な互いに異な
る複数の制御プログラムと、所定のワーク番号により任
意に選択され、独立して実行可能な少なくとも一つの加
工プログラムとを、一台の数値制御装置に設けるととも
に、 前記複数の信号入出力部と、前記複数の駆動部と、前記
複数の制御プログラムとを任意に組合せて任意の軸数の
系統を形成する系統制御手段と、選択される前記加工プ
ログラムを任意に組み合わされた任意の軸数の系統で共
通に実行できるように指定する共通指定手段とを設け、 前記制御部が、前記任意の軸数の系統毎の前記制御プロ
グラムと前記加工プログラムに基づいて制御を行うこと
を特徴とする数値制御装置。 2.前記演算部は、前記系統制御手段によって組み合わ
された制御対象間で、補間の演算を行う特許請求の範囲
第1項に記載の数値制御装置。
(57) [Claims] Based on the control data input from the signal input / output unit, and the control program and the machining program stored in the storage unit, the arithmetic unit performs the necessary arithmetic operation, and the control unit requires the control command for the controlled drive unit. In a numerical control device that gives the data, a data input / output unit for inputting / outputting machining data and a machining program, a plurality of signal input / output units capable of independently inputting / outputting control data, and independently driving a control target A plurality of different driving units, a plurality of mutually different control programs that can be independently executed, and at least one machining program that is arbitrarily selected by a predetermined work number and that can be independently executed. Provided in the numerical control device, the plurality of signal input / output units, the plurality of driving units, and the plurality of control programs are arbitrarily combined to form a system having an arbitrary number of axes. And a common designation means for designating that the selected machining program can be commonly executed by a system having an arbitrary number of axes, which is arbitrarily combined, and the control unit controls the arbitrary axis. A numerical controller characterized by performing control based on the control program and the machining program for each number of systems. 2. 2. The numerical control device according to claim 1, wherein the calculation unit performs an interpolation calculation between control targets combined by the system control unit.
JP61183470A 1986-07-04 1986-08-06 Numerical control unit Expired - Lifetime JP2687120B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP61183470A JP2687120B2 (en) 1986-08-06 1986-08-06 Numerical control unit
US07/069,336 US4862379A (en) 1986-07-04 1987-07-02 Numerical control machine
KR1019870007064A KR910002317B1 (en) 1986-07-04 1987-07-02 Numerical control device
DE19873722084 DE3722084A1 (en) 1986-07-04 1987-07-03 NUMERICALLY CONTROLLED FACILITY

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61183470A JP2687120B2 (en) 1986-08-06 1986-08-06 Numerical control unit

Publications (2)

Publication Number Publication Date
JPS6340907A JPS6340907A (en) 1988-02-22
JP2687120B2 true JP2687120B2 (en) 1997-12-08

Family

ID=16136355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61183470A Expired - Lifetime JP2687120B2 (en) 1986-07-04 1986-08-06 Numerical control unit

Country Status (1)

Country Link
JP (1) JP2687120B2 (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54148976A (en) * 1978-05-15 1979-11-21 Komatsu Ltd Control method of nc tool machine
JPS57169812A (en) * 1981-04-14 1982-10-19 Fanuc Ltd Numerical controlling system
JPS57169811A (en) * 1981-04-14 1982-10-19 Fanuc Ltd Numerical controlling system
JPS603006A (en) * 1983-06-21 1985-01-09 Agency Of Ind Science & Technol Numerical controller
JPS60116005A (en) * 1983-11-28 1985-06-22 Yamazaki Mazak Corp Operation program control method of robot
JP2519407B2 (en) * 1984-03-27 1996-07-31 日野自動車工業株式会社 Control device for work robot
JPS60229115A (en) * 1984-04-26 1985-11-14 Mitsubishi Electric Corp Numerical controller
JPS6125211A (en) * 1984-07-13 1986-02-04 Yaskawa Electric Mfg Co Ltd Parallel processing numerical controller
JPS61131105A (en) * 1984-11-30 1986-06-18 Fanuc Ltd Control system of lathe having two tool boxes

Also Published As

Publication number Publication date
JPS6340907A (en) 1988-02-22

Similar Documents

Publication Publication Date Title
US8190287B2 (en) Tool vector display apparatus for a machine tool with rotational axes
EP0378708A1 (en) Apparatus for controlling acceleration and deceleration for servo control
EP0357778B1 (en) Method of speed control for servomotor
US4862379A (en) Numerical control machine
JP2735209B2 (en) Numerical control unit
JP2687120B2 (en) Numerical control unit
EP1394642B1 (en) Multi-system numerical control device
US4766546A (en) Numerically controlled apparatus including functions of synchronous-simultaneous transaction and independent-simultaneous translation
JP2687119B2 (en) Numerical control unit
JP2694638B2 (en) Numerical control unit
JP2779796B2 (en) Numerical control unit
JPS6354605A (en) Numerical controller
JP2694639B2 (en) Numerical control unit
JP2779797B2 (en) Numerical control unit
JPH04155406A (en) Numerical control system
JP3534845B2 (en) Multi-axis positioning controller
JPS6354608A (en) Numerical controller
JPS6353605A (en) Numerical controller
WO2023199408A1 (en) Numerical control device, and computer-readable storage medium
WO2022196622A1 (en) Numerical control device
US20070073438A1 (en) Numerical controller
JPS6349903A (en) Numerical controller
JPS60101606A (en) Automatic robot operation system
JPS6354606A (en) Numerical controller
JPS61256407A (en) Numerical controller

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term