JP2004199530A - Numerical value control device having parameter rewriting history function - Google Patents

Numerical value control device having parameter rewriting history function Download PDF

Info

Publication number
JP2004199530A
JP2004199530A JP2002369130A JP2002369130A JP2004199530A JP 2004199530 A JP2004199530 A JP 2004199530A JP 2002369130 A JP2002369130 A JP 2002369130A JP 2002369130 A JP2002369130 A JP 2002369130A JP 2004199530 A JP2004199530 A JP 2004199530A
Authority
JP
Japan
Prior art keywords
program
parameter
rewriting
history information
storage means
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.)
Granted
Application number
JP2002369130A
Other languages
Japanese (ja)
Other versions
JP4151402B2 (en
Inventor
Hidetsugu Kawai
秀貢 河合
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2002369130A priority Critical patent/JP4151402B2/en
Publication of JP2004199530A publication Critical patent/JP2004199530A/en
Application granted granted Critical
Publication of JP4151402B2 publication Critical patent/JP4151402B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reserve parameter rewriting history information without using a specific storage means. <P>SOLUTION: A numerical value control unit having a parameter rewriting history function comprises: an NC (Numerical Control) program storage means 7 storing NC programs for controlling the operation of a control-oriented device 2; a parameter storage means 6 storing in a freely rewritable fashion each parameter; a means 9 for rewriting the parameter stored on the parameter storage means 6; and a rewriting history information management means 10 storing the rewriting history information A applied to the rewritten parameter on the NC program storage means 7. The rewriting history information A is recorded as the description contents of a comment region on an exclusive program 11. The exclusive program 11 is described in the same program form as that of the NC program 4 and contains no command used for actually operating the control-oriented device 2. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、各種の制御対象装置、例えば工作機械やそのローダ等を、設定された各種のパラメータを用いて数値制御するパラメータ書換履歴機能付き数値制御装置に関する。
【0002】
【従来の技術】
数値制御装置には、パラメータにより各機能の有効/無効,運用方法の選択をする仕組みがなされている。すなわち、昨今、ユーザの要望の多様化等により、数値制御のソフトウェアが複雑化しており、これをパラメータによって各ユーザの要望等に対応させることが一般に行われている。例えば、ローダを備えた自動工作機械における素材搬入方向の選択、加工中における機内計測実行の有無の選択、主軸回転速度等は、パラメータによって設定すると、NCプログラムの作成や制御が簡単になる。このようなパラメータは、例えば数十あるいは数百と多数用いられることが多い。
このパラメータは、専門的な知識がある程度ないと、変更してはいけない性格のものである。誤ったパラメータの設定が行われると、機械が予想外の動作を行うことになる。
これまでは、誰でもが変更が可能とされていたため、適切な値のパラメータとなっていなかった場合に、出荷後にそのような変更をした覚えがない、誰が何時変更したか、あるいはユーザにおいて、誰が何時変更したか等がわからず、多数あるパラメータの確認の上で問題が生じていた。多くの原因は、意図していない変更をしてしまった場合や、目の前に迫った問題を回避するために、仮に設定をしてしまい、元に戻すのを忘れてしまう場合である。
本発明者は、このようなパラメータの書換えの事実を知らせる機能を持った数値制御装置を先に提案した(特許文献1)。
【0003】
【特許文献1】
特開2002−312007号公報
【0004】
【発明が解決しようとする課題】
しかし、専用の記憶手段が必要であり、また、そのようなパラメータ変更履歴の内容を見ることは通常は行わないため、運用上でいま一つ、使い勝手が不十分であった。
【0005】
この発明の目的は、パラメータの書換え履歴情報を、特別な記憶手段を用いることなく残すことのできるパラメータ書換履歴機能付き数値制御装置を提供することである。
この発明の他の目的は、専用の読み出し手段を設けることなく書換え履歴情報を見ることができるようにすることである。
この発明のさらに他の目的は、書換え履歴情報を記憶したプログラムから、書換え履歴情報を人が読み易いものとすることである。
【0006】
【課題を解決するための手段】
この発明の構成を実施形態に対応する図1と共に説明する。このパラメータ書換履歴機能付き数値制御装置は、制御対象装置(2)の動作を各種のパラメータを用いて制御する数値制御装置(1)であって、上記制御対象装置(2)の動作を制御するためのNCプログラム(4)を記憶するNCプログラム記憶手段(7)と、上記各パラメータを書換え自在に記憶するパラメータ記憶手段(6)と、このパラメータ記憶手段(6)に記憶されたパラメータを書き換えるパラメータ書換え手段(9)と、上記パラメータ記憶手段(6)に記憶されたパラメータが書換えられた時の書換え履歴情報(A)を上記NCプログラム記憶手段(7)に記憶する書換履歴情報管理手段(10)とを備える。
この構成によると、パラメータ書換え手段(10)によってパラメータが書換えられたときに、書換え履歴情報(A)を書換履歴情報管理手段(10)が記憶させる。この場合に、書換え履歴情報(A)は、NCプログラム記憶手段(6)に記憶させる。このようにパラメータの書き換えた履歴が残されるため、不用意な設定や、設定の戻し忘れ等に容易に対処することができる。また、NCプログラム記憶手段(7)を利用するため、パラメータの書換え履歴情報(A)を、特別な記憶手段を用いることなく残すことができる。したがって、書換え履歴情報(A)の管理や読み出し等の運用が便利である。
【0007】
上記書換履歴情報管理手段(10)は、上記NCプログラム(4)と同じプログラム形式で作成されて上記制御対象装置(2)を実動作させる指令を含まない専用プログラム(11)に、記述内容の追加として上記書換え履歴情報(A)を逐次記録するものとしたても良い。
このようにNCプログラム(4)と同じプログラム形式で作成された専用プログラム(11)の記述内容として書換え履歴情報(A)を記録すると、NCプログラム(4)の運転や保守のためにNCプログラム(4)を画面表示する操作盤部(3)の画面等を利用して、書換え履歴情報(A)を見ることができる。そのため、専用の読み出し手段を設けることなく書換え履歴情報(A)を見ることができる。また書換え履歴情報(A)を内容とする専用プログラム(11)を、他のNCプログラム(4)と同様に編集することができ、取扱性に優れる。上記専用プログラム(11)は、NCプログラム(4)の形式を取るが、制御対象装置(2)を実動作させる指令を含まないため、その実行によって誤って制御対象装置(2)を動作させる恐れがない。
【0008】
また、この発明において、上記上記書換履歴情報管理手段(10)は、上記書換え履歴情報(A)を、上記NCプログラム(4)と同じプログラム形式で作成されたプログラムにおける上記制御対象装置(2)を実動作させないコメント領域の記述内容しとて記録するものとしても良い。例えばNCプログラム言語による記述のコメントとして書換え履歴情報(A)を記録するものとしても良い。
コメント領域は、実際の制御の指令ではなく、プログラム内容を見易くするために、所定の記号等で区切って書き込み可能とされる領域である。そのため、このコメント領域に書換え履歴情報(A)を書き込むことで、書換え履歴情報(A)を人が読み易いものとなる。なお、この場合に、書換え履歴情報(A)を記録したプログラムは、専用のプログラムであっても良く、また実動作させるNCプログラム(4)のうちのいずれかを用い、そのコメント領域を書換え履歴情報(A)の記録に利用させるようにしても良い。
【0009】
【発明の実施の形態】
この発明の一実施形態を図面と共に説明する。このパラメータ書換履歴機能付きの数値制御装置1は、制御対象装置2の動作をNCプログラム4と各種のパラメータを用いて制御する装置である。制御対象装置2は、工作機械やその他の各種の装置である。工作機械は、旋盤を代表とする切削加工,研削加工用等の狭義の工作機械の他に、パンチプレスやレーザ加工機等の広義の工作機械を含む。制御対象装置2は、具体例を挙げると、図7に示すように物を加工する工作機械本体2aと、この工作機械本体2aに対してワークの搬入,搬出を行うローダ2bとで構成される。この数値制御装置1の制御対象装置2は、このようなローダ2bを有する工作機械の全体を同じプログラムで制御するものであっても、工作機械本体2aまたはローダ2bのいずれかを個々のNCプログラムにより数値制御するものであっても良い。例えば、制御対象装置2がローダ2bの単独である場合に適用しても良い。
【0010】
図1において、数値制御装置1はコンピュータ式のものであり、数値制御プログラムであるNCプログラム4を解読して実行する演算制御部5を有している。演算制御部5は、NCプログラム4の実行に際して、パラメータ記憶手段6に記憶された各種のパラメータを用いる。NCプログラム4は、数値制御装置1に設けられたNCプログラム記憶手段7に、一つまたは複数記憶される。複数記憶される各NCプログラム4は、制御対象装置2で加工する素材ワークや製品ワークの種類等の別に準備されるものであり、スケジュール管理用の上位制御コンピュータ(図示せず)やオペレータの入力に従い、選択して実行される。
【0011】
数値制御装置1は、数値制御の機能およびシーケンス制御の機能を果たすものであり、上記数値制御の機能を果たす数値制御部と、シーケンス制御を主に行うプログラマブルコントローラ部(いずもれ図示せず)とに分けて設けられたものであっても、また分けずに設けられたものであっても良い。図1では数値制御部とプログラマブルコントローラ部とをまとめて示している。上記演算制御部5は、NCプログラム4の解読と、その解読結果による制御対象装置2の各軸の軸送り制御およびシーケンス制御を行う手段であり、上記プログラマブルコントローラ部が設けられる場合は、そのプログラマブルコントローラ部における制御手段を含むものを言う。上記シーケンス制御は、例えば所定のシーケンスプログラム(図示せず)に従って行われる。
【0012】
数値制御装置1は、上記数値制御部とプログラマブルコントローラ部とが別々のコンピュータで構成されたものであっても、共通のコンピュータに構成されたものであっても良く、またこれらの区別にかかわらずにネットワークで結合された複数のコンピュータで構成されるものであってもよい。
操作盤部3は、数値制御装置1の各部および制御対象装置2に対して操作を行う手段であり、キーボードやタッチパネル等の入力手段8と、画面表示を行う液晶表示装置やCRT等の表示手段9とを有する。
【0013】
パラメータ記憶手段6は、制御に用いる各種のパラメータを記憶する手段であり、アドレスにより特定される記憶領域に、パラメータの内容、つまり値が記憶される。パラメータ記憶手段6におけるパラメータの個数は、例えば数十ないし数百とされる。パラメータの内容としては、制御の種類を示すデータや、制御量を示すデータ、位置を区別するために付された識別符号等が設定される。制御の種類を選択するデータとしては、例えばワークを右から搬入するか左から搬入するかの区別を示す2値符号や、機内計測等の所定の処理を行うか否かを区別する符号等が定められる。制御量を示すデータとしては、主軸回転速度やワーク搬送速度に対するオーバライド値等が設定される。位置を区別するための情報としては、ローダ2b(図7)によるワーク搬送経路における各停止位置を区別する符号等が設定される。パラメータは、上記と別の観点で区分すると、基本的な機能を定める機能パラメータや、工場で設定しておくオプションパラメータ、ユーザが運用に応じて設定する運用パラメータ等がある。パラメータ記憶手段6は、上記数値制御部とプログラマブルコントローラ部とに別々に設けられるものであっても良く、図1では両者をまとめて示している。
【0014】
この数値制御装置1は、上記構成のものにおいて、プログラム保守手段8、パラメータ書換え手段9、および書換履歴情報管理手段10が設けられている。
プログラム保守手段8は、NCプログラム記憶手段7に記憶されるNCプログラム4を表示手段9の画面に表示させ、入力手段8からの入力によって編集、つまり書換え可能とする手段である。プログラム保守手段8は、この他に、NCプログラム4の外部出力機能、および外部からの入力機能を有するものとしても良い。
パラメータ書換え手段9は、パラメータ記憶手段に記憶されたパラメータを書き換える手段である。パラメータ書換え手段9は、書換え許可手段9aを有しており、所定の判定を行って書換え許可状態となったときのみ、パラメータの書換えを可能とする。上記所定の判定として、例えば所定の入力事項が入力手段8から入力されたこと、および入力された内容が所定の要件に一致するか否かの判定を行う。この所定の入力事項には、パラメータ書換作業者の識別番号が含まれる。パラメータ書換え手段9は、例えば、パラメータ書換作業者の識別番号を入力させる入力処理手段(図示せず)と、識別番号が入力されたことを条件にパラメータの書換えを許す書換え許可手段9aとを有するものとしても良い。
【0015】
書換履歴情報管理手段10は、パラメータ記憶手段6に記憶されたパラメータがパラメータ書換え手段9によって書換えられた時の書換え履歴情報を、上記NCプログラム記憶手段7に記憶する手段である。この場合に、書換履歴情報管理手段10は、NCプログラム4と同じプログラム形式で作成されて上記制御対象装置2を実動作させる指令を含まない専用プログラム11に、プログラム内容の追加として上記書換え履歴情報を逐次記録する。また、この書換え履歴情報は、専用プログラム11のコメント領域の内容として記録する。専用プログラム11は、予め基本内容の記述されたものをNCプログラム記憶手段7に記憶させておいても良く、また書換履歴情報管理手段10による最初の記憶時に専用プログラム11の基本内容を生成してNCプログラム記憶手段7に記憶させるようにしても良い。
【0016】
書換履歴情報管理手段10には、チェックマーク付与手段10aを設けてもよい。このチェックマーク付与手段10aは、所定の機会に入力手段8からの所定の入力があると、専用プログラム11の記述内容としてチェックマークを付与する手段である。このチェックマークも、コメント領域に記録する。チェックマークは、例えば上記所定の機会に、パラメータ記憶手段6の各パラメータの内容が正しいことを確認した場合に、その確認を示す意味で施すマークである。
【0017】
NCプログラム4は、例えばNCコードで記述され、基本的には1行に一つの命令が記述される。NCプログラム4のNCコード等によるプログラム形式には種々の形式があり、細かく分類が可能であるが、専用プログラム11は、少なくともプログラム保守手段8によってNCプログラム4と同様に表示および書換え処理が可能なものとされる。
NCプログラム記憶手段7は、例えばNCプログラム4をそれぞれ1本ずつ記憶する領域が予め区分けして複数定められたものであっても良い。その場合に、NCプログラム記憶手段7における複数のNCプログラム記憶領域のいずれか一つまたは複数を、上記専用プログラム11を記憶させる固定領域として定めておいても良い。
【0018】
上記構成によるパラメータの書換えおよびその履歴の記録等につき、図4の流れ図および各画面例等と共に説明する。図4にステップS1で示すように、パラメータを変更するときは、入力手段8にパラメータ変更の希望を示す所定の入力を行う。この入力により、パラメータ書換え手段9は、例えば図5に示すような条件設定画面を表示手段9に出力する(S2)。この条件設定画面は、権限確認情報の入力画面となっており、画面上の所定の箇所(図では「*」の文字が複数並ぶ箇所)にパラメータ書換え作業者の識別番号を入力する。この識別番号は、例えば図6に示すように、社員であれば社員番号とし、また外注先であれば最上位桁を所定の文字または数字(図では「6」)に固定した番号を入力する。図6の表は、図5の「HELP参照」とあるマークを指でタッチすることなどで、画面上に現れるものとされる。
パラメータ書換え手段9は、上記識別番号が入力されていることを確認し、書換え可能状態となる。これにより、パラメータ書換え手段9は、パラメータ変更の画面(図示せず)を表示手段13の画面に出力し、または図5の条件設定画面におけるパラメータ表示部(図示せず)が書換え可能になる(S3)。なお、上記識別番号の入力確認は、例えば所定桁のコードであるか否かだけを認証する。書換えが可能になったことは、例えば条件設定画面における「PWE」の表示を1に変更することで、作業者に知らせる。
【0019】
パラメータの変更画面(図示せず)では、書換えようとするパラメータを、アドレスまたはそのパラメータに対して付したパラメータ名称等の選択によって呼び出し、そのパラメータの内容を、アドレスまたはパラメータ名称と共に表示する(S4)。この画面で、新たなパラメータの値を入力する(S5)。入力されたパラメータの値は、画面上のパラメータ内容表示領域に表示される。
この後、書換え指令を入力する(S6)。書換え指令は、パラメータの変更画面に示された所定の場所を指でタッチすることなどで行われる。
【0020】
この書換え指令の入力が行われると、パラメータ書換え手段9は、パラメータ記憶手段6における該当するパラメータの値を、新たな値に書き換える(S7)。また、書換履歴情報管理手段10は、専用プログラム11のコメント領域に書換え履歴情報Aを記録する。
【0021】
専用プログラム11は、例えば図3に示す形式のものであり、1回のパラメータ書換え毎に、1行の内容が加えられる。
同図における第1行の「09999」の番号は、NCプログラム記憶手段7におけるアドレスを示す。
この実施形態では、書換履歴情報Aとして、書換え作業者の識別番号(例えば社員コード)と、書換えを行った日付と、パラメータのアドレスおよび変更後の値とが記録される。
同図における第2行目の「(87055 2002/10/25 K123 29 )」と示された文字例のうち、「87055 」は書換え作業者の識別番号を、「2002/10/25」は書換えを行った日付を、「 K123 」はパラメータのアドレスを、「2」はパラメータの変更後の値をそれぞれ示す。
また、上記文字列の両端の括弧はコメント領域を示す記号であり、この実施形態におけるNCプログラム4のプログラム形式における文法として、前端の「(」の文字と、後端の「)」の文字とで囲まれた範囲がコメント領域になるとして定められている。
このようにして、パラメータが書換えられる都度、専用プログラム11に、両端が括弧で囲まれた1行の文字列として、書換履歴情報Aが逐次追記される。
【0022】
また、この実施形態では、書換履歴情報管理手段10は、そのチェックマーク付与手段10aにより、所定の節目毎に専用プログラム11にチェックマークを記入させるようにしている。
例えば、この数値制御装置1を製造して出荷するまでの段階において、所定の工程の前に、作業者にそれまでのパラメータの変更履歴を確認させる。ここで、パラメータが正しいと確認されると、作業者は、プロセス完了ボタン(図示せず)を押す。これにより、専用プログラム11にチェックマークBが施される。チェックマークBは、例えば補助機能コード(Mコード)と、コメント領域におけるチェック者の識別番号、日付、およびチェックの意味を示す文字とで表現されている。最初のチェックマークBは、同図では「M00(88099 2002/10/25 CHECK) 」という文字列で示されている。
この他に、上記所定の工程の完了後、および出荷前時にもチェックを行わせてチェックマークを施すようにしている。
【0023】
この構成の数値制御装置1によると、このように書換履歴情報Aを記録するようにしたため、不用意な設定や、設定の戻し忘れ等に容易に対処することができる。また、書換履歴情報Aは、特別な記録領域を設けずに、NCプログラム形式としてコメント扱いで記録し、NCプログラム記憶手段7に記憶させるようにしたため、特別な記憶手段が不要であり,この他に次の各利点が得られる。
▲1▼.記録された書換履歴情報Aの編集がNCプログラム4の編集と同じ方法で行うことができる。
▲2▼.書換履歴情報Aを外部に出力することができる。
▲3▼.誰でも編集することができる。
なお、この編集や出力は、プログラム保守手段8により行われる。NCプログラム4と同じ扱いであるため、フォーマットやオールクリアをすれば、消去される。
【0024】
また、上記のチェックマーク付与手段10aを設けたことにより、工程の節目や出荷前に不正なパラメータ変更を確認することができ、パラメータ設定不良の状態で出荷されることが未然に防止される。
【0025】
【発明の効果】
この発明のパラメータ書換履歴機能付き数値制御装置は、パラメータ記憶手段に記憶されたパラメータを書き換えるパラメータ書換え手段と、上記パラメータ記憶手段に記憶されたパラメータが書換えられた時の書換え履歴情報をNCプログラム記憶手段に記憶する書換履歴情報管理手段とを備えたものであるため、パラメータの書換え履歴情報を、特別な記憶手段を用いることなく残すことができる。
上記書換履歴情報管理手段が、上記NCプログラムと同じプログラム形式で作成された専用プログラムに、記述内容の追加として上記書換え履歴情報を逐次記録するものである場合は、専用の読み出し手段を設けることなく、NCプログラムを表示する手段等を利用し、書換え履歴情報を見ることができる。
書換え履歴情報を、上記NCプログラムと同じプログラム形式で作成されたプログラムにおける上記制御対象装置を実動作させないコメント領域の記述内容として記録するものとした場合は、書換え履歴情報を記憶したプログラムから、書換え履歴情報を人が読み易いものとできる。
【図面の簡単な説明】
【図1】この発明の一実施形態にかかるパラメータ書換履歴機能付き数値制御装置の概念構成を示すブロック図である。
【図2】そのNCプログラム、専用プログラム、およびNCプログラム記憶手段の関係を示す説明図である。
【図3】専用プログラムの内容例の説明図である。
【図4】パラメータの書換えおよび書換履歴情報の記録の過程を示す流れ図である。
【図5】パラメータの書換え権限確認のための入力画面例の説明図である。
【図6】書き込み作業者の識別番号の付与形式例の説明図である。
【図7】制御対象装置の具体例の正面図である。
【符号の説明】
1…数値制御装置
2…制御対象装置
3…操作盤部
4…NCプログラム
6…パラメータ記憶手段
7…NCプログラム記憶手段
8…入力手段
9…パラメータ書換え手段
9a…書換え許可手段
10…書換履歴情報管理手段
10a…チェックマーク付与手段
11…専用プログラム
13…表示手段
A…書換履歴情報
B…チェックマーク
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a numerical control device with a parameter rewriting history function that numerically controls various control target devices, for example, a machine tool and its loader using various set parameters.
[0002]
[Prior art]
The numerical controller has a mechanism for enabling / disabling each function and selecting an operation method using parameters. That is, in recent years, software for numerical control has become complicated due to diversification of user demands and the like, and it is generally practiced to make this correspond to each user's demands and the like by using parameters. For example, if the selection of the material loading direction in an automatic machine tool equipped with a loader, the selection of the execution of in-machine measurement during machining, the spindle rotation speed, and the like are set by parameters, the creation and control of the NC program are simplified. Such parameters are often used as many as tens or hundreds, for example.
This parameter should not be changed without some expertise. If an incorrect parameter setting is made, the machine will perform an unexpected operation.
Until now, anyone was allowed to make changes, so if the parameters were not of the proper values, they would not remember making such changes after shipping, who made the changes and when, It was not clear who changed what and when, and there was a problem in checking many parameters. Many of the reasons are accidental changes or accidental settings to avoid immediate problems and forgetting to undo.
The inventor has previously proposed a numerical control device having a function of notifying the fact of such parameter rewriting (Patent Document 1).
[0003]
[Patent Document 1]
JP-A-2002-312007
[Problems to be solved by the invention]
However, a dedicated storage means is required, and the contents of such a parameter change history are not normally viewed, so that the usability is insufficient in terms of operation.
[0005]
An object of the present invention is to provide a numerical control device with a parameter rewriting history function capable of retaining parameter rewriting history information without using special storage means.
Another object of the present invention is to make it possible to view the rewrite history information without providing a dedicated reading means.
Still another object of the present invention is to make it easier for a person to read rewriting history information from a program storing rewriting history information.
[0006]
[Means for Solving the Problems]
The configuration of the present invention will be described with reference to FIG. 1 corresponding to the embodiment. This numerical control device with a parameter rewriting history function is a numerical control device (1) that controls the operation of a controlled device (2) using various parameters, and controls the operation of the controlled device (2). Program storage means (7) for storing an NC program (4), parameter storage means (6) for rewritably storing the above parameters, and rewriting parameters stored in the parameter storage means (6). Parameter rewriting means (9); rewriting history information managing means (7) for storing rewriting history information (A) at the time of rewriting parameters stored in the parameter storage means (6) in the NC program storage means (7); 10).
According to this configuration, when the parameter is rewritten by the parameter rewriting means (10), the rewriting history information management means (10) stores the rewriting history information (A). In this case, the rewriting history information (A) is stored in the NC program storage means (6). Since the rewritten history of the parameters is left in this way, careless settings and forgetting to return the settings can be easily dealt with. Further, since the NC program storage means (7) is used, the parameter rewrite history information (A) can be left without using a special storage means. Therefore, it is convenient to manage and read the rewriting history information (A).
[0007]
The rewriting history information management means (10) stores a description of a description content in a dedicated program (11) that is created in the same program format as the NC program (4) and does not include a command for actually operating the control target device (2). In addition, the rewriting history information (A) may be sequentially recorded.
When the rewriting history information (A) is recorded as the description content of the dedicated program (11) created in the same program format as the NC program (4), the NC program (4) is used for the operation and maintenance of the NC program (4). The rewriting history information (A) can be viewed using the screen of the operation panel unit (3) for displaying 4) on the screen. Therefore, the rewriting history information (A) can be viewed without providing a dedicated reading unit. Also, the dedicated program (11) having the rewriting history information (A) as the content can be edited in the same manner as the other NC programs (4), so that the handling is excellent. The dedicated program (11) takes the form of the NC program (4), but does not include a command to actually operate the control target device (2). There is no.
[0008]
In the present invention, the rewriting history information management means (10) stores the rewriting history information (A) in the control target device (2) in a program created in the same program format as the NC program (4). May be recorded as the description contents of the comment area that does not actually operate. For example, the rewriting history information (A) may be recorded as a comment in the description in the NC program language.
The comment area is not an actual control command, but is an area that can be written by being separated by a predetermined symbol or the like in order to make the contents of the program easy to see. Therefore, by writing the rewriting history information (A) in this comment area, the rewriting history information (A) can be easily read by a person. In this case, the program in which the rewriting history information (A) is recorded may be a dedicated program. Alternatively, the NC program (4) to be actually operated may be used, and the comment area may be rewritten in the rewriting history. You may make it use for recording of information (A).
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described with reference to the drawings. The numerical control device 1 having the parameter rewriting history function is a device that controls the operation of the control target device 2 using the NC program 4 and various parameters. The control target device 2 is a machine tool or other various devices. The machine tool includes a broadly defined machine tool such as a punch press and a laser beam machine in addition to a narrowly defined machine tool such as a lathe for cutting and grinding. As a specific example, the control target device 2 includes a machine tool main body 2a for processing an object and a loader 2b for loading and unloading a workpiece to and from the machine tool main body 2a as shown in FIG. . The control target device 2 of the numerical control device 1 controls either the machine tool main body 2a or the loader 2b by an individual NC program even if the entire machine tool having such a loader 2b is controlled by the same program. Numerical control may be performed by using For example, the present invention may be applied to a case where the control target device 2 is the single loader 2b.
[0010]
In FIG. 1, the numerical control device 1 is a computer type, and has an arithmetic control unit 5 that decodes and executes an NC program 4 that is a numerical control program. The arithmetic control unit 5 uses various parameters stored in the parameter storage unit 6 when executing the NC program 4. One or more NC programs 4 are stored in the NC program storage means 7 provided in the numerical controller 1. The plurality of stored NC programs 4 are prepared separately for the types of material work and product work to be processed by the control target apparatus 2, and are controlled by a higher-level control computer (not shown) for schedule management and input by an operator. Is selected and executed.
[0011]
The numerical control device 1 performs a function of numerical control and a function of sequence control, and includes a numerical control unit that performs the above-described numerical control function and a programmable controller unit that mainly performs sequence control (not shown). ), Or may be provided without being divided. FIG. 1 shows the numerical control unit and the programmable controller unit collectively. The arithmetic control unit 5 is a unit that performs decoding of the NC program 4 and axis feed control and sequence control of each axis of the control target device 2 based on the result of the decoding. It refers to one that includes control means in the controller unit. The sequence control is performed, for example, according to a predetermined sequence program (not shown).
[0012]
In the numerical control device 1, the numerical control unit and the programmable controller unit may be configured by separate computers or may be configured by a common computer. May be constituted by a plurality of computers connected to a network by a network.
The operation panel unit 3 is a unit for operating each unit of the numerical control device 1 and the control target device 2, an input unit 8 such as a keyboard and a touch panel, and a display unit such as a liquid crystal display device or a CRT for displaying a screen. 9 is provided.
[0013]
The parameter storage unit 6 is a unit that stores various parameters used for control, and stores the contents of the parameters, that is, values, in a storage area specified by an address. The number of parameters in the parameter storage means 6 is, for example, several tens to several hundreds. As the content of the parameter, data indicating a type of control, data indicating a control amount, an identification code added to distinguish a position, and the like are set. As the data for selecting the type of control, for example, a binary code indicating whether the workpiece is loaded from the right or from the left, a code identifying whether to perform a predetermined process such as in-machine measurement, or the like is used. Determined. As the data indicating the control amount, an override value or the like for the main spindle rotation speed or the work transfer speed is set. As the information for distinguishing the positions, a code or the like for distinguishing each stop position in the work transport path by the loader 2b (FIG. 7) is set. When the parameters are classified from another viewpoint, there are function parameters that determine basic functions, option parameters that are set at a factory, operation parameters that are set by a user according to operation, and the like. The parameter storage means 6 may be provided separately in the numerical control section and the programmable controller section, and both are collectively shown in FIG.
[0014]
This numerical control device 1 has the above configuration, and is provided with a program maintenance means 8, a parameter rewriting means 9, and a rewriting history information managing means 10.
The program maintenance means 8 is a means for displaying the NC program 4 stored in the NC program storage means 7 on the screen of the display means 9 and enabling editing, that is, rewritable by input from the input means 8. In addition, the program maintenance means 8 may have an external output function of the NC program 4 and an external input function.
The parameter rewriting means 9 is a means for rewriting the parameters stored in the parameter storage means. The parameter rewriting means 9 has rewriting permission means 9a, and makes parameter rewriting possible only when a predetermined judgment is made and the rewriting is permitted. As the above-described predetermined determination, for example, it is determined that a predetermined input item has been input from the input unit 8 and whether or not the input content matches a predetermined requirement. This predetermined input item includes the identification number of the parameter rewriting operator. The parameter rewriting means 9 includes, for example, an input processing means (not shown) for inputting an identification number of a parameter rewriting operator, and a rewriting permission means 9a for permitting parameter rewriting on condition that the identification number is input. It is good.
[0015]
The rewriting history information management means 10 is means for storing rewriting history information when the parameters stored in the parameter storage means 6 are rewritten by the parameter rewriting means 9 in the NC program storage means 7. In this case, the rewriting history information management means 10 adds the rewriting history information to the dedicated program 11 which is created in the same program format as the NC program 4 and does not include a command for actually operating the control target device 2 as program contents. Are sequentially recorded. The rewriting history information is recorded as the contents of the comment area of the dedicated program 11. The dedicated program 11 may store the basic contents described in advance in the NC program storage unit 7, and generate the basic contents of the dedicated program 11 when the rewriting history information management unit 10 first stores the basic contents. The program may be stored in the NC program storage unit 7.
[0016]
The rewriting history information managing means 10 may be provided with a check mark giving means 10a. The check mark adding means 10a is a means for adding a check mark as a description content of the dedicated program 11 when a predetermined input is made from the input means 8 at a predetermined opportunity. This check mark is also recorded in the comment area. The check mark is, for example, a mark that is given in a meaning that indicates that the content of each parameter of the parameter storage unit 6 is confirmed to be correct at the above-mentioned predetermined opportunity.
[0017]
The NC program 4 is described in, for example, an NC code, and basically one instruction is described in one line. There are various types of program formats such as the NC code of the NC program 4, which can be classified in detail. The dedicated program 11 can be displayed and rewritten at least by the program maintenance means 8 in the same manner as the NC program 4. It is assumed.
The NC program storage means 7 may be, for example, a plurality of areas in which the NC program 4 is stored one by one by dividing the area in advance. In that case, one or more of the plurality of NC program storage areas in the NC program storage means 7 may be defined as a fixed area for storing the dedicated program 11.
[0018]
The rewriting of parameters and the recording of their histories, etc. according to the above configuration will be described with reference to the flowchart of FIG. As shown in step S1 in FIG. 4, when changing a parameter, a predetermined input indicating a desire to change the parameter is made to the input means 8. In response to this input, the parameter rewriting means 9 outputs a condition setting screen as shown in FIG. 5 to the display means 9 (S2). The condition setting screen is an input screen for authority confirmation information, and the identification number of the parameter rewriting operator is input at a predetermined position (a position where a plurality of characters “*” are arranged in the figure) on the screen. For example, as shown in FIG. 6, this identification number is an employee number for an employee, and a number with the highest digit fixed to a predetermined character or numeral ("6" in the figure) for an outsourcing party. . The table shown in FIG. 6 appears on the screen by touching the mark “See HELP” in FIG. 5 with a finger or the like.
The parameter rewriting means 9 confirms that the identification number has been input, and enters a rewritable state. Thereby, the parameter rewriting means 9 outputs a parameter change screen (not shown) to the screen of the display means 13 or the parameter display section (not shown) in the condition setting screen of FIG. S3). Note that the input confirmation of the identification number is performed, for example, by authenticating only whether or not the code has a predetermined digit. The fact that rewriting is possible is notified to the operator, for example, by changing the display of “PWE” on the condition setting screen to 1.
[0019]
On the parameter change screen (not shown), the parameter to be rewritten is called by selecting an address or a parameter name assigned to the parameter, and the content of the parameter is displayed together with the address or the parameter name (S4). ). On this screen, a new parameter value is input (S5). The input parameter values are displayed in a parameter content display area on the screen.
Thereafter, a rewrite command is input (S6). The rewrite command is issued by, for example, touching a predetermined place indicated on the parameter change screen with a finger.
[0020]
When this rewrite command is input, the parameter rewriting means 9 rewrites the value of the corresponding parameter in the parameter storage means 6 to a new value (S7). Further, the rewriting history information management means 10 records the rewriting history information A in the comment area of the dedicated program 11.
[0021]
The dedicated program 11 has, for example, the format shown in FIG. 3, and the contents of one line are added each time the parameter is rewritten.
The number “09999” in the first row in FIG. 9 indicates an address in the NC program storage unit 7.
In this embodiment, as the rewriting history information A, the identification number (for example, an employee code) of the rewriting operator, the date of rewriting, the address of the parameter, and the value after the change are recorded.
In the character example of “(87055 2002/10/25 K123 29)” on the second line in the same figure, “87055” is the identification number of the rewriting operator, and “2002/10/25” is the rewriting. Is performed, "K123" indicates the address of the parameter, and "2" indicates the value of the parameter after the change.
The parentheses at both ends of the character string are symbols indicating a comment area, and the grammar in the program format of the NC program 4 in this embodiment includes the characters "(" at the front end and ")" at the rear end. It is defined that the range surrounded by is a comment area.
In this way, each time a parameter is rewritten, the rewriting history information A is sequentially added to the dedicated program 11 as a one-line character string enclosed by parentheses at both ends.
[0022]
Further, in this embodiment, the rewriting history information managing means 10 causes the dedicated program 11 to write a check mark at each predetermined node by the check mark providing means 10a.
For example, at a stage before the numerical controller 1 is manufactured and shipped, an operator is asked to confirm a change history of parameters up to that point before a predetermined process. Here, when it is confirmed that the parameters are correct, the operator presses a process completion button (not shown). Thereby, the check mark B is given to the dedicated program 11. The check mark B is represented by, for example, an auxiliary function code (M code), an identification number of the checker in the comment area, a date, and characters indicating the meaning of the check. The first check mark B is represented by a character string “M00 (88099 2002/10/25 CHECK)” in FIG.
In addition to this, a check is made and a check mark is made after completion of the above-mentioned predetermined process and before shipping.
[0023]
According to the numerical controller 1 having this configuration, the rewriting history information A is recorded in this manner, so that careless settings and forgetting to return the settings can be easily dealt with. Further, the rewrite history information A is recorded as an NC program format as a comment without providing a special recording area, and is stored in the NC program storage means 7. Therefore, no special storage means is required. The following advantages can be obtained.
▲ 1 ▼. Editing of the recorded rewriting history information A can be performed in the same manner as editing of the NC program 4.
▲ 2 ▼. The rewriting history information A can be output to the outside.
(3). Anyone can edit.
The editing and output are performed by the program maintenance means 8. Since it is treated the same as the NC program 4, if it is formatted or all-cleared, it will be erased.
[0024]
In addition, by providing the above-described check mark providing means 10a, it is possible to confirm an improper parameter change at a step in a process or before shipment, and it is possible to prevent shipment in a state of parameter setting failure.
[0025]
【The invention's effect】
A numerical controller having a parameter rewriting history function according to the present invention comprises: a parameter rewriting means for rewriting parameters stored in a parameter storage means; and an NC program storing rewriting history information when the parameters stored in the parameter storage means are rewritten. Since the rewriting history information management means for storing the rewriting history information in the means is provided, the rewriting history information of the parameters can be left without using a special storage means.
If the rewriting history information management means is to sequentially record the rewriting history information as an addition of the description content to a dedicated program created in the same program format as the NC program, no dedicated reading means is provided. , Rewriting history information can be viewed using means for displaying the NC program.
If the rewrite history information is to be recorded as the content of a comment area in the program created in the same program format as the NC program that does not actually operate the controlled device, the rewrite history information is rewritten from the program storing the rewrite history information. The history information can be made easy for a person to read.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a conceptual configuration of a numerical control device with a parameter rewriting history function according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram showing the relationship among the NC program, dedicated program, and NC program storage means.
FIG. 3 is an explanatory diagram of a content example of a dedicated program.
FIG. 4 is a flowchart showing a process of rewriting parameters and recording rewrite history information.
FIG. 5 is an explanatory diagram of an example of an input screen for confirming a right to rewrite parameters.
FIG. 6 is an explanatory diagram of an example of a format for assigning an identification number of a writing operator;
FIG. 7 is a front view of a specific example of the control target device.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Numerical control apparatus 2 ... Control target apparatus 3 ... Operation panel part 4 ... NC program 6 ... Parameter storage means 7 ... NC program storage means 8 ... Input means 9 ... Parameter rewriting means 9a ... Rewriting permission means 10 ... Rewriting history information management Means 10a: Check mark providing means 11: Dedicated program 13: Display means A: Rewriting history information B: Check mark

Claims (3)

制御対象装置の動作を各種のパラメータを用いて制御する数値制御装置であって、上記制御対象装置の動作を制御するためのNCプログラムを記憶するNCプログラム記憶手段と、上記各パラメータを書換え自在に記憶するパラメータ記憶手段と、このパラメータ記憶手段に記憶されたパラメータを書き換えるパラメータ書換え手段と、上記パラメータ記憶手段に記憶されたパラメータが書換えられた時の書換え履歴情報を上記NCプログラム記憶手段に記憶する書換履歴情報管理手段とを備えたパラメータ書換履歴機能付き数値制御装置。A numerical control device for controlling the operation of a control target device using various parameters, an NC program storage means for storing an NC program for controlling the operation of the control target device, and each of the parameters rewritably. Parameter storage means for storing, parameter rewriting means for rewriting parameters stored in the parameter storage means, and rewriting history information when the parameters stored in the parameter storage means are rewritten are stored in the NC program storage means. A numerical control device with a parameter rewriting history function, comprising a rewriting history information management means. 上記書換履歴情報管理手段は、上記NCプログラムと同じプログラム形式で作成されて上記制御対象装置を実動作させる指令を含まない専用プログラムに、記述内容の追加として上記書換え履歴情報を逐次記録するものとした請求項1記載のパラメータ書換履歴機能付き数値制御装置。The rewriting history information management means sequentially records the rewriting history information as an addition of description contents to a dedicated program created in the same program format as the NC program and not including a command for actually operating the controlled device. The numerical control device with a parameter rewriting history function according to claim 1. 上記書換履歴情報管理手段は、上記書換え履歴情報を、上記NCプログラムと同じプログラム形式で作成されたプログラムにおける上記制御対象装置を実動作させないコメント領域の記述内容として記録するものとした請求項2記載のパラメータ書換履歴機能付き数値制御装置。3. The rewriting history information management means records the rewriting history information as a description content of a comment area in a program created in the same program format as the NC program, in which the controlled device is not actually operated. Numerical control unit with parameter rewriting history function.
JP2002369130A 2002-12-20 2002-12-20 Numerical controller with parameter rewriting history function Expired - Fee Related JP4151402B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002369130A JP4151402B2 (en) 2002-12-20 2002-12-20 Numerical controller with parameter rewriting history function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002369130A JP4151402B2 (en) 2002-12-20 2002-12-20 Numerical controller with parameter rewriting history function

Publications (2)

Publication Number Publication Date
JP2004199530A true JP2004199530A (en) 2004-07-15
JP4151402B2 JP4151402B2 (en) 2008-09-17

Family

ID=32765445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002369130A Expired - Fee Related JP4151402B2 (en) 2002-12-20 2002-12-20 Numerical controller with parameter rewriting history function

Country Status (1)

Country Link
JP (1) JP4151402B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007014080A (en) * 2005-06-29 2007-01-18 Hitachi Industrial Equipment Systems Co Ltd Method of setting function of power converter, and power converter using the same
JP2009509780A (en) * 2005-09-30 2009-03-12 シーメンス アクチエンゲゼルシヤフト Methods for optimization of machining processes in machines
DE102013101838A1 (en) 2012-02-27 2013-08-29 Fanuc Corporation Curve progression display device with data management function

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6378264B2 (en) 2016-07-29 2018-08-22 ファナック株式会社 Automatic backup device, automatic backup method and program
JP6207799B1 (en) * 2016-08-24 2017-10-04 三菱電機株式会社 Programmable logic controller

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007014080A (en) * 2005-06-29 2007-01-18 Hitachi Industrial Equipment Systems Co Ltd Method of setting function of power converter, and power converter using the same
JP4583259B2 (en) * 2005-06-29 2010-11-17 株式会社日立産機システム Function setting method for power converter and power converter using the same
JP2009509780A (en) * 2005-09-30 2009-03-12 シーメンス アクチエンゲゼルシヤフト Methods for optimization of machining processes in machines
DE102013101838A1 (en) 2012-02-27 2013-08-29 Fanuc Corporation Curve progression display device with data management function
US9384569B2 (en) 2012-02-27 2016-07-05 Fanuc Corporation Waveform display device with data management function
DE102013101838B4 (en) 2012-02-27 2019-09-12 Fanuc Corporation Curve progression display device with data management function

Also Published As

Publication number Publication date
JP4151402B2 (en) 2008-09-17

Similar Documents

Publication Publication Date Title
EP0740239B1 (en) Numerical control
US8195911B2 (en) Numerical controller capable of dividing and combining memory areas to store machining programs and binary data
JP3949689B2 (en) Machining program creation device
JP5123502B2 (en) Post-processor development support system and CAM system using the same
JPS6231365B2 (en)
JP2004199530A (en) Numerical value control device having parameter rewriting history function
JP4102137B2 (en) Control program creation support system and support method thereof
EP1724650B1 (en) Sequence program editing apparatus
JP4269533B2 (en) Numerical controller
JP2007094724A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program
JPH0573125A (en) Work monitoring system for nc machine tool
JPS60225206A (en) Program system of numerical control machine
WO2021044654A1 (en) Information processing system, programmable display device, and information processing device
JP4372739B2 (en) PROGRAMMABLE DISPLAY, CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
WO1990001735A1 (en) Machining data display system
JP3939518B2 (en) Input / output address setting device, input / output address setting program and recording medium recording the same
EP0191861A1 (en) Method of correcting system program
JP7372746B2 (en) Dental processing machine operating device and dental processing machine operating system
JPH07129207A (en) Numerical control system
JPS5929376B2 (en) How to specify tool code
JPS63149705A (en) Nc data forming device
JP2017199226A (en) Program editing method, program development support device, and programmable controller
JP2007065913A (en) Programmable display unit, control program, and record medium recording its program
JP4501046B2 (en) Monitoring system
JPH04195206A (en) Working program input/output device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070821

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070823

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071015

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080326

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080404

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080610

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080623

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130711

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees