JPS5937028A - Tool selecting method - Google Patents

Tool selecting method

Info

Publication number
JPS5937028A
JPS5937028A JP14302882A JP14302882A JPS5937028A JP S5937028 A JPS5937028 A JP S5937028A JP 14302882 A JP14302882 A JP 14302882A JP 14302882 A JP14302882 A JP 14302882A JP S5937028 A JPS5937028 A JP S5937028A
Authority
JP
Japan
Prior art keywords
tool
name
correspondence
tools
machine
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
JP14302882A
Other languages
Japanese (ja)
Inventor
Shinichi Isobe
磯部 信一
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP14302882A priority Critical patent/JPS5937028A/en
Publication of JPS5937028A publication Critical patent/JPS5937028A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/182Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by the machine tool function, e.g. thread cutting, cam making, tool direction control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50249Tool, probe, pen changer

Abstract

PURPOSE:In a tool selecting method, to facilitate programing by storing the correspondence between the name and number of tool and producing a tool selecting instruction of only the tool name command thereby eliminating input of tool number. CONSTITUTION:The correspondence between the name and number of tool is stored in a memory. Then the tool name in NC program data stored in normal format in NC tape 104 except tool selection command is identified to read out the corresponding tool code from said memory. Then said tool code is outputted to a machine tool where desired tool is selected on the basis of the tool code.

Description

【発明の詳細な説明】 本発明は工具選択方法に係り、特にプログラマが通常呼
んでいる工具の呼称を用いてプログラミングができる数
値制御における工具選択方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a tool selection method, and more particularly to a tool selection method in numerical control that allows programming using tool names normally called by a programmer.

数値制御工作機械は数値制御装置の制御に基し・て工具
或いはテーブルを指令通路に沿って移動させ、該工具に
よりワークに指令通りの加工を行なう。か\る工作機械
は複数本の工具を有し、加]二の種類に応じて所定の工
具を自動的に選択して加工が行なえるようになっている
。即ち、NCプログラム中に所望の工具選択命令(T機
能命令とし・い、アルファベット″T“と°“T″に続
く工具番号で表現される)を挿入しておけばNC装置は
NCプログラムデータ中よりアルファベット’T”、c
 ’RJ 別]、てパT′″に続く工具番号な工作機械
に出力し、工作機械をして該工具番号に応じた工具を選
択させ、該工具によりワークに加工を実行させる。尚、
工具径又は工具長補正番号(工具補正番号というンは工
具選択命令を゛Tr]ロロロ″ の如くアルファベラ、
−+、r11と”’l”’ K続く4桁の数値で表現し
、下2桁で補正番号を指令する(上2桁は工具番号2こ
とにより、或いは工具選択命令’l”1’ロロH○○″
の如くアルファベット@ITIIとT”Ic続く2桁の
工具番号と、アルファベット”H’″と”H” K !
 < 2 桁の数値とで指令し、アルファベットパ′″
に続<2■( 桁で工具補正番号を指令することにより行われる。
A numerically controlled machine tool moves a tool or a table along a command path under the control of a numerical control device, and uses the tool to machine a workpiece according to the command. These machine tools have a plurality of tools, and can perform machining by automatically selecting a predetermined tool depending on the type. In other words, by inserting a desired tool selection command (referred to as a T function command, expressed by the alphabet "T" and the tool number following "T") into the NC program, the NC device can select the desired tool in the NC program data. From the alphabet 'T', c
'RJ Separate], the tool number following Tepa T''' is output to the machine tool, the machine tool selects the tool corresponding to the tool number, and executes machining on the workpiece using the tool.
Tool diameter or tool length compensation number (Tool compensation number is a tool selection command such as ``Tr''
-+, r11 and "'l"'K It is expressed as a four-digit numerical value, and the lower two digits command the correction number (the upper two digits are the tool number 2, or the tool selection command 'l'1' Roro H○○″
Like the alphabet @ITII and T"Ic followed by the two-digit tool number, and the alphabet "H'" and "H" K!
< Command with 2-digit numerical value and alphabet pattern
This is done by commanding the tool compensation number using the <2■ ( digits).

以上のように、従来は■具交俟命令をアルファベット”
TI+或いはH#に工具番号と工具補正番号を付して作
成しなけねばならないため選択すべき工具の工具番号と
]−具補正番号を一々調べて、プログラミングをしなけ
ればならなかった。このため、プログラミングが煩雑と
なり、しかもプログラムミスを生じる原因となってし・
た。特に、IJリルーψ6−I、20 というように同
一呼称を有する複数本の工具が設けられている場合には
どの順序で工具を使用するのか(fl用順序管理ン、ど
のぐらり・使用したら次の」具を選択使用するのか(寿
命管理)を考シしながら工具を選択し、その工具番号及
び工具補正番号を指令しなくてはならないため、ますま
す7′ログラミングが煩雑になっている。
As mentioned above, in the past, ■
Since TI+ or H# must be created with a tool number and tool compensation number attached, programming must be performed by checking the tool number and tool compensation number of the tool to be selected one by one. This makes programming complicated and causes programming errors.
Ta. In particular, when there are multiple tools with the same name, such as IJ Reloo ψ6-I, 20, in which order should the tools be used? Because it is necessary to select a tool while considering whether to select and use the tool (life management) and to specify its tool number and tool correction number, 7' logging is becoming increasingly complicated.

以上から、本発明は工具番号や工具補正番号を指令する
必要がなく、工具呼称を指令するだけで工具選択命令を
作成できると共に、初数本の同一呼称を有する工具が設
けられていても自動的に使用順序管理や寿命管理が行な
える工具選択方法を提供することを目的とする。
From the above, the present invention does not require commanding the tool number or tool compensation number, and can create a tool selection command just by commanding the tool name. The purpose of the present invention is to provide a tool selection method that allows for manual usage order management and tool life management.

以)、本発明の実施例を図面に従って詳細に説明する。Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例ブロック図であり、不揮発性の
メモリ101には第2図に示すように工具呼称と工具番
号と工具補正番号と工具使用順位と工具寿命(使用回数
)の対応関係が記憶されている。尚、工具寿命としては
工具使用回数の外工具使用時間であってもより・。順位
メモリ102は各工具呼称に対応して記憶領域を有し、
工具呼称を指令したとき選択される工具の使用順位が記
憶され、回数メモリ103は各工具呼称に対応して記憶
領域を有し、工具呼称を指令したとき選択される工具の
使用回数が記憶されている。
FIG. 1 is a block diagram of an embodiment of the present invention, and as shown in FIG. 2, a nonvolatile memory 101 stores correspondence between tool name, tool number, tool compensation number, tool use order, and tool life (number of uses). Relationships are remembered. In addition, the tool life is longer than the number of times the tool is used, even if it is the number of times the tool is used. The ranking memory 102 has a storage area corresponding to each tool name,
The order of use of the tools selected when a tool name is commanded is stored, and the number of times memory 103 has a storage area corresponding to each tool name, and the number of times of use of the tool selected when a tool name is commanded is stored. ing.

NCテープ104ニは工具選択命令を除き通常のフォー
マットでNCプログラムデータが記憶されている。工具
選択命令はアルファベット″1itHとttT”K続く
工具呼称によって作成され、NCプログラム中の適所K
ltlj人されている。NCプログラムデータはテープ
リーダ105により読みとられデコーダ106に印加さ
れ、こ\でデコード処理ヲ施される。NCデータが通路
データ(移動に関するデータ)、G機能命令等であれば
デコーダ106はこれらを線11を介して図示しない処
理部に送出し、M機能命令、S機能命令であれば工作機
械側に出力する。又、デコーダ106はアルファベット
+T′″を判別するとアルファベラ) ”T” K続く
工具呼称を線1.VC出力する。さて、初期時、不揮発
性メモリで構成された順位メモリ102には使用順位を
示す数値1が各工具呼称に対応して記憶されているから
指令された工具呼称と、該工具呼称に対応する順位(数
値1)がアドレス変換107に入力される。アドレス変
換器107は工具呼称とIFI位データとを用いて所定
のアドレス信号ADVC変換して出力する。糟、み/書
き制御回路108は該アドレス信号ADに基いてメモリ
101から使用順位第1位で且つ指令された工具呼称に
対応するアドレスより記憶データ(工具番号、工具補正
番号、使用順位、使用回数)を読み出しレジスタ109
1’ll:セットする。
The NC tape 1042 stores NC program data in a normal format except for tool selection commands. The tool selection command is created by the tool name followed by the alphabets "1itH" and "ttT"K, and is placed at the appropriate place K in the NC program.
ltlj people have been. The NC program data is read by a tape reader 105 and applied to a decoder 106, where it is decoded. If the NC data is path data (data related to movement), G function command, etc., the decoder 106 sends these to a processing section (not shown) via line 11, and if it is an M function command or S function command, it is sent to the machine tool side. Output. Also, when the decoder 106 determines the alphabet +T''', it outputs the tool name following "T" K on the line 1.VC.In the initial stage, the order of use is stored in the order memory 102, which is made up of non-volatile memory. Since the indicated numerical value 1 is stored corresponding to each tool name, the commanded tool name and the rank (numerical value 1) corresponding to the tool name are input to the address converter 107.The address converter 107 converts the tool name The read/write control circuit 108 converts and outputs a predetermined address signal ADVC using the address signal AD and IFI rank data.The read/write control circuit 108 selects from the memory 101 the name of the tool that is first in the order of use and has been commanded, based on the address signal AD. Read the stored data (tool number, tool compensation number, order of use, number of uses) from the address corresponding to the register 109
1'll: Set.

レジスタ109にセットされた工具番号はデ−タ入出力
部110の制御で工作機械側に出力され、工具補正番号
は図示しない処理部に出力され該処理部にて工具通路の
補正のために用いられる。
The tool number set in the register 109 is output to the machine tool side under the control of the data input/output unit 110, and the tool correction number is output to a processing unit (not shown) and used in the processing unit to correct the tool path. It will be done.

一方、上記と並行してNCテープ101かも指令された
工具呼称は実際の使用回数(初期値は零)を記憶する不
揮発性の回数メモ1J103に入力され、該回数メモリ
より指令された工具呼称により選択される工具の実際の
使用回数が線1.に出力され−る。
On the other hand, in parallel with the above, the tool name commanded by the NC tape 101 is input into the non-volatile number memo 1J103 that stores the actual number of times of use (initial value is zero), and the tool name commanded from the number of times memory is used. The actual number of times the selected tool is used is line 1. It is output to.

該実際の使用口aは加′PI器111にて+1加算され
、その加算結果Naは比較部1.12に印加され、ここ
でレジスタ109にセットされている最大使用回数Nm
 と比較される。比較部112はNm=Naであれば線
14に1致信号COI (= ”1”)を出力し、Nm
)Naであれば線6に不一致信号来C0I(=“1″)
を出力する。工具の実際の使用回数Naが最大使用回数
Nmに到達していなけねば(CO3−”1”、 Na(
Nm)、マルチプレクサ113は実際の使用回数Naを
工具呼称が指示するアドレスに記憶し、又実際の使用回
数が最大使用回数Nm[到達すしば(来C0I= ”1
”、 Na=Nm)マルチプレクサ113は零を工具呼
称が指示するアドレスに記憶する。又、へa=Nm[よ
り順位更新部114は順位メモリ102がら出力されて
いる順位mK1)1加え(tn + 1 )とし、該新
順位(m+1)を工具呼称が指示する+i位メモIJ1
02の所定のアドレスに記憶する。以後、工具選択命令
が指令される毎に…1把と同様な処理が施されて所望の
工具が選択されると共に、工具の寿命管理が回数メモリ
103、加算器111 +比較部112及びマルチプレ
クサ113において行われ、又工具使用順6γ管理が順
位メモリ102及びllliff位更新部114におい
て行われ、工具の寿命がくると次のIWA位の工具が選
択されるように制御が行われる。
The actual usage port a is added +1 by the adder PI unit 111, and the addition result Na is applied to the comparator 1.12, where the maximum number of usage Nm set in the register 109 is
compared to If Nm=Na, the comparator 112 outputs a coincidence signal COI (= "1") to the line 14, and Nm
) Na, there is a mismatch signal on line 6 C0I (="1")
Output. The actual number of uses Na of the tool must reach the maximum number of uses Nm (CO3-"1", Na(
Nm), the multiplexer 113 stores the actual number of uses Na at the address indicated by the tool name, and also stores the actual number of uses Na at the address indicated by the tool name, and when the actual number of uses reaches the maximum number of uses Nm
”, Na=Nm) The multiplexer 113 stores zero at the address indicated by the tool name. Also, to a=Nm[, the rank update unit 114 adds 1 to the rank mK1) output from the rank memory 102 and (tn + 1), and the tool name indicates the new rank (m+1) +i rank memo IJ1
02 at a predetermined address. From then on, every time a tool selection command is issued...the same process as for one batch is performed to select a desired tool, and the life of the tool is managed using the number memory 103, adder 111 + comparator 112, and multiplexer 113. In addition, tool usage order 6γ management is performed in the ranking memory 102 and the llliff rank update unit 114, and control is performed so that when the tool life reaches the end, the next IWA rank tool is selected.

尚、工具の摩耗等に応じて各工具の工具補正番号を変更
する必要があるときはMDI(マニーアルデータインプ
ット装置)115より所定のデータを入力してメモリ1
01の内容を書き換えることができるように構成されて
いる。
If it is necessary to change the tool compensation number of each tool due to tool wear, etc., input the specified data from the MDI (Manual Data Input Device) 115 and store it in the memory 1.
It is configured so that the contents of 01 can be rewritten.

以上、本発明によれば工具呼称を指令するだけでよく、
工具番号、工具補正番号ケー々調べて入力する必要がな
いからプログラミングが容易になると共に、プログラム
ミスがなくなった。父、各工具につぎ寿命管理及び使用
1順位管理をNC装置内部で自動的に行なうように構成
したからますますプログラミングが容易となり、しかも
NC装置の操作性を向上できる。
As described above, according to the present invention, it is only necessary to command the tool name,
There is no need to look up and enter tool numbers and tool compensation numbers each time, making programming easier and eliminating programming errors. Since the NC device is configured to automatically perform life management and usage ranking management for each tool, programming becomes easier and the operability of the NC device can be improved.

本説明中の工具使用回数を工具の使用時間とすることも
可能である。
It is also possible to use the number of times the tool is used in this description as the tool usage time.

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

第1図は本発明の実施例ブロック図、第2図は工具呼称
と工具コード、工具補正番号、使用順位、最大使用回数
の対応表である。 101・・・メモリ、102・・・順位メモリ、103
・・・Up1vメモリ、104・・・NCテープ、10
5・・・テープリーダ、106・・・デコーダ、107
・・・アドレス変換器、108・・・読み/■き制御回
路。 109・・・レジスタ、   110・・・データ入出
力部、111・・ 加害」;、 112・・・比較部、
113・・・マルチプレクサ、114・・・順位更新部
、115・・・Ml)I装置特許出願人 ファナック株
式会社
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a correspondence table of tool name, tool code, tool correction number, usage order, and maximum number of times of use. 101...Memory, 102...Order memory, 103
...Up1v memory, 104...NC tape, 10
5... Tape reader, 106... Decoder, 107
...Address converter, 108...Reading/■ writing control circuit. 109...Register, 110...Data input/output section, 111...Assault'';, 112...Comparison section,
113... Multiplexer, 114... Rank update unit, 115... Ml) I device patent applicant FANUC CORPORATION

Claims (4)

【特許請求の範囲】[Claims] (1)工作機械が使用する工具を選択する工具交換方法
において、工具呼称と工具番号との対応関係を記憶手段
に記憶するステップと、数値制御プログラムデータに含
まれる工具呼称を判別するステップと、判別された工具
呼称に対応する工具コードを前記記憶手段から読み取る
ステップと、該工具コードを工作機械に出力するステッ
プと、工作機械側において該工具コードに基いて所定の
工具を選択するステップを有することを特徴とする工具
選択方法。
(1) In a tool changing method for selecting a tool to be used by a machine tool, a step of storing a correspondence relationship between a tool name and a tool number in a storage means, a step of determining a tool name included in numerical control program data, The method includes the steps of reading a tool code corresponding to the determined tool name from the storage means, outputting the tool code to the machine tool, and selecting a predetermined tool on the machine tool side based on the tool code. A tool selection method characterized by:
(2)工具呼称と工具番号との対応に加え工具呼称と工
具補正番号の対応をも記憶するようにしたことを特徴と
する特許請求の範囲第(1)項記載の工具選択方法。
(2) The tool selection method according to claim (1), characterized in that in addition to the correspondence between the tool name and the tool number, the correspondence between the tool name and the tool correction number is also stored.
(3)工作機械が使用する工具を選択する工具選択方法
にお℃・て、1つの工具呼称に対して複数の工具を対応
させると共に各工具の使用順位並びに最大使用回数或い
は最大使用時間を定め、工具呼称と前記工具の番号との
対応関係を各工具の使用順位並びに最大使用回数或い&
′!最大使用時間と共に記憶するステラ/工具の使用回
数或いは使用時間を監視し、工具呼称毎に使用すべき工
具の順位を指示するステップ、数値制御プログラムデー
タに含まれる工具呼称を判別するステップ、判別された
工具呼称に対応する複数の工具のうち前記指示された順
位に対応する工具の工具番号を読み出すステップ、該工
具番号を工作機械に出力するステップ、工作機械側にお
いて該工具コードに基いて所定の工具を選択するステッ
プを有することを特徴とする工具選択刃コム。
(3) In the tool selection method for selecting tools used by machine tools, one tool name is associated with multiple tools, and the order of use and maximum number of uses or maximum use time of each tool is determined. , the correspondence between the tool name and the tool number, the order of use of each tool and the maximum number of times of use or &
′! A step of monitoring the number of times or usage time of Stella/tools stored together with the maximum usage time, and instructing the order of tools to be used for each tool name, a step of determining the tool name included in the numerical control program data, and a step of determining the tool name included in the numerical control program data. A step of reading the tool number of the tool corresponding to the specified order among the plurality of tools corresponding to the tool name, a step of outputting the tool number to the machine tool, and a step of outputting the tool number on the machine tool side based on the tool code. A tool selection blade comb characterized by having a step of selecting a tool.
(4)工具呼称と工具番号との対応に加えて、工具呼称
と工具補正番号の対応をも記憶するようにしたことを特
徴とする特許請求の範囲第(3)項記載の工具選択方法
(4) The tool selection method according to claim (3), characterized in that in addition to the correspondence between the tool name and the tool number, the correspondence between the tool name and the tool correction number is also stored.
JP14302882A 1982-08-18 1982-08-18 Tool selecting method Pending JPS5937028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14302882A JPS5937028A (en) 1982-08-18 1982-08-18 Tool selecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14302882A JPS5937028A (en) 1982-08-18 1982-08-18 Tool selecting method

Publications (1)

Publication Number Publication Date
JPS5937028A true JPS5937028A (en) 1984-02-29

Family

ID=15329224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14302882A Pending JPS5937028A (en) 1982-08-18 1982-08-18 Tool selecting method

Country Status (1)

Country Link
JP (1) JPS5937028A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5378218A (en) * 1990-07-03 1995-01-03 Kabushiki Kaisha Komatsu Seisakusho NC-machining controller
JP2005034874A (en) * 2003-07-14 2005-02-10 Amada Co Ltd Method for managing die in punch press and device therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5378218A (en) * 1990-07-03 1995-01-03 Kabushiki Kaisha Komatsu Seisakusho NC-machining controller
JP2005034874A (en) * 2003-07-14 2005-02-10 Amada Co Ltd Method for managing die in punch press and device therefor

Similar Documents

Publication Publication Date Title
ES2307641T3 (en) DEVICE AND METHOD FOR THE CONTROL OF A TOOL MACHINE.
JPH0463652A (en) Nc machine control device
US8195911B2 (en) Numerical controller capable of dividing and combining memory areas to store machining programs and binary data
JPH1076446A (en) Device and method for controlling production process
EP0148273B1 (en) Numerical control apparatus
TWI419168B (en) Data programming method and data reading method and one-time programmable memory using thereof
US5126956A (en) Method and apparatus for displaying segments of a ladder diagram which turn on an operator specified relay
JPS59142613A (en) Restart controller of numerical control working
JPS5937028A (en) Tool selecting method
JPS6347805A (en) Override playback system
JPH02109657A (en) Automatic selection of tool
JPS6336525B2 (en)
JPH05143136A (en) File editor
US4675843A (en) Programmable logic controller
JP2004199530A (en) Numerical value control device having parameter rewriting history function
JPS6140608A (en) Controller of robot or the like
JPH03245949A (en) Method of managing tool life
JPH0643920A (en) Tool control system
JPH064214B2 (en) Machining sequence control method for numerically controlled machine tools
JPH01273300A (en) Storage device with redundant memory
JP3216208B2 (en) Data management device
JPS61286906A (en) Nc program converter
JPH0353642B2 (en)
JPS61114313A (en) Machine controller
JPS63250705A (en) Numerical controller