【発明の詳細な説明】〔産業上の利用分野〕この発明は、工作機械に和工物を切削させるための加工
プログラムをメモリに記憶する。数値制@@竜(以下、
No装置と略す)の編集機能に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] In the present invention, a processing program for causing a machine tool to cut a Japanese artifact is stored in a memory. Numerical system @ @ Dragon (hereinafter,
This relates to the editing function of the No. device.
第5図は、従来のNo装置が、加工プログラムをメモリ
に記憶するために必要とする部分を、ブロック図に示し
念ものであり図において、(1)は(2)のCRT設定
表示装置とNo装置内部の諸回路とのデータ変換等のイ
ンタフェース処理(以下工/?処叩)を行なうためのC
RT%ll11回路、(3)は加工プログラムを解析し
て、 Ql+の機械制御回路がQ2の工作機械を動かす
ために必要なパルス分配データ等を生成するための加工
プログラム解析回路。FIG. 5 is a block diagram showing the parts necessary for the conventional No. 1 device to store the machining program in the memory. In the figure, (1) is the CRT setting display device of (2). No. C for performing interface processing (hereinafter referred to as engineering/?processing) such as data conversion with various circuits inside the device
RT%ll11 circuit (3) is a machining program analysis circuit for analyzing the machining program and generating pulse distribution data etc. necessary for the Ql+ machine control circuit to operate the Q2 machine tool.
14)は加工プログラムを解析する時に加工プログラム
の誤りを抽出するプロ゛グラムエラーチェック回路、f
5)は加工プログラムを(8)の加工プログラム格納メ
モリへ記憶する手段のうちの1つである編集を行なうた
めの加工プログラム編集回路、(6)は加工プログラム
を(8)の加工プログラム格納メモリへ記憶するまでの
間記憶してお(−時記憶バッファ。14) is a program error check circuit, f, which extracts errors in the machining program when analyzing the machining program.
5) is a machining program editing circuit for editing which is one of the means for storing the machining program in the machining program storage memory (8), and (6) is a machining program editing circuit that stores the machining program in the machining program storage memory (8). It is stored until it is stored in (-time memory buffer.
(7)は加工プログラムのフォーマットを簡単にチエツ
クするための加工プログラムフォーマット惰易チエツク
回路、(9)は傾の入出力機器から加工プログラムを入
力して(8)の加工プログラム格納メモリに記憶するた
めの加工プログラム入出力回路である。(7) is a machining program format easy check circuit for easily checking the format of the machining program, and (9) inputs the machining program from the input/output device of the tilting device and stores it in the machining program storage memory (8). This is a machining program input/output circuit for.
第3図1a)は加工プログラムの一例である。G28゜
Goo、・・・などをG指令、他のX、 Z、 ?
、・・・などのアルファベットを7ドレス、KOB(;
で示す)からEOBまでのことを1ブロツクと言う。こ
の加工プログラムを実行すると、第4図のような形の加
工物を削ることになる。FIG. 3 1a) is an example of a machining program. G command such as G28゜Goo, etc., other X, Z, ?
, etc. 7 dresses, KOB (;
) to EOB is called one block. When this machining program is executed, a workpiece having a shape as shown in FIG. 4 will be machined.
ここで、オペレータが間違って第3図+1++のような
加工プログラムを作成しようとした場合の動作について
、第6図のフローチャートを用いて説明する。Here, the operation when the operator mistakenly attempts to create a machining program as shown in FIG. 3 +1++ will be explained using the flowchart in FIG. 6.
オペレータがCRT設定・表示装造から入力した和ニブ
ログラムは、−時記憶バッファに記憶されている。オペ
レータが加工プログラム格納メモリに記憶するだめの操
作を行なう(インプットキーヲ押す)と、1ブロツクず
つのチエツクと記憶が始まる。The Japanese program input by the operator from the CRT setting and display system is stored in the -time storage buffer. When the operator performs an operation to store the machining program in the storage memory (presses the input key), checking and storing of each block begins.
まず、−時記憶バッファから1ブロツクの加工プログラ
ムを読み出す(St)。読み出された加工プログラムに
ついて、G指令のチエツクを行ない(G2)、エラーが
なければ(G3)、アドレスのチエツクを行なう(G4
)。ここでもエラーがなければ(85)I読み出した加
工プログラムを加工プログラム格納メモリに記憶する(
G6)。First, one block of machining program is read from the -time storage buffer (St). Regarding the read machining program, the G command is checked (G2), and if there is no error (G3), the address is checked (G4).
). If there is no error here as well (85) I store the read machining program in the machining program storage memory (
G6).
エラーが発生した場合には、OR7画面にエラーの内容
を表示させる(87)。この一連の処理を。If an error occurs, the details of the error are displayed on the OR7 screen (87). This series of processing.
−時記憶バッファのデータがなくなるか、又は。- The time storage buffer runs out of data, or.
エラーが発生するまで繰り返す。(82)(83)(8
4)(85)の処理を、(5)の加工プログラムフォー
マット簡易チエツク回路が行なう。Repeat until an error occurs. (82) (83) (8
4) The processing in (85) is performed by the machining program format simple check circuit in (5).
第3図(bJの加工プログラムを加工プログラム格納メ
モリに記憶すると、■のブロックまでは順調に記憶され
るが、σじ のブロックでアドレスチエツクにひっかか
りエラーとなる。続いてブロックを記憶するためには、
■のアドレスHをFに修正してから再びFア7工lキー
を押す。今度はIg#後まで順調に記憶される。Fig. 3 (When the machining program for bJ is stored in the machining program storage memory, up to the block of teeth,
Correct the address H in ■ to F and press the F7 key again. This time, it will be memorized smoothly until after Ig#.
従来のNo装置は以上のように構成されていたので、加
工プログラム登録後に一度模壷運転して。The conventional No. machine was configured as described above, so after registering the machining program, run the model pot once.
G指令とアドレスのチエツク以外の様々なチエツクを加
工プログラム哨析回路で行なわなければないという無駄
が生じた。This creates waste in that various checks other than the G command and address checks must be performed by the machining program monitoring circuit.
また、この模擬;軍転でエラーが発生すると、加工プロ
グラムを鳴止して、再度模擬運転をしなければならない
などの問題点があった。Additionally, if an error occurs during this simulation, there is a problem in that the machining program must be stopped and the simulation operation must be performed again.
この発明は上記のような間t■点を解消するためになさ
れたもので、加工プログラムを加工プログラム格納メモ
リに記憶する時に、770ニブログラムの実行段階で発
生する様々なエラーについても同時にチエツクできるN
o装置を得ることを目的とする。This invention was made in order to eliminate the above-mentioned time t point, and when storing the machining program in the machining program storage memory, it is possible to simultaneously check for various errors that occur during the execution stage of the 770 nib program.
o device.
この発明に係るNo装置は、加工プログラム解析口路の
一部として動作していたプログラムエラーチェック回路
を独立させて、加工プログラム解析時と加工プログラム
編集時の両方で動作させるようにしたものでちる。The No. 1 device according to the present invention separates the program error check circuit that operated as a part of the machining program analysis path and operates it both when analyzing the machining program and when editing the machining program. .
この発明におけるNo装置装で編集中の(支)エプロダ
ラムは、プログラムエラーチェック回路により。The (support) program module being edited by the No. 1 device in this invention is controlled by a program error check circuit.
様々なエラーチェックを受け、全てのチエツクを通禍し
てから加工プログラム格納メモリに記憶される。It undergoes various error checks and is stored in the machining program storage memory after passing all the checks.
以下、この発明の一実施例を図について説明する。、第
1図は、この発明のNo装置が、加工プログラムをメモ
リに記憶するために必要とする部分を、ブロック図に示
したものである。An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the parts necessary for the No. 1 device of the present invention to store a machining program in the memory.
第11gにおいて、 (3a) は加工プログラム解
析回路、 (4a) は加工プログラム解析回路から
独立したプログラムエラーチェック回路、 (5a)
は加工プログラム編集回路であり、 (3a)
の抛ニブログラム解析回路と(5a)の加工プログラム
編集回路から(4a)のプログラムエラーチェック回路
を動かしてデータのやりとりがあることを矢印により示
している。In No. 11g, (3a) is a machining program analysis circuit, (4a) is a program error check circuit independent from the machining program analysis circuit, and (5a)
is the machining program editing circuit, (3a)
The arrows indicate that data is exchanged by operating the program error check circuit (4a) from the program analysis circuit (5a) and the machining program editing circuit (5a).
次に、第3図+b)のような加工プログラムを作成しよ
うきした場合の動作について、第2 +’lのフローチ
ャートを用いて説明するつオペレータが加工プログラムを加工プログラム格納メモ
リへ記憶するための操作を行なう(インプットキーを押
す)と、まず、−時記憶パッファから1ブロツクの!]
ニブログラムを読み出す(sl)。Next, we will explain the operation when creating a machining program as shown in Figure 3 +'l using the flowchart in Figure 3 +'l. When you perform an operation (press the input key), first, 1 block from the -time memory puffer! ]
Read the nibrogram (sl).
読み出された加工プログラムについて実行時に行なうの
と同等のチエツクを行なう(811)。このチエツクは
、G指令チエツクやアドレスチエツクの他に、指令値の
範囲チエツクや円弧の終点ずれやF指令なしなどの様々
なチエツクを行なう。A check similar to that performed during execution of the read machining program is performed (811). In addition to the G command check and address check, this check performs various checks such as a command value range check, a shift in the end point of an arc, and no F command.
このチエツクでエラーがなければ(ss2)、エラ一番
号比較用データをOクリアしく813)。If there is no error in this check (ss2), clear the error number comparison data (813).
読み出した加工プログラムを加工プログラム格納メモリ
に記憶する(B6)。(812)でエラー有りの場合で
も、今回のエラ一番号と前回のエラ一番号を比較して1
番号が一致した場合には(B14)。The read machining program is stored in the machining program storage memory (B6). Even if there is an error in (812), compare the current error number 1 with the previous error number 1.
If the numbers match (B14).
(813)、(86)の処理を行なう。これは、エラー
チェックで引っかかっても無親してしまう手段で、−度
インプットでエラーとなっても、続けてインプットキー
を押せば、そのままメモリに記憶する。(sl4)で今
回と前回のエラ一番号が一致しなかった場合には、11
ず、エラ一番号比較用データにエラ一番号をセットしく
B15)。The processes of (813) and (86) are performed. This is a method that will not be used even if an error check occurs; even if an error occurs during input, if you continue to press the input key, it will be stored in memory as is. (sl4) If the current and previous error numbers do not match, 11
First, set the first error number in the error first number comparison data B15).
CR7画面にエラーの内容を表示させる(St S)。Display the error details on the CR7 screen (StS).
(811)の処理を(4a)のプログラムエラーチェッ
ク回路が行なう。この一連の動作の積り返し処理は、従
来と同様である。The program error check circuit (4a) performs the process (811). The repeating process of this series of operations is the same as the conventional one.
次に、第3図(b)の加工プログラムを加工プログラム
格納メモリへ記憶すると、■、 Cす、Qのブロックで
エラーチェックにひっかかる。各ブロックでエラーをな
くすための一例は、第a+1(a)の(j3) 、 (
E) 、 oのように修正するとよりつ〔発明の効果〕μ上のように、この発明によれば加工プログラムをメモ
リに記憶する時にも、プログラムエラーチェック回路を
動かして詳細なエラーチェックができるようにしたので
、模椿運転なしでもエラーのない加工プログラムが作成
でき、また、模擬運転を行なったとしてもエラーが発生
しない丸めに。Next, when the machining program shown in FIG. 3(b) is stored in the machining program storage memory, an error check is detected in the blocks ■, C, and Q. An example of eliminating errors in each block is (j3) of the a+1(a), (
E) It is better to modify it as shown in o. [Effects of the Invention] μ As mentioned above, according to this invention, even when a machining program is stored in memory, detailed error checking can be performed by operating the program error check circuit. As a result, it is possible to create an error-free machining program even without simulated operation, and it is possible to round off without errors even when simulated operation is performed.
加工プログラムを修正する手間が省けるという効果があ
る。This has the effect of saving the effort of modifying the machining program.
第1図はこの発明の一実施例によるNo装置の編集機能
を示すブロック図、第2図はこの発明の動作ヲ示すフロ
ーチャート、第3図(8)は誤りのない加工プログラム
の一例を示す図、第3図(13)は誤りのある加工プロ
グラムの一例を示す図、第4図は第3図1alを実行し
た時に削ることのできる加工物の断面図、第5図は従来
の−NO装置の編集機能を示すブロック図、第6図は従
来の編集の動作を示すフローチャートである。図において(1)はCRT制御回路、 (5a)
は加工プログラム解析向路、 (4a)はプログラム
エラーチェック回路* (5a) は加工プログラ
ム編集回路である。なお、各図中、同一符号は同一または相当部分を示す。Fig. 1 is a block diagram showing the editing function of the No device according to an embodiment of the present invention, Fig. 2 is a flowchart showing the operation of the invention, and Fig. 3 (8) is a diagram showing an example of an error-free machining program. , Fig. 3 (13) is a diagram showing an example of a machining program with an error, Fig. 4 is a cross-sectional view of a workpiece that can be cut when executing Fig. 3 1al, and Fig. 5 is a diagram showing a conventional -NO device. FIG. 6 is a block diagram showing the editing function of , and FIG. 6 is a flowchart showing the conventional editing operation. In the figure, (1) is a CRT control circuit, (5a)
(4a) is a program error check circuit* (5a) is a machining program editing circuit. In each figure, the same reference numerals indicate the same or corresponding parts.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29402788AJPH02139603A (en) | 1988-11-21 | 1988-11-21 | numerical control device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29402788AJPH02139603A (en) | 1988-11-21 | 1988-11-21 | numerical control device |
| Publication Number | Publication Date |
|---|---|
| JPH02139603Atrue JPH02139603A (en) | 1990-05-29 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29402788APendingJPH02139603A (en) | 1988-11-21 | 1988-11-21 | numerical control device |
| Country | Link |
|---|---|
| JP (1) | JPH02139603A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006014960A (en)* | 2004-07-01 | 2006-01-19 | Olympus Corp | Endoscope |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006014960A (en)* | 2004-07-01 | 2006-01-19 | Olympus Corp | Endoscope |
| US8465419B2 (en) | 2004-07-01 | 2013-06-18 | Olympus Corporation | Endoscope insertion unit, endoscope and endoscope system |
| Publication | Publication Date | Title |
|---|---|---|
| JPS63181005A (en) | Parallel processing method for numerical controller | |
| KR890002435B1 (en) | Numerical Control Method | |
| JPS59224228A (en) | Neumeric controller | |
| JPH03158908A (en) | Automatic programming system in compound working machine | |
| JPH02139603A (en) | numerical control device | |
| JPS6222107A (en) | Nc data preparing method | |
| JP3580447B2 (en) | NC control method | |
| JPH02172646A (en) | numerical control device | |
| JPS63133210A (en) | Program preparation system for nc device | |
| KR100205337B1 (en) | N.c program simulation device and method | |
| JPS6149206A (en) | Process operation method | |
| JPH0346007A (en) | Nc information generation system | |
| JP2533372B2 (en) | Control program creation method | |
| JPS6232503A (en) | numerical control device | |
| JPH02306305A (en) | Method and device for generating control program | |
| KR20030008447A (en) | Moduled-method for robot off-line programming | |
| JP3000987B2 (en) | Numerical control unit | |
| JP2537418B2 (en) | Control program generator | |
| EP0425688A1 (en) | Method of editing program for program controller | |
| JPH01281845A (en) | Working order conversion device for outline working machine | |
| JPS63278742A (en) | Tool length correction method for NC machine tools | |
| JP2565509B2 (en) | Automatic programming method | |
| JPH04100122A (en) | Nc working program executing device | |
| JPS61279909A (en) | Numerical controller | |
| JPH0222708A (en) | How to run NC device and NC machining program |