JP2677889B2 - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JP2677889B2
JP2677889B2 JP2016795A JP1679590A JP2677889B2 JP 2677889 B2 JP2677889 B2 JP 2677889B2 JP 2016795 A JP2016795 A JP 2016795A JP 1679590 A JP1679590 A JP 1679590A JP 2677889 B2 JP2677889 B2 JP 2677889B2
Authority
JP
Japan
Prior art keywords
skip
symbol
program
block
target information
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 - Fee Related
Application number
JP2016795A
Other languages
Japanese (ja)
Other versions
JPH03219303A (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.)
Okuma Corp
Original Assignee
Okuma Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Okuma Corp filed Critical Okuma Corp
Priority to JP2016795A priority Critical patent/JP2677889B2/en
Publication of JPH03219303A publication Critical patent/JPH03219303A/en
Application granted granted Critical
Publication of JP2677889B2 publication Critical patent/JP2677889B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は制御プログラムに基づいて工作機械の機械加
工を行う数値制御装置、特に、該プログラム中の任意の
情報をスキップ機能によりスキップさせ、スキップされ
たプログラムを読み出し実行して工作機械の自動制御を
行う数値制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of use] The present invention relates to a numerical control device for machining a machine tool based on a control program, and in particular, skips any information in the program by a skip function and skips it. The present invention relates to a numerical control device that reads out and executes a stored program to automatically control a machine tool.

[従来の技術] 数値制御による工作機械において、一般的に、ワーク
を機械加工する場合は、1種類のワークに対し、1つの
パートプログラムを準備してこれに基づいて所定の加工
を行っている。
[Prior Art] In a machine tool using numerical control, generally, when machining a workpiece, one part program is prepared for one type of workpiece and predetermined machining is performed based on this. .

しかし、加工するワークは類似形状の物が多くあり、
特に、このような場合には、例えば第6図及び第7図に
示すように、一部分の形状だけが異なっていることが多
い。
However, many of the workpieces to be processed have similar shapes,
In particular, in such a case, as shown in FIGS. 6 and 7, for example, only a part of the shape is often different.

そこで、従来において、この種の一部分だけ形状が異
なるワークを加工する場合には、一例として第5図に示
されたプログラムのように、加工ワークにより不要とな
る工程部に相当するパートプログラムを1つにし、複数
のブロック群の各ブロックの先頭に例えば、スラッシュ
記号“/"等の特定記号を設け、これにより、加工を実行
させるオプショナルブロックスキップ機能によって行っ
ていた。
Therefore, in the conventional case, when machining a work having a different shape in only a part of this kind, a part program corresponding to a process part which becomes unnecessary depending on the machining work, such as the program shown in FIG. On the other hand, a specific symbol such as a slash symbol "/" is provided at the head of each block of the plurality of block groups, and the optional block skip function for executing the processing is performed.

このオプショナルブロックスキップ機能は、上記ブロ
ックの先頭に特定記号(キャラクタ)が付加されている
場合、操作部の操作盤上などに設けられたオプショナル
ブロックスキップスイッチONの時には、該任意のブロッ
クの情報をスキップして無効にする機能である。
This optional block skip function, when a specific symbol (character) is added to the beginning of the above block, when the optional block skip switch provided on the operation panel of the operation unit is ON, the information of the arbitrary block is displayed. This is a function to skip and disable.

従って、従来では、数値制御の機械加工にこの機能を
利用して、オプショナルブロックスキップスイッチがON
であれば、前記工程部を無効とし、また、該オプショナ
ルブロックスキップスイッチがOFFであれば、前記工程
部を有効として、前記パートプログラムに基づいて工作
機械を作動制御させていた。
Therefore, conventionally, this function was used for numerically controlled machining, and the optional block skip switch was turned on.
If so, the process unit is invalidated, and if the optional block skip switch is OFF, the process unit is validated and the machine tool is controlled based on the part program.

第4図には、この種のオプショナルブロックスキップ
機能を有する数値制御装置の回路構成図が示されてお
り、図に示すように、従来の数値制御装置は、前記オプ
ショナルブロックスキップスイッチを有する操作部10と
パートプログラム記憶部12とブロックスキップ処理部14
とパートプログラム解析部16とパートプログラム実行部
18とから構成されている。
FIG. 4 shows a circuit configuration diagram of a numerical controller having an optional block skip function of this kind. As shown in the figure, a conventional numerical controller has an operation unit having the optional block skip switch. 10, a part program storage unit 12, and a block skip processing unit 14
And part program analysis part 16 and part program execution part
It consists of 18 and.

すなわち、前記ブロックスキップ処理部14は、前記パ
ートプログラム記憶部12からの記憶されているパートプ
ログラムを例えば、ブロック単位(第5図に示すN001、
N002、...〜、N009)で読み込んでいる。
That is, the block skip processing unit 14 stores the stored part program from the part program storage unit 12, for example, in block units (N001 shown in FIG. 5,
N002, ... ~, N009).

そして、前記操作部10での前記ブロックスキップスイ
ッチON、OFF切換え、すなわちスキップの有効又は無効
の情報に基づき、前述した第5図に示すようにスラッシ
ュ記号“/"等の特定記号の付加されたブロックを有効と
するか、無効とするかを判定し、判定された有効ブロッ
クだけを前記パートプログラム解析部16に転送してい
る。
Then, based on the information of the block skip switch ON / OFF switching in the operation unit 10, that is, the validity or invalidity of the skip, a specific symbol such as a slash symbol “/” is added as shown in FIG. It is determined whether the block is valid or invalid, and only the determined valid block is transferred to the part program analysis unit 16.

そして、このパートプログラム解析部16では、この有
効ブロックだけを前記パートプログラム実行部18に送
り、これにより、この実行部18で該有効とされたブロッ
クの内容の実行を行っている。
Then, the part program analysis unit 16 sends only the valid block to the part program execution unit 18, and the execution unit 18 executes the contents of the valid block.

[発明が解決しようとする課題] しかしながら、このような従来の数値制御装置におい
て、前記オプショナルブロックスキップ機能は、ブロッ
クスキップスイッチがONの時、上記の通りブロック先頭
に付加された特定のキャラクタ記号を認識し、これによ
り、該ブロックのみが無効となるので、複数の連続した
ブロックをまとめて無効にすることはできなかった。
[Problems to be Solved by the Invention] However, in such a conventional numerical controller, the optional block skip function, when the block skip switch is ON, displays a specific character symbol added to the beginning of the block as described above. It was not possible to collectively invalidate a plurality of consecutive blocks, since the block was recognized and thereby invalidated only this block.

このため、連続したブロックをまとめて無効にするに
は、第5図に示すように対象となる各ブロック全てに例
えば、スラッシュ記号“/"等の特定記号を付加すること
が必要であった。
Therefore, in order to collectively invalidate consecutive blocks, it is necessary to add a specific symbol such as a slash symbol “/” to all target blocks as shown in FIG.

すなわち、この機能は、前記第5図のように、ブロッ
クの先頭に付加される特定記号“/"を認識し、前記操作
部10上のオプショナルブロックスキップスイッチがONの
時のみ該ブロックを無効とするもので、必要とされるパ
ートプログラムの工程部全体を無効としたい場合には、
第5図に示すN003〜N006のように、前記工程部の全部の
ブロック群先頭に特定記号“/"を付加する必要が生じて
いた。
That is, as shown in FIG. 5, this function recognizes the specific symbol “/” added to the head of the block and invalidates the block only when the optional block skip switch on the operation unit 10 is ON. If you want to invalidate the whole process part of the required part program,
Like N003 to N006 shown in FIG. 5, it has been necessary to add a specific symbol "/" to the head of all the block groups in the process section.

このため、前記パートプログラムの作成においては、
上述のことを考慮しなければならず、非常に手間と時間
がかかるという欠点があった。
Therefore, in creating the part program,
The above-mentioned matters must be taken into consideration, and there is a drawback that it is very troublesome and time-consuming.

また、第8図及び第9図に示されているように、異な
る2種類の加工ワークの輪郭加工を行う場合には、第10
図に示すようなパートプログラムを作成する必要があ
る。
Further, as shown in FIGS. 8 and 9, when the contour machining of two different types of machining works is performed,
It is necessary to create a part program as shown in the figure.

そして、このパートプログラムでは、図の下線部に示
す各ブロック部(N203,Y90)及びブロック内の一部(X9
0)の情報を有効にするか、無効にするかの選択ができ
れば、第8図、第9図に示す2種の形状ワークの加工が
1つのプログラムで可能となる。
In this part program, each block part (N203, Y90) and a part (X9
If it is possible to select whether to validate or invalidate the information (0), machining of two types of shaped workpieces shown in FIGS. 8 and 9 can be performed by one program.

しかし、上記パートプログラムにおいて、従来のオプ
ショナルブロックスキップ機能では、このような各ブロ
ック部及びブロック内の一部を一緒にスキップさせるこ
とはできず、また特に、ブロック内の一部(X90)をス
キップさせることは不可能であり、2種のパートプログ
ラムを作成しなければならない。これにより、プログラ
ムが長くなり、該プログラム作成の時間に無駄が生じ、
手間がかかるという欠点があった。
However, in the above part program, with the conventional optional block skip function, it is not possible to skip each block part and part within the block together, and in particular, skip part (X90) within the block. It is impossible to do so, and two types of part programs must be created. As a result, the program becomes long, and the time for creating the program is wasted.
There was a disadvantage that it took time and effort.

発明の目的 本発明は上記従来の課題に鑑み成されたものであり、
その目的は、プログラム中の特定のスキップ対象情報に
スキップを開始する指示記号及びスキップを解除する指
示記号を付加して、この2つの指示記号により、任意の
連続したスキップ対象情報を一度に有効か無効かを選択
することができる数値制御装置を提供することにある。
OBJECT OF THE INVENTION The present invention has been made in view of the above conventional problems,
The purpose is to add an instruction symbol for starting skipping and an instruction symbol for canceling skip to specific skip target information in the program, and use these two instruction symbols to enable any continuous skip target information to be effective at once. An object of the present invention is to provide a numerical control device capable of selecting invalidity.

[課題を解決するための手段] 上記目的を達成するために,本発明に係る数値制御装
置は、加工を実行させる複数のブロックを含むプログラ
ムであってスキップ指示記号により指定されたスキップ
対象情報を含むスキップ付加プログラムを解析・実行
し、スキップ対象情報の有効又は無効に応じて工作機械
の自動制御を行う数値制御装置において、スキップ指示
記号を構成する1組のスキップ開始記号とスキップ解除
記号のうち少なくともいずれか一方が1ブロックの途中
に付加されたスキップ付加プログラムを記憶するプログ
ラム記憶手段と、スキップ付加プログラムに付加された
スキップ指示記号の有効/無効を指定するスキップ選択
手段と、スキップ指示記号の有効時にはスキップ対象情
報を無効とし、スキップ指示記号の無効時にはスキップ
対象情報を有効とする指示記号判定読み出し手段と、を
有することを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, a numerical control device according to the present invention is a program including a plurality of blocks for executing machining, and executes skip target information designated by a skip instruction symbol. In a numerical control device that analyzes and executes a skip addition program including, and automatically controls a machine tool depending on whether the skip target information is valid or invalid, a set of a skip start symbol and a skip cancellation symbol that constitutes a skip instruction symbol Program storage means for storing a skip addition program in which at least one of them is added in the middle of one block, skip selection means for specifying validity / invalidity of the skip indication symbol added to the skip addition program, and skip indication symbol When it is valid, the skip target information is invalid, and when the skip indicator is invalid, And an instruction symbol determination reading unit that makes the skip target information valid.

[作用] 以上のような構成としたので本発明の数値制御装置に
よれば、制御プログラム中の任意の情報であるスキップ
対象情報にスキップを開始させるスキップ開始記号とス
キップを終了させるスキップ解除記号とが付加されたス
キップ付加プログラムにより、工作機械の自動制御を行
っている。
[Operation] With the above-described configuration, according to the numerical control device of the present invention, a skip start symbol for starting skip and a skip cancel symbol for ending skip are added to skip target information which is arbitrary information in the control program. The machine tool is automatically controlled by the skip addition program to which is added.

このため、前記スキップを行う場合には、スキップ開
始記号と判定した時は、該スキップ解除記号と判定され
るまでのスキップ対象情報を無効とすることができる。
Therefore, in the case of performing the skip, when the skip start symbol is determined, the skip target information up to the skip cancellation symbol can be invalidated.

また、スキップを行わない場合は、該スキップ付加プ
ログラムの情報全てを有効とすることが可能となる。
Further, when skipping is not performed, it becomes possible to validate all the information of the skip addition program.

この結果、スキップの開始記号と解除記号とで囲まれ
たスキップ対象情報だけを無効として前記スキップ付加
プログラムを実行させることが可能となる。従って、該
スキップ対象情報をまとめて有効とするか無効とするか
を選択することができる。
As a result, it is possible to execute only the skip target information enclosed by the skip start symbol and the cancel symbol and execute the skip addition program. Therefore, it is possible to select whether the skip target information is collectively valid or invalid.

[実施例] 以下、図面に基いて本発明の好適な実施例を説明す
る。
[Embodiment] A preferred embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明に係る数値制御装置の一例を示した
回路構成図である。尚、前述した第4図との同一部材に
は同一符号を付し以下、構成及び動作の説明は省略す
る。
FIG. 1 is a circuit configuration diagram showing an example of a numerical control device according to the present invention. The same members as those in FIG. 4 described above are designated by the same reference numerals, and the description of the configuration and operation will be omitted below.

本発明において特徴的なことは、スキップ付加プログ
ラムに基づいて、スキップを行う場合は、スキップ開始
記号と判定した時、該スキップ解除記号と判定されるま
でのスキップ対象情報を無効とし、スキップを行わない
場合は、該スキップ付加プログラムの情報全てを有効と
することにある。
A feature of the present invention is that when skipping is performed based on the skip addition program, when the skip start symbol is determined, the skip target information until it is determined as the skip cancellation symbol is invalidated, and the skip is performed. If there is not, it means that all the information of the skip addition program is valid.

以下、本実施例を示す第1図の数値制御装置の構成を
説明する。
The configuration of the numerical controller shown in FIG. 1 showing the present embodiment will be described below.

図において、本実施例の数値制御装置は、スキップ開
始記号とスキップ解除記号とが付加されたスキップ付加
プログラムを記憶するスキップ付加プログラム記憶部20
と、スキップを行うか否か選択するスキップ選択手段と
してのスキップ選択操作部22と、前記スキップ開始・解
除記号を判定しスキップ付加プログラムを読み出す指示
記号判定読み出し部24とから構成されている。
In the figure, the numerical control device of the present embodiment shows a skip addition program storage unit 20 for storing a skip addition program to which a skip start symbol and a skip cancellation symbol are added.
And a skip selection operation unit 22 as a skip selection unit for selecting whether to skip or not, and an instruction symbol determination read unit 24 for determining the skip start / release symbol and reading the skip addition program.

この指示記号判定読み出し部24は、図示のようにスキ
ップ開始記号判定部26及びスキップ解除記号判定部28と
から成り、両判定部26,28は並列的に接続されている。
The instruction symbol determination read unit 24 includes a skip start symbol determination unit 26 and a skip cancellation symbol determination unit 28 as shown in the drawing, and both determination units 26, 28 are connected in parallel.

すなわち、まず、前記スキップ開始記号判定部26に
は、前記スキップ付加プログラム記憶部20から読み出さ
れたスキップ付加プログラム20aが入力されると共に、
一方でスキップ判定処理を行う選択情報として、前記ス
キップ選択操作部22からスキップを行うか否かのスキッ
プ選択信号、すなわちスキップ有効・無効情報22a,22b
が入力される。
That is, first, the skip start symbol determination unit 26, the skip addition program 20a read from the skip addition program storage unit 20 is input,
On the other hand, as the selection information for performing the skip determination process, a skip selection signal indicating whether to skip from the skip selection operation unit 22, that is, skip valid / invalid information 22a, 22b.
Is entered.

このスキップ開始記号判定部26は、スキップ有効情報
22aによりスキップを行う場合は、順次入力される前記
スキップ付加プログラム中にスキップを開始させる開始
記号(キャラクタ)が現れるまで該スキップ付加プログ
ラムをそのままスキップ判定プログラム24aとして順次
読み出し前記パートプログラム解析部16に転送する。
The skip start symbol determination unit 26 uses the skip valid information.
When skipping is performed by 22a, the skip addition program is sequentially read as the skip determination program 24a as it is until the start symbol (character) for starting the skip appears in the skip addition program sequentially input to the part program analysis unit 16. Forward.

そして、ここで、各ブロック毎又はブロック一部によ
る前記スキップを開始させる開始記号が現れると、前記
スキップ開始記号判定部26は、この時点でスキップ開始
記号を判定し、これ以降のスキップ付加プログラムを該
パートプログラム解析部16に転送せずに、無効とするス
キップ対象情報26aとして前記スキップ解除記号判定部2
8に転送している。
Then, here, when a start symbol for starting the skip by each block or a part of the block appears, the skip start symbol determination unit 26 determines the skip start symbol at this point, the subsequent skip addition program The skip cancellation symbol determination unit 2 is used as the skip target information 26a that is invalidated without being transferred to the part program analysis unit 16.
Transferred to 8.

従って、このスキップ解除記号判定部28では、前記ス
キップ付加プログラム記憶部20からの転送によりスキッ
プを解除する解除記号が現れるまではスキップ付加プロ
グラムを空読みすることになり、この空読みされるプロ
グラムがスキップ対象情報に相当し、無効と扱われるこ
とになる。
Therefore, in the skip cancellation symbol determination unit 28, the skip additional program is idle-read until the cancellation symbol for canceling the skip appears by the transfer from the skip additional program storage unit 20, and the program to be idle-read is It corresponds to the skip target information and is treated as invalid.

そして、前記スキップ解除記号判定部28は、スキップ
付加プログラム中にスキップを解除する解除記号(キャ
ラクタ)が現れると、スキップ対象情報が終了しスキッ
プ処理の終了を指示するため、前記スキップ開始信号判
定部26に終了指示信号28aを出力する。
Then, the skip cancellation symbol determination unit 28, when a cancellation symbol (character) for canceling the skip appears in the skip addition program, the skip target information ends and an instruction to end the skip processing is given. The end instruction signal 28a is output to 26.

これによって、前記スキップ開始記号判定部26は、該
終了指示記号28aを入力した時点までのスキップ付加プ
ログラムのスキップ対象情報をスキップさせ、これをス
キップ判定プログラム24aとして前記パートプログラム
解析部16へ転送を再開させている。
Thereby, the skip start symbol determination unit 26 causes the skip target information of the skip addition program up to the time when the end instruction symbol 28a is input to be skipped, and transferred to the part program analysis unit 16 as the skip determination program 24a. It is restarting.

従って、前記パートプログラム解析部16では、その転
送されてきたスキップ判定プログラム24aを解析し前記
パートプログラム実行部18で実行させ、これによって、
スキップを開始する開始記号と、スキップを解除する解
除記号とで囲まれたスキップ付加プログラムの有効・無
効を選択して工作機械を運転させることが可能となる。
Therefore, in the part program analysis unit 16, the transferred skip determination program 24a is analyzed and executed by the part program execution unit 18, whereby
It is possible to operate the machine tool by selecting valid / invalid of the skip addition program surrounded by the start symbol for starting skip and the cancel symbol for canceling skip.

第3図には、各ブロックが記載されたパートプログラ
ムの具体的な一例が表示状態で示されており、以下に第
3図を用いてその動作を説明する。
FIG. 3 shows a specific example of a part program in which each block is described in a display state, and the operation will be described below with reference to FIG.

この一例では、前記スキップ指示記号(キャラクタ)
としてスラッシュ記号を用いた場合を示しており、スラ
ッシュ“/"がスキップを開始する開始記号であり、バッ
クスラッシュ がスキップを解除する解除記号である。
In this example, the skip instruction symbol (character)
The slash "/" is the start symbol to start skipping, and the backslash is used. Is a cancellation symbol that cancels the skip.

ここで、図の(1)で示すシーケンス番号N103のブロ
ックでは、 とで囲まれたX151だけがスキップの対象情報となり、例
えばその隣接したY102はスキップの対象にならないこと
がわかる。
Here, in the block of sequence number N103 shown in (1) of the figure, It can be seen that only X151 surrounded by and becomes the skip target information, and for example, the adjacent Y102 is not the skip target.

また更に、図の(2)で示すシーケンス番号N105のブ
ロックでは、その先頭にある“/"から次の(3)で示す
シーケンス番号N106のブロックエンドY110の終わりにあ
が現れるまでスキップが有効になり、これにより、 とで囲まれたシーケンス番号N105のブロックとシーケン
ス番号N106のブロックとは、連続したスキップの対象情
報となる。
Furthermore, in the block of sequence number N105 shown in (2) of the figure, from the beginning "/" to the end of the block end Y110 of sequence number N106 shown in the next (3). Skip is enabled until appears, which causes The block with the sequence number N105 and the block with the sequence number N106, which are enclosed by and, are the target information for continuous skipping.

従って、シーケンス番号N101〜N107において、スキッ
プは、N103のX151とN105のX153、Y106からN106のX155,Y
110までだけが行われることとなる。
Therefore, in sequence numbers N101 to N107, skips are X151 of N103, X153 of N105, Y106 to X155, Y of N106.
Only 110 will be done.

尚、この例では、スキップの開始・解除を示す指示記
号として とを用いたが、もちろん、これに限ることなく別の特定
の指示記号(キャラクタ)でもよく、ブロックスキップ
機能の付加キャリクタと区別できるキャラクタを使用す
れば、これによって、ブロックスキップ機能との併用が
可能となる。
In this example, as an instruction symbol indicating the start / cancel of skip However, of course, another specific indicator symbol (character) is not limited to this, and if a character that can be distinguished from the additional character of the block skip function is used, this allows the block skip function to be used together. It will be possible.

次に、前記第1図に示された本実施例の回路構成図に
ついて,第2図のフローチャートを用いてその動作を詳
細に説明する。
Next, the operation of the circuit configuration diagram of this embodiment shown in FIG. 1 will be described in detail with reference to the flow chart of FIG.

前記スキップ選択操作部22での起動操作によりプログ
ラムを開始させると(ステップ000)、前記スキップ付
加プログラム記憶部20により、スキップ付加プログラム
を読み込み(ステップ100)、ここで、ステップ100にお
いて、既にスキップ中である場合は、スキップ解除状態
の判断(ステップ150)に進み、また、スキップ中でな
い場合は、次のスキップ有効状態の判断に進む(ステッ
プ110)。
When the program is started by the activation operation of the skip selection operation unit 22 (step 000), the skip addition program storage unit 20 reads the skip addition program (step 100), where the skip addition program is already skipped in step 100. If it is, the process proceeds to the determination of the skip cancellation state (step 150), and if it is not being skipped, the process proceeds to the determination of the next skip valid state (step 110).

そして、前記スキップ選択操作部22のスキップ有効・
無効情報が無効の場合は前記パートプログラム解析を行
うステップ170に進み、有効の場合は次のステップ130に
進む(ステップ120)。
Then, skip valid of the skip selection operation unit 22
If the invalid information is invalid, the process proceeds to step 170 for performing the part program analysis, and if it is valid, the process proceeds to the next step 130 (step 120).

また、前記スキップ開始記号判定部26では、スキップ
を開始する開始記号(キャラクタ)か否かを判定し(ス
テップ130)、スキップを開始する記号でない場合は、
前記パートプログラム解析を行うステップ170に進み、
スキップを開始する記号の場合は、スキップ実行中のフ
ラグをONして次のステップ150に進む(ステップ140)。
Further, the skip start symbol determination unit 26 determines whether or not it is a start symbol (character) to start skipping (step 130), and if it is not a symbol to start skipping,
Proceed to step 170 for performing the part program analysis,
If it is a symbol to start skipping, the skip executing flag is turned on and the process proceeds to the next step 150 (step 140).

尚、このスキップ実行中のフラグは、前記ステップ11
0の判定において使用される。
The flag indicating that this skip is being executed is the same as in step 11 above.
Used in a 0 decision.

前記スキップ解除記号判定部28は、スキップを解除す
る解除記号(キャラクタ)か否かを判定し(ステップ15
0)、ここで、スキップを解除する記号でない判定NOの
場合は、図示のようにステップ100へ戻り、スキップを
解除する記号である判定YESの場合は、前記スキップ実
行中のフラグをOFFして(ステップ160)、上記と同様に
ステップ100へ戻る。
The skip cancellation symbol determination unit 28 determines whether or not the cancellation symbol (character) cancels the skip (step 15).
0) Here, in the case of the judgment NO which is not the symbol for canceling the skip, the process returns to step 100 as shown in the figure, and in the case of the judgment YES which is the symbol for canceling the skip, the skip executing flag is turned off. (Step 160) and then returns to Step 100 as above.

次に、前記パートプログラム解析部16は、上記のスキ
ップ対象以外のプログラムを解析し(ステップ170)、
解析されたプログラムを前記パートプログラム実行部18
で運転が行われる(ステップ180)。
Next, the part program analysis unit 16 analyzes a program other than the skip target (step 170),
The analyzed program is stored in the part program execution unit 18
The operation is performed in step 180.

そして、このステップ180において、該プログラムを
全て運転したかどうかを判定し(ステップ190)、運転
が全て終了しない判定NOの場合は、前記スキップ100へ
戻り、運転を継続すると共に、一方、運転が全て終了し
た判定YESの場合は、一連の運転を終了する。
Then, in this step 180, it is determined whether or not all the programs have been operated (step 190), and in the case of the determination NO that the operation is not all finished, the process returns to the skip 100 to continue the operation, while the operation is If the judgment is YES, which means that all operations have been completed, the series of operations is completed.

以上説明したように、本実施例によれば、前記スキッ
プ付加プログラム中の任意の連続した情報の有効・無効
を選択できるため、連続した複数のブロック全てを無効
にする場合でも、全てのブロックにスラッシュ記号を付
加する必要がなくなる。
As described above, according to the present embodiment, since it is possible to select valid / invalid of any continuous information in the skip addition program, even if all of a plurality of continuous blocks are invalid, Eliminates the need to add slash marks.

これにより、無効にしたい情報の先頭と最後とにそれ
ぞれスキップ開始記号と、スキップ解除記号とを任意に
付加するだけでプログラム作成時の手間を低減可能とな
る。
This makes it possible to reduce the time and effort required to create a program by simply adding a skip start symbol and a skip cancel symbol to the beginning and end of the information to be invalidated.

また、ブロック内の一部のみをもスキップ可能とした
ので、前述の如く従来において不可能であった形状の一
部が異なる加工ワークに対しても一種類のプログラムを
作成するだけで行え、かつプログラムの無駄をなくすこ
どかできる。
Also, since only a part of the block can be skipped, it is possible to create a single type of program even for a work piece that has a different shape, which was impossible in the past, as described above. It is possible to eliminate the waste of the program.

[発明の効果] 以上のようにして、本発明に係る数値制御装置によれ
ば、プログラム中のブロックを意識せず、任意のエリア
のスキップ対象情報を無効にするため連続した複数のブ
ロック又はブロック内の一部のみのスキップをプログラ
ム内において自由に行うことができる。
[Effects of the Invention] As described above, according to the numerical control device of the present invention, a plurality of consecutive blocks or blocks are arranged in order to invalidate skip target information in an arbitrary area without being aware of a block in a program. You can freely skip only a part of the program in the program.

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

第1図は、本発明に係る数値制御装置の回路構成図、 第2図は、本発明に係る数値制御装置の動作を示したフ
ローチャート、 第3図は、本発明におけるスキップ付加プログラムの表
示状態の一例を示した説明図、 第4図は、従来の数値制御装置の回路構成図、 第5図は、従来におけるスキップ機能を用いたパートプ
ログラムの表示状態の一例を示した説明図、 第6図、第7図、第8図及び第9図は、従来のパートプ
ログラムに基づいて機械加工を行うワーク形状を示した
説明図、 第10図は、従来におけるパートプログラムの表示状態の
他の例を示した説明図である。 20……スキップ付加プログラム記憶部 22……スキップ選択操作部 22a,22b……スキップ有効・無効情報 24……指示記号判定読み出し部 24a……スキップ判定プログラム 26……スキップ開始記号判定部 26a……スキップ対象情報 28……スキップ解除記号判定部 28a……終了指示信号
FIG. 1 is a circuit configuration diagram of a numerical control device according to the present invention, FIG. 2 is a flowchart showing an operation of the numerical control device according to the present invention, and FIG. 3 is a display state of a skip addition program in the present invention. FIG. 4 is a circuit configuration diagram of a conventional numerical controller, and FIG. 5 is an explanatory diagram showing an example of a display state of a part program using a conventional skip function. FIG. 7, FIG. 8, FIG. 8 and FIG. 9 are explanatory views showing the shape of a workpiece to be machined based on a conventional part program, and FIG. 10 is another example of the display state of the conventional part program. FIG. 20 …… Skip additional program storage section 22 …… Skip selection operation section 22a, 22b …… Skip valid / invalid information 24 …… Instruction symbol judgment reading section 24a …… Skip judgment program 26 …… Skip start symbol judgment section 26a …… Skip target information 28 …… Skip cancellation symbol determination unit 28a …… End instruction signal

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】加工を実行させる複数のブロックを含むプ
ログラムであってスキップ指示記号により指定されたス
キップ対象情報を含むスキップ付加プログラムを解析・
実行し、スキップ対象情報の有効又は無効に応じて工作
機械の自動制御を行う数値制御装置において、 スキップ指示記号を構成する1組のスキップ開始記号と
スキップ解除記号のうち少なくともいずれか一方が1ブ
ロックの途中に付加されたスキップ付加プログラムを記
憶するプログラム記憶手段と、 スキップ付加プログラムに付加されたスキップ指示記号
の有効/無効を指定するスキップ選択手段と、 スキップ指示記号の有効時にはスキップ対象情報を無効
とし、スキップ指示記号の無効時にはスキップ対象情報
を有効とする指示記号判定読み出し手段と、 を有することを特徴とする数値制御装置。
1. A program including a plurality of blocks for executing processing, wherein a skip addition program including skip target information designated by a skip instruction symbol is analyzed and
In a numerical control device that executes and automatically controls a machine tool according to whether the skip target information is valid or invalid, at least one of a set of skip start symbol and skip cancel symbol forming a skip instruction symbol is one block. Program storage means for storing the skip addition program added in the middle of the, skip selection means for specifying validity / invalidity of the skip indication symbol added to the skip addition program, and skip target information invalid when the skip indication symbol is valid A numerical control device, comprising: an instruction symbol determination reading unit that validates the skip target information when the skip instruction symbol is invalid.
JP2016795A 1990-01-25 1990-01-25 Numerical control unit Expired - Fee Related JP2677889B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016795A JP2677889B2 (en) 1990-01-25 1990-01-25 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016795A JP2677889B2 (en) 1990-01-25 1990-01-25 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH03219303A JPH03219303A (en) 1991-09-26
JP2677889B2 true JP2677889B2 (en) 1997-11-17

Family

ID=11926102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016795A Expired - Fee Related JP2677889B2 (en) 1990-01-25 1990-01-25 Numerical control unit

Country Status (1)

Country Link
JP (1) JP2677889B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5339815B2 (en) * 2008-08-11 2013-11-13 ファナック株式会社 Numerical control device with processing resumption function

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0682291B2 (en) * 1986-09-19 1994-10-19 株式会社不二越 Numerical control device

Also Published As

Publication number Publication date
JPH03219303A (en) 1991-09-26

Similar Documents

Publication Publication Date Title
KR910012846A (en) Numerical Control Device
KR830006725A (en) Numerical Control Method
WO2003067345A1 (en) Numeric control method and numeric control system
US4740884A (en) Bank-linked programmable controller
JP2677889B2 (en) Numerical control unit
JPS58171241A (en) Display control method for numerical controller
JP2639169B2 (en) Numerical control unit
JPH01163803A (en) Combinational shape defining system
KR970707476A (en) METHOD AND APPARATUS FOR ELECTRICAL EDM MACHINING (PROCESS AND DEVICE FOR CONTROLLING EDM MACHINES)
JPH02151908A (en) Numerical controller with simulation function
JPS63311408A (en) Numerical controller
EP0331754A1 (en) Cnc program execution apparatus
EP0070135A1 (en) A numerical control method and an nc system
JPS6091404A (en) Industrial robbot
WO1991000557A1 (en) Nc data execution method
JPS58119006A (en) Program control method of numerical control machine tool
JPH02252004A (en) Tool shape plotting system
KR950011050A (en) Automatic setting of Z axis origin offset amount
JPS6063610A (en) Numerical controller with graphic display device capable of drawing clamping device
JPS6425208A (en) Numerical controller
SU732813A1 (en) Numerical programmed control system for machine tool
JPS6379110A (en) Numerically controlled working device
JPS63250705A (en) Numerical controller
JPH064214B2 (en) Machining sequence control method for numerically controlled machine tools
JPH0594208A (en) Numerical controller of machine tool

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees