JPS60207910A - Numerical control device - Google Patents

Numerical control device

Info

Publication number
JPS60207910A
JPS60207910A JP6467384A JP6467384A JPS60207910A JP S60207910 A JPS60207910 A JP S60207910A JP 6467384 A JP6467384 A JP 6467384A JP 6467384 A JP6467384 A JP 6467384A JP S60207910 A JPS60207910 A JP S60207910A
Authority
JP
Japan
Prior art keywords
override
memory
override value
speed
command
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
JP6467384A
Other languages
Japanese (ja)
Inventor
Atsushi Shima
淳 島
Hideaki Inoue
秀明 井上
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 JP6467384A priority Critical patent/JPS60207910A/en
Publication of JPS60207910A publication Critical patent/JPS60207910A/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/416Numerical 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 control of velocity, acceleration or deceleration
    • 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/43Speed, acceleration, deceleration control ADC
    • G05B2219/43158Feedrate override

Abstract

PURPOSE:To execute proper feeding speed override or main axis speed override automatically by storing a feeding speed override value and a main axis speed override value in a memory in accordance with an offset No. CONSTITUTION:An offset detecting means 100 and a command speed detecting means 101 detect an offset No. commanded at present by a command program and a feeding speed or main axis speed respectively. On the other hand, a storage control means 102 stores an override value set up by an override value setting means 103 in an area of a memory 104 which corresponds to the detected result of the detecting means 100. Then, an operating means 106 multiplies the override value read out from the memory 104 by the detected result of the detecting means 101. A control means 107 controls the feeding speed or the main axis speed in accordance with the operated result. Thus, proper feeding speed override or main axis speed override can be automatically executed.

Description

【発明の詳細な説明】 発明の技術分野 本発明は数値制御装置の改良に関し、更に詳細には適切
な送り速度オーバらイド及び主軸速度オーバライドを自
動的に行なうことができる数値制御装置に関するもので
ある。
TECHNICAL FIELD OF THE INVENTION The present invention relates to an improvement in a numerical control device, and more particularly to a numerical control device that can automatically perform appropriate feed rate overrides and spindle speed overrides. be.

従来技術と問題点 数値制御装置は指令プログラムに含まれる加工経路情報
に従った経路でワークとカッタとを相対的に移動させる
ものであるが、その相対的な送り速度は指令プログラム
中の切削速度指令によって指令され、カッタが取付4J
られている主軸の回転数は主軸速度指令によって指令さ
れるものである。
Conventional technology and problems Numerical control devices move the workpiece and cutter relatively along a path according to the machining path information included in the command program, but the relative feed rate is determined by the cutting speed in the command program. Commanded by the command, the cutter is installed 4J
The rotational speed of the spindle is specified by the spindle speed command.

ところで、数値制御装置の動作を制御する指令プログラ
ムの作成は設計図に基づいて行なわれるものであり、カ
ッタやワークの祠質に対する考慮を十分に行なうことが
できないものであるから、適切な切削速度指令、主軸速
度指令を与えることができない場合があった。
By the way, the creation of the command program that controls the operation of the numerical control device is done based on a design drawing, and it is not possible to fully consider the abrasive quality of the cutter and workpiece, so it is difficult to determine the appropriate cutting speed. There were cases where it was not possible to give commands and spindle speed commands.

このような場合に対処する為、従来の数値制御装置は操
作盤にオーバライドダイヤルを設け、指令プログラムに
よって指令された送り速度或いは主軸速度をオペレータ
のダイヤル操作により修正できるようにしている。しか
し、この従来装置はオペレータが実際の加工状態を見な
からオーバライドダイヤルを操作し、送り速度或いは主
軸速度を修正するものであるから、絶えずワークの加工
状態をオペレータが監視していなければならない欠点が
あった。また、複数のワークを同一形状に加工する場合
、」二連したようにオペレータのダイヤル操作により送
り速度或いは主軸速度を修正したのでは、個々の加工精
度が異なるものとなる惧れもある。
To deal with such a case, conventional numerical control devices have an override dial on the operation panel so that the feed rate or spindle speed commanded by the command program can be corrected by the operator's dial operation. However, with this conventional device, the operator operates the override dial and corrects the feed rate or spindle speed without looking at the actual machining status, so it has the disadvantage that the operator must constantly monitor the machining status of the workpiece. was there. Furthermore, when machining a plurality of workpieces into the same shape, if the feed rate or spindle speed is corrected twice by the operator's dial operation, there is a risk that the machining accuracy of each workpiece will be different.

発明の目的 本発明は前述した如き欠点を改善したものであり、その
目的は適切な送り速度オーバライド或いは主軸速度オー
バライドを自動的に行なうことができるようにすること
にある。
OBJECTS OF THE INVENTION The present invention has been made to improve the above-mentioned drawbacks, and its purpose is to automatically perform appropriate feed rate override or spindle speed override.

発明の構成 第1図は本発明の構成図である。オフセント番号検出手
段100は指令プログラムにより現在指令されているオ
フセント番号を検出し、指令速度検出手段101は指令
プログラムにより現在指令されている送り速度或いは主
軸速度を検出する。記憶制御手段102は記憶指令によ
りオーバライド値設定手段103で設定されたオーバラ
イド値をメモリ104のオフセット番号検出手段100
の検出結果に対応した領域に記憶させる。加工時続出手
段105は、メモリ104のオフセント番号検出手段1
00の検出結果に対応した領域に記憶されているオーバ
ライド値を読出し、演算手段106はメモリ104から
読出されたオーバライド値と指令速度検出手段101の
検出結果とを乗算し、制御手段107は演算手段106
の演算結果に基づい°C送り速度或いは主軸速度を制御
する。
Configuration of the Invention FIG. 1 is a configuration diagram of the present invention. Offcent number detection means 100 detects the offcent number currently commanded by the command program, and command speed detection means 101 detects the feed speed or spindle speed currently commanded by the command program. The storage control means 102 transfers the override value set by the override value setting means 103 to the offset number detection means 100 of the memory 104 according to the storage command.
is stored in an area corresponding to the detection result. The processing time successive output means 105 includes an offset number detection means 1 in the memory 104.
The calculation means 106 reads out the override value stored in the area corresponding to the detection result of 00, and the calculation means 106 multiplies the override value read from the memory 104 by the detection result of the command speed detection means 101. 106
The °C feed rate or spindle speed is controlled based on the calculation result.

発明の実施例 第2図は本発明の実施例のブロック線図であり、1はマ
イクロプロセッサ、2はテープリーグ、3は指令テープ
、4は作業用のメモリ、5は保持用の不揮発性のメモリ
、6は操作盤、7.8はそれぞれ送り速度、主軸速度に
対するオーバライド値を設定するオーバライドダイヤル
、9はキーボード、10はデータ出力部、11は主軸モ
ータ制御ユニット、12はサーボユニット、13は主軸
モータ、14は速度検出器、15は主軸ヘッド、16は
主軸、17はタッパ、18は工具、19はパルス発生器
、20.21゜22はそれぞれx、y、z軸の補間器、
23.24.25はそれぞれx、y、z軸のサーボユニ
ット、あ。
Embodiment of the Invention FIG. 2 is a block diagram of an embodiment of the present invention, in which 1 is a microprocessor, 2 is a tape league, 3 is a command tape, 4 is a working memory, and 5 is a non-volatile memory for storage. Memory, 6 is an operation panel, 7.8 is an override dial for setting override values for the feed rate and spindle speed, 9 is a keyboard, 10 is a data output section, 11 is a spindle motor control unit, 12 is a servo unit, 13 is a Spindle motor, 14 is a speed detector, 15 is a spindle head, 16 is a spindle, 17 is a tapper, 18 is a tool, 19 is a pulse generator, 20.21° 22 is an interpolator for the x, y, and z axes, respectively.
23.24.25 are the servo units for the x, y, and z axes, respectively.

27.28はそれぞれx、y、z軸のモータ、四、30
゜31はそれぞれ位置検出器、32は工具交換ユニット
、33はワークである。
27.28 are x, y, z axis motors, 4, 30 respectively
31 is a position detector, 32 is a tool changing unit, and 33 is a workpiece.

また、第3図は指令テープに記録されている指令プログ
ラムの一例を示したものであり、ブロック#lには該指
令プログラムのプログラム番号が記録されており、ブロ
ック#2は主軸の単位時間当りの回転数Sを指令する主
軸速度指令が、ブロック#3には該ブロックが位置決め
を指令するブロックであることを示ずコードGOOとx
、y、z軸方向の移動量XI、yl、zlと送り速度f
1とが記録されている。また、ブロック#4には該ブロ
ックが直線補間を指令するブロックであることを示すコ
ードGotとx、y、z軸方向の移動量X2.yz、2
2と送り速度「2とが記録されており、ブロック#5に
は工具交換指令が、ブロック#6には該ブロックが工具
径補正を指令するブロックであることを示すコードG4
]とオフセン1一番号DIとが記録されている。また、
ブロック#7には該ブロックが位置決めを指令するブロ
ックであることを示ずコードGOOとx、y、z軸方向
の移動量X3.y3.z3と送り速度r3とが記録され
ており、ブロック#8には該ブロックが直線補間を指令
するブロックであることを示ずコードGOIとx、 y
、z軸方向の移動量x4. y4. z4と送り速度f
4とが記録されている。
Furthermore, Fig. 3 shows an example of a command program recorded on the command tape, in which block #l records the program number of the command program, and block #2 shows the number of commands per unit time of the spindle. The spindle speed command that commands the rotation speed S of block #3 does not indicate that this block is a block that commands positioning, and the code GOO and x
, the amount of movement in the y and z axis directions XI, yl, zl and the feed rate f
1 is recorded. Further, block #4 includes a code Got indicating that the block is a block that commands linear interpolation, and a movement amount X2 in the x, y, and z axis directions. yz, 2
2 and feed rate "2" are recorded, block #5 has a tool change command, and block #6 has a code G4 indicating that this block is a block that commands tool radius correction.
] and offsen 1 number DI are recorded. Also,
Block #7 does not indicate that the block is a block that commands positioning, and contains the code GOO and the amount of movement in the x, y, and z axis directions X3. y3. z3 and feed rate r3 are recorded, and block #8 does not indicate that this block is a block that commands linear interpolation, but has the code GOI and x, y.
, the amount of movement in the z-axis direction x4. y4. z4 and feed rate f
4 is recorded.

また、第4図はメモリ4の記19内容を示すメモリマツ
プであり、オフセット番号を記憶する領域#酎と、プロ
グラム番号を記憶する領域#舷と、オフセント番号DO
〜Dn対応に送り速度オーバライド値、主軸速度オーバ
ライド値を記1.αする領域#BO〜#Bnとが設けら
れているものである。
Furthermore, FIG. 4 is a memory map showing the contents of memory 4, including an area for storing offset numbers, an area for storing program numbers, and an area for storing offset numbers.
- Write down the feed speed override value and spindle speed override value corresponding to Dn 1. Areas #BO to #Bn for α are provided.

また、第5図はメモリ5の記憶内容を示すメモリマツプ
であり、オフセント番号囲〜Dnとオフセノ)mdo〜
dnとが対応して記憶され°ζいる領域#CO〜#Cn
と、プログラム番号を記憶する領域#PO〜#Pnと、
各1h令プログラム毎に送り速度オーバライド値V、主
軸速度オーバライF値Sνをオフセント番号DO〜Dn
に対応して記憶する領域# EO−0〜# EO−n、
# El−0〜# El−n−−# En−0〜# E
n−nが設けられているものである。
FIG. 5 is a memory map showing the memory contents of the memory 5, with offset numbers ~Dn and offset numbers) mdo~
Areas #CO to #Cn where dn are stored in correspondence with °ζ
and areas #PO to #Pn for storing program numbers,
For each 1-hour program, set the feed speed override value V and spindle speed override F value Sν to offset numbers DO to Dn.
Areas stored corresponding to #EO-0 to #EO-n,
#El-0~#El-n--#En-0~#E
nn is provided.

先ず、本発明を節単に説明すると、本発明はth令テー
プ3の試運転時にオーバライドダイヤル7゜8により設
定されたオーバライド値をメモリ5に記iQさセ、実際
の加工を行なう場合はメモリ5に記憶されたオーバライ
ド値に基づいて送り速度或いは主軸速度を自動的に修正
するものである。
First, to briefly explain the present invention, the present invention stores the override value set by the override dial 7°8 in the memory 5 during the test run of the th tape 3, and stores it in the memory 5 when performing actual processing. The feed rate or spindle speed is automatically corrected based on the stored override value.

第6図はオーバライドダイヤル7.8により設定された
オーバライド値をメモリ5に記憶させる際のマイクロプ
ロセッサlの処理内容を示すフローチャートであり、以
下同図を参照して第2図の動作を説明する。
FIG. 6 is a flowchart showing the processing contents of the microprocessor l when the override value set by the override dial 7.8 is stored in the memory 5, and the operation of FIG. 2 will be explained below with reference to the same figure. .

オーバライド値を記憶する運転であることが指令される
と、マイクロプロセッサ1は先ず第4図に示す作業用の
メモリ4の所定領域#A1にオフセント番号りとして「
DO」を記憶させ(ステップS1)、次いでN=1とし
くステップS2)、次いで指令テープ3に記録されてい
る指令プログラムのブロック#N(この場合はN−1)
を読取る(ステップ33)。次いで、マイクロプロセッ
サ1は該ブロック#Nにプログラム番号が記録されてい
るか否かを判断する(ステップS4)。判断結果がYE
Sの場合は、マイクロプロセッサlはステップS4で読
取ったブロック#Nに記録されているプログラム番号を
メモリ4の所定領域#A2に記憶させ(ステップS5)
、次いで領域#A2に記憶させたプログラム番号がメモ
リ5の領域#PO,PI。
When an instruction is given to store an override value, the microprocessor 1 first stores an offset number in a predetermined area #A1 of the working memory 4 shown in FIG.
DO" (step S1), then set N=1 (step S2), and then store block #N of the command program recorded on the command tape 3 (N-1 in this case).
is read (step 33). Next, the microprocessor 1 determines whether a program number is recorded in the block #N (step S4). Judgment result is YES
In the case of S, the microprocessor l stores the program number recorded in the block #N read in step S4 in a predetermined area #A2 of the memory 4 (step S5).
Then, the program numbers stored in area #A2 are areas #PO and PI of memory 5.

−一−−−−に記憶されているか否かを判断する(ステ
ップS6)。
-1----- is stored (step S6).

ステップS6の判断結果がYESの場合は、マイクロプ
ロセッサlは、領域#八2に記憶されているプログラム
番号と対応する領域に記憶されている送り速度オーバラ
イド値V、主軸速度オーバライド値svをメモリ4の領
域#BO〜Bnに転送記憶させる(ステップ37)。例
えば、領域#P1に領域#^2に記憶されているプログ
ラム番号と同一のプログラム番号が記憶されている場合
は、領域# [!1−0〜#E1−nに記憶されている
送り速度オーバライド値vl−0〜vl−n、主軸速度
オーバライド値5vl−0〜Sシ1−nをメモリ4の領
域#BO〜#Bnに転送記憶させるものである。ステッ
プS7の処理が終了するとマイクロプロセッサ1はNを
+1しくステップS8)、この後ステップS3の処理に
戻る。また、ステップS6の判断結果がNOの場合はマ
イクロプロセッサ1はメモリ4の領域#BO〜Bnに送
り速度オーバライド値、主軸速度オーバライド値として
100%を記憶させ(ステップS9)、次いでNを+1
しくステップ5lO)、この後ステップS3の処理に戻
る。第3図に示した指令プログラムに於いてはブロック
#lが読取られた時、上述した処理が行なわれるもので
ある。
If the determination result in step S6 is YES, the microprocessor l stores the feed speed override value V and spindle speed override value sv stored in the area corresponding to the program number stored in area #82 in the memory 4. are transferred and stored in areas #BO to Bn (step 37). For example, if the same program number as the program number stored in area #^2 is stored in area #P1, area #[! Transfer the feed speed override values vl-0 to vl-n and the spindle speed override values 5vl-0 to Sshi1-n stored in 1-0 to #E1-n to areas #BO to #Bn of memory 4. It is something to remember. When the process of step S7 is completed, the microprocessor 1 increments N by +1 (step S8), and then returns to the process of step S3. If the determination result in step S6 is NO, the microprocessor 1 stores 100% as the feed speed override value and spindle speed override value in areas #BO to Bn of the memory 4 (step S9), and then increases N by +1.
After that, the process returns to step S3. In the command program shown in FIG. 3, the above-described processing is performed when block #l is read.

またステップS4の判断結果がNOの場合は、マイクロ
プロセッサ1はステップS3で読取ったブロック#Nが
工具径、工具位置のオフセントを指令するブロックであ
るか否かを判断する(ステ・ノブ511)。
If the determination result in step S4 is NO, the microprocessor 1 determines whether the block #N read in step S3 is a block that commands the tool diameter and offset of the tool position (step knob 511). .

ステップSllの判断結果がYESの場合は該ブロック
に記録されているオフセット番号に対応したオフセント
量を保持用のメモリ5から続出し、工具径或いは工具位
置のオフセット処理を行なう (ステップ512)。ス
テップS12の処理が終了したと判断すると(ステップ
513)、マイクロプロセッサlはステップS3で読取
ったブロック#Nに記録されているオフセント番号りを
メモリ4の所定領域#^1に記憶させ(ステップ514
)、次いでNを+1しくステップ515)、この後ステ
ップS3の処理に戻る。第3図に示した処理プログラム
に於いては、ブロック#6が読取られた時、上述した処
理が行なわれ、メモリ4の領域#^lにオフセット番号
DIが記憶されるものである。
If the determination result in step Sll is YES, the offset amount corresponding to the offset number recorded in the block is read out from the holding memory 5, and the tool diameter or tool position offset processing is performed (step 512). When determining that the process in step S12 has been completed (step 513), the microprocessor l stores the offset number recorded in block #N read in step S3 in a predetermined area #^1 of the memory 4 (step 514).
), then increment N by +1 (step 515), and then return to step S3. In the processing program shown in FIG. 3, when block #6 is read, the above-described processing is performed and the offset number DI is stored in area #^l of the memory 4.

また、ステップSolの判断結果がNOの場合は、マイ
クロプロセッサlはステップS3で読取ったブロック#
Nが加工終了を指令するブロックであか否かを判断する
(ステップ316)。II tili結果がNOの場合
は、マイクロプロセッサ1は読取ったブロックに従った
処理を実行しくステップ517)、その処理の実行中に
キーボード9より送り速度オーバライド値、主軸速度オ
ーバライド値を記憶することが指令されるとくステップ
S]8)、オーバライドダイヤル7.8に設定されてい
るオーバライド値を読取り(ステップ521)、メモリ
4の領域#A1に記1.Qされているオフセント番号f
lO=Dnに対応するメモリ4の領域#BO〜#Bnに
ステップS21で読取ったオーバライド値を記憶させ(
ステップ522)、次いでNを+1しくステップ520
)、この後ステップS3の処理に戻る。
Further, if the determination result in step Sol is NO, the microprocessor l reads the block # read in step S3.
It is determined whether N is a block that commands the end of machining (step 316). If the II tili result is NO, the microprocessor 1 executes processing according to the read block (step 517), and during the execution of the processing, the feed speed override value and spindle speed override value can be stored from the keyboard 9. When commanded, step S] 8) reads the override value set on the override dial 7.8 (step 521), and writes it in area #A1 of the memory 4. Offcent number f being Q
The override value read in step S21 is stored in areas #BO to #Bn of the memory 4 corresponding to lO=Dn (
step 522), then increase N by +1 step 520
), after which the process returns to step S3.

ステップSIT〜SI9の処理を第3図のブロック#8
を読取った場合を例にとって説明すると次のようになる
。ブロック#8を読取るとマイクロプロセッサ1はブロ
ック#8に記録されているX。
The processing of steps SIT to SI9 is performed in block #8 of Fig. 3.
Taking the case of reading as an example, the explanation is as follows. When reading block #8, microprocessor 1 reads the X recorded in block #8.

y、z軸方向の移動量x4.y4.z4をそれぞれ補間
器20〜22に加える。次いで、マイクロブl」セッサ
1はブロック#8に記録されている送り速度f4とオー
バライドダイヤル7により設定されている送り速度オー
バライド値Vとを乗算し、乗算結果v−f4をパルス発
生器19に加えると共に、ブロック#2で指令された主
軸速度Sとオーバライドダイヤル8により設定されてい
る主軸速度オーバライド値svとを乗算し、乗算結果5
v−8を主軸モータ制御ユニット11に加える。主軸モ
ータ制御ユニソ[1は乗算結果に対応した電圧をサーボ
ユニソj・12に加え、サーボユニット12の出力によ
り主軸モータ13が乗算結果5v−3に対応した速度で
回転する。また、パルス発生器19は乗算結果V・f4
に対応した周波数のパルスを補間器20〜22に加え、
補間器20〜22はパルス発生器19からのパルス列に
同期してパルス分配を行ない、サーボユニット23〜2
5は補間器21−23からの補間パルスに従ってモータ
26〜28を駆動し、ワーク33と工具18とを乗算結
果■・r4に対応した速度で相対的に移動させ、ワーク
33の加工を実行する。尚、オーバライドダイヤル7.
8により設定されたオーバライド値V、VSが変更され
る毎にマイクロプロセッサIは送り速度f4とオーバラ
イド値■との乗算及び主軸速度Sとオーバライド値sv
との乗算を行なうものである。オペレータは上述したよ
うにしてワーク33の加工が行なわれている間、オーバ
ライドダイヤル7.8を操作し、送り速度、主軸速度を
最適が最適なものとなったら、キーボード9より送り速
度オーバライド値V及び主軸速度オーバライドsvを記
憶させることを指令する。オーバライド値V、Sνの記
憶が指令されたと判断すると(ステップ31B)、マイ
クロプロセッサ1はオーバライドダイヤル7.8により
設定されたオーバライド値V、SVをメモリ4の領域#
BO〜#B口の内の領域#八1に記憶されているオフセ
ット番号りに対応する領域に記憶させる(ステップ52
2)。
Amount of movement in the y and z axis directions x4. y4. z4 to interpolators 20-22, respectively. Next, the micro processor 1 multiplies the feed rate f4 recorded in block #8 by the feed rate override value V set by the override dial 7, and applies the multiplication result v-f4 to the pulse generator 19. At the same time, the spindle speed S commanded in block #2 is multiplied by the spindle speed override value sv set by the override dial 8, and the multiplication result 5
V-8 is added to the spindle motor control unit 11. The main shaft motor control unit 1 applies a voltage corresponding to the multiplication result to the servo unit 12, and the output of the servo unit 12 causes the main shaft motor 13 to rotate at a speed corresponding to the multiplication result 5v-3. Further, the pulse generator 19 outputs the multiplication result V・f4
Add a pulse with a frequency corresponding to to the interpolators 20 to 22,
Interpolators 20-22 perform pulse distribution in synchronization with the pulse train from pulse generator 19, and servo units 23-2
5 drives the motors 26 to 28 in accordance with the interpolation pulses from the interpolators 21 to 23, moves the work 33 and the tool 18 relatively at a speed corresponding to the multiplication result ■・r4, and executes machining of the work 33. . In addition, override dial 7.
Every time the override values V and VS set by 8 are changed, the microprocessor I multiplies the feed speed f4 and the override value ■, and calculates the spindle speed S and the override value sv.
It performs multiplication with . While the workpiece 33 is being machined as described above, the operator operates the override dial 7.8, and when the feed rate and spindle speed are optimal, input the feed rate override value V from the keyboard 9. and commands to store the spindle speed override sv. When determining that storage of the override values V and Sν has been instructed (step 31B), the microprocessor 1 stores the override values V and SV set by the override dial 7.8 in the area # of the memory 4.
It is stored in the area corresponding to the offset number stored in area #81 in BO~#B (step 52
2).

この場合、領域#八1にはブロック#6の処理を行なっ
た際、オフセ番号一番号旧が記1.りされているもので
あるから、オーバライド値SV、Vは領域#B1に記憶
されることになる。
In this case, in area #81, when block #6 was processed, offset number 1 and old number 1. Since the override values SV and V are stored in area #B1.

また、ステップS16の判断結果がYESの場合は、マ
イクロプロセッサlはメモリ4の領域#BO〜#Bnに
記憶されているオーバライド値v、svをメモI75の
所定領域に記憶させる(ステップ523)。
Further, if the determination result in step S16 is YES, the microprocessor 1 stores the override values v and sv stored in areas #BO to #Bn of the memory 4 in a predetermined area of the memo I 75 (step 523).

例えばメモリ4の領域#^2−C記tQされているプロ
グラム番号がメモリ5の領域#P1に記憶されている場
合は、領域# BO= Bnの記憶内容をメモリ5の領
域# IEI−0〜IEI−nに転送し、記憶さセるも
のである。また、メモリ4の領域#^2に記iQされて
いるプログラム番号がメモリ5の領域#PO〜#Pnに
記憶されていない場合は、領域#PO〜#Pnの内の空
き領域に領域へ2にプログラム番号を記憶させると共に
領域# [10−0〜# [!0−n、−−、# En
−0〜# tin−nの内の前記空き領域と対応する領
域に領域#110〜9Bnの記憶内容を転送記tlさせ
るものである。
For example, if the program number written in area #^2-C of memory 4 is stored in area #P1 of memory 5, the stored contents of area #BO=Bn are stored in area #IEI-0~ of memory 5. It is transferred to the IEI-n and stored. Also, if the program number iQ written in area #^2 of memory 4 is not stored in areas #PO to #Pn of memory 5, the program number iQ written in area #^2 of memory 4 is not stored in areas #PO to #Pn of memory 5. The program number is stored in the area #[10-0~#[! 0-n, --, # En
-0 to #tin-n, the storage contents of areas #110 to #9Bn are transferred to the area corresponding to the free area.

即ち、第6図に示したフローチャー1・の処理を実行す
ることにより、保持用のメモリ5には、各指令プI:J
グラム毎に送り速度オーバライド値■及び主軸速度オー
バライド値Sνがオフセット番号りに対応して記憶され
ることになる。
That is, by executing the process of flowchart 1 shown in FIG.
The feed speed override value ■ and the spindle speed override value Sv are stored for each gram in correspondence with the offset number.

第7図は実際に加工を行なう際のマイクロプロセッサ1
の処理内容を示すフローチャートであり、以下同図を参
照して加工運転時の第2図の動作を説明する。
Figure 7 shows the microprocessor 1 used during actual processing.
2 is a flowchart showing the processing contents, and the operation shown in FIG. 2 during machining operation will be explained below with reference to the same figure.

加工の開始が指令されると、マイクロプロセッサ1は先
ずNを「1」としくステップ330)、次いでth令テ
ープ3に記録されている指令プログラムのブロック#N
を読取り(ステップ331)、該ブロックにプログラム
番号が記録されているが否かを判断するくステップ53
2)。判断結果がYESの場合は、マイクロプロセンサ
1はメモリ5に記憶されている該指令プログラム対応の
送り速度オーバライド値■及び主軸速度オーバライド値
svをメモリ4の領JM#BO〜#Bnに転送しくステ
、ブ533)、次いで該ブロックに記録されているプロ
グラム番号をメモリ4の領域#A2に記憶させ(ステッ
プ534)、次いでNを+1しくステップ535)、こ
の後ステップ331の処理に戻る。例えば、ステップ3
31で読携ったブロックに記録されているプログラム番
号がメモリ5の領域#Pnに記憶されている場合は、マ
イクロプロセッサ1はメモリ5の領域#En−0〜#E
n−nに記憶されている送り速度オーバライド値vn−
0〜vn−n及び主軸速度オーバライド値s v n 
−0〜s v’ii’f−メモ1月の領域# BO〜#
 Bnに転送記憶させるものである: また、ステップS32の判断結果がNOの場合はマイク
ロプロセッサ1はステップ331で読取ったブロックが
工具径、工具位置のオフセントを指令するブロックであ
るか否かを判断する(ステップ336)。判断結果がY
ESの場合は、該ブロックに記録されているオフセント
番号に対応する送り速度オーバライド値及び主軸速度オ
ーバライド値をメモリ4から読込む(ステップ537)
、例えば、前記ブロックに記録されているオフセント番
号がD2であれば、メモリ4の領域#B2に記憶されて
いる送り速度オーバライド値及び主軸速度オーバライド
値を読込むものである。そして、ステップ337の処理
が終了するとマイクロプロセッサ1はNを+1しくステ
ップ33B>、ステップS31の処理に戻る。
When the start of machining is commanded, the microprocessor 1 first sets N to "1" (step 330), and then executes block #N of the command program recorded on the th order tape 3.
is read (step 331), and it is determined whether a program number is recorded in the block (step 53).
2). If the judgment result is YES, the microprocessor sensor 1 should transfer the feed speed override value ■ and spindle speed override value sv corresponding to the command program stored in the memory 5 to the areas JM#BO to #Bn of the memory 4. Step 533), then the program number recorded in the block is stored in area #A2 of the memory 4 (step 534), and then N is incremented by +1 step 535), after which the process returns to step 331. For example, step 3
If the program number recorded in the block read in step 31 is stored in area #Pn of memory 5, microprocessor 1 reads areas #En-0 to #E of memory 5.
Feedrate override value vn- stored in n-n
0 to vn-n and spindle speed override value s v n
-0~s v'ii'f-Memo January Area #BO~#
Further, if the determination result in step S32 is NO, the microprocessor 1 determines whether the block read in step S331 is a block that commands the tool diameter and offset of the tool position. (step 336). Judgment result is Y
In the case of ES, the feed speed override value and spindle speed override value corresponding to the offset number recorded in the block are read from the memory 4 (step 537).
For example, if the offset number recorded in the block is D2, the feed speed override value and spindle speed override value stored in area #B2 of the memory 4 are read. When the process of step 337 is completed, the microprocessor 1 increments N by 1 (step 33B) and returns to the process of step S31.

また、ステップS36の判断結果がNoの場合は、マイ
クロプロセッサ1はステップS31で読取ったブロック
が加工の終了を指令するブロックであるか否かを判断す
る(ステップ539)。判断結果がNOの場合は、マイ
クロプロセッサIは読取ったブロックに従った処理を実
行するくステップ540)。
If the determination result in step S36 is No, the microprocessor 1 determines whether the block read in step S31 is a block that commands the end of machining (step 539). If the determination result is NO, the microprocessor I executes processing according to the read block (step 540).

例えば、第3図に示す処理プログラムのブロック#8を
読取った場合、マイクロブ1コセソサ1は先ずブロック
#8に記録されているx、y、z軸方向の移動量X4.
y4.z4をそれぞれ補間器20゜21.22に加える
。次いで、ブロック#8に記録されている送り速度f4
とステップ336で読込んだ送り速度オーバライド値■
とを乗算し、乗算結果f4・■をパルス発生器19に加
えると共に、ブロック#2で指令された主軸速度Sとス
テップS36で読込んだ主軸速度オーバライド値Sνと
を乗算し、乗算結果5−svを主軸モータ制御ユニット
11に加える。これにより、前述したと同様に、乗算結
果f4・Vに対応した速度で工具】8とワークおとの相
対的な送りが行なわれ、演算結果5−svに対応した速
度で主軸モータ13が回転する。そして、ステップS3
9の処理が終了したと判断するとくステップ341)、
マイクロプロセッサ1はNを+1しくステップ542)
、ステップS31の処理に戻る。
For example, when block #8 of the processing program shown in FIG. 3 is read, the microbe 1 controller 1 first moves the amount X4.
y4. Add z4 to interpolators 20°21.22, respectively. Next, the feed speed f4 recorded in block #8
and the feedrate override value read in step 336■
The multiplication result f4·■ is added to the pulse generator 19, and the spindle speed S commanded in block #2 is multiplied by the spindle speed override value Sν read in step S36, and the multiplication result 5- sv to the spindle motor control unit 11. As a result, as described above, relative feeding between the tool]8 and the workpiece is performed at a speed corresponding to the multiplication result f4·V, and the spindle motor 13 rotates at a speed corresponding to the calculation result 5-sv. do. And step S3
When it is determined that the process in step 9 has been completed, step 341)
Microprocessor 1 increases N by +1 (step 542)
, the process returns to step S31.

また、ステップS39の判断)吉果がYIESの場合は
、マイクロプロセッサlはメモリ4の領域#BO〜#B
nに記憶されている送り速度オーバライド値及び主軸速
度オーバライド値を領域#A2に記憶されているプログ
ラム番号に従ってメモリ5の所定領域に転送記憶させ(
ステップ543)、この後その処理を終了する。例えば
、メモリ4の領域#A2に記憶されているプログラム番
号とメモリ5の領域#PIに記憶されているプログラム
番号とが等しい場合は、領域#BO〜#Bnの記1.α
内容をメモリ5の領域# [!1−0〜#El−nに転
送記憶さセ・るものである。
In addition, if the lucky result (judgment in step S39) is YIES, the microprocessor 1
The feed speed override value and spindle speed override value stored in area #A2 are transferred and stored in a predetermined area of the memory 5 according to the program number stored in area #A2 (
Step 543), after which the process ends. For example, if the program number stored in area #A2 of memory 4 and the program number stored in area #PI of memory 5 are the same, then 1. α
Save the contents to memory 5 area # [! 1-0 to #El-n are transferred and stored.

即ち、第7図に示すフローチャートの処理を実行するこ
とにより、メモリ4から加工時のオフセント番号に対応
した送り速度オーバライド値、主軸速度オーバライド値
が読出され、送り速度及び主軸速度が自動的に修正され
ることになる。
That is, by executing the process shown in the flowchart shown in FIG. 7, the feed rate override value and spindle speed override value corresponding to the offset number during machining are read from the memory 4, and the feed rate and spindle speed are automatically corrected. will be done.

面、上述した実施例に於いてはオフセット番号対応に送
り速度オーバライド値及び主軸速度オーバライド値をメ
モリに記憶されるようにしたが、何れか一方を記憶させ
るようにしても良いことは勿論である。また、本実施例
はオフセット番号対応に速度オーバライド値及び主軸オ
ーバライド値を記憶させたものであるから、メモリ容量
を少ないものとすることができる。また、送り速度、主
軸速度は一般に工具が同一であれば同一の速度で良いも
のであるから、本実施例のようにオフセソ(・番号対応
に送り速度オーバライド値、主軸速度オーバライド値を
メモリに記憶させておき、加工時のオフセント番号に対
応した送り速度オーバライド値、主軸速度オーバライド
値により送り速度。
In the above embodiment, the feed rate override value and the spindle speed override value are stored in the memory in correspondence with the offset number, but it is of course possible to store either one of them. . Further, in this embodiment, since the speed override value and the spindle override value are stored in correspondence with the offset number, the memory capacity can be reduced. In addition, the feed rate and spindle speed generally need to be the same if the tools are the same, so as in this example, the feed rate override value and spindle speed override value are stored in memory corresponding to the offset number. Then, the feedrate is set according to the feedrate override value corresponding to the offset number during machining and the spindle speed override value.

主軸速度を修正するようにしても、適切な送り速度5主
軸速度を得ることができる。
Even if the spindle speed is modified, an appropriate feed rate of 5 spindle speeds can be obtained.

発明の詳細 な説明したように、本発明は指令プログラムにより現在
指令されているオフセント番号を検出するオフセット番
号検出手段(実施例に於いてはマイクロプロセンサ1か
らなる)き、指令プログラムにより現在を旨令されてい
る送り速度或いは主軸速度を検出する指令速度検出手段
(実施例に於いてはマイクロプロセッサ1からなる)と
、オーバライド値を設定するオーバライド値設定手段(
実施例に於いてはオーバライドダイヤル7.8からなる
)と、記憶指令によりオーバライド値設定手段で設定さ
れたオーバライド値をメモリのオフセント番号検出手段
の検出結果に対応した領域に記憶させる記憶制御手段(
実施例に於いてはマイクロプロセッサ1からなる)と、
加工時、メモリのオフセント番号検出手段の検出結果に
対応した領域に記憶されているオーバライド値を読出す
続出手段(実施例に於いてはマイクロプロセッサ1から
なる)と、続出手段で読出したオーバライド値と指令速
度検出手段の検出結果とを乗算する演算手段(実施例に
於いてはマイクロプロセッサ1からなる)と、演算手段
の演算結果に基づいて送り速度或いは主軸速度を制御す
る制御手段(実施例に於いてはマイクロプロセッサ1、
補間器20〜22 、(主軸モーフ制御ユニッ目l、サ
ーボユニット+2.’23〜25等からなる)とを備え
たものであるから、適切な送り速度オーバライド及び主
軸速度オーバライドを自動的に行なうことができる利点
がある。また、本発明はオーバライド値をオフセ、7!
・番号に対応させて記1.αするものであるから、メモ
リ容量を少ないものとすることができる利点もある。
As described in detail, the present invention includes an offset number detecting means (comprised of a microprocessor sensor 1 in the embodiment) for detecting an offset number currently commanded by a command program; Command speed detection means (comprised of microprocessor 1 in the embodiment) for detecting the commanded feed speed or spindle speed, and override value setting means (for setting an override value).
In the embodiment, it consists of an override dial 7.8), and a storage control means (which stores the override value set by the override value setting means in response to a storage command in an area of the memory corresponding to the detection result of the offset number detection means).
In the embodiment, it consists of a microprocessor 1);
At the time of processing, a succession means (consisting of the microprocessor 1 in the embodiment) reads out an override value stored in an area corresponding to the detection result of the offset number detection means of the memory, and an override value read out by the succession means. a calculation means (comprised of a microprocessor 1 in the embodiment) for multiplying the command speed by the detection result of the command speed detection means; and a control means (for the embodiment) for controlling the feed speed or spindle speed based on the calculation result of the calculation means. In the microprocessor 1,
Since it is equipped with interpolators 20 to 22 (consisting of spindle morph control unit 1, servo unit +2, 23 to 25, etc.), appropriate feed speed override and spindle speed override can be automatically performed. It has the advantage of being able to Moreover, the present invention sets the override value to 7!
・Write in correspondence with the numbers 1. .alpha., there is also the advantage that the memory capacity can be reduced.

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

第1図は本発明の構成図、第2図は本発明の実施例のブ
ロック線図、第3図は指令プログラムの一例を示すブロ
ック、第4図はメモリ4の記憶内容を示すメモリマツプ
、第5図はメモリ5の記憶内容を示すメモリマツプ、第
6図、第7図はマイクロプロセッサ1の処理内容を示す
フローチャートである。 lはマイクロプロセッサ、2はテープリーグ、3は1旨
令テープ、4,5,104はメモリ、6は操作盤、7,
8はオーバライドダイヤル、9はキーボード、】Oはデ
ータ出力部、11は主軸モータ制御ユニット、12はサ
ーボユニット、13は主軸モータ、14は速度検出器、
15は主軸ヘッド、16は主軸、17はタッパ、18は
工具、19はパルス発生器、20〜22は補間器、詔〜
怒はサーボユニット、あ〜甜はモータ、29〜31ば位
置検出器二32は工具交換ユニソ1−133はワーク、
100はオフセット番号検出手段、101は指令速度検
出手段、102は記憶制御手段、103はオーバライド
値設定手段、105は続出手段、106は演算手段、1
07は制御手段である。 特許出願人 ファナソク株式会社 代理人弁理士玉蟲久五部(外2名) 第 1 図 ′−(ゐ 第 3 図 第 4 図
FIG. 1 is a block diagram of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a block diagram showing an example of a command program, FIG. 4 is a memory map showing the storage contents of the memory 4, and FIG. 5 is a memory map showing the contents stored in the memory 5, and FIGS. 6 and 7 are flowcharts showing the processing contents of the microprocessor 1. 1 is a microprocessor, 2 is a tape league, 3 is a 1-order tape, 4, 5, 104 is a memory, 6 is an operation panel, 7,
8 is an override dial, 9 is a keyboard, ]O is a data output section, 11 is a spindle motor control unit, 12 is a servo unit, 13 is a spindle motor, 14 is a speed detector,
15 is a spindle head, 16 is a spindle, 17 is a tapper, 18 is a tool, 19 is a pulse generator, 20 to 22 are interpolators,
Angler is the servo unit, 29-31 is the motor, 29-31 is the position detector 232 is the tool change unit 1-133 is the workpiece,
100 is an offset number detection means, 101 is a command speed detection means, 102 is a memory control means, 103 is an override value setting means, 105 is a succession means, 106 is a calculation means, 1
07 is a control means. Patent Applicant Fanasoku Co., Ltd. Representative Patent Attorney Gobe Tamamushi (2 others) Figure 1'-(Figure 3 Figure 4)

Claims (1)

【特許請求の範囲】[Claims] 指令プログラムに従ってワークの加工を行なう数値制御
装置に於いて、前記指令プログラムにより現在指令され
ているオフセット番号を検出するオフセット番号検出手
段と、前記指令プログラムにより現在指令されている送
り速度或いは主軸速度を検出する指令速度検出手段と、
オーバライド値を設定するオーバライド値設定手段と、
オフセント番号対応にオーバライド値を記憶する領域を
有するメモリと、記憶指令により前記オーバライド値設
定手段で設定されたオーバライド値を前記メモリの前記
オフセット番号検出手段の検出結果に対応した領域に記
憶させる記憶制御手段と、加工時前記メモリの前記オフ
セット番号検出手段の検出結果に対応した領域に記憶さ
れているオーバライド値を読出ず続出手段と、該続出手
段で続出したオーバライド値と前記指令速度検出手段の
検出結果とを乗算する演算手段と、該演算手段の演算結
果に基づいて送り速度或いは主軸速度を制御する制御手
段とを備えたことを特徴とする数値制御装置。
In a numerical control device that processes a workpiece according to a command program, an offset number detection means for detecting an offset number currently commanded by the command program and a feed rate or spindle speed currently commanded by the command program are provided. a command speed detection means for detecting;
an override value setting means for setting an override value;
a memory having an area for storing override values corresponding to offset numbers; and storage control for storing the override value set by the override value setting means in response to a storage command in an area of the memory corresponding to the detection result of the offset number detection means. means for successively reading the override value stored in the area corresponding to the detection result of the offset number detecting means of the memory during machining; and detecting the override value successively received by the successive reading means and the command speed detecting means. 1. A numerical control device comprising: a calculation means for multiplying the result by the calculation means; and a control means for controlling the feed rate or spindle speed based on the calculation result of the calculation means.
JP6467384A 1984-03-31 1984-03-31 Numerical control device Pending JPS60207910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6467384A JPS60207910A (en) 1984-03-31 1984-03-31 Numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6467384A JPS60207910A (en) 1984-03-31 1984-03-31 Numerical control device

Publications (1)

Publication Number Publication Date
JPS60207910A true JPS60207910A (en) 1985-10-19

Family

ID=13264927

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6467384A Pending JPS60207910A (en) 1984-03-31 1984-03-31 Numerical control device

Country Status (1)

Country Link
JP (1) JPS60207910A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6347805A (en) * 1986-08-16 1988-02-29 Fanuc Ltd Override playback system
JPS6349803A (en) * 1986-08-19 1988-03-02 Okuma Mach Works Ltd Nc program production system for nc device
JPS6472206A (en) * 1987-09-14 1989-03-17 Fanuc Ltd Synchronous control method between spindle motor and feeding servomotor in machine working
DE112006000330T5 (en) 2006-07-26 2009-06-04 Mitsubishi Electric Corp. Numerical control device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6347805A (en) * 1986-08-16 1988-02-29 Fanuc Ltd Override playback system
JPS6349803A (en) * 1986-08-19 1988-03-02 Okuma Mach Works Ltd Nc program production system for nc device
JPS6472206A (en) * 1987-09-14 1989-03-17 Fanuc Ltd Synchronous control method between spindle motor and feeding servomotor in machine working
WO1989002618A1 (en) * 1987-09-14 1989-03-23 Fanuc Ltd Synchronization control of spindle motor and feed motor
US5010286A (en) * 1987-09-14 1991-04-23 Fanuc Ltd. Method of synchronous control of spindle motor and feed motor
JP2635332B2 (en) * 1987-09-14 1997-07-30 ファナック 株式会社 Synchronous control method of spindle motor and feed servo motor in machining
DE112006000330T5 (en) 2006-07-26 2009-06-04 Mitsubishi Electric Corp. Numerical control device
US7792605B2 (en) 2006-07-26 2010-09-07 Mitsubishi Electric Corporation Numerical control apparatus

Similar Documents

Publication Publication Date Title
US4967515A (en) Numerically controlled grinding machine
JPH0238342B2 (en)
EP1243992B1 (en) Tool presetter and tool offset amount calculation method
CN101403906A (en) Numerical controller having workpiece setting error compensation means
EP0063606B1 (en) Numerical control system
JPS61156309A (en) Numerically controlled device containing speed difference smoothing function
JPS6141002B2 (en)
JPH03271813A (en) Nc device
JPS62237504A (en) Numerical controller
JPH0236047A (en) Numerical value control device for working non-cylindrical work
JP4059411B2 (en) NC machine tool controller
JPS60207910A (en) Numerical control device
JPS6365469B2 (en)
JPH06222819A (en) Machining program executing method for nc device
EP0487738B1 (en) System for correcting quantity of deformation of tool
JPS62163109A (en) Numerical controller
US3676760A (en) Feedrate control system
JPH0630011B2 (en) Numerical control Machining restart control method
JP4469488B2 (en) Setting method of tool edge position in machine tool
JPS58213301A (en) Numerical control system of direct teaching and operating system
JP2508627B2 (en) Numerical control unit
JPS6377638A (en) Numerically controlled machine tool
JPS6147652B2 (en)
JP2566180B2 (en) Interpolation method of linear axis and rotary axis of numerical controller
JPH03109606A (en) Tool correction system