JPH02253310A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH02253310A
JPH02253310A JP7457089A JP7457089A JPH02253310A JP H02253310 A JPH02253310 A JP H02253310A JP 7457089 A JP7457089 A JP 7457089A JP 7457089 A JP7457089 A JP 7457089A JP H02253310 A JPH02253310 A JP H02253310A
Authority
JP
Japan
Prior art keywords
axis
function
inhibited
command
working
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7457089A
Other languages
Japanese (ja)
Inventor
Yasue Yamashita
山下 康恵
Naoko Onishi
大西 直子
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP7457089A priority Critical patent/JPH02253310A/en
Publication of JPH02253310A publication Critical patent/JPH02253310A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To prevent the wrong working by providing an inhibited axis/inhibited function storage means to previously store the axes that should not be designated in a working process as the inhibited aces or functions. CONSTITUTION:The inhibited axes or inhibited functions which are designated by the inhibited axis or function inhibition commands are previously stored in an inhibited axis/function storage means 11. A numerical control part 1 reads a working program out of a program storage means 8, and analyzes successively the program for each block. Then the part 1 performs an error process to discontinue the working if an analysis block includes an axis or function command and the commanded axis or function of an MST, etc., is coincident with the inhibited axis or inhibited function stored in the means 11. As a result, the working is discontinued to prevent the wrong working when an axis or a function of the MST, etc., is designated wrong in a working process.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、数値制御用加工プログラムに基づいて工作機
械を動作し被加工物の加工2>こなうことのできる数値
制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a numerical control device capable of machining a workpiece by operating a machine tool based on a numerically controlled machining program.

〔従来の技術〕[Conventional technology]

第4図は従来の数値制御装置(以下NC装置という)の
主要構成要素と工作機械との関係を示す構成図であシ1
図において、(1)は数値制御部(以下制御部というJ
、+21は制御部(11に接続されたプログラム読込手
段であシ1例えはテープのようなプログラム記憶媒体(
31に予め記憶された加工プログラムを読み込む。14
1#:c操作部であ夛、NC装置に対する各種操作は、
操作部制御装置151(以下操作部INFという)を介
して制御部+11に入力される。
Figure 4 is a configuration diagram showing the relationship between the main components of a conventional numerical control device (hereinafter referred to as an NC device) and a machine tool.
In the figure, (1) is a numerical control section (hereinafter referred to as a control section).
, +21 is a program reading means connected to the control unit (11).
A machining program stored in advance in 31 is read. 14
1#: Various operations on the NC device are performed on the c operation section.
It is input to the control unit +11 via the operation unit control device 151 (hereinafter referred to as operation unit INF).

+61は各種加工情報を表示部(7)に出力するための
表示部制御装置(以下表示部1汐という)、<81はプ
ログラム記憶手段である。(9)は制御部(11の出力
側に接続した駆動部であ夛、工作機械alt制御する。
+61 is a display control device (hereinafter referred to as display section 1) for outputting various processing information to the display section (7), and <81 is a program storage means. (9) is a drive unit connected to the output side of the control unit (11), which controls the machine tool alt.

次に動作について説明する。プログラム記憶媒体(3夏
に記憶されている加工プログラムは、プログラム読込手
段(2)によシ読みとられ、制御部(1)に入力される
。制御部(11は前記加工プログラム金プログラム記憶
手段(8)に記憶させる。加工プログラムの修正が必要
な場合にはオペレータが操作部(4)を用い、操作部x
Ar 151 y(介して修正データを制御部・(11
に入力する。駆動部(9)は制御部(1)から出力され
た機械制御信号に従って工作機械+IQに設けられたモ
ータ(図示せず)を駆動して機械Qαすなわち。
Next, the operation will be explained. The machining program stored in the program storage medium (3 summers) is read by the program reading means (2) and inputted to the control section (1). (8).If it is necessary to modify the machining program, the operator uses the operating section (4) to
Ar 151 y (control unit ・(11
Enter. The drive unit (9) drives a motor (not shown) provided in the machine tool +IQ according to the machine control signal output from the control unit (1) to drive the machine Qα, that is, the motor (not shown) provided in the machine tool +IQ.

切削用刃物等の動きを制御する。そして、この刃物の動
きによって被加工物の切削加工が行なわれる。
Controls the movement of cutting tools, etc. Then, the workpiece is cut by the movement of the blade.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のNC装#Lは1以上のように構成されているので
、指令された軸、あるいはMST等の機能がたとえは2
機械構成上あるいは運転の過程での都合上などの理由で
指令されては困る軸、あるいは機能であった場合でも、
プログラムで指令されるとその通シに動作してしまうた
めに、誤まった加工をしてしまうという問題点があった
Since the conventional NC system #L is configured as 1 or more, the commanded axis or MST function is
Even if it is an axis or function that cannot be commanded for reasons such as machine configuration or convenience during operation,
There was a problem that when commanded by a program, it would operate according to that command, resulting in incorrect machining.

本発明は上記のような問題点を解消するためになされた
もので、たとえ機械構成上存在する軸でプログラムで指
令可能であっても、加工過程において指令されてはいけ
ない様な軸あるいは機能に対する制御機能を備えた数値
制御装置?提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and even if the axes that exist in the machine configuration can be commanded by a program, the present invention can be applied to axes or functions that should not be commanded during the machining process. Numerical control device with control function? The purpose is to provide.

〔課題を解決するための手段〕[Means to solve the problem]

本発明に係るNC装置lは、禁止軸・禁止機能記憶手段
を備えたものである。
The NC device 1 according to the present invention is equipped with a prohibited axis/prohibited function storage means.

〔作用〕[Effect]

本発明における禁止軸・禁止機能記憶手段は。 The prohibited axis/prohibited function storage means in the present invention is as follows.

加工過程上、指令されてはいけない軸tあらかじめ禁止
軸あるいは禁止機能として記憶しておき。
Axes that should not be commanded during the machining process are stored in advance as prohibited axes or prohibited functions.

加工中指令のあった軸あるいは機能に対して制御をおこ
なう。
Controls the axis or function for which a command was given during machining.

〔実施例〕〔Example〕

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

第1図において、(りは数値制御部、(2)は制御部(
1)によって制御されるプログラム読取手段、(31は
例えば紙テープ等のプログラム記憶媒体であり。
In Figure 1, (ri) is the numerical control section, (2) is the control section (
1); 31 is a program storage medium such as a paper tape;

加工プログラムが記憶されている。(4)は操作部であ
少、操作部l7EP151 ff介して制御部(1)に
各種指令倉入力する。(6)は表示部(7)全制御する
表示部1汐。
Machining programs are stored. (4) is an operation section, and various commands are input to the control section (1) through the operation section 17EP151ff. (6) is the display section 1 which controls the entire display section (7).

制御部(1)はプログラム記憶手段(8)と、禁止軸・
禁止機能記憶手段αIl’を制御する。(9;は制御部
(1)に接続される駆動部であり、工作機械αeに内蔵
されているモータ等全駆動する。
The control unit (1) has a program storage means (8) and a prohibited axis/
Controls the prohibited function storage means αIl'. (9; is a drive unit connected to the control unit (1), which drives all the motors etc. built in the machine tool αe.

次に、この実施例の動作について説明する。Next, the operation of this embodiment will be explained.

プログラム記憶媒体(3)に記憶された加工プログラム
はプログラム読取手段(2)によシ読みとられ制御部(
1)に入力される。制御部(1)は前記加工プログラム
を7′ログラム記憶手段(8)に記憶させる。そして、
工作機械顛の運転時には制御部(11はプログラム記憶
手段(8)に記憶されている加工プログラム全読み出し
、解析処理tおこなって機械制御信号全駆動部(9)に
送出し、駆動部(9)は前記機械制御信号に従って機械
αQの各軸モータ等金制御する。
The machining program stored in the program storage medium (3) is read by the program reading means (2) and the control unit (
1) is input. The control section (1) stores the machining program in the 7' program storage means (8). and,
When the machine tool system is in operation, the control section (11) reads out all machining programs stored in the program storage means (8), performs analysis processing, and sends machine control signals to all drive sections (9). controls each axis motor, etc. of the machine αQ according to the machine control signal.

次に本発明における指令軸あるいは機能禁止機能を第2
図のフローチャートおよび第3図によって説明する。
Next, the command axis or function inhibit function in the present invention is
This will be explained with reference to the flowchart in the figure and FIG.

指令軸あるいは機能禁止機能を実現するためには、あら
かじめ指定されているフォーマットに従ってオペレータ
(図示せず)が作成した加工プログラムが必要である。
In order to realize a command axis or a function inhibiting function, a machining program created by an operator (not shown) according to a prespecified format is required.

第3図は前記指定フォーマットの概略である。前記指定
フォーマットは指令軸あるいは機能禁止指令(特定指令
コード十糸止軸名あるいは鋲止機能名)azと指令軸あ
るいは機能禁止キャンセル指令(特定指令コード)αJ
とからなる。制御部111はプログラム記憶手段(8)
に記憶している前記加工プログラムを読み出し、各ブロ
ック毎に順次解析処理tおこなってゆく。
FIG. 3 is an outline of the specified format. The specified format is the command axis or function prohibition command (specific command code: ten thread locking axis name or riveting function name) az and the command axis or function prohibition cancel command (specific command code) αJ
It consists of The control unit 111 is a program storage means (8)
The machining program stored in the machine is read out, and analysis processing is sequentially performed for each block.

制御部(1)はまず解析ブロックに前記指令軸あるいは
機能禁止指令α2があるかどうかt判断する(81)。
The control unit (1) first determines whether or not the analysis block includes the command axis or the function prohibition command α2 (81).

 もし指令軸あるいは機能禁止指令azがあれは、前記
指令軸あるいは機能禁止指令a2で指定された軸を、禁
止軸・禁止機能記憶手段αυに記憶する(82ふもし、
指令軸あるいは機能禁止キャンセル指令113(83)
があった場合には、前記禁止軸・禁止機能記憶手段an
に記憶しである禁止軸あるいは禁止機能tクリアし、禁
止軸あるいは禁止機能なしの状態とする(Sす。指令軸
あるいは機能禁止キャンセル指令+13がない場合、前
記禁止軸・禁止機能記憶手段αυの記憶は保持される。
If there is a command axis or function prohibition command az, the command axis or the axis specified by the function prohibition command a2 is stored in the prohibited axis/prohibited function storage means αυ (82 Fumoshi,
Command axis or function prohibition cancel command 113 (83)
If there is, the prohibited axis/prohibited function storage means an
The prohibited axis or prohibited function t stored in the memory is cleared and there is no prohibited axis or prohibited function (S).If there is no command axis or function prohibition cancel command +13, the prohibited axis or prohibited function storage means αυ is cleared. Memories are retained.

つぎに制御部(11は解析ブロックに軸指令あるいは機
能指令があったかどうかt判定しくSり) #  軸指
令ある込は機能指令あシの場合には、その指令Sあるい
はMsT等機能が、現在、禁止軸あるいは禁止機能記憶
手段a+1に記憶されている禁止軸あるいは禁止機能と
一致するかどうかを比較する(86)。 もし前記指令
軸あるいは機能が前記禁止軸あるいは機能に一致してい
なければ、制御部(1)は前記指令軸あるいは機能に対
して通常の指令軸データ処理あるいはMST等機能処理
金おこなう(81)。 もし。
Next, the control unit (11 is to judge whether there is an axis command or function command in the analysis block) A comparison is made to see if they match the prohibited axis or prohibited function stored in the prohibited axis or prohibited function storage means a+1 (86). If the command axis or function does not match the prohibited axis or function, the control unit (1) performs normal command axis data processing or function processing such as MST for the command axis or function (81). if.

前記指令41]あるいは機能が前記禁止軸あるいは機能
に一致する場合には、エラー処理をおこない動作を中断
する(S8)。 この様な一連の処理全制御部+11が
各ブロックに対しておこなうことによ#)。
If the command 41] or the function matches the prohibited axis or function, error processing is performed and the operation is interrupted (S8). This series of processing is performed for each block by the total control unit +11.

第3図に示される様に加工プログラムのある特定の範囲
内において禁止軸あるいは禁止機能を設けることができ
る。
As shown in FIG. 3, prohibited axes or prohibited functions can be provided within a certain range of the machining program.

〔発明の効果〕〔Effect of the invention〕

以上のように1本発明によれば、加工過程において指令
されてはいけない軸あるいはMST等の機能をオペレー
タが誤まって指令した場合、その間違い全オペレータに
知らせると同時に動作を中断することによって、あやま
った加工を紡ぐことができ、また、中断時にオペレータ
が操作部を通して、誤まった軸指令あるいはMST等の
指令の部分に対して加工プログラムの変更をおこなうこ
とも容易にできるという効果がある。
As described above, according to one aspect of the present invention, if an operator mistakenly commands a function such as an axis or MST that should not be commanded during the machining process, all operators are notified of the mistake and the operation is interrupted at the same time. It is possible to unravel erroneous machining, and when the process is interrupted, the operator can easily change the machining program for the incorrect axis command or command such as MST through the operation unit.

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

第1図は本発明の一実施例を示す構成図、第2図は本実
施例における指令軸あるいは機能狭止機能を示すフロー
チャート、第3図は前記指令軸あるいは機能禁止機能全
実現するためにあらかじめオペレータが作成しておく必
要のある指令フォーマット例、第4図は従来のNC装置
の主要構成要素と機械を示す構成図である。 aυは禁止軸あるいは禁止機能記憶手段、t12は指令
軸あるいは機能禁止指令、 Q3は指令軸あるいは機能
禁止キャンセル指令である。 なお1図中、同一符号は同一または相当部分を示す。
Fig. 1 is a configuration diagram showing one embodiment of the present invention, Fig. 2 is a flowchart showing the command axis or function restriction function in this embodiment, and Fig. 3 is a flowchart showing the command axis or function restriction function in this embodiment. An example of a command format that must be prepared by an operator in advance. FIG. 4 is a configuration diagram showing the main components and machines of a conventional NC device. aυ is a prohibited axis or prohibited function storage means, t12 is a command axis or function prohibited command, and Q3 is a command axis or function prohibited cancel command. In addition, in FIG. 1, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 数値制御用加工プログラムに基づいて被加工物の加工を
おこなう数値制御装置において、上記加工プログラム中
に、指令フォーマットに従つてある特定の軸あるいはM
ST等の指令を指令することにより、上記加工プログラ
ム中の特定範囲内における上記指令軸の指令あるいは上
記指令のあつたMST等の指令を禁止することができる
ようにしたことを特徴とする数値制御装置。
In a numerical control device that processes a workpiece based on a numerically controlled machining program, a certain axis or M
Numerical control characterized in that by issuing a command such as ST, it is possible to prohibit a command of the command axis within a specific range in the machining program or a command such as MST in which the command occurs. Device.
JP7457089A 1989-03-27 1989-03-27 Numerical controller Pending JPH02253310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7457089A JPH02253310A (en) 1989-03-27 1989-03-27 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7457089A JPH02253310A (en) 1989-03-27 1989-03-27 Numerical controller

Publications (1)

Publication Number Publication Date
JPH02253310A true JPH02253310A (en) 1990-10-12

Family

ID=13550997

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7457089A Pending JPH02253310A (en) 1989-03-27 1989-03-27 Numerical controller

Country Status (1)

Country Link
JP (1) JPH02253310A (en)

Similar Documents

Publication Publication Date Title
KR100347297B1 (en) Numerical Control Method
KR850000328B1 (en) Numerical control method
EP0223857B1 (en) Method of compiling nc programs for a four-axes lathe
US5327350A (en) Interactive type numerical control apparatus and method thereof
JPS63273105A (en) Numerical controller
EP0103428B1 (en) Nc programming apparatus
JP2735209B2 (en) Numerical control unit
EP0962844B1 (en) Numerical control apparatus
EP1394642B1 (en) Multi-system numerical control device
JPH02253310A (en) Numerical controller
JPS61173842A (en) Numerical control device
JPH0370242B2 (en)
US4982144A (en) Numerical control apparatus
JPH0630011B2 (en) Numerical control Machining restart control method
JPH02172646A (en) Numerical control device
EP0935179A1 (en) Numeric controller provided with teaching/playback function
JP3226459B2 (en) Turret indexing control device for lathe
JP2556963Y2 (en) Numerical control unit
JPH01300306A (en) Automatic programming method
JPS5922103A (en) Numeric controlling method
JP2875801B2 (en) DNC equipment
JPS61257740A (en) Tool selection system
JPH01311304A (en) Numerical controller
JPH05143130A (en) Numerical controller
JPH06314109A (en) Numerical controller