JPS6115204A - Automatic fitting corrector of numerical controller - Google Patents

Automatic fitting corrector of numerical controller

Info

Publication number
JPS6115204A
JPS6115204A JP13627484A JP13627484A JPS6115204A JP S6115204 A JPS6115204 A JP S6115204A JP 13627484 A JP13627484 A JP 13627484A JP 13627484 A JP13627484 A JP 13627484A JP S6115204 A JPS6115204 A JP S6115204A
Authority
JP
Japan
Prior art keywords
dimension
symbol
fit
read
tolerance
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
JP13627484A
Other languages
Japanese (ja)
Inventor
Mitsuto Miyata
宮田 光人
Masahiko Fukuda
雅彦 福田
Masanao Suemoto
末元 昌直
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 JP13627484A priority Critical patent/JPS6115204A/en
Publication of JPS6115204A publication Critical patent/JPS6115204A/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/408Numerical 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 data handling or data format, e.g. reading, buffering or conversion of data
    • 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/50336Tool, probe offset for curves, surfaces, contouring

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To omit the time needed for calculation of the actual dimension from a processing drawing by detecting a fit symbol to read the dimension corresponding to the detected read out of a memory means and calculating the cutting dimension from said read dimension and the reference dimension designated by an NC program. CONSTITUTION:When a fit symbol put between the prescribed section symbols is detected out of an NC command program PG by a fit symbol detecting means DE, a reading means DR reads the dimension corresponding to the detected fit symbol out of a memory means MM. A cutting dimension calculating means AR calculates the cutting dimension from the dimension read by the means RD and the reference dimension related to the fit symbol contained in the program PG. In such a way, it is possible to omit the time needed to calculate the actual dimension from the fit symbols written to a processing drawing, etc. Furthermore the miscutting owing to a calculation mistake can also be prevented.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は数値制御装置に関するものである。[Detailed description of the invention] Industrial applications The present invention relates to a numerical control device.

従来の技術 軸と穴等、互いに組合される部材を加工する場合、それ
らのはめあいを考慮しなければならない。
BACKGROUND ART When machining members that are combined with each other, such as a shaft and a hole, the fit between them must be considered.

例えば軸が清らかに回転する必要があるなら、穴の直径
は軸のそれより少しだけ大きくしなければならない。
For example, if the shaft needs to rotate cleanly, the diameter of the hole should be slightly larger than that of the shaft.

従来の数値制御装置では、これらのはめあいを考慮した
寸法を直接プログラムする必要があった。
With conventional numerical control devices, it was necessary to directly program dimensions that take these fits into account.

例えば、直径100+wmの軸と穴を加工する場合、穴
はZ 100.01、軸は299.99という具合に指
定する必要があった。この方法では、図面上に記載され
たJISのはめあい記号から実際の寸法を割出す必要が
あり、多くの労力を必要とするばありか計算ミス等によ
る誤切削の危険性もあった。
For example, when machining a shaft and hole with a diameter of 100+wm, it was necessary to specify Z 100.01 for the hole and 299.99 for the shaft. In this method, it is necessary to determine the actual dimensions from the JIS fitting symbols written on the drawing, which requires a lot of labor and there is also a risk of erroneous cutting due to calculation errors.

発明が解決しようとする問題点 本発明はこのような従来の欠点を改善したもので、その
目的は、はめあいを考慮した寸法をJISのはめあい記
号を使って指定できるようにすることにある。
Problems to be Solved by the Invention The present invention improves on these conventional drawbacks, and its purpose is to make it possible to specify dimensions that take fit into consideration using JIS fit symbols.

問題点を解決するための手段 本発明は上記問題点を改善するために、第1図に示すよ
うに、はめあい記号に対応した寸法を記憶する記憶手段
−Hと、NC指令プログラムPG中から所定の区切記号
で挟まれたはめあい記号を検出するはめあい記号検出手
段DBと、検出手段DBで検出したはめあい記号に対応
する寸法を記憶手段MMから読取る読取り手段RDと、
読取り手段RDで読取られた寸法とNC指令プログラム
PGに含まれる前記はめあい記号に係わる基準寸法とか
ら切削寸法を算出する切削寸法算出手段At?とから成
る自動はめあい補正器を数値制御装置に設ける。
Means for Solving the Problems In order to improve the above-mentioned problems, the present invention, as shown in FIG. a fitting symbol detection means DB for detecting the fitting symbol sandwiched between the delimiters; a reading means RD for reading the dimensions corresponding to the fitting symbol detected by the detection means DB from the storage means MM;
Cutting dimension calculating means At? which calculates cutting dimensions from the dimensions read by the reading means RD and the reference dimensions related to the fitting symbol included in the NC command program PG. The numerical control device is provided with an automatic fit corrector consisting of:

作用 NC指令プログラムにはめあい記号が含まれていると、
検出手段DBにより検出され、そのはめあい記号に対応
する寸法が読取り手段ROにより記憶手段間から読取ら
れ、この寸法とNC指令プログラムで指定された基準寸
法とから切削寸法算出手段ARで切削寸法が算出される
If the action NC command program includes a fitting symbol,
The dimension detected by the detection means DB and corresponding to the fitting symbol is read from between the storage means by the reading means RO, and the cutting dimension is calculated by the cutting dimension calculation means AR from this dimension and the reference dimension specified by the NC command program. be done.

実施例 第2図は本発明の自動はめあい補正器を有する数値制御
装置の要部ブロック図であり、1はマイクロコンピュー
タで、周辺回路とはデータバス。
Embodiment FIG. 2 is a block diagram of a main part of a numerical control device having an automatic fit corrector according to the present invention, in which 1 is a microcomputer and peripheral circuits are a data bus.

アドレスバス、コントロールハスを含むバス2により相
互に接続されている。NC指令プログラムは指令テープ
3の形式で与えられたときはテープリーダ4を介して読
取られ、外部力セントメモリ5に記憶された形式で与え
られたときは該メモリ5から読取られる。マイクロコン
ピュータlはNC指令プログラムを実際の制御に先行し
て1ブロツクずつ読取り、一旦一時パフファメモリ6に
記・憶し、形式的なチェック等を実行する。実際の加工
制御は一時パンファメモリ6に記憶されたNC指令プロ
グラムのブロックを解読し、所定の演算等を行なって得
た運転情報をX軸位置制御回路7゜Y軸位置制御回路8
. 2軸位置制御回路9に与えることによりX軸モータ
10.  Y軸モータ11.z軸モータ12をコントロ
ールする。はめあい記号に対応する寸法データはパラメ
ータとして予めROM13に記憶される。これは、キー
ボード14より設定することができる。また15はRA
Mであり、演算用等に使用される。
They are interconnected by a bus 2 including an address bus and a control bus. The NC command program is read via the tape reader 4 when it is given in the form of a command tape 3, and from the memory 5 when it is given in the form stored in the external force center memory 5. The microcomputer 1 reads the NC command program block by block prior to actual control, temporarily stores it in the puffer memory 6, and executes formal checks and the like. Actual machining control is performed by decoding the blocks of the NC command program temporarily stored in the expansion memory 6, performing predetermined calculations, etc., and transmitting the operating information obtained to the X-axis position control circuit 7 and the Y-axis position control circuit 8.
.. The X-axis motor 10. Y-axis motor 11. Controls the z-axis motor 12. The dimensional data corresponding to the fitting symbol is stored in advance in the ROM 13 as a parameter. This can be set using the keyboard 14. Also 15 is RA
M, and is used for calculations, etc.

はめあい記号は、良く知られているように、H2h等の
穴或は軸の基礎となる許容差を示す許容差記号と、基本
公差を示すI T (ISO5eries of to
l−eranceの略)番号とから成り、許容差記号は
1字或は2字からなるアルファベントが用いられ穴には
大文字(A−ZC)、軸には小文字(axzc)のそれ
ぞれ28種がJISで規定されている。また、I丁番号
は、ITOI、ITO,ITl、、 −1716の合計
18種類があり、500mm以下の寸法を13区分にわ
けているので13 X 1B= 234個の基本公差が
定められ、更に500mmを越える3150mm以下の
寸法に対しては8区分にわけ、IT6からlT16まで
の11種類について8X11=88個の基本公差が定め
られている。ROM13に、はめあい記号に対応してデ
ータを記憶する方法としてtよ以下のような方法等が採
用できる。
As is well known, the fit symbols are the tolerance symbol, such as H2h, which indicates the basic tolerance of the hole or shaft, and the IT (ISO5eries of to
(abbreviation of l-erance) number, and the tolerance symbol is an alpha bent consisting of one or two letters. There are 28 types of uppercase letters (A-ZC) for the hole and lowercase letters (axzc) for the shaft. It is specified by JIS. In addition, there are a total of 18 types of I-numbers: ITOI, ITO, ITl, -1716, and dimensions of 500 mm or less are divided into 13 categories, so 13 x 1B = 234 basic tolerances are determined, and furthermore, 500 mm. Dimensions exceeding 3150 mm or less are divided into 8 categories, and 8×11=88 basic tolerances are defined for 11 types from IT6 to IT16. As a method of storing data corresponding to the fitting symbol in the ROM 13, the following methods can be adopted.

fil第3図(a)、  (b)に示すように、許容差
記号A、 B、 −、ZCおよびa、 b、 −、2C
$JIcで定められた全ての許容差記号或は当該数値制
御装置の通用範囲を考慮した限られた許容差記号に対応
する許容差を記憶すると共に、第4図に示すようにJI
Sで定められた全ての寸法区分。
fil As shown in Figure 3 (a) and (b), tolerance symbols A, B, -, ZC and a, b, -, 2C
In addition to storing the tolerances corresponding to all the tolerance symbols specified by $JIc or the limited tolerance symbols that take into account the applicable range of the numerical control device, the JIc as shown in Figure 4
All size categories defined in S.

全てのIT番号に対応する基本公差、或は当該数値制御
装置の適用範囲を考慮した寸法区分及びIT番号に対応
する基本公差を記憶する。
The basic tolerances corresponding to all IT numbers or the basic tolerances corresponding to dimensional classifications and IT numbers taking into account the applicable range of the numerical control device are stored.

(2)第3図(a)、  (b)に示すように、許容差
記号A、 B、 −、ZCおよびa、b、−2z c等
JICで定められた全ての許容差記号或は当該数値制御
装置の適用範囲を考慮した限られた許容差記号に対応す
る許容差を記憶すると共に、JISで定められた全ての
寸法区分、全てのIT番号に対応する基本公差の1/2
の値、或は当該数値制御装置の適用範囲を考慮した寸法
区分及びIT番号に対応する基本公差の1/2の値を記
憶する。
(2) As shown in Figure 3 (a) and (b), all tolerance symbols specified by JIC such as A, B, -, ZC, a, b, -2z c, etc. or the corresponding In addition to memorizing the tolerance corresponding to a limited tolerance symbol that takes into account the scope of application of the numerical control device, it also stores 1/2 of the basic tolerance corresponding to all dimension categories and all IT numbers specified by JIS.
or 1/2 value of the basic tolerance corresponding to the size classification and IT number considering the applicable range of the numerical control device.

はめあい記号を用いたNC指令プログラムブロックとし
ては、例えば他の目的で使用されない記号例えば<、〉
を区切り記号とし、制御軸、基準寸法、<、はめあい記
号、〉の順で記載する。基準寸法が601.基礎となる
許容差が0μm、基本公差が30 μmなる穴(60〜
60.030111111の範囲の穴を示す)の場合は
、260<H7>と指令し、また、基準寸法が5Qa+
m、基礎となる許容値が一85μm。
Examples of NC command program blocks using matching symbols include symbols that are not used for other purposes, such as <, >
is used as a delimiter, and the control axis, standard dimension, <, fit symbol, and > are written in this order. Standard dimensions are 601. Holes with basic tolerance of 0 μm and basic tolerance of 30 μm (60~
60.030111111), specify 260<H7> and the standard dimension is 5Qa+
m, the underlying tolerance is 185 μm.

基本公差が100μmなる軸(49,815〜49.9
15mmの範囲の軸)の場合は、Z50<−E9>と指
令する。
Axis with basic tolerance of 100 μm (49,815 to 49.9
For an axis with a range of 15 mm), specify Z50<-E9>.

ここで、Zは制御軸で、他軸の場合にはX、Y等が付さ
れる。また−Eとして小文字のeを使用しないのは、数
値制御装置のキーボードにはアルファベントの小文字が
ないからで、大文字の前に−(マイナス記号)を付加す
ることにより小文字と認識させる為である。
Here, Z is a control axis, and in the case of other axes, X, Y, etc. are assigned. Also, the reason why the lowercase letter e is not used as -E is because the keyboard of the numerical control device does not have a lowercase alphabento letter, and by adding a - (minus sign) in front of the uppercase letter, it is recognized as a lowercase letter. .

第5図は本発明のソフトウェア構成の一例を示すフロー
チャートである。マイクロコンピュータlは図示しない
起動ボタンが押されると、テープリーダ4により指令テ
ープ3を1ブロック読取り、一時バッファメモリ6に一
旦格納する。次に、該バッファメモリ6に転送されたブ
ロック中に区切り記号<、〉があるか否かを判別し、な
ければ当該ブロックから運転情報を得るために解読、演
算等を行ない、得られたデータをRAM15に転送する
。実際の制御はこのRAM15の内容に基づき行なわれ
る。また、ブロック中に区切り記号があると、区切り記
号で挾まれたデータのアルファベット(許容差記号)に
対応する許容値をROM13がら読出すと共に、区切り
記号の前の数値(基準寸法)と、区切り記号で挾まれた
データの数値(I子番号)に対応する基本公差をR2M
17がら読取る。そして、これら読取った許容値、基本
公差および基準寸法とから切削寸法を算出する。この算
出は、例えば基本公差が前記(11の形式で与えられて
いる場合、 基準寸法十許容差士(基本公差/2) で算出される。なお、士は穴の場合+、軸の場合−とな
る。また、基本公差が前記(2)の形式で与えられてい
る場合は、既に基本公差が1/2になっているので、 基準寸法+許容差出基本公差 で求められる。
FIG. 5 is a flowchart showing an example of the software configuration of the present invention. When a start button (not shown) is pressed, the microcomputer 1 reads one block of the command tape 3 using the tape reader 4 and temporarily stores it in the temporary buffer memory 6. Next, it is determined whether or not there is a delimiter <,> in the block transferred to the buffer memory 6, and if not, decoding, calculation, etc. are performed to obtain driving information from the block, and the obtained data is is transferred to the RAM 15. Actual control is performed based on the contents of this RAM 15. Additionally, if there is a delimiter in a block, the tolerance value corresponding to the alphabet (tolerance symbol) of the data sandwiched by the delimiter is read from the ROM 13, and the numerical value (standard dimension) before the delimiter and the The basic tolerance corresponding to the numerical value (I child number) of the data sandwiched by the symbol is R2M
Read from 17. Then, cutting dimensions are calculated from these read tolerance values, basic tolerances, and reference dimensions. For example, if the basic tolerance is given in the format (11) above, it is calculated as follows: standard dimension + tolerance (basic tolerance/2). In addition, if the basic tolerance is given in the format (2) above, the basic tolerance is already 1/2, so it can be found by the standard dimension + tolerance basic tolerance.

上記のようにして切削寸法を算出すると、マイクロコン
ピュータ1は一時バツクアメモリ6に記憶されているブ
ロックにおける基準寸法2区切り記号およびこの区切り
記号で挾まれたデータを切削寸法で置換し、運転情報等
の算出ステップへ以降する。
When the cutting dimensions are calculated as described above, the microcomputer 1 replaces the reference dimension 2 delimiter and the data interposed with this delimiter in the block stored in the temporary backup memory 6 with the cutting dimension, and stores the operating information, etc. Proceed to the calculation step.

なお第5図においては、一つのブロックの処理が終了す
るとマイクロコンピュータ1は次のプロ・ツクを一時バ
ッファメモリ6に読取って同様な処理を実行するもので
ある。
In FIG. 5, when the processing of one block is completed, the microcomputer 1 reads the next block into the temporary buffer memory 6 and executes the same processing.

発明の詳細 な説明したように、本発明によれば、はめあいを考慮し
た寸法をJISのはめあい記号を使って直接プログラム
できるので、従来の如く加工図面等に記載されているは
めあい記号から実際の寸法を算出する手間が省け、また
計算ミスにより誤切削も防止することができる。
As described in detail, according to the present invention, dimensions that take fit into account can be directly programmed using JIS fit symbols, so actual dimensions can be determined from fit symbols written on processing drawings, etc., as in the past. This saves the time and effort to calculate the value, and also prevents erroneous cutting due to calculation errors.

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

第1図は本発明の構成説明図、第2図は本発明のハード
ウェア構成の一例を示すブロック図、第3図は許容差記
号に対応して許容差を記憶するROM5の内容説明図、
第4図は寸法区分および■T等級に対応して基本公差を
記憶するROM5の内容説明図、第5図は本発明のソフ
トウェア構成の一例を示すフローチャートである。 1はマイクロコンピュータ、2はそのバス、3は指令テ
ープ、4はテープリーダ、5は外部カセットメモリ、6
は一時バッファメモリ、7,8゜9はx、y、z軸位置
制御回路、10.11.12はX。 y、z軸モータ、13はROM、14はキーボード】5
はRAMである。
FIG. 1 is an explanatory diagram of the configuration of the present invention, FIG. 2 is a block diagram showing an example of the hardware configuration of the present invention, and FIG. 3 is an explanatory diagram of the contents of the ROM 5 that stores tolerances in correspondence with tolerance symbols.
FIG. 4 is an explanatory diagram of the contents of the ROM 5 that stores basic tolerances corresponding to size classifications and ■T classes, and FIG. 5 is a flowchart showing an example of the software configuration of the present invention. 1 is a microcomputer, 2 is its bus, 3 is a command tape, 4 is a tape reader, 5 is an external cassette memory, 6
is a temporary buffer memory, 7, 8°9 is an x, y, and z axis position control circuit, and 10.11.12 is an X. y and z axis motors, 13 is ROM, 14 is keyboard]5
is RAM.

Claims (1)

【特許請求の範囲】[Claims] はめあい記号に対応した寸法を記憶する記憶手段と、N
C指令プログラム中から所定の区切記号で挟まれたはめ
あい記号を検出するはめあい記号検出手段と、該検出手
段で検出したはめあい記号に対応する寸法を前記記憶手
段から読取る読取り手段と、該読取り手段で読取られた
寸法と前記NC指令プログラムに含まれる前記はめあい
記号に係わる基準寸法とから切削寸法を算出する切削寸
法算出手段とを具備したことを特徴とする数値制御装置
の自動はめあい補正器。
a storage means for storing dimensions corresponding to the fitting symbol;
a fitting symbol detection means for detecting a fitting symbol sandwiched between predetermined delimiters from a C command program; a reading means for reading a dimension corresponding to the fitting symbol detected by the detection means from the storage means; An automatic fit corrector for a numerical control device, comprising a cutting dimension calculation means for calculating a cutting dimension from the read dimension and a reference dimension related to the fitting symbol included in the NC command program.
JP13627484A 1984-06-30 1984-06-30 Automatic fitting corrector of numerical controller Pending JPS6115204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13627484A JPS6115204A (en) 1984-06-30 1984-06-30 Automatic fitting corrector of numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13627484A JPS6115204A (en) 1984-06-30 1984-06-30 Automatic fitting corrector of numerical controller

Publications (1)

Publication Number Publication Date
JPS6115204A true JPS6115204A (en) 1986-01-23

Family

ID=15171359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13627484A Pending JPS6115204A (en) 1984-06-30 1984-06-30 Automatic fitting corrector of numerical controller

Country Status (1)

Country Link
JP (1) JPS6115204A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008149431A1 (en) 2007-06-06 2008-12-11 Mitsubishi Electric Corporation Program creation device, numeric control device, and program creation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008149431A1 (en) 2007-06-06 2008-12-11 Mitsubishi Electric Corporation Program creation device, numeric control device, and program creation method
US8185225B2 (en) 2007-06-06 2012-05-22 Mitsubishi Electric Corporation Program creation apparatus, numerical control apparatus, program creation method

Similar Documents

Publication Publication Date Title
US5941966A (en) Method and apparatus using a plural level processor for controlling a data bus
JPS6115204A (en) Automatic fitting corrector of numerical controller
EP0070184B1 (en) A method of testing memory
CN112491681A (en) Method and system for reading automobile bus data
US6907503B2 (en) Dual port RAM communication protocol
JP2731047B2 (en) Program operand check method
US20040093357A1 (en) Method for parameterizing an apparatus
JPH04152488A (en) Ic card
JP3154853B2 (en) Illegal memory access detection method
CN115964225A (en) Response protection monotonic counter, counting method and storage medium
JPH02146137A (en) Magnetic tape device
JP3110222B2 (en) Microcomputer
JPS6111802Y2 (en)
JP3335370B2 (en) Numerical control unit
JP2728534B2 (en) Byte position identification code setting processing method
JPH0325646A (en) Parity error discriminating system
JP2523007B2 (en) How to check the card reader / writer
JPS61199145A (en) Medium control system
JPS5839326A (en) Program loading system
JPS6253857B2 (en)
JPH09297714A (en) Method and device for backing up data
JPH086864A (en) Diagnostic system for address bus for memory control
JPH04336631A (en) Error message output system
JPS6180443A (en) Production and storage method of check data
JPH0321922B2 (en)