JPH02231602A - General-purpose learning control device - Google Patents

General-purpose learning control device

Info

Publication number
JPH02231602A
JPH02231602A JP5186389A JP5186389A JPH02231602A JP H02231602 A JPH02231602 A JP H02231602A JP 5186389 A JP5186389 A JP 5186389A JP 5186389 A JP5186389 A JP 5186389A JP H02231602 A JPH02231602 A JP H02231602A
Authority
JP
Japan
Prior art keywords
mode
learning
machining program
program
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5186389A
Other languages
Japanese (ja)
Inventor
Naoto Shimozono
下園 直登
Yuji Nakamura
裕司 中村
Yoshiji Hiraga
義二 平賀
Ichiro Ishibashi
石橋 一郎
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP5186389A priority Critical patent/JPH02231602A/en
Publication of JPH02231602A publication Critical patent/JPH02231602A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は工作機械やロボットを駆動するサーボモー夕を
、設定された指令値どおりの運転軌跡が得られるように
制御する学習制御装置に関する. [従来の技術] 学習制御装置とは、制御対象(サーボモータ)の繰返し
制御を行うとき、まず制御対象を指令値に従って、運転
させると共に、前記指令値に対する、運転軌跡の偏差を
検出し、この偏差を小さくするように指令値を補正して
再生運転をし、補正された指令値に対する再生運転軌跡
の偏差を検出して、さらに指令値を補正する学習サイク
ルを繰返して指令値どおりの運転軌跡を得る装置である
. この種の従来技術としては例えば特開昭60−5740
9号公報、特開昭61−253505号公報、特開昭6
3−15303号公報、特開昭62−118406号公
報に記載された学習制御装置または学習制御方法がある
. 特開昭60−57409号公報に記載されている学習制
御方法は、指令値が制御対象に入力された後、同じ値が
再生軌跡として実測されるまでの時間(動的遅れ時間)
を補正した補正指令値にしたがって次の再生運転を制御
する方法である. 特開昭61−253505号公報および特開昭63−1
5303号公報にそれぞれ記載されている学習制御装置
および学習制御方法においては、偏差の大きさに対応し
て偏差のゲインを演算し、偏差とゲインとの積によって
指令値を補正することによって偏差の収束を速くしてい
る. また、特開昭62−118406号公報に記載されてい
る学習制御方法は、未来の各サンプリング時刻における
制御量の予測値は、現在の制御量と、現在より過去の各
サンプリング時刻に加^られた操作量の現在における応
答との線形結合で近似できることを前提にし、未来の各
サンプリング時刻における指令値に対応する未来の制御
量の最適線形予測を演算し、これに基づいて現在の指令
値を補正する方法である. [発明が解決しようとする課題] 上述の文献に記載された従来の学習制御装置は、3つの
基本過程、すなわち加工プログラムを入力する編集過程
、加工プログラムを補正する学習過程、加工プログラム
に従って加工を行う運転過程をこの順序で継続して行う
のみで、学習過程、運転過程をそれぞれ独立に起動し、
各過程で実行すべき加工プログラムを任意に指定する機
能を備えていないという問題点がある.この機能は、多
軸旋盤のように、他の系統と関連させて加工プログラム
を選択し、他の系統に同期して加工プログラムを実行し
なければならない場合に特に重要である. 本発明の目的は、上記の実用上必要な機能を付加した汎
用学習制御装置を提供することにある. [課題を解決するための手段] 本発明の第1の汎用学習制御装置は、外部の情報処理装
置から加工プログラムおよび各種のパラメータを入力し
てメモリに格納しかつ編集する編集モードを達成する編
集手段と、学習制御によって加工プログラムを補正し、
その補正加工プログラムをメモリに格納する学習モード
を達成する学習手段と、前記補正加工プログラムに従う
制御対象の運転の制御を含む運転モードを達成する運転
手段と、制御対象を手動操作する手動操作モードを達成
する手動操作手段を備えている学習制御装置であって、 前記編集モードと前記学習モードと前記運転モードと前
記手動操作モードのうちの任意の1つを指定するモード
選択手段と、 複数の加工プログラムおよび補正加工プログラムのうち
の任意の1つを指定するプログラム選択手段と、 前記学習モードまたは前記運転モードを起動する起動手
段を有し、 前記モード遺択手段が学習モードを指定した場合におい
て起動手段が学習モードを起動したときには、学習手段
はプログラム選択手段が指定した加工プログラムまたは
補正加工プログラムに基づいて、偏差が所定の範囲内に
入るまで学習制御を実行し、前記モード選択手段が運転
モードを指定した場合において起動手段が運転モードを
起動したときには、運転手段はプログラム選択手段が指
定した加工プログラムまたは補正加工プログラムを実行
する. 本発明の第2の汎用学習制御装置は、他の装置と連動し
て制御対象を運転する系統運転と、他の装置と連動しな
いで制御対象を運転する単独運転とのいずれかを選択す
る単独運転・系統運転選択手段をさらに含んでいる. 本発明の第3の汎用学習制御装置は、モード選択手段が
運転モードを選択し、かつ、単独運転・系統運転選択手
段が系統運転を選択した場合には、プログラム選択手段
は外部からのプログラム選択信号で加工プログラムまた
は補正加工プログラムを指定する手段を含んでいる. 本発明の第4の汎用学習制御装置は、モード選択手段が
運転モードを選択し、かつ、単独運転・系統運転選択手
段が系統運転を選択した場合には、起動手段は外部から
の起動・停止選択信号によって運転モードを起動する手
段を含んでいる.本発明の第5の汎用学習制御装置は1
サイクル運転と連続運転のうちの一方を選択するlサイ
クル運転・連続運転選択手段をさらに備えている. 本発明の第6の汎用学習制御装置は、学習手段が起動中
であることを表示する起動中表示手段と、学習手段が、
学習を終了したことを表示する学習完了表示手段をさら
に備えている.[作 用J 本発明の第1の汎用学習制御装置は、編集モード、学習
モード、運転モードまたは手動操作モード(以下、動作
モードと記す)の任意の1つの選択と、複数の加工プロ
グラムおよび補正加工プログラム(以下、加工プログラ
ムと記す)の任意の1つの選択との組合せによって、多
様な仕様で使用することができる.すなわち、学習モー
ドが指定されている場合には、その直前の編集モードで
処理された加工プログラムに限らず、現在メモリに格納
されている加工プログラムの中から任意に指定された加
工プログラムに基づいて学習制御をすることができる.
運転モードが指定されている場合には、運転手段は、補
正されているか否かの別なく任意に指定された加工プロ
グラムを実行する.また学習モード、運転モードは相互
に無関係に任意のタイミングで起動される. 本発明の第2の汎用学習制御装置は、例えば多軸旋盤の
同時並行的に実行される複数の加工プログラムのうちの
1つを実行する場合には系統運転を選択し、学習運転、
または単独運転で制御対象を運転する場合には単独運転
を選択することができる. 本発明の第3の汎用学習制御装置は、複数の加工プログ
ラムが同時並行的に実行される場合に、他の系統で使用
される加工プログラムと同時並行的に使用されるべき加
工プログラムを、外部からのプログラム選択信号によっ
て自動的に指定することができる. 本発明の第4の汎用学習制御装置は、複数の加エプログ
ラムが同時並行的に実行される場合に、起動・停止選択
信号によって、他の系統の運転に同期して運転モードを
起動することができる.本発明の第5の汎用学習制御装
置は、lサイクルづつの学習運転を選択することができ
る.本発明の第6の汎用学習制御装置は、起動中表示手
段および学習完了表示手段によって学習状態をモニタし
ながら、次の1サイクルの学習運転、または次の運転モ
ードを起動することができる.[実施例] 次に、本発明の実施例について図面を参照して説明する
. 第1図は本発明の汎用学習制御装置の一実施例のブロッ
ク図、第2図(A)。(B)はそれぞれ第1図の装置の
コネクタおよび操作パネルを示す図、第3図(A) .
 (B) . (C)はそれぞれ第1図の装置の編集手
段、学習手段、運転手段の動作およびメモリ3の記憶構
造を説明する概念図、第4図は第1図の装置の学習動作
を示すフローチャートである.本実施例の汎用学習制御
装置は、編集手段、学習手段、運転手段、手動操作手段
(以下、モード制御手段と総称する。)、モード選択手
段、プログラム選択手段、制御対象の運転を選択する運
転選択手段(以下、選択手段と総称する.)、制御対象
の起動および停止手段、指令プログラムおよび補正指令
プログラムを格納するメモリ、ならびに表示手段を含み
、さらにモード制御手段の各々が制御を実行するために
必要な補助的な手段を備えている. 編集手段、学習手段、運転手段、手動操作手段は、それ
ぞれ編集サブルーチン、学習サブルーチン、運転サブル
ーチン、手動操作サブルーチンと、これらのサブルーチ
ンを実行する共通のCPUIを含んでいる.それぞれの
モード制御手段は、CPU1がそれぞれのサブルーチン
を実行することによって機能し、それぞれ編集モード、
学習モード、運転モード、手動操作モードの制御を実行
する.メモリ2はROMで、前記のサブルーチンはすべ
てこの中に格納されている.メモリ3は不揮発性RAM
で、加工プログラム、補正加工プログラムおよびこれら
に関係するパラメータが格納されている,CPU5は入
出力制御用で、ROM16はCPU5の動作手順が格納
され、メモリ17はCPU5のワーキングメモリである
.専用IC6は、本実施例の汎用学習制御装置専用に製
作されたICで、CPU1とCPUS間の情報の伝達を
仲介するデュアルボートメモリと、制御対象の移動量に
対応するアップ/ダウンパルスを計数する可逆カウンタ
を含んでいる.変換器8は、エンコーダ7が制御対象の
移動に応答して出力する2相信号をコネクタ6CNを経
由して受信し、アップ/ダウンパルスに変換する.変換
器9,l1は、シリアル信号として入力される外部信号
をパラレル信号に変換し、または装置内で生成されたパ
ラレル信号をシリアル信号として出力すると共に信号の
レベルを変換する入出力インタフェースである.変換器
10は入出力信号のアイソレーション用である.コネク
タ4CNは、パーソナルコンピュータ4と変換器9を接
続し、編集モード時に加工プログラムおよびパラメータ
を伝送する.コネクタ3CNはNC装置l4と変換器1
0を接続し、運転モード時にNG装置から汎用学習制御
装置へ外部起動・停止信号、外部プログラム選択信号を
伝達し、または汎用学習制御装置からNG装置へ信号を
伝達する.コネクタ3CNは、また変換器11と表示器
15をも接続する.表示器l5は、制御対象の移動量に
対応するエンコーダ7の出力パルス数を専用IC6およ
びCPU5を経由して受信し数値表示する(汎用学習制
御装置とは別置の表示である).コネクタICNは主軸
パルスゼネレータ12が出力する同期信号を汎用学習制
御装置に接続する.この同期信号はCPU1に入力され
て指令の出力タイミングを制御すると共に、外部装置に
同じ同期信号を送信するためにコネクタ2CNを経由し
て出力される.また、この同期信号はカウンタl3によ
って計数され、CPU1はその計数値が所定値になる時
刻を学習モード時、運転モード時における1サイクルの
開始時刻に対応させる.コネクタ5CNは学習モード時
、運転モード時に指令を制御対象に接続する.また、本
実施例においては、指令をアナログ入力の速度制御装置
(図示せず)に印加するためにD/A変換器l6が設け
られている.最後に、コネクタ7CNは直流電源+5ボ
ルトを供給するためのものである. 次に、モード選択手段はモード選択スイッチ21 (第
2図)を含み、操作パネルからの切替えによって編集モ
ード、学習モード、運転モード、手動操作モードのいず
れか1つを指定する.本実施例の手動操作モードはさら
に低速度送りモードL(1〜2バルス/sec) 、中
間速度送りモードM(10パルス/sec)を含み、前
進ボタンl2、後退ボタン13によってサーボ機構を手
動操作する. 運転選択手段は、単独運転・系統運転選択スイッチ22
と、lサイクル運転・連続運転選択スイッチ(以下、1
サイクル運転スイッチと記す)23を含んでいる.単゜
独運転・系統運転選択スイッチ22(以下、単独・系統
スイッチと記す)は、操作パネルからの指示による運転
(単独運転)と外部からの信号(他系統からの信号)に
同期した運転(系統運転)とのいずれか一方を選択する
.系統運転は運転モードの時のみ可能である.1サイク
ル運転スイッチ23は1サイクル運転と遣統運転のうち
のいずれか一方を選択する.起動手段は、起動・停止ス
イッチ24と外部起動・停止信号入力端子(図示せず)
を含み、後者はコネクタ3CNの端子に接続されている
.学習モードおよび運転モードにおいて、操作パネルか
らの指示によって起動する場合には、単独・系統スイッ
チ22を単独運転側にして、起動・停止スイッチ24を
オンにする(起動側にする).学習手段または運転手段
は絶えず起動・停止スイッチ24を監視しており、起動
・停止スイッチ24がオンになると加工プログラム(指
令)を制御対象40に伝送する.また、運転を停止させ
る場合には起動・停止スイッチ24をオフにする(停止
側にする).運転モードにおいて外部から起動をかける
場合には、単独・系統スイッチ22を系統運転側にし、
コネクタ3CNを経由して入力される外部起動・停止信
号を活性にする.また運転を停止させる場合には、外部
起動・停止信号を不活性にする. メモリ3は、第3図(A) . (B) . (C)に
図示されているように、指令メモリ3°と補正指令メモ
リ3′を含んでいる.指令メモリ3°は、編集手段が入
力した加工プログラムおよび各種パラメータを記憶する
.本実施例の指令メモリ3°は、3つの加工プログラム
およびそれぞれの加工プログラムに関連したパラメータ
を記憶するメモリエリア3+ ,3t ,3s’を含ん
でいる.補正指令メモリ31はメモリエリア:31.3
z°,3,。から読み出され、学習手段が補正した加工
プログラムをそれぞれ記憶するメモリエリア3 @’+
 3 2’+ 3 3’を含んでいる.以下、それぞれ
のメモリエリア3jl+3k’ (k =1.2.3)
に記憶されている加工プログラムおよび補正された加工
プログラムをそれぞれ加工プログラム3k、補正加工プ
ログラム3ヮ1と記し、これらを総称して加工プログラ
ム3と記す(すなわち、加工プログラム、補正加工プロ
グラムを、そのプログラムが格納されているメモリエリ
ア番号で指定する). プログラム選択手段50(第3図(C))はプログラム
選択スイッチ25と補正無・補正有選択スイッチ26、
外部プログラム選択信号入力端子(図示せず)を含み、
加工プログラム3の中の任意の1つを指定する. プログラム選択スイッチ25は、補正前の加工プログラ
ムと補正された当該加工プログラムとの組が記憶されて
いるメモリエリアの番号を指定し、補正無・補正有選択
スイッチ26は、同じ番号3I1のメモリエリアに記憶
されている補正前または補正された加工プログラム3m
’, 31’を選択する.補正無・補正有選択スイッチ
26は、運転モードの動作時においてのみ用いられる.
外部プログラム選択信号入力端子はコネクタ3CNの端
子に接続されている.操作パネルからの指示で加工プロ
グラムを指定する場合には、単独・系統スイッチ22を
単独運転側にしプログラム選択スイッチ25によって当
該加工プログラムが記憶されているメモリエリア番号3
kを指示し、運転モードの動作時には補正無・補正有選
択スイッチ26によって、当該メモリエリア番号の加工
プログラム3,oまたは補正加工プログラム3klを指
定する.外部から加工プログラムを指定する場合には、
単独・系統スイッチ22を系統運転側にし、コネクタ3
CNを経由して入力される外部プログラム選択信号によ
って当該プログラム3koまたは3klを指定する. 表示手段は、準備完了ランブ27、学習完了ランプ28
、起動中ランブ29、原点復帰完了ランブ30、アラー
ムランブ31を含んでいる.準備完了ランブ27は電源
投入後内部状態が正常であり、かつサーボドライブから
サーボレディ信号が入力されているときに点灯する.学
習完了ランブ28は、学習モードで運転中に、偏差が予
め設定された範囲内に入ったとき点灯する.起動中ラン
ブ29は学習モードまたは運転モード中に、システムが
運転状態になったとき、すなわち単独・系統スイッチ2
2が単独運転側にあって起動・停止スイッチ24が起動
側にあるとき、または単独・系統スイッチ22が系統運
転側にあって外部起動・停止入力が活性のとき、点灯す
る.原点復帰完了ランプ30は、運転しようとする制御
対象の原点復帰の動作が完了したとき点灯する.このラ
ンプが点灯しているとき、起動手段は有効に機能する.
アラームランブ31は、学習制御装置内部に障害があっ
たとき(例えばハードウエアが不良であったり、ソフト
ウエアにバグがあるとき)、または学習制御システムと
しての不具合が生じたとき、(例えばサーボドライブか
らサーボアラーム信号が出力されたり、学習モード、運
転モードにおいて偏差が設定値を超えたとき)点灯する
.その他、リセットボタン34、非常停止ボタン35は
周知のものである. 次に本実施例の動作を説明する. 第4図は本実施例の学習動作を示すフローチャートであ
る. モード選択スイッチlが編集モードを指定すると(第3
図(A))、オペレータはパーソナルコンビュータ4に
よって、所定の加工プログラムおよび各種パラメータを
外部情報処理装置から読出して移動形状をパーソナルコ
ンピュータ4上でモニタし、必要な変更を加えた後、メ
モリエリア3,。を指定して、汎用学習制御装置に転送
する.汎用学習制御装置は、CPU5の入出力制御によ
ってパーソナルコンピュータ4から転送された加工プロ
グラムおよびパラメータを専用IC6に保持した後、C
PU1の制御によって専用工C6から読出し、指定され
たメモリエリア3Iloに格納する.また、オペレータ
が学習によって補正中の加工プログラムのパラメータを
変更したい場合(第4図参照)には、モード選択手段に
よって編集モードを指定し(ステップS14)パーソナ
ルコンピュータ4によって、補正加工プログラム番号を
指定して当該加工プログラムの転送要求をする.汎用学
習制御装置は前記の処理と逆向きの処理を実行して加工
プログラムとパラメータを読出し(ステップS15)パ
ーソナルコンピュータ4に転送する。オペレータはパー
ソナルコンビュータ上で移動形状をモニタし、必要な変
更を加えた(ステップS16)後、その加工プログラム
とパラメータをメモリ3のもとのエリアに書込む(ステ
ップS17).パーソナルコンピュータ4と汎用学習制
御装置間の入出力信号の状態はパーソナルコンピュータ
4上でモニタすることができる.編集モードでは制御対
象(サーボモータ)に起動をかけることはできない. 次に、学習モードでは、学習手段は操作パネル上のスイ
ッチのみを受付ける.したがって単独・系統スイッチ2
2を単独側に接続する.また、lサイクル運転スイッチ
23が1サイクル側にある場合には、学習は1サイクル
づつ実行される.ここでは先ず、連続運転で学習を行う
場合の動作を記す. 本実施例の装置を学習モードで動作させるときには(第
3図(B) 参照)、オペレータは先ずプログラム選択
スイッチ25によって加工プログラムを指定する(ステ
ップS1).次にモード選択スイッチ21によって学習
モードを指定(ステップS2)し、起動・停止スイッチ
24を起動側(オン)にして、学習モードを起動させる
(ステップS3)。起動・停止スイッチ24がオンにさ
れると、学習手段は起動中ランブ29を点灯し(ステッ
プS4)、プログラム選択スイッチ25で選択された加
工プログラム3k。を制御対象(サーボモータ)40に
伝送して学習運転を実行する.すなわち学習手段は、1
サイクル毎に、まず、偏差が小さくなるように加工プロ
グラムを補正し、その補正されたプログラムで運転を行
ない、エンコーダ7によって検出された移動形状と指令
された形状を比較して偏差を計算する(ステップS5)
.次に偏差が所定範囲内にあるか否かを判断する(ステ
ップS6).偏差が所定の範囲内にない場合には、学習
手段はさらに次の学習運転を実行する.補正された加工
プログラムは指令メモリ3klに保持される.以上の動
作を繰返し、偏差が所定の範囲内に入ると、学習手段は
学習完了ランプ28を点灯する(ステップS11)と共
に、起動中ランブ29を消灯し(ステップS12)、学
習運転を自動停止して(ステップS13)学習動作を終
了する. オペレータが学習運転中にパラメータをモニ
タし、またはパラメータを変更したいときには、起動・
停止スイッチ24をオフにして学習運転を停止させ、モ
ード選択スイッチ21を 学習モードから編集モードに
切替え(ステップS14)、パーソナルコンピュータ4
によってステップS15〜S17を実行した後に、再び
学習モードを指定し(ステップS2)、学習モードを起
動する(ステップS3). 前述したように、1サイクル運転スイッチを1サイクル
側にすると、学習運転は1サイクルのみ行われ、偏差が
所定範囲内にあるか否かが判断される(ステップS6)
.このとき、起動中ランプ29は点灯したままである.
次の1サイクルを実行するときには、起動・停止スイッ
チをオフにした後、再びオンにする.偏差が所定範囲内
にあれば、学習完了ランプ28が点灯され(ステップS
11)、学習運転は停止される(ステップS13). 学習運転中に起動・停止スイッチ24がオフにされると
その機能は休止する.この時起動中ランブ29は点灯し
たままである.再度起動・停止スイッチ24がオンにさ
れると運転は続行する.学習完了ランプ28が点灯して
いるとき起動・停止スイッチ24をオフにした後オンに
すると、学習手段は学習完了状態を解除した後、運転を
開始する.その結果、偏差が設定範囲内であれば、前記
と同様に運転を終了する. モード選択スイッチ2lが運転モードを指定すると(第
3図(C)) 、運転手段は、プログラム選択手段50
(このモードでは、操作パネルから、または外部プログ
ラム選択信号によって任意に加工プログラムが指定され
る.)によって選択された加工プログラム3I1。また
は3kIに従って、制御対象40を運転する.運転中は
1サイクル毎に偏差がチェックされる.偏差が設定値を
超えると、そのサイクルが実行された後、運転は停止さ
れ、同時にアラームランブ31が点灯する.単独・系統
スイッチ22が単独運転側にある場合には、操作パネル
上の起動・停止スイッチ24のオン・オフが有効になり
、系統運転側にある場合には、外部起動・停止信号が有
効になる.1サイクル運転スイッチ23が1サイクル側
のとき、1サイクルのみ実行する.補正無・補正有選択
スイッチ26が補正有側にある時、起動・停止スイッチ
24がオンにされれば、補正加工プログラム3m’にも
とづき、運転が開始される.同時に起動中ランブ29が
点灯する.起動・停止スイッチ24がオフにされれば、
その時のサイクル実行後停止する.同時に起動中ランブ
29は消灯する. 系統運転の場合も同じ動作になる.この場合には、コネ
クタ3CNを経由して外部のNC装置から入力される外
部起動・停止信号により起動され、コネクタICNを経
由して伝送される外部同期信号に同期して運転モードが
制御される.他系統のプログラムに対応して加工プログ
ラムを選択するときには、コネクタ3CNを経由して外
部プログラム選択信号が入力される.また、起動中ラン
ブ29の点灯と併行して起動中信号が外部に出力される
.運転中何らかの要因で偏差が設定された値より大きく
なった時はそのサイクル実行後停止し、学習完了ランプ
28および起動中ランブ29が消灯する.同時にアラー
ムランブ31が点灯しアラーム信号が外部に送出される
.モード選択スイッチ2lが手動操作モードを指定する
と、加工プログラムに関係なく、前進および後退ボタン
32.33によって制御対象を手動操作することができ
る.このモードは主として原点復帰に用いられる. このモードが選択されている時、原点復帰方向の押しボ
タンが押され、テーブル移動中に減速リミットスイッチ
がオンになった時原点復帰のモードとなる.一連の処理
がなされ、原点に到達すると停止し、原点復帰完了ラン
プが点灯する.[発明の効果] 以上説明したように本発明は次の効果を有する. 1) モード選択手段とプログラム選択手段の機能の組
合せにより、多様な仕様で動作することができ、さらに
起動手段によって、学習モードと運転モードを独立に起
動することができるので、これらのモードを任意のタイ
ミングで起動することができ、その結果多様な目的に適
応することができる. 2》 単独運転と系統運転とのいずれか一方を選択する
手段を設けたことにより、単独運転ばかりでなく、他系
統の運転に同期した運転モードを達成することができる
. 3)外部からのプログラム選択信号によって加工プログ
ラムを指定できるので、他系統で使用される加工プログ
ラムに対応して、該加工プログラムと同時並行的に使用
される加工プログラムを自動的に指定することができる
. 4)外部からの起動・停止選択信号によって運転モード
を起動する手段を備えているので、他系統の運転に同期
して、本装置の運転を制御することができる, 5)1サイクル運転と連続運転とのいずれか一方を選択
する手段を備えているので、学習モードにおいて、連続
の学習運転ばかりでなく、1サイクル毎の学習運転をす
ることができる.6)起動中表示手段、学習完了手段を
設けたことにより、学習モードをモニタしながら、次の
1サイクル、または次の運転モードを起動することがで
きる.
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a learning control device that controls a servo motor that drives a machine tool or a robot so that a driving trajectory according to a set command value is obtained. [Prior Art] A learning control device is a device that, when repetitively controlling a controlled object (servo motor), first drives the controlled object according to a command value, detects the deviation of the operating trajectory from the command value, and detects the deviation of the operating trajectory from the command value. The command value is corrected to reduce the deviation, regeneration operation is performed, the deviation of the regeneration operation trajectory from the corrected command value is detected, and the learning cycle of further correcting the command value is repeated to maintain the operation trajectory according to the command value. This is a device that obtains As an example of this type of prior art, for example, Japanese Patent Application Laid-Open No. 60-5740
9, JP-A-61-253505, JP-A-6
There are learning control devices and learning control methods described in Japanese Patent Laid-Open No. 3-15303 and Japanese Patent Application Laid-open No. 118406/1983. The learning control method described in Japanese Unexamined Patent Publication No. 60-57409 uses the time (dynamic delay time) from when a command value is input to a controlled object until the same value is actually measured as a playback trajectory.
This method controls the next regeneration operation according to the corrected command value. JP-A-61-253505 and JP-A-63-1
In the learning control device and the learning control method respectively described in Publication No. 5303, the gain of the deviation is calculated in accordance with the magnitude of the deviation, and the command value is corrected by the product of the deviation and the gain. This speeds up convergence. Furthermore, in the learning control method described in Japanese Patent Application Laid-Open No. 118406/1983, the predicted value of the control amount at each future sampling time is calculated by adding the current control amount and each sampling time past the present time. Based on the assumption that the manipulated variable can be approximated by a linear combination with the current response, the optimal linear prediction of the future controlled variable corresponding to the command value at each future sampling time is calculated, and the current command value is calculated based on this. This is a method of correction. [Problems to be Solved by the Invention] The conventional learning control device described in the above-mentioned literature has three basic processes: an editing process for inputting a machining program, a learning process for correcting the machining program, and a process for performing machining according to the machining program. By simply continuing the driving process in this order, the learning process and driving process can be started independently.
The problem is that it does not have the ability to arbitrarily specify the machining program to be executed in each process. This function is especially important when machining programs must be selected in conjunction with other systems, such as multi-axis lathes, and must be executed in synchronization with other systems. An object of the present invention is to provide a general-purpose learning control device that has the above-mentioned functions necessary for practical use. [Means for Solving the Problems] A first general-purpose learning control device of the present invention achieves an editing mode in which a machining program and various parameters are input from an external information processing device, stored in a memory, and edited. Correct the machining program using means and learning control,
a learning means for achieving a learning mode in which the correction machining program is stored in a memory; an operating means for achieving an operation mode including controlling the operation of a controlled object according to the correction machining program; and a manual operation mode for manually operating the controlled object. A learning control device comprising a manual operation means for achieving the following: a mode selection means for specifying any one of the editing mode, the learning mode, the driving mode, and the manual operation mode; and a plurality of processing operations. program selection means for specifying any one of the program and the correction machining program, and a starting means for starting the learning mode or the operation mode, and starting when the mode selection means specifies the learning mode. When the means starts the learning mode, the learning means executes learning control based on the machining program or correction machining program designated by the program selection means until the deviation falls within a predetermined range, and the mode selection means selects the operation mode. is specified, and when the starting means starts the operation mode, the operating means executes the machining program or correction machining program specified by the program selection means. The second general-purpose learning control device of the present invention is an independent operation that selects either system operation in which the controlled object is operated in conjunction with other devices, or independent operation in which the controlled object is operated without interlocking with other devices. It further includes operation/system operation selection means. In the third general-purpose learning control device of the present invention, when the mode selection means selects the operation mode and the individual operation/system operation selection means selects the system operation, the program selection means selects a program from the outside. It includes a means for specifying a machining program or a correction machining program using a signal. In the fourth general-purpose learning control device of the present invention, when the mode selection means selects the operation mode and the individual operation/system operation selection means selects the system operation, the starting means starts or stops externally. It includes means for activating the operating mode by a selection signal. The fifth general-purpose learning control device of the present invention is 1
It further includes l-cycle operation/continuous operation selection means for selecting one of cycle operation and continuous operation. A sixth general-purpose learning control device of the present invention includes an activation display means for displaying that the learning means is activated;
The system further includes a learning completion display means for displaying that learning has been completed. [Function J] The first general-purpose learning control device of the present invention is capable of selecting any one of editing mode, learning mode, driving mode, or manual operation mode (hereinafter referred to as operation mode), and selecting a plurality of machining programs and corrections. By combining it with any one machining program (hereinafter referred to as machining program), it can be used with a variety of specifications. In other words, when the learning mode is specified, the processing is performed not only based on the machining program processed in the previous edit mode, but also based on any machining program specified from among the machining programs currently stored in memory. Learning control is possible.
When the operating mode is specified, the operating means executes the arbitrarily specified machining program, regardless of whether it has been corrected or not. Furthermore, learning mode and driving mode can be activated at any timing, regardless of each other. The second general-purpose learning control device of the present invention selects systematic operation when executing one of a plurality of machining programs executed in parallel on a multi-spindle lathe, and selects the learning operation,
Alternatively, if you want to operate the controlled object in standalone mode, you can select standalone mode. The third general-purpose learning control device of the present invention is capable of externally controlling a machining program to be used in parallel with machining programs used in other systems when a plurality of machining programs are executed in parallel. It can be specified automatically by the program selection signal from . The fourth general-purpose learning control device of the present invention is capable of starting an operation mode in synchronization with the operation of other systems using a start/stop selection signal when a plurality of processing programs are executed in parallel. Can be done. The fifth general-purpose learning control device of the present invention is capable of selecting learning operation in units of l cycles. The sixth general-purpose learning control device of the present invention can start the next cycle of learning operation or the next operation mode while monitoring the learning state using the starting display means and the learning completion display means. [Example] Next, an example of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the general-purpose learning control device of the present invention, and FIG. 2 (A). (B) is a diagram showing the connector and operation panel of the device shown in FIG. 1, and FIG. 3 (A).
(B). (C) is a conceptual diagram illustrating the operations of the editing means, learning means, and driving means of the apparatus shown in FIG. 1, and the storage structure of the memory 3, and FIG. 4 is a flowchart showing the learning operation of the apparatus shown in FIG. 1. .. The general-purpose learning control device of this embodiment includes an editing means, a learning means, a driving means, a manual operation means (hereinafter collectively referred to as mode control means), a mode selection means, a program selection means, and an operation for selecting the operation of a controlled object. It includes a selection means (hereinafter collectively referred to as the selection means), means for starting and stopping a controlled object, a memory for storing a command program and a correction command program, and a display means, and each of the mode control means executes control. It is equipped with the necessary auxiliary means. The editing means, learning means, driving means, and manual operation means each include an editing subroutine, a learning subroutine, a driving subroutine, a manual operation subroutine, and a common CPUI for executing these subroutines. Each mode control means functions when the CPU 1 executes each subroutine, and each mode control means operates in the editing mode,
Executes control in learning mode, driving mode, and manual operation mode. Memory 2 is a ROM, and all of the above subroutines are stored in it. Memory 3 is non-volatile RAM
The CPU 5 stores machining programs, correction machining programs, and parameters related to these. The CPU 5 is for input/output control. The ROM 16 stores operating procedures of the CPU 5. The memory 17 is a working memory of the CPU 5. The dedicated IC 6 is an IC manufactured exclusively for the general-purpose learning control device of this embodiment, and has a dual port memory that mediates the transmission of information between the CPU 1 and the CPUS, and counts up/down pulses corresponding to the amount of movement of the controlled object. It contains a reversible counter that The converter 8 receives the two-phase signal output by the encoder 7 in response to the movement of the controlled object via the connector 6CN, and converts it into up/down pulses. The converters 9 and 11 are input/output interfaces that convert an external signal input as a serial signal into a parallel signal, or output a parallel signal generated within the device as a serial signal, and convert the level of the signal. The converter 10 is for isolation of input and output signals. Connector 4CN connects personal computer 4 and converter 9, and transmits machining programs and parameters in editing mode. Connector 3CN connects NC device 14 and converter 1
0 to transmit external start/stop signals and external program selection signals from the NG device to the general-purpose learning control device during operation mode, or to transmit signals from the general-purpose learning control device to the NG device. Connector 3CN also connects converter 11 and display 15. The display 15 receives the number of output pulses from the encoder 7 corresponding to the amount of movement of the controlled object via the dedicated IC 6 and the CPU 5, and displays it numerically (the display is installed separately from the general-purpose learning control device). The connector ICN connects the synchronization signal output from the spindle pulse generator 12 to the general-purpose learning control device. This synchronization signal is input to the CPU 1 to control the output timing of commands, and is also output via the connector 2CN in order to transmit the same synchronization signal to an external device. Further, this synchronization signal is counted by a counter l3, and the CPU 1 makes the time when the counted value reaches a predetermined value correspond to the start time of one cycle in the learning mode and the driving mode. Connector 5CN connects commands to the controlled object during learning mode and operation mode. Further, in this embodiment, a D/A converter l6 is provided to apply a command to an analog input speed control device (not shown). Finally, connector 7CN is for supplying DC power +5 volts. Next, the mode selection means includes a mode selection switch 21 (FIG. 2), which allows one of editing mode, learning mode, driving mode, and manual operation mode to be specified by switching from the operation panel. The manual operation mode of this embodiment further includes a low speed feed mode L (1 to 2 pulses/sec) and an intermediate speed feed mode M (10 pulses/sec), in which the servo mechanism is manually operated by the forward button 12 and the backward button 13. do. The operation selection means is an individual operation/system operation selection switch 22
and l-cycle operation/continuous operation selection switch (hereinafter referred to as 1)
(referred to as cycle operation switch) 23. The independent/system operation selection switch 22 (hereinafter referred to as the "independent/system switch") selects between operation based on instructions from the operation panel (isolated operation) and operation synchronized with external signals (signals from other systems). (system operation). System operation is possible only in operation mode. The 1-cycle operation switch 23 selects either 1-cycle operation or continuous operation. The starting means includes a start/stop switch 24 and an external start/stop signal input terminal (not shown).
, the latter of which is connected to the terminal of connector 3CN. In the learning mode and the driving mode, when starting according to an instruction from the operation panel, set the independent/system switch 22 to the independent operating side and turn on the start/stop switch 24 (set to the starting side). The learning means or operating means constantly monitors the start/stop switch 24, and when the start/stop switch 24 is turned on, it transmits a machining program (command) to the controlled object 40. In addition, when stopping the operation, turn off the start/stop switch 24 (set it to the stop side). When starting from the outside in the operation mode, set the individual/system switch 22 to the system operation side,
Activates the external start/stop signal input via connector 3CN. Also, when stopping operation, deactivate the external start/stop signal. The memory 3 is shown in FIG. 3(A). (B). As shown in (C), it includes a command memory 3° and a correction command memory 3'. The command memory 3° stores the machining program and various parameters input by the editing means. The command memory 3° of this embodiment includes memory areas 3+, 3t, and 3s' for storing three machining programs and parameters related to each machining program. The correction command memory 31 has a memory area: 31.3
z°, 3,. Memory area 3 for storing machining programs read from and corrected by the learning means @'+
Contains 3 2'+ 3 3'. Below, each memory area 3jl+3k' (k = 1.2.3)
The machining program and the corrected machining program stored in are respectively referred to as machining program 3k and corrected machining program 3-1, and these are collectively referred to as machining program 3 (that is, the machining program and the corrected machining program are Specify by the memory area number where the program is stored). The program selection means 50 (FIG. 3(C)) includes a program selection switch 25, a non-correction/correction selection switch 26,
including an external program selection signal input terminal (not shown);
Specify any one of machining programs 3. The program selection switch 25 specifies the memory area number in which the combination of the machining program before correction and the corrected machining program is stored, and the no correction/correction selection switch 26 specifies the memory area number 3I1 with the same number. 3m of uncorrected or corrected machining programs stored in
Select ', 31'. The no correction/correction selection switch 26 is used only in the driving mode.
The external program selection signal input terminal is connected to the terminal of connector 3CN. When specifying a machining program by instructions from the operation panel, set the individual/system switch 22 to the individual operation side and select the memory area number 3 in which the machining program is stored using the program selection switch 25.
k, and when operating in the operation mode, use the no correction/correction selection switch 26 to specify machining program 3, o or correction machining program 3kl of the memory area number. When specifying a machining program externally,
Set the individual/system switch 22 to the system operation side, and connect the connector 3.
The relevant program 3ko or 3kl is designated by an external program selection signal input via CN. The display means are a ready lamp 27 and a learning complete lamp 28.
, a starting lamp 29, a home return completion lamp 30, and an alarm lamp 31. The ready lamp 27 lights up when the internal state is normal after the power is turned on and a servo ready signal is being input from the servo drive. The learning completion lamp 28 lights up when the deviation falls within a preset range while driving in the learning mode. The starting lamp 29 is activated when the system enters the operating state during learning mode or operation mode, that is, when the individual/system switch 2
2 is on the individual operation side and the start/stop switch 24 is on the start side, or when the individual/system switch 22 is on the system operation side and the external start/stop input is active. The return-to-origin completion lamp 30 lights up when the return-to-origin operation of the controlled object to be operated is completed. When this lamp is lit, the activation means will function effectively.
The alarm lamp 31 is activated when there is a failure inside the learning control device (for example, when the hardware is defective or there is a bug in the software) or when there is a malfunction in the learning control system (for example, when the servo drive Lights up (when a servo alarm signal is output from the servo alarm signal or when the deviation exceeds the set value in learning mode or operation mode). In addition, the reset button 34 and emergency stop button 35 are well-known. Next, the operation of this embodiment will be explained. FIG. 4 is a flowchart showing the learning operation of this embodiment. When the mode selection switch l specifies the editing mode (the third
(A)), the operator uses the personal computer 4 to read out a predetermined machining program and various parameters from the external information processing device, monitor the moving shape on the personal computer 4, make necessary changes, and then ,. Specify and transfer it to the general-purpose learning control device. The general-purpose learning control device stores the machining program and parameters transferred from the personal computer 4 in the dedicated IC 6 through input/output control of the CPU 5, and then
The data is read from the dedicated memory C6 under the control of the PU1 and stored in the designated memory area 3Ilo. Furthermore, if the operator wishes to change the parameters of the machining program that is being corrected through learning (see Figure 4), the operator specifies the editing mode using the mode selection means (step S14) and specifies the correction machining program number using the personal computer 4. to request transfer of the machining program. The general-purpose learning control device executes processing in the opposite direction to the above processing, reads out the machining program and parameters (step S15), and transfers them to the personal computer 4. The operator monitors the moving shape on the personal computer, makes necessary changes (step S16), and then writes the machining program and parameters into the original area of the memory 3 (step S17). The status of input/output signals between the personal computer 4 and the general-purpose learning control device can be monitored on the personal computer 4. In edit mode, it is not possible to start the controlled object (servo motor). Next, in learning mode, the learning means only accepts switches on the operation panel. Therefore, individual/system switch 2
Connect 2 to the single side. Furthermore, when the l-cycle operation switch 23 is on the 1-cycle side, learning is executed one cycle at a time. First, we will describe the operation when learning is performed in continuous operation. When operating the apparatus of this embodiment in the learning mode (see FIG. 3(B)), the operator first specifies a machining program using the program selection switch 25 (step S1). Next, the learning mode is designated by the mode selection switch 21 (step S2), and the start/stop switch 24 is turned to the start side (on) to start the learning mode (step S3). When the start/stop switch 24 is turned on, the learning means turns on the starting lamp 29 (step S4), and the machining program 3k selected by the program selection switch 25 is selected. is transmitted to the controlled object (servo motor) 40 and a learning operation is executed. In other words, the learning means are 1
For each cycle, first, the machining program is corrected so that the deviation is small, the operation is performed using the corrected program, and the deviation is calculated by comparing the moving shape detected by the encoder 7 with the commanded shape ( Step S5)
.. Next, it is determined whether the deviation is within a predetermined range (step S6). If the deviation is not within the predetermined range, the learning means further performs the next learning operation. The corrected machining program is held in the command memory 3kl. When the above operation is repeated and the deviation falls within a predetermined range, the learning means turns on the learning completion lamp 28 (step S11), turns off the starting lamp 29 (step S12), and automatically stops the learning operation. (Step S13) The learning operation ends. When the operator wants to monitor or change parameters during learning operation, start
The stop switch 24 is turned off to stop the learning operation, the mode selection switch 21 is switched from the learning mode to the editing mode (step S14), and the personal computer 4
After executing steps S15 to S17, the learning mode is designated again (step S2), and the learning mode is activated (step S3). As described above, when the 1-cycle operation switch is set to the 1-cycle side, the learning operation is performed for only 1 cycle, and it is determined whether the deviation is within a predetermined range (step S6).
.. At this time, the starting lamp 29 remains lit.
When executing the next cycle, turn off the start/stop switch and then turn it on again. If the deviation is within the predetermined range, the learning completion lamp 28 is lit (step S
11) The learning operation is stopped (step S13). If the start/stop switch 24 is turned off during learning operation, the function will be suspended. At this time, lamp 29 remains lit during startup. When the start/stop switch 24 is turned on again, operation continues. When the start/stop switch 24 is turned off and then turned on while the learning completion lamp 28 is lit, the learning means releases the learning completion state and then starts operation. As a result, if the deviation is within the set range, the operation is ended in the same way as above. When the mode selection switch 2l specifies the operation mode (FIG. 3(C)), the operation means is set to the program selection means 50.
(In this mode, the machining program is arbitrarily designated from the operation panel or by an external program selection signal.) The machining program 3I1 selected by the machining program 3I1. Or drive the controlled object 40 according to 3kI. During operation, the deviation is checked every cycle. When the deviation exceeds the set value, the cycle is executed, the operation is stopped, and the alarm lamp 31 is lit at the same time. When the independent/system switch 22 is on the independent operation side, the on/off of the start/stop switch 24 on the operation panel is enabled, and when it is on the system operation side, the external start/stop signal is enabled. Become. When the 1-cycle operation switch 23 is on the 1-cycle side, only 1 cycle is executed. If the start/stop switch 24 is turned on when the no correction/correction selection switch 26 is on the correction side, operation is started based on the correction machining program 3m'. At the same time, lamp 29 lights up during startup. If the start/stop switch 24 is turned off,
It will stop after executing the cycle at that time. At the same time, the starting lamp 29 goes out. The same operation occurs in grid operation. In this case, the operation mode is activated by an external start/stop signal input from an external NC device via connector 3CN, and is controlled in synchronization with an external synchronization signal transmitted via connector ICN. .. When selecting a machining program in response to a program of another system, an external program selection signal is input via the connector 3CN. Further, in parallel with the lighting of the starting lamp 29, a starting signal is output to the outside. If the deviation becomes larger than the set value for some reason during operation, the cycle stops after execution, and the learning completion lamp 28 and starting lamp 29 go out. At the same time, the alarm lamp 31 lights up and an alarm signal is sent to the outside. When the mode selection switch 2l specifies the manual operation mode, the controlled object can be manually operated using the forward and backward buttons 32 and 33, regardless of the machining program. This mode is mainly used for returning to the origin. When this mode is selected, the return-to-origin direction push button is pressed and the deceleration limit switch is turned on while the table is moving, and the machine enters the return-to-origin mode. A series of processing is performed, and when the origin is reached, the machine stops and the origin return completion lamp lights up. [Effects of the Invention] As explained above, the present invention has the following effects. 1) By combining the functions of the mode selection means and the program selection means, it is possible to operate with various specifications, and furthermore, since the learning mode and the driving mode can be started independently by the starting means, these modes can be set arbitrarily. It can be activated at any timing, and as a result, it can be adapted to a variety of purposes. 2) By providing a means to select either individual operation or system operation, it is possible to achieve not only individual operation but also an operation mode that is synchronized with the operation of other systems. 3) Since a machining program can be specified by an external program selection signal, it is possible to automatically specify a machining program to be used in parallel with a machining program used in another system, in response to a machining program used in another system. can. 4) Since it is equipped with a means to start the operation mode by an external start/stop selection signal, the operation of this device can be controlled in synchronization with the operation of other systems. 5) Single cycle operation and continuous operation Since it is equipped with a means for selecting either one of the two modes, in the learning mode, it is possible to perform not only continuous learning operation but also one-cycle learning operation. 6) By providing a starting display means and a learning completion means, it is possible to start the next cycle or the next operation mode while monitoring the learning mode.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の汎用学習制御装置の一実施例のブロッ
ク図、第2図(A)。(B)はそれぞれ第1図の装置の
コネクタおよび操作パネルを示す図、第3図(A) ,
 (B) , (C)はそれぞれ第1図の装置の編集手
段、学習手段、運転手段の動作およびメモリ3の記憶構
造を説明する概念図、第4図は第1図の装置の学習動作
を示すフローチャートである.1.5−CPU, 2,3.17・・・メモリ、 3+ ,3* ,3s’・・・指令メモリ、または加工
プログラム、 3 l’+ 3 a’+ 3 s””補正指令メモ1ハ
または補正加工プログラム、 4・・・パーソナルコンピュータ、 6・・・専用メモリ、 7・・・エンコーダ、 8,9,10.1 1−・変換器、 1 2−・・主軸パルスゼネレー夕、 1 3−・・カウンタ、 14−NG装置、 1 5 −・・表示器、 16−ROM, 2 1−・・モード選択スイッチ、 22・一単独・系統スイッチ、 23・・・1サイクル運転スイッチ、 2 4−・・起動・停止スイッチ、 2 5−・・プログラム選択スイッチ、26・・・補正
無・補正有スイッチ、 2 7−・・準備完了ランプ、 2 8−・・学習完了ランプ、 29・・・起動中ランプ、 30・・・原点復帰完了ランプ、 31・・・アラームランプ、 32・・・前進ボタン、 33・・・後退ボタン、 34・・・リセットボタン、 35・・・非常停止ボタン、 40・・・制御対象、 5o・・・プログラム選択手段、 ICN,2CN,3CN,4CN,5CN,6CN,7
CN,8CN・・・コネクタ.特許出願人 株式会社安
川電機製作所
FIG. 1 is a block diagram of an embodiment of the general-purpose learning control device of the present invention, and FIG. 2 (A). (B) is a diagram showing the connector and operation panel of the device in Figure 1, Figure 3 (A),
(B) and (C) are conceptual diagrams each explaining the operation of the editing means, learning means, and driving means of the device shown in FIG. 1, and the storage structure of the memory 3, and FIG. 4 shows the learning operation of the device shown in FIG. This is a flowchart showing the process. 1.5-CPU, 2,3.17...Memory, 3+,3*,3s'...Command memory or machining program, 3l'+3a'+3s""Correction command memo 1H or correction machining program, 4...Personal computer, 6...Dedicated memory, 7...Encoder, 8, 9, 10.1 1--Converter, 1 2-...Spindle pulse generator, 1 3- ...Counter, 14-NG device, 1 5--Display device, 16-ROM, 2 1--Mode selection switch, 22-1 single/system switch, 23-1 cycle operation switch, 2 4- ...Start/Stop switch, 2 5--Program selection switch, 26--No correction/correction switch, 2 7--Ready lamp, 2 8--Learning complete lamp, 29--Start Middle lamp, 30... Home return completion lamp, 31... Alarm lamp, 32... Forward button, 33... Reverse button, 34... Reset button, 35... Emergency stop button, 40. ...Controlled object, 5o...Program selection means, ICN, 2CN, 3CN, 4CN, 5CN, 6CN, 7
CN, 8CN...Connector. Patent applicant: Yaskawa Electric Manufacturing Co., Ltd.

Claims (6)

【特許請求の範囲】[Claims] (1)外部の情報処理装置から加工プログラムおよび各
種のパラメータを入力してメモリに格納しかつ編集する
編集モードを達成する編集手段と、学習制御によって加
工プログラムを補正し、その補正加工プログラムをメモ
リに格納する学習モードを達成する学習手段と、前記補
正加工プログラムに従う制御対象の運転の制御を含む運
転モードを達成する運転手段と、制御対象を手動操作す
る手動操作モードを達成する手動操作手段を備えている
学習制御装置において、 前記編集モードと前記学習モードと前記運転モードと前
記手動操作モードのうちの任意の1つを指定するモード
選択手段と、 複数の加工プログラムおよび補正加工プログラムのうち
の任意の1つを指定するプログラム選択手段と、 前記学習モードまたは前記運転モードを起動する起動手
段を有し、 前記モード選択手段が学習モードを指定した場合におい
て起動手段が学習モードを起動したときには、学習手段
はプログラム選択手段が指定した加工プログラムまたは
補正加工プログラムに基づいて、偏差が所定の範囲内に
入るまで学習制御を実行し、前記モード選択手段が運転
モードを指定した場合において起動手段が運転モードを
起動したときには、運転手段はプログラム選択手段が指
定した加工プログラムまたは補正加工プログラムを実行
することを特徴とする汎用学習制御装置。
(1) Editing means that achieves an editing mode in which a machining program and various parameters are input from an external information processing device, stored in memory, and edited, and a machining program that is corrected by learning control and the corrected machining program is stored in memory. a learning means for achieving a learning mode stored in the computer, an operating means for achieving an operating mode including controlling the operation of a controlled object according to the correction machining program, and a manual operating means for achieving a manual operating mode for manually operating the controlled object. A learning control device comprising: mode selection means for specifying any one of the editing mode, the learning mode, the driving mode, and the manual operation mode; a program selection means for specifying any one; and a starting means for starting the learning mode or the driving mode, and when the mode selection means specifies the learning mode and the starting means starts the learning mode, The learning means executes learning control based on the machining program or correction machining program specified by the program selection means until the deviation falls within a predetermined range, and when the mode selection means specifies the operation mode, the starting means starts the operation. A general-purpose learning control device characterized in that when the mode is activated, the operating means executes a machining program or a correction machining program specified by the program selection means.
(2)他の装置と連動して制御対象を運転する系統運転
と、他の装置と連動しないで制御対象を運転する単独運
転とのいずれかを選択する単独運転・系統運転選択手段
をさらに含んでいる請求項1に記載の汎用学習制御装置
(2) It further includes independent operation/system operation selection means for selecting either system operation in which the controlled object is operated in conjunction with other devices or isolated operation in which the controlled object is operated without interlocking with other devices. The general-purpose learning control device according to claim 1.
(3)前記プログラム選択手段は、前記モード選択手段
が運転モードを選択し、かつ、前記単独運転・系統運転
選択手段が系統運転を選択した場合には、外部からのプ
ログラム選択信号で加工プログラムまたは、補正加工プ
ログラムを指定する手段を含んでいる請求項2に記載の
汎用学習制御装置。
(3) When the mode selection means selects an operation mode and the individual operation/system operation selection means selects system operation, the program selection means selects a machining program or a machining program using an external program selection signal. 3. The general-purpose learning control device according to claim 2, further comprising means for specifying a correction machining program.
(4)前記起動手段は、前記モード選択手段が運転モー
ドを選択し、かつ、前記単独運転・系統運転選択手段が
系統運転を選択した場合には、外部からの起動・停止選
択信号によって運転モードを起動する手段を含んでいる
請求項2に記載の汎用学習制御装置。
(4) When the mode selection means selects an operation mode and the individual operation/system operation selection means selects system operation, the activation means selects the operation mode by an external start/stop selection signal. 3. The general-purpose learning control device according to claim 2, further comprising means for activating.
(5)1サイクル運転と連続運転のうちの一方を選択す
る1サイクル運転・連続運転選択手段をさらに備えてい
る請求項1ないし4に記載の汎用学習制御装置。
(5) The general-purpose learning control device according to any one of claims 1 to 4, further comprising one-cycle operation/continuous operation selection means for selecting one of one-cycle operation and continuous operation.
(6)前記学習手段が起動中であることを表示する起動
中表示手段と、前記学習手段が、学習を終了したことを
表示する学習完了表示手段をさらに備えている請求項1
に記載の汎用学習制御装置。
(6) Claim 1, further comprising a starting display means for displaying that the learning means is starting, and a learning completion display means for displaying that the learning means has finished learning.
A general-purpose learning control device described in .
JP5186389A 1989-03-06 1989-03-06 General-purpose learning control device Pending JPH02231602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5186389A JPH02231602A (en) 1989-03-06 1989-03-06 General-purpose learning control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5186389A JPH02231602A (en) 1989-03-06 1989-03-06 General-purpose learning control device

Publications (1)

Publication Number Publication Date
JPH02231602A true JPH02231602A (en) 1990-09-13

Family

ID=12898707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5186389A Pending JPH02231602A (en) 1989-03-06 1989-03-06 General-purpose learning control device

Country Status (1)

Country Link
JP (1) JPH02231602A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997022914A1 (en) * 1995-12-19 1997-06-26 Hitachi Construction Machinery Co., Ltd. Method of output correction for control apparatus, the control apparatus, and hydraulic pump control apparatus
US6101456A (en) * 1995-03-07 2000-08-08 Hitachi Construction Machinery Co., Ltd. Output correcting method in control system, control system, and hydraulic pump control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59153209A (en) * 1983-02-22 1984-09-01 Toshiba Corp Programmable controller
JPS61253505A (en) * 1985-05-01 1986-11-11 Mitsubishi Heavy Ind Ltd Learning controller for robot arm
JPS62225200A (en) * 1986-03-25 1987-10-03 Matsushita Electric Works Ltd Driving device for step motor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59153209A (en) * 1983-02-22 1984-09-01 Toshiba Corp Programmable controller
JPS61253505A (en) * 1985-05-01 1986-11-11 Mitsubishi Heavy Ind Ltd Learning controller for robot arm
JPS62225200A (en) * 1986-03-25 1987-10-03 Matsushita Electric Works Ltd Driving device for step motor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6101456A (en) * 1995-03-07 2000-08-08 Hitachi Construction Machinery Co., Ltd. Output correcting method in control system, control system, and hydraulic pump control system
WO1997022914A1 (en) * 1995-12-19 1997-06-26 Hitachi Construction Machinery Co., Ltd. Method of output correction for control apparatus, the control apparatus, and hydraulic pump control apparatus

Similar Documents

Publication Publication Date Title
JPS6244281B2 (en)
EP1308809B1 (en) Synchronization control method and synchronization control device
JPH0432908A (en) Cnc units controlling plural machines
US8155779B2 (en) Numerical controller with tabular data for operating arbitrary axes
US5298843A (en) Method for restarting punch press machine and numerical controller
JPH04123107A (en) Load state plotting system
JP2735209B2 (en) Numerical control unit
JPH02231602A (en) General-purpose learning control device
EP0428950A2 (en) Motor driving control apparatus
US7552002B2 (en) Numerical controller
JPH04235610A (en) Abnormality detector for industrial robot
EP0962844B1 (en) Numerical control apparatus
JP3893334B2 (en) Multi-system numerical controller
JPH01154205A (en) Nc machine tool
JPH01152508A (en) Cnc control system
JP2559273B2 (en) Numerical control device and screen display method of numerical control device
JPH09311706A (en) Numerical controller
JPH0630011B2 (en) Numerical control Machining restart control method
JP2792754B2 (en) Numerical controller for controlling program synchronization between multiple systems
JP2953243B2 (en) Screw tightening control device
JPH08137502A (en) Load changeover system for motor
JPH0871979A (en) Robot controller
KR100221491B1 (en) Method for controlling dual robot
JP3051552B2 (en) Processing unit operation panel in processing production system
WO1989005483A1 (en) Cnc control system