JP2645990B2 - Automatic data error detection device - Google Patents

Automatic data error detection device

Info

Publication number
JP2645990B2
JP2645990B2 JP61070370A JP7037086A JP2645990B2 JP 2645990 B2 JP2645990 B2 JP 2645990B2 JP 61070370 A JP61070370 A JP 61070370A JP 7037086 A JP7037086 A JP 7037086A JP 2645990 B2 JP2645990 B2 JP 2645990B2
Authority
JP
Japan
Prior art keywords
data
copying
function
input
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61070370A
Other languages
Japanese (ja)
Other versions
JPS62226310A (en
Inventor
仁 松浦
修 塚本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FUANATSUKU KK
Original Assignee
FUANATSUKU KK
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 FUANATSUKU KK filed Critical FUANATSUKU KK
Priority to JP61070370A priority Critical patent/JP2645990B2/en
Publication of JPS62226310A publication Critical patent/JPS62226310A/en
Application granted granted Critical
Publication of JP2645990B2 publication Critical patent/JP2645990B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Machine Tool Copy Controls (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ならい制御装置においてならい制御に必要
な入力データの誤りを自動的に検出するならいデータ自
動誤り検出装置に関する。
Description: TECHNICAL FIELD The present invention relates to a profile data automatic error detection device that automatically detects an error in input data required for the profile control in a profile control device.

(従来の技術) ならい加工を行なうならい制御装置は、第2図に示す
ように、スタイラス1がモデル2の表面に沿って動くよ
うにX軸、Y軸、Z軸駆動モータ8,9,10を制御して、ト
レーサヘッド3及びトレーサヘッド取付アーム4を介し
てスタイラス1と機械的に結合されているカッタ5で、
ワーク6をモデル2の外形と同一形状に加工するもので
ある。
(Prior Art) As shown in FIG. 2, the profile control device for performing the profile processing includes X-axis, Y-axis, and Z-axis drive motors 8, 9, 10 so that the stylus 1 moves along the surface of the model 2. And a cutter 5 mechanically coupled to the stylus 1 via the tracer head 3 and the tracer head mounting arm 4,
The work 6 is processed into the same shape as the outer shape of the model 2.

X軸、Y軸、Z軸駆動モータ8,9,10を制御して、スタ
イラス1をモデル2表面に沿って動かすためには、なら
い制御に必要な入力データを予め格納しておく必要があ
る。この入力データには、ならいモードによって絶対に
設定しなければならないデータ、設定してもしなくても
良いデータ、設定してはいけないデータがあり、さらに
はデータ同士の制約、データ値についての制約がある。
従来、オペレータは、ならい制御を開始する前に、以上
のような諸条件を常に念頭においてならいデータを設定
する必要があった。
In order to move the stylus 1 along the surface of the model 2 by controlling the X-axis, Y-axis, and Z-axis drive motors 8, 9, and 10, it is necessary to previously store input data necessary for the tracing control. . This input data includes data that must be set according to the copying mode, data that does not need to be set, and data that must not be set. In addition, there are restrictions between data and restrictions on data values. is there.
Conventionally, the operator has to set the profile data with the above conditions always in mind before starting the profile control.

(発明が解決しようとする問題点) 近年のならい技術の進歩に伴ない、ならい制御に必要
な入力データの数も多くなり、データの条件も複雑にな
ってきた。このために、オペレータが以上のような条件
を全て覚えておいてならいデータを設定することは極め
て困難であり、また設定に多くの時間を要した。
(Problems to be Solved by the Invention) With the progress of the copying technology in recent years, the number of input data necessary for the copying control has increased, and the data conditions have also become complicated. For this reason, it is extremely difficult for the operator to set the data unless he / she remembers all of the above conditions, and it takes a lot of time to set the data.

本発明は、オペレータがならい加工に必要なデータに
ついての条件を全て覚えておかずとも、入力データを自
動的にチェックし、その結果、入力データが誤っている
ときにその旨をディスプレイに表示してならい制御装置
への格納データの誤りを自動的に検出し、ならいデータ
に誤りがなくなったときに、実際にX軸、Y軸、Z軸駆
動モータを駆動するためのブロックプログラムとしてデ
ータ用メモリに格納するようにしたならいデータ自動誤
り検出装置を提供することを目的としている。
The present invention automatically checks input data without the operator having to memorize all the conditions for data necessary for copying, and as a result, when the input data is incorrect, the fact is displayed on the display. An error in the data stored in the copying control device is automatically detected, and when no error is found in the copying data, a block program for actually driving the X-axis, Y-axis, and Z-axis driving motors is stored in the data memory. It is an object of the present invention to provide a data automatic error detection device which is to be stored.

(問題点を解決するための手段) 本発明は、編集終了キーおよびならい制御に必要なデ
ータを入力する入力キーを有するキーボードと、このキ
ーボードからのならいデータをブロックプログラムとし
て一時的に格納する作業用メモリと、該ブロックプログ
ラム内のならいデータを順番にチェックして、入力デー
タがならいモード或いはならい機能のデータであるか否
かの判定をする判定手段と、入力データがならいモー
ド、ならい機能のデータである時、ならいモードデータ
とならい機能データとの同時設定の可否についてチェッ
クするチェック手段と、入力データがならいモード,な
らい機能のデータ以外のデータである時、データの誤り
を自動的に検出する検出手段と、チェックされたデータ
の同時設定の不可および検出されたデータの種類および
誤りの種類に応じたメッセージを表示する表示手段と、
前記作業用メモリから訂正した後に転送されるブロック
プログラムを格納するデータ用メモリと、を具備するこ
とを特徴とするならい制御装置におけるならいデータ自
動誤り検出装置である。
(Means for Solving the Problems) The present invention provides a keyboard having an edit end key and an input key for inputting data necessary for copying control, and a task of temporarily storing copying data from the keyboard as a block program. A memory for use, a determination means for sequentially checking the copy data in the block program and determining whether or not the input data is data of a copy mode or copy function, and a copy mode of the input data. Check means for checking whether simultaneous setting of copying mode data and copying function data is possible when the data is data, and automatically detect data error when input data is data other than copying mode and copying function data Detection means that the setting of the checked data Display means for displaying a message according to the type and type of error;
A data memory for storing a block program to be transferred after being corrected from the working memory.

(作用) 即ち、本発明のならいデータ自動誤り検出装置では、
キーボードから入力されるならいデータを自動的にチェ
ックし、ならいデータの誤りおよびチェックされたデー
タの種類および誤りの種類に応じたメッセージをディス
プレイに表示することにより、オペレータの労力を軽減
し、迅速に信頼性の高い、ならい加工に必要なデータを
作成することができる。
(Operation) That is, in the automatic data error detection device according to the present invention,
By automatically checking the data entered from the keyboard and displaying a message corresponding to the error of the copied data and the type of the checked data and the type of the error on the display, the labor of the operator can be reduced, and the operator's labor can be reduced. Highly reliable data required for tracing can be created.

(実施例) 以下図により本発明の一実施例について説明する。(Embodiment) An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明の一実施例を示すシステム構成図で
ある。
FIG. 1 is a system configuration diagram showing one embodiment of the present invention.

20は、マイクロプロセッサなどの演算処理手段(CP
U)であり、21は、ならい制御に必要なデータなどを入
力するキーボード、23は、キーボード21のテンキー部、
24は、キーボード21のファンクションキー部であり、フ
ァンクションキー部24には、入力キー30、編集終了キー
31などが備えられている。22は、キーボード21からの入
力データを表示し、かつ入力データに誤りがあるときに
その旨を表示するディスプレイである。
20 is an arithmetic processing means such as a microprocessor (CP
U), 21 is a keyboard for inputting data and the like necessary for copying control, 23 is a numeric keypad of the keyboard 21,
Reference numeral 24 denotes a function key portion of the keyboard 21, and the function key portion 24 includes an input key 30, an edit end key
There are 31 and so on. Reference numeral 22 denotes a display for displaying input data from the keyboard 21 and for displaying an error when there is an error in the input data.

第7図には、ディスプレイ22の表示画面の具体例が示
されている。
FIG. 7 shows a specific example of the display screen of the display 22.

この表示画面には、ブロックのデータ種類をコード化
したコードを表示するコード領域44と、該コードに対応
するデータ名称を表示する領域46とが、常に表示されて
いる。データ内容領域48は、キーボード21から入力され
たデータをその種類に応じて表示する領域である。ま
た、これら領域44,46,48の外に、格納不可内容表示領域
40と格納不可番号表示領域42とがあって、入力データに
誤りがあるときには、データの誤りの種類、例えば、
“データ不足”、“同時設定不可”等を格納不可内容表
示領域40に表示し、該当するデータのコードを格納不可
番号表示領域42に表示するように区分される。
On this display screen, a code area 44 for displaying a code obtained by coding the data type of the block and an area 46 for displaying a data name corresponding to the code are always displayed. The data content area 48 is an area for displaying data input from the keyboard 21 according to its type. In addition to these areas 44, 46, and 48, a non-storable content display area
There is a 40 and a non-storable number display area 42, and when there is an error in the input data, the type of data error, for example,
“Data shortage”, “simultaneous setting impossible”, and the like are displayed in the non-storable content display area 40, and the corresponding data code is displayed in the non-storable number display area 42.

再び第1図を参照すると、25は、ならい制御に必要な
データ、即ちブロックプログラムを格納するデータ用メ
モリ、26は作業用メモリで、キーボード21から入力され
たデータ、即ちブロックプログラムの1つのブロックの
データをチェックするために一時的に格納し、或いはプ
ロセッサ20の演算結果等を一時格納する。27はプログラ
ムメモリで、キーボード21から入力されたならい制御に
必要なデータをチェックして、その誤りを検出したとき
にはディスプレイ22にその旨を表示するためのプログラ
ムや、上記データ用メモリ25に格納されたデータに基づ
いて、X軸、Y軸、Z軸駆動モータ8,9,10を制御するた
めのプログラム等が格納されている。28は駆動モータ制
御信号作成回路で、データ用メモリ25に格納されている
データに基づいてX軸、Y軸、Z軸駆動モータ8,9,10を
制御するモータ制御信号を作成している。
Referring again to FIG. 1, reference numeral 25 denotes data necessary for copying control, that is, a data memory for storing a block program, and 26 denotes a work memory, which is data input from the keyboard 21, that is, one block of the block program. Is temporarily stored to check the data, or the calculation result of the processor 20 is temporarily stored. Reference numeral 27 denotes a program memory which checks data necessary for control following the input from the keyboard 21 and, when an error is detected, a program for displaying the fact on the display 22 or stored in the data memory 25. Based on the data, programs for controlling the X-axis, Y-axis, and Z-axis drive motors 8, 9, and 10 are stored. Reference numeral 28 denotes a drive motor control signal generation circuit which generates motor control signals for controlling the X-axis, Y-axis, and Z-axis drive motors 8, 9, and 10 based on the data stored in the data memory 25.

第3図は、データ用メモリ25に格納されるべきデー
タ、即ちブロックプログラムの形式を示す図である。な
らい制御に必要なデータは、1つの加工工程につき1つ
のブロックとして区分されており、工程順にブロック番
号01,02…nが付けられる。1つのブロック内で設定さ
れるデータの内容は、ブロック番号N、位置決め指令X,
Y,Z、ならいリミット±X,±Y、ならいモード、機能
A、機能B、機能C等である。
FIG. 3 is a diagram showing data to be stored in the data memory 25, that is, a format of a block program. Data necessary for the profile control is divided into one block per one processing step, and block numbers 01, 02. The contents of data set in one block include block number N, positioning command X,
Y, Z, copying limits ± X, ± Y, copying mode, function A, function B, function C, and the like.

ここで、位置決め指令X,Y,Zとは、X,Y,Z軸の任意の軸
に対しての位置指令である。また、ならいリミット±X,
±Yとは、ならい加工すべき領域のX軸、Y軸方向の限
界値を定めるためのデータである。
Here, the positioning commands X, Y, and Z are position commands for any of the X, Y, and Z axes. In addition, copying limits ± X,
± Y is data for determining the limit value in the X-axis and Y-axis directions of the area to be profiled.

ならいモードとは、ならい加工の仕方を定めるための
モードであり、無選択、表面往復ならい、表面一
方向ならい、輪郭全周ならい、輪郭部分ならい、
三次元ならい、等の種類がある。
The tracing mode is a mode for determining the method of tracing processing, and is unselected, reciprocating on the surface, tracing the surface in one direction, tracing the entire circumference of the contour, tracing the contour part,
There are types such as three-dimensional copying.

ならいモードが無選択であるときには、位置決め指令
のみが行なわれ、“無選択”は、位置決め指令のみを行
う場合に設定される。“表面往復ならい”は、スタイラ
ス1をモデル2表面上で往復させてならい加工を行う場
合に設定され、“表面一方向ならい”は、スタイラス1
をモデル2表面に一方向に移動させて加工を行う場合に
設定される。また、“輪郭全周ならい”は、スタイラス
1をモデル2の輪郭の全周にわたって移動させて加工を
行う場合に設定され、“輪郭部分ならい”はスタイラス
1をモデル2の輪郭の一部分にわたって移動させて加工
を行う場合に設定される。“三次元ならい”は、スタイ
ラス1を予めプログラムされた任意方向に移動させて加
工を行う場合に設定される。
When the copying mode is unselected, only the positioning command is issued, and "unselected" is set when only the positioning command is issued. “Surface reciprocation copying” is set when the stylus 1 is reciprocated on the surface of the model 2 to perform the stitching.
Is set in the case where is moved in one direction to the surface of the model 2 for processing. Further, "contour all around contour" is set when the stylus 1 is moved over the entire periphery of the contour of the model 2 for machining, and "contour contour" is used to move the stylus 1 over a part of the contour of the model 2. This is set when processing is performed. “Three-dimensional copying” is set when machining is performed by moving the stylus 1 in an arbitrary direction programmed in advance.

これらならいモード〜のいずれか1つを行わせる
ために、機能A、機能B、機能Cのならいパターンを設
定する。
In order to perform any one of these copying modes, a copying pattern of function A, function B, and function C is set.

機能Aは、すて面切削、一パスならい等の複数の機能
からなり、これら複数の機能のうちから1つを選択して
設定される。機能Bは、馬蹄形ならい、定角度ならい、
任意方向ならい等の複数の機能からなり、これら複数の
機能のうちから1つを選択して設定される。機能Cは、
回転体ならい等の複数の機能からなり、これら複数の機
能のうちから1つを選択して設定される。
The function A includes a plurality of functions such as all-surface cutting and one-pass tracing, and one of the plurality of functions is selected and set. Function B is like horseshoe shape, fixed angle,
It consists of a plurality of functions such as arbitrary directions, and one of these functions is selected and set. Function C is
It consists of a plurality of functions such as a rotating body, and one of these functions is selected and set.

機能Aにおいて、“すて面切削”の機能とは第4図
(a)に示すように位置決め指令X,Y,Zで指定された平
面内(±X,±Y,±Z)を切削送りで加工する機能であ
り、この機能は、ならいモードが“無選択”のときのみ
有効である。この場合にはXYZの位置決め速度は早送り
となる。
In the function A, the function of "all face cutting" means that the cutting feed is performed within the plane (± X, ± Y, ± Z) designated by the positioning command X, Y, Z as shown in FIG. This function is effective only when the copying mode is “unselected”. In this case, the XYZ positioning speed is fast forward.

また、“一パスならい”とは、ならいスタートからリ
ミットなどによってシーケンスが変わるまでの間のみな
らい動作して終了する機能であり、この機能はならいモ
ード“表面往復”、“表面一方向”、“輪郭全周”、
“輪郭部分”のときに有効である。なお、輪郭全周なら
いの場合には第4図(b)に示すように、リミット上か
らスタートし一周してリミットを踏むと終了する。
The “one-pass copying” is a function that performs a copying operation from a copying start to a sequence change due to a limit or the like and ends the copying. This function is a copying mode “surface reciprocating”, “surface one-way”, “ Contour all around ”,
This is effective for "outline part". In the case of the contour all around, as shown in FIG. 4 (b), start from above the limit, complete one round, and end when stepping on the limit.

機能Bにおいて、馬蹄形ならいは、ならいスタート時
に設定されているリミット(X,Y)の本数をチェックし
て、自動的に動作パターンを判断し、馬蹄形のならいを
行う機能であり、この機能は輪郭部分ならいモードのと
きに有効である。第4図(c),(d)は夫々、リミッ
ト1本設定時、リミット2本設定時の動作を示してい
る。また、定角度ならいは、スタート点の位置、目標体
の位置およびならい終了点の位置の設定により、第4図
(e)に示すように角度α方向にならい動作する機能で
あり、この機能は、表面往復ならいモード、表面一方向
ならいモードのときに有効である。任意方向ならいは、
予めプログラムされた任意の方向にならいを行わせる機
能であり、三次元ならいモードのときに有効である。
In function B, the horseshoe profile is a function that checks the number of limits (X, Y) set at the start of the trace, automatically determines the operation pattern, and performs the horseshoe profile. This is effective in partial copying mode. FIGS. 4 (c) and 4 (d) show the operations when one limit is set and when two limits are set, respectively. The constant angle tracing is a function of tracing in the direction of the angle α as shown in FIG. 4 (e) by setting the position of the start point, the position of the target body, and the position of the tracing end point. This is effective in the reciprocating mode on the surface and in the unidirectional mode on the surface. In any direction,
This is a function that allows the user to follow an arbitrary direction programmed in advance, and is effective in the three-dimensional copying mode.

機能Cにおいて、回転体ならいは回転軸を1軸使用し
たならい機能であり、表面往復、表面一方向、輪郭全
周、輪郭部分ならいモードのときに有効である。
In the function C, the rotating body is a function in which one rotating shaft is used, and is effective in the mode of reciprocating the surface, one direction of the surface, the entire circumference of the contour, and the contour portion.

これら機能A,B,Cは、基本的な機能、附随的な機能と
いう仕方で区分されたものである。
These functions A, B, and C are classified into basic functions and additional functions.

以上述べたような、ならいモードと機能A,B,Cとの関
係を第5図(a)に対し、機能A,B,C間の関係を第5図
(b)に示す。
FIG. 5A shows the relationship between the copying mode and the functions A, B, and C as described above, and FIG. 5B shows the relationship between the functions A, B, and C.

第5図(a),(b)において、“○”は選択できる
項目を示し、“×”は選択できない項目を示している。
例えば、第5図(a)において、表面往復ならいモード
が選択されるとき、機能Aの一パスならい、クランプな
らい、機能Bの任意角度ならい、定角度ならい、機能C
の回転体ならい、禁止領域ならいだけが選択できて、機
能Aのすて面ならい等は選択することができない。した
がって、第5図(b)に示すように、例えば機能Aの一
パスならいと機能Bの馬蹄形ならいとを同時に選択し設
定することができるが、機能Aの一パスならいと機能B
の任意方向ならいとは同時に設定することはできない。
In FIGS. 5A and 5B, ““ ”indicates a selectable item, and“ × ”indicates an unselectable item.
For example, in FIG. 5 (a), when the surface reciprocating mode is selected, one pass of function A, the following of clamp, the arbitrary angle of function B, the constant angle, the function C
In this case, only the rotating body and the prohibited area can be selected, and the function A cannot be selected. Therefore, as shown in FIG. 5 (b), for example, it is possible to simultaneously select and set one pass of function A and a horseshoe shape of function B.
Cannot be set at the same time as the arbitrary direction.

ブロック内のデータを作成する際に、入力されたデー
タが設定して良いデータであるか否かのチェック、即
ち、データが不足しているか否かのチェック、ならいリ
ミット±X,±Yの設定において+Xリミット−Xリミッ
トとの値や、+Yリミットと−Yリミットとの値が逆に
なっていないか、或いは+Xリミットと−Xリミットと
の値や、+Yリミットと−Yリミットとの値が接近して
いないかのチェック、および上述したように、ならいモ
ードと機能A,B,Cとの選択条件が満足されているか否
か、或いは機能A,B,C間の選択条件が満足されているか
否かのチェックを行う必要がある。
When creating data in a block, check whether the input data is data that can be set, that is, check whether there is insufficient data, and set the following limits ± X, ± Y Whether the value of + X limit -X limit, the value of + Y limit and -Y limit are not reversed, or the value of + X limit and -X limit, or the value of + Y limit and -Y limit Check if they are not approaching, and as described above, whether or not the selection conditions for the copying mode and functions A, B, and C are satisfied, or whether the selection conditions between functions A, B, and C are satisfied. It is necessary to check whether or not there is.

以下、入力された作業用メモリ内のデータを上述のよ
うにチェックし、チェックの結果、入力データに誤りが
あるときにはその旨ディスプレイに表示し、チェックが
全て完了したときには、作業用メモリ内に作成された入
力データをデータメモリ内に格納する本発明の方法の一
実施例を説明する。
Hereinafter, the input data in the working memory is checked as described above, and as a result of the check, if there is an error in the input data, the fact is displayed on the display, and when all the checks are completed, the data is created in the working memory. An embodiment of the method of the present invention for storing the input data obtained in the data memory will now be described.

第6図は、本発明の方法を実施するための流れ図を示
している。
FIG. 6 shows a flow chart for implementing the method of the present invention.

第6図において、ステップではオペレータがキーボ
ード21から作業用メモリ26にデータを入力する。同時
に、入力データをそのデータ種類に応じて、ディスプレ
イ22のデータ内容領域48に表示する(ステップ)。次
に、入力キー30が押下されたか否かを判断する(ステッ
プ)。入力キー30が押下されないときには、ステップ
に再び戻り、キーボード21からさらに同一種類のデー
タを入力することができる。入力キー30が押下される
と、ステップに進む。
In FIG. 6, in a step, an operator inputs data from the keyboard 21 to the working memory 26. At the same time, the input data is displayed in the data content area 48 of the display 22 according to the data type (step). Next, it is determined whether or not the input key 30 has been pressed (step). When the input key 30 is not pressed, the process returns to the step again, and the same kind of data can be further input from the keyboard 21. When the input key 30 is pressed, the operation proceeds to the step.

ステップでは、いま入力したデータの種類がブロッ
ク番号データであるか否かを判定する。入力データがブ
ロック番号データであると、該データがデータ不足か否
かをチェックする(ステップ)。データ不足か否かを
判定して(ステップ)、データ不足のときには、第8
図(a)に示すようにディスプレイの表示画面の格納不
可内容表示領域40に“データ不足”のメッセージを表示
し、同時に格納不可番号表示領域42にデータコード、こ
の例ではブロック番号のコード“001"を表示して(ステ
ップ)、ステップに進む。データ不足でないときに
は、直接にステップに進む。
In the step, it is determined whether or not the type of the data just input is block number data. If the input data is block number data, it is checked whether the data is insufficient (step). It is determined whether or not the data is insufficient (step).
As shown in FIG. 7A, a message of "data shortage" is displayed in a non-storable content display area 40 of the display screen of the display, and at the same time, a data code, in this example, a block number code "001" is displayed in a non-storable number display area 42. Is displayed (step), and the process proceeds to the step. If not, go directly to the step.

ステップにおいて、入力データがブロック番号デー
タでないと、入力データがならいモード、或いは機能A,
B,Cのデータであるか否か判定する(ステップ)。入
力データがならいモード、或いは機能A,B,Cのデータで
あると、これらのデータの同時設定が可能であるか否か
のチェックを行う(ステップ)。同時設定不可である
か否かの判定をして(ステップ)、同時設定不可のと
きには、第8図(b)に示すようにディスプレイ22の格
納不可内容表示領域40に“同時設定不可”のメッセージ
を表示し、格納不可番号表示領域42に第8図(b)に示
すように、ならいモードのコード“015"と機能Aのコー
ド“100"を表示する(ステップ)。これによってなら
いモードと機能Aとの同時設定が適当でないことをオペ
レータに知らせることができる。ディスプレイ22に表示
した後、ステップに進む。ステップにおいて同時設
定不可でないと判定すると、ステップに進む。
In the step, if the input data is not the block number data, the input data is in the copying mode or the function A,
It is determined whether the data is B and C data (step). If the input data is data in the copying mode or the functions A, B, and C, it is checked whether or not simultaneous setting of these data is possible (step). It is determined whether simultaneous setting is impossible (step). If simultaneous setting is not possible, a message "simultaneous setting impossible" is displayed in the storage impossible content display area 40 of the display 22 as shown in FIG. 8B. Is displayed in the non-storable number display area 42, as shown in FIG. 8 (b), and the code "015" of the copying mode and the code "100" of the function A are displayed (step). Thereby, it is possible to inform the operator that the simultaneous setting of the copying mode and the function A is not appropriate. After displaying on the display 22, the process proceeds to the step. If it is determined in step that simultaneous setting is not possible, the process proceeds to step.

ステップにおいて、入力データがならいモード、或
いは機能A,B,Cデータでないときには、ブロックの他の
データ、例えば位置決め指令等のチェックを行い、これ
らのチェックを完了した後、ステップに進む。
If the input data is not the copying mode or the function A, B, C data in the step, the other data of the block, for example, the positioning command, etc. are checked, and after these checks are completed, the process proceeds to the step.

ステップでは、入力時格納不可内容をクリアしたか
否か、即ち入力データに誤りがなくなったか否かを判定
する。入力時格納不可内容をクリアしていないときに
は、再びステップに戻り、データを訂正することがで
きる。なおこの実施例ではステップ乃至の途中で、
編集終了キー31が押下されても、このキーによる割込み
は生じない。即ち編集終了キーは押下されても受付けら
れないようになっている。しかし、変形例として、ステ
ップ乃至の途中に編集終了キーを受付けるステップ
を設けて、例えば、ディスプレイ22の格納不可番号表示
領域42への表示を格納不可内容表示領域40へ表示するタ
イミングと異ならせることもできる。
In the step, it is determined whether or not the content that cannot be stored at the time of input has been cleared, that is, whether or not the input data has no error. If the contents that cannot be stored at the time of input have not been cleared, the process returns to the step again to correct the data. Note that in this embodiment, during the steps and
Even if the editing end key 31 is pressed, no interruption by this key occurs. That is, even if the editing end key is pressed, it is not accepted. However, as a modified example, a step of receiving an editing end key is provided in the middle of the steps to make the display in the non-storable number display area 42 of the display 22 different from the timing of displaying in the non-storable content display area 40, for example. Can also.

ステップにおいて、入力時格納不可内容がクリアさ
れたときには、ステップに進み、編集終了キー31が押
下されたか否かを判定する。編集終了キー31が押下され
ると、リミット逆転チェックを行う(ステップ)。な
らいリミットが逆転しているか否かの判定をして(ステ
ップ)、逆転していると、第8図(c)に示すように
ディスプレイ22の格納不可内容表示領域40に“リミット
逆転”のメッセージを表示し、同時に格納不可番号領域
に格納不可番号即ちデータコードを表示する(ステップ
)。第8図(c)に示す例では、+Xならいリミット
のコード“005"と−Xならいリミットのコード“006"と
が表示されており、これによってオペレータは、+Xな
らいリミットと−Xならいリミットとが逆転しているこ
とを知らせることができる。ステップを終了すると、
ステップに再び戻り、ならいリミットのデータを訂正
することができる。
When the contents that cannot be stored at the time of input are cleared in the step, the process proceeds to the step, and it is determined whether or not the edit end key 31 is pressed. When the edit end key 31 is pressed, a limit reverse rotation check is performed (step). It is determined whether or not the copying limit is reversed (step), and if so, a message of "limit reversed" is displayed in the non-storable content display area 40 of the display 22 as shown in FIG. 8 (c). Is displayed, and at the same time, a non-storable number, that is, a data code, is displayed in the non-storable number area (step). In the example shown in FIG. 8 (c), the + X following limit code "005" and the -X following limit code "006" are displayed, whereby the operator can set the + X following limit and the -X following limit. Can be notified that is reversed. After completing the steps,
Returning to the step, the data of the copying limit can be corrected.

ステップにおいて、ならいリミットが逆転していな
いと、リミット接近チェックを行う(ステップ)。な
らいリミットが接近しているか否かの判定をして(ステ
ップ)、接近しているときには、第8図(d)に示す
ようにディスプレイの格納不可内容表示領域40に“リミ
ット接近”のメッセージを表示し、同時に格納不可番号
表示領域に格納不可番号、即ちデータコードを表示する
(ステップ)。第8図(d)に示す例では、+Yなら
いリミットのコード“007"と−Yならいリミットのコー
ド“008"とが表示されており、これによってオペレータ
は+Yならいリミットと−Yならいリミットとが接近し
ていることを知ることができる。ステップを終了する
と、ステップに再び戻り、ならいリミットのデータを
訂正することができる。
If the copying limit is not reversed in the step, a limit approach check is performed (step). It is determined whether or not the copying limit is approaching (step), and when it is approaching, a "limit approaching" message is displayed in the non-storable content display area 40 of the display as shown in FIG. 8 (d). Is displayed, and at the same time, a non-storable number, that is, a data code, is displayed in a non-storable number display area (step). In the example shown in FIG. 8 (d), the + Y following limit code "007" and the -Y following limit code "008" are displayed, whereby the operator can set the + Y following limit and the -Y following limit. You can know that you are approaching. When the step is completed, the process returns to the step and the data of the copying limit can be corrected.

ステップにおいて、リミットが接近していないとき
には、全てのチェックを終了し、1つのブロック内の入
力データには誤りがない状態となっており、作業用メモ
リ26に作成された1つのブロックのデータをデータ用メ
モリ25に転送して格納する(ステップ)。
In the step, when the limit is not approaching, all the checks are completed, the input data in one block is in an error-free state, and the data of one block created in the working memory 26 is deleted. The data is transferred to and stored in the data memory 25 (step).

このようにしてデータ用メモリ25に次々とブロックを
格納した後、これらのブロックプログラムに従って、X
軸、Y軸、Z軸駆動モータ8,9,10を実際に駆動すること
ができる。
After the blocks are successively stored in the data memory 25 in this manner, X is stored in accordance with these block programs.
The axis, Y-axis, and Z-axis drive motors 8, 9, and 10 can be actually driven.

(発明の効果) 以上述べたとおり、本発明によれば、あるならい動作
を実行するために複数のデータを設定しこれらのデータ
の組合せで所望の動作を実現し、入力されたデータのチ
ェックについては、そのデータ自身のみではなくその動
作を実施するためのデータの過不足、相互関係までのチ
ェックを行い、データが誤っているときにはその旨をデ
ィスプレイに表示して、ならい制御装置の入力データの
誤りを自動的に検出し、チェックされたデータの種類お
よび誤りの種類に応じたメッセージを表示するので、オ
ペレータの労力を著しく軽減し、データの設定ミスを減
少させ、また設定ミスが生じた場合でもその訂正を迅速
に行うことができ、これによってデータ用メモリに格納
されるブロックプログラムは極めて信頼性の高いものと
なり、ならい制御装置の運転を確実にし、さらには安全
性の高い操作を保証するデータ自動誤り検出方法を提供
できる。
(Effects of the Invention) As described above, according to the present invention, a plurality of data are set to execute a certain operation, a desired operation is realized by a combination of these data, and a check of input data is performed. Checks not only the data itself but also the excess and deficiency of data for performing the operation and the interrelationships.If the data is incorrect, the fact is displayed on the display, and the input data of the copying control device is displayed. Automatically detects errors and displays a message according to the type of data checked and the type of error, significantly reducing operator effort, reducing data setting errors, and if a setting error occurs However, the correction can be made quickly, which makes the block program stored in the data memory extremely reliable. In addition, it is possible to provide a data automatic error detection method which ensures operation of the copying control device and further guarantees safe operation.

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

第1図は、本発明を実施するためのシステム構成を示す
ブロック図、第2図は、本発明を実施するためのならい
制御装置の概略図、第3図は、データ用メモリに格納さ
れるデータの形式を示すプログラム説明図、第4図
(a)は、機能Aのすて面切削の動作を示す図、第4図
(b)は、機能Aの一パスならいの動作を示す図、第4
図(c),(d)は、機能Bの馬蹄形ならいを示す図、
第4図(e)は、機能Bの定角度ならいを示す図、第5
図(a)は、ならいモードと機能A,B,Cとの関係を示す
図、第5図(b)は、機能A,B,C間の相互関係を示す
図、第6図は、本発明のデータ自動誤り検出方法の一実
施例を示す流れ図、第7図は、ディスプレイの表示画面
を示す図、第8図(a)乃至(d)は、表示画面の格納
不可内容表示領域、格納不可番号領域での表示例を示す
図である。 1……スタイラス、2……モデル、8,9,10……X軸、Y
軸、Z軸駆動モータ、20……CPU、21……キーボード、2
2……ディスプレイ、25……データ用メモリ、26……作
業用メモリ。
FIG. 1 is a block diagram showing a system configuration for implementing the present invention, FIG. 2 is a schematic diagram of a copying control device for implementing the present invention, and FIG. 3 is stored in a data memory. FIG. 4 (a) is a diagram illustrating a program A showing the form of data, FIG. 4 (a) is a diagram showing an all-surface cutting operation of function A, FIG. 4 (b) is a diagram showing an operation of function A following one pass, 4th
Figures (c) and (d) show a horseshoe-shaped profile of function B,
FIG. 4E is a view showing a fixed angle profile of the function B, and FIG.
FIG. 5A is a diagram showing the relationship between the copying mode and the functions A, B, and C. FIG. 5B is a diagram showing the mutual relationship between the functions A, B, and C, and FIG. FIG. 7 is a flowchart showing an embodiment of the automatic data error detection method of the present invention, FIG. 7 is a diagram showing a display screen of a display, and FIGS. It is a figure showing the example of a display in an impossible number field. 1 stylus, 2 model, 8, 9, 10 ... X axis, Y
Axis, Z-axis drive motor, 20 ... CPU, 21 ... keyboard, 2
2… Display, 25… Data memory, 26… Work memory.

フロントページの続き (56)参考文献 特開 昭58−114106(JP,A) 特開 昭59−140519(JP,A) 特開 昭61−34609(JP,A) 特開 昭59−172011(JP,A) 実開 昭60−148607(JP,U)Continuation of the front page (56) References JP-A-58-114106 (JP, A) JP-A-59-140519 (JP, A) JP-A-61-34609 (JP, A) JP-A-59-172011 (JP, A) , A) Japanese Utility Model Showa 60-148607 (JP, U)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】編集終了キーおよびならい制御に必要なデ
ータを入力する入力キーを有するキーボードと、 このキーボードからのならいデータをブロックプログラ
ムとして一時的に格納する作業用メモリと、 該ブロックプログラム内のならいデータを順番にチェッ
クして、入力データがならいモード或いはならい機能の
データであるか否かの判定をする判定手段と、 入力データがならいモード、ならい機能のデータである
時、ならいモードデータとならい機能データとの同時設
定の可否についてチェックするチェック手段と、 入力データがならいモード、ならい機能のデータ以外の
データである時、データの誤りを自動的に検出する検出
手段と、 チェックされたデータの同時設定の不可および検出され
たデータの種類および誤りの種類に応じたメッセージを
表示する表示手段と、 前記作業用メモリから訂正した後に転送されるブロック
プログラムを格納するデータ用メモリと、 を具備することを特徴とするならい制御装置におけるな
らいデータ自動誤り検出装置。
A keyboard having an edit end key and an input key for inputting data necessary for copying control; a working memory for temporarily storing copying data from the keyboard as a block program; A determination means for sequentially checking the copying data and determining whether or not the input data is data of the copying mode or the copying function; and a copying mode data when the input data is the copying mode or the copying function data. Checking means for checking whether simultaneous setting with the copying function data is possible; detecting means for automatically detecting a data error when the input data is data other than the copying mode and copying function data; and checked data Cannot be set at the same time, depending on the type of data detected and the type of error. Message display means for displaying, copying data automatic error detection device in Great had control device characterized by comprising a data memory for storing a block program which is transferred after correction from the working memory.
JP61070370A 1986-03-28 1986-03-28 Automatic data error detection device Expired - Lifetime JP2645990B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61070370A JP2645990B2 (en) 1986-03-28 1986-03-28 Automatic data error detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61070370A JP2645990B2 (en) 1986-03-28 1986-03-28 Automatic data error detection device

Publications (2)

Publication Number Publication Date
JPS62226310A JPS62226310A (en) 1987-10-05
JP2645990B2 true JP2645990B2 (en) 1997-08-25

Family

ID=13429482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61070370A Expired - Lifetime JP2645990B2 (en) 1986-03-28 1986-03-28 Automatic data error detection device

Country Status (1)

Country Link
JP (1) JP2645990B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3949689B2 (en) 2002-12-26 2007-07-25 三菱電機株式会社 Machining program creation device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58114106A (en) * 1981-12-26 1983-07-07 Yamazaki Mazak Corp Controlling method for program error display of numerical control machine tool
JPS60148607U (en) * 1984-03-13 1985-10-02 三菱電機株式会社 numerical control device

Also Published As

Publication number Publication date
JPS62226310A (en) 1987-10-05

Similar Documents

Publication Publication Date Title
US4482968A (en) Method and apparatus for robot control
US4352334A (en) Method and apparatus for stitching material along a curve
US4513366A (en) Menu programmed machine tool numerical controller with an interference checking function
US4575791A (en) Method for restarting a tool onto a workpiece contour
US5171966A (en) Method of and apparatus for controlling a welding robot
EP0512583B1 (en) Method of and apparatus for controlling a welding robot
JPH0554129B2 (en)
EP0416123A1 (en) Manual intervention method for industrial robot
JPS624551A (en) Automatic drawing system of tool configuration
JP2762788B2 (en) Moving body operation display device and display method thereof
JP2645990B2 (en) Automatic data error detection device
JP2757590B2 (en) Numerical control unit
EP0099733B1 (en) Method and apparatus for creating nc programs
JPH07311612A (en) Method and device for editing machining program of numerical controller
JPH0731534B2 (en) How to create an offset shape
JPH0563749U (en) Numerical control device with processing time calculation function
JPH0722875B2 (en) How to display taper angle setting of programming device
JP3977458B2 (en) Interactive automatic programming device
JP3917251B2 (en) Shape sewing machine
JP2858751B2 (en) Tool setup device
EP0345355B1 (en) Interactive nc apparatus
JPH0647633Y2 (en) Automatic tool length measuring device
JPH01189704A (en) Numerical controller
JP2686158B2 (en) Numerical control device having data calculation input function
JPH0659592B2 (en) Automatic programming creation device